Вход Регистрация
Файл: project.php
Строк: 17
<?php

include_once("settings.php");
include_once(
"game_info_text.php");

if(!isset(
$msg))
{
    
$msg=1;
}

$header=$smarty->fetch($templ_path.'/index_head.tpl');
$smarty->assign('HEADER',$header);

$game_help = new CGameHelp($db);
$message=$game_help->getGameMsg($msg);

if(
$message==false)
{
    
$text="дБООПЗП ТБЪДЕМБ ОЕ УХЭЕУФЧХЕФ";
    
$caption="оЕ ОБКДЕОП";
}else{
    
$text=$message['text'];
    
$caption=$message['caption'];
}

$text=nl2br($text);

$smarty->assign('MSG_CAPTION',$caption);
$smarty->assign('MSG_TEXT',$text);


$text=$smarty->fetch($templ_path.'/project.tpl');

echo(
$text);

?>
Онлайн: 0
Реклама