Страница: '.listing($page, $total).'
Написать новое сообщение
На главную
';
include_once'../sys/foot.sys';
exit();
} else {
header ('Location: /index.html');
exit();
}
?>
$total){ $page = $total; } $start = $page*10-10; $result = mysql_query("SELECT * FROM `privat` WHERE `id_kto`='".$user['id']."' OR `id_komu`='".$user['id']."' ORDER BY `time` DESC LIMIT ".$start.", 10") or die (sql_error(mysql_errno())); if ($posts == 0){ echo 'Почта пуста!'; } else { while ($privat = mysql_fetch_array($result)) { if($privat['new']==1){ $new = ' [непрочитано] '; } else { $new = ''; } if($privat['id_kto']==$user['id']){ echo '