".$myrow[add_time]." <font color=darkblue>[id:$myrow][announce_id] 点击:$myrow[hit_count]]</font> ($myrow[bytes] bytes) <font color=red>($myrow[return_count])</font>\n";
$query="select announce_id from announce where parent_id='$id' order by announce_id desc";
$result=mysql_query($query,$dbconnect);
echo "<ul>\n";
while($myrow=mysql_fetch_array($result)){
show_announce($myrow[announce_id],$self_id);
}
echo "</ul>\n";
mysql_free_result($result);
echo "</li>";
}
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>论坛内容</title>
<link rel="stylesheet" type="text/css" href=../../"common.css">
</head>
<body>
<?php
//此处需要连接数据库
//可以根据需要加入分页
$query="select announce_id from announce where top_id='0' order by announce_id desc ";
$result_top=mysql_query($query,$dbconnect);
echo "<ul>\n";
while($myrow_top=mysql_fetch_array($result_top)){
show_announce($myrow_top[announce_id],0);
}
echo "</ul>\n";
mysql_free_result($result_top);
?>
</body>
</html>
$query="select announce_id from announce where parent_id='$id' order by announce_id desc";
$result=mysql_query($query,$dbconnect);
echo "<ul>\n";
while($myrow=mysql_fetch_array($result)){
show_announce($myrow[announce_id],$self_id);
}
echo "</ul>\n";
mysql_free_result($result);
echo "</li>";
}
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>论坛内容</title>
<link rel="stylesheet" type="text/css" href=../../"common.css">
</head>
<body>
<?php
//此处需要连接数据库
//可以根据需要加入分页
$query="select announce_id from announce where top_id='0' order by announce_id desc ";
$result_top=mysql_query($query,$dbconnect);
echo "<ul>\n";
while($myrow_top=mysql_fetch_array($result_top)){
show_announce($myrow_top[announce_id],0);
}
echo "</ul>\n";
mysql_free_result($result_top);
?>
</body>
</html>
| 对此文章发表了评论 |
