".$row['subject'].""; echo ""; echo "
".$row['author'].":".date('Y-m-d H:i', $row['dateline'])."
".ubb($massage)."
"; $pid=$row['pid']; include("allow/attachment.php"); echo "

"; } } else { $qurey="select * from ".$pre."forum_post WHERE tid=".$tid." order by pid ASC limit 10"; $result=mysql_query($qurey); while($row=mysql_fetch_array($result)) { $massage=$row['message']; echo "
".$row['subject']."
"; echo ""; echo "
".$row['author'].":".date('Y-m-d H:i', $row['dateline'])."
".ubb($massage)."
"; $pid=$row['pid']; include("allow/attachment.php"); echo "

"; } $i=1; $pagenum=ceil($total/$num)+1; while($i<$pagenum) { echo "[".$i."]"; $i++; } } if(!$user) { } else { include("insert/post.php"); } include("footer.php"); ?>