View file admin/theme/index.php

File size: 0.98Kb
<?
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.'theme/ndesign.png">&nbsp;<a href="'.CP_DERICTORY.'theme/index.php?do=templates">Шаблоны сайта</a></div>';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'theme/locale.png">&nbsp;<a href="'.CP_DERICTORY.'theme/index.php?do=language">Язык</a></div></div>';

echo engine::home(array('Назад','/admin.php'));	 
break;

//Шаблоны
case 'templates':

include_once('templates.php');

break;

//Язык
case 'language':

include_once('language.php');

break;

endswitch;