View file admin/support/index.php

File size: 1.03Kb
<?
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.'support/diag.png">&nbsp;<a href="'.CP_DERICTORY.'support/index.php?do=diagnostic">Диагностика &rarr;</a></div>';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'support/sql.png">&nbsp;<a href="'.CP_DERICTORY.'support/index.php?do=sql">Управление SQL &rarr;</a></div>';
echo '</div>';


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

//Диагностика
case 'diagnostic':

include_once('diagnostics.php');

break;


//Управление SQL
case 'sql':
include_once('toolbar_sql.php');
break;

endswitch;