if($_GET["cate2id"]) { /********************************************************************* *连接数据库,加载函数 *********************************************************************/ require("../config/include.php"); require("../config/inc.php"); //从URL中取得一、二级栏目的ID @$id_cate1=$_GET["cate1id"]; @$id_cate2=$_GET["cate2id"]; //得到二级栏目的信息 $sql="SELECT * FROM `category2` WHERE id='$id_cate2'"; $cate2 = $db->fetch_assoc_one($sql); ?>
首页——版面: echo $cate2["name"]; ?> | 发新主题帖 |
主题 | 作者 | 回复 | 人气 | 最后发表 |
"> echo $article["title"]."[**总置顶**]";?> | echo $article["name_writer"]; ?> | echo $article["num_rewriter"]; ?> | echo $article["num_look"]; ?> | echo $article["name_last"]; ?>| echo $article["time_last_re"]; ?> |
"> echo $article["title"]; if($article["top2"]) echo "[**置顶**]";?> | echo $article["name_writer"]; ?> | echo $article["num_rewriter"]; ?> | echo $article["num_look"]; ?> | echo $article["name_last"]; ?>| echo $article["time_last_re"]; ?> |
echo $turn; ?> |