fetch_assoc($sql); ?>
最新公告: " target="_self">[] 查看以往公告
fetch_assoc($sql1); $i=0; foreach ($arrCate1 as $cate1) { ?>
    
fetch_assoc($sql1); foreach ($arrCate2 as $cate2) { //得到最后发表的信息,先对新主题帖子和新回复帖子的时间进行比较 $sql11="SELECT * FROM `article` WHERE id_cate2='".$cate2['id']."' order by id desc limit 1"; $article11 = $db->fetch_assoc_one($sql11); $sql3="SELECT * FROM `rearticle` WHERE id_cate2='".$cate2['id']."' order by id desc limit 1"; $rearticle = $db->fetch_assoc_one($sql3); if($article11["time1"]<$rearticle["time1"]) { $sql4="SELECT * FROM `article` WHERE id='".$rearticle["id_article"]."'"; $article4 = $db->fetch_assoc_one($sql4); //$title=substr($article["title"], 0,8); $title=gbSubstr2($article4["title"]); $writer=$rearticle["name_rewriter"]; $time=$rearticle["time1"]; $id=$rearticle["id_article"]; } else { //$title=substr($article11["title"], 0,8); $title=gbSubstr2($article11["title"]); $writer=$article11["name_writer"]; $time=$article11["time1"]; $id=$article11["id"]; } ?>
&cate2id=" target="_self">   版主:  主题:
  『简介』  作者:
 日期:
    友情链接: