Просмотр файла forum/load_theme.php
<?php include'../system/config.php'; $id_them=(int)$_GET['id_them']; if($id_them==""){ echo'ERROR'; exit;} $er_id_them=mysql_num_rows(mysql_query("SELECT * FROM `forum_messages` WHERE `id_them`='$id_them'")); if($er_id_them==0){ echo'ERROR'; exit;} $query=mysql_query("SELECT `fmtext`,`id_user`,`dater` FROM `forum_messages` WHERE `id_them`='$id_them'"); ob_start(); while($rd=mysql_fetch_array($query)){$g.=implode(' ',$rd);} echo $g; echo $view; ?>