<? require'../shaxty.php'; $align='left'; $a = core:: $db -> queryFetch("SELECT * FROM `objavs` WHERE `id` = '" . $id . "'"); if(!isset($a['id']))header("Location: ".H."index.php"); $title= $a['name']; include_once (H.'shaxty/head.php'); echo '<br />'; $a["chit"]++; $dbi = core::$db -> prepare("UPDATE `objavs` SET `chit`=? WHERE `id`=?"); $dbi -> execute($a["chit"],$a['id']); echo $div2.'<b>'.$a['name'].'</b> ('.func::times($a['time']).')'.$div9; echo func::text($a[msg]); if(user::user_inf($a['user_id'],'sex')==1)echo "<br /><u>Разместил:</u><b> ".user::nik($a['user_id'])."</b><br/>"; else echo "<br /><u>Разместила:</u><b> ".user::nik($a['user_id'])."</b><br/>"; echo '<u>Прочитано:</u> <b>'.$a['chit'].'</b> раз(а).<br />'; echo '<br />'; include_once (H.'shaxty/foot.php'); ?>