View file admin/help/index.php

File size: 1.09Kb
<?
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.'help/about.png">&nbsp;<a href="'.CP_DERICTORY.'help/index.php?do=about">'.Lang::__('Справка').'</a></div>';
echo '<div class="subpost"><img src="'.ICON_ADMIN.'help/money.png">&nbsp;<a href="'.CP_DERICTORY.'help/index.php?do=shcms_money">'.Lang::__('Помощь в развитие').'</a><span style="color:red;" class="time">'.Lang::__('Важно').'</span></div>';
echo '</div>';
    echo engine::home(array('Назад','/admin.php'));	 
break;

//Справка
    case 'about':
        include_once('help.php');
    break;

    case 'shcms_money':
        include_once('money.php');
    break;

endswitch;