if($_GET["id"]) { /********************************************************************* *连接数据库,加载函数 *********************************************************************/ require("../config/include.php"); require("../config/inc.php"); if(@$_COOKIE["username"]) $id_user=get_id_user(@$_COOKIE["username"]); else $id_user=0; //从URL中取得主题帖子的ID @$id=$_GET["id"]; //使主题帖子人气加一 @$sql2="update article set num_look=num_look+1 where id=".$id; $db->query($sql2); //得到此主题帖子标题的信息 @$sql="SELECT title FROM `article` WHERE id='$id'"; $article = $db->fetch_assoc_one($sql); ?>
首页---&cate2id= echo $article["id_cate2"]; ?>"> echo $name_cate2; ?>---主题: echo $article["title"]; ?> | &cate2id= echo $article["id_cate2"]; ?>">发新主题帖 |
作者 | 内容 |
echo $bbsusers["name"]; ?> 职务: echo $rank["name"]; ?> QQ: if($bbsusers["qq"]) echo $bbsusers["qq"]; else echo "无";?> Email: if($bbsusers["email"]) echo $bbsusers["email"]; else echo "无";?> 个人主页: if($bbsusers["homepage"]) echo "".$bbsusers["homepage"].""; else echo "无";?> 注册时间: echo $bbsusers["fristtime"]; ?> |
echo $article["title"]; ?> echo $article["content"]; ?> if($article["time2"]!="0000-00-00 00:00:00") echo " **********************[作者在".$article["time2"]."最后修改过此文]*********************"; ?> if($article["time3"]!="0000-00-00 00:00:00") echo " **************[版主".$article["name_edit"]."在".$article["time3"]."最后修改过此文]*************"; ?> |
echo $bbsusers["introduction"];?> | |
时间: echo $article["time1"]; ?> | &id_art= echo $article["id"]; ?>">帖主修改 | &id_art= echo $article["id"]; ?>">版主管理 |
echo $rearticle["name_rewriter"]; ?> 职务: echo $rerank["name"]; ?> QQ: if($rebbsusers["qq"]) echo $rebbsusers["qq"]; else echo "无";?> Email: if($rebbsusers["email"]) echo $rebbsusers["email"]; else echo "无";?> 个人主页: if($rebbsusers["homepage"]) echo "".$rebbsusers["homepage"].""; else echo "无";?> 注册时间: echo $rebbsusers["fristtime"]; ?> |
echo $rearticle["title"]; ?> echo $rearticle["content"]; ?> if($rearticle["time2"]!="0000-00-00 00:00:00") echo " **********************[作者在".$rearticle["time2"]."最后修改过此文]*********************"; ?> if($rearticle["time3"]!="0000-00-00 00:00:00") echo " **************[版主".$rearticle["name_edit"]."在".$rearticle["time3"]."最后修改过此文]*************"; ?> |
echo $rebbsusers["introduction"];?> | |
时间: echo $rearticle["time1"]; ?> | &id_reart= echo $rearticle["id"]; ?>">帖主修改 | &id_reart= echo $rearticle["id"]; ?>">版主管理 |
echo $turn; ?> |
|
回帖子前请先登陆或注册 |