File size: 1.25Kb
<?
define('SHCMS_ENGINE',true);
define('HOME',$_SERVER['DOCUMENT_ROOT'],true);
define(CP_DERICTORY,'../');
define(ICON_ADMIN,'../icons/');
include_once(HOME.'/engine/system/core.php');
$templates->template('SHCMS: Система - Система');
echo engine::admin($users['group']);
switch($do):
default:
echo '<div class="mainname">'.Lang::__('Система').'</div>';
echo '<div class="mainpost">';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'system/setting.png"> <a href="'.CP_DERICTORY.'system/index.php?do=setting">Настройки</a></div>';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'system/application.png"> <a href="'.CP_DERICTORY.'system/index.php?do=application">Приложения →</a></div>';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'system/system.png"> <a href="'.CP_DERICTORY.'system/index.php?do=system">Система →</a></div>';
echo '</div>';
echo engine::home(array('Назад','/admin.php'));
break;
//Настройки
case 'setting':
include_once('setting.php');
break;
//Приложения
case 'application':
include_once('application.php');
break;
//Система
case 'system':
include_once('system.php');
break;
endswitch;