Файл: last_action.php
Строк: 13
<?php
include_once("settings.php");
include_once("game_header.php");
//get uuid player
$uuid=$player->getUuid();
$log_player = new CLogPlayers($db,$vnum,$uuid);
$log_msg=$log_player->getLogMsgs('asc');
foreach($log_msg as $v){
$smarty->append("log_msg",array(
'PDATE' => getDates($v['pdate'])." ".getTimes($v['pdate']),
'TEXT' => $v['text'],
));
}
$last_action_txt=$smarty->fetch($templ_path.'/last_action.tpl');
$smarty->assign('MAIN',$last_action_txt);
$smarty->display($templ_path.'/game.tpl');
?>