【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-bbs_top.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<table width="870" height="30" border="0" align="center" cellpadding="0" cellspacing="0" background="images/lt_15(1).jpg">
<tr>
<td height="4"></td>
<td height="4"></td>
<td width="387" rowspan="2">
<select name="select_type" class="inputcss" onChange="javascript:window.location=this.options[this.selectedIndex].value;" >
<?php
$sql=mysql_query("select * from tb_type_small order by createtime desc",$conn);
$info=mysql_fetch_array($sql);
if($info=="")
{
echo "<option>暂无讨论区</option>";
}
else
{
echo "<option>-版块快速跳转-</option>";
do
{
echo "<option value='bbs_list.php?id=".$info[id]."'>".$info[title]."</option>";
}
while($info=mysql_fetch_array($sql));
}
?>
</select></td>
</tr>
<tr>
<td class="a9"> 当前位置 >> 社区论坛 </td>
<td width="142"><span class="a9"><a href="bbs_index.php" class="a4">论坛版块</a> <a href="bbs_find.php" class="a4">查找帖子</a></span></td>
</tr>
</table>