最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

一個(gè)模仿oso的php論壇程序源碼(之三)

 更新時(shí)間:2007年03月11日 00:00:00   作者:  

</td> 
  </tr> 
  <tr>  
    <td width="390" class="text">共有帖子 <font color="#ff0000"> 
    <? 
     print $li_replycount; 
    ?> 
    </font> 個(gè),已閱讀 <font color="#ff0000"> 
    <? 
     print $li_readcount; 
    ?> 
    </font> 次</td> 
    <td colspan="3">&nbsp;</td> 
  </tr> 
</table> 
<? 
//顯示帖子的所有內(nèi)容 
$ls_query = 'select content,replyman,replytime,replyemail,replyhttp,replyface from fr_t_forumcontent '; 
$ls_query =  $ls_query. ' where id = '.$theme_id.' order by replytime'; 
$res = mysql_query($ls_query, $dbh);  
$li_tempr = 0; 
while ($row = mysql_fetch_array($res)) {  
  if ($li_tempr == 0) { 
  $li_tempr = 1;   
  print '<table width="100%" border="0" bgcolor="#CCCCCC">'; 
  print '  <tr bgcolor="#dedede" bordercolor="#CCCCFF"> '; 
  print ' <td class="text" height="19" valign="top" width="5%"> <div align="left">'; 
  print '  <img src="icon'.$row["replyface"].'.gif" width="18" height="18" ></div> </td>'; 
  print '    <td class="text" height="19" valign="top" width="20%"> '; 
  print '      <div align="left"><font color="#3333FF">作者:'.$row["replyman"].'</font></div>'; 
  print '    </td>'; 
  print '    <td class="text" height="19" valign="top" width="25%">'; 
  print  ' <font color="#3333FF">發(fā)表于:'.$row["replytime"].'</font></td>'; 
  print '    <td class="text" height="19" valign="top" width="25%">'; 
  print ' <font color="#3333FF">E_mail:'.$row["replyemail"].'</font></td>'; 
  print '    <td class="text" height="19" valign="top" width="25%">'; 
  print '<font color="#3333FF">'.$row["replyhttp"].' </font></td>'; 
  print '  </tr>'; 
  print '  <tr bgcolor="#dedede" bordercolor="#CCCCFF"> '; 
  print '    <td class="text" height="22" valign="top" colspan="5"> '; 
  print '      <p><font color="#3333FF">'.$row["content"].'</font></p>'; 
  print '    </td>'; 
  print '  </tr>'; 
  print '</table>'; 
  } 
  else { 
$li_tempr = 0;   
print '<table width="100%" border="0" bgcolor="#CCCCCC">'; 
print '  <tr bgcolor="#ededed"> '; 
print ' <td class="text" height="19" valign="top" width="5%"> <div align="left">'; 
print '  <img src="icon'.$row["replyface"].'.gif" width="18" height="18" ></div> </td>'; 
print '    <td class="text" height="19" valign="top" width="20%" bgcolor="#ededed"> '; 
print '      <div align="left"><font color="#000099">作者:'.$row["replyman"].'</font></div>'; 
print '    </td>'; 
print '    <td class="text" height="19" valign="top" width="25%">'; 
print ' <font color="#000099">發(fā)表于:'.$row["replytime"].' </font></td>'; 
print '    <td class="text" height="19" valign="top" width="25%">'; 
print '<font color="#000099">E_mail:'.$row["replyemail"].'</font></td>'; 
print '    <td class="text" height="19" valign="top" width="25%">'; 
print '<font color="#000099">'.$row["replyhttp"].' </font></td>'; 
print '  </tr>'; 
print '  <tr bgcolor="#ededed"> '; 
print '    <td class="text" height="22" valign="top" colspan="5"> '; 
print '      <p><font color="#000099">'.$row["content"].'</font></p>'; 
print '    </td>'; 
print '  </tr>'; 
print '</table>'; 


?> 
<? 
  include ("c:mydbfooter.inc"); 
?> 
</HTML> 
---------- 
http://zhangcg.yeah.net 

相關(guān)文章

最新評(píng)論

伊春市| 阿勒泰市| 孟州市| 荆门市| 大姚县| 昆明市| 阿城市| 新河县| 望城县| 曲麻莱县| 乐陵市| 巴楚县| 江源县| 天水市| 万盛区| 宁城县| 商河县| 吴川市| 永福县| 沙湾县| 万安县| 安化县| 齐河县| 浏阳市| 竹山县| 南雄市| 宜章县| 镇平县| 金寨县| 闵行区| 灵石县| 杭锦旗| 青河县| 肇庆市| 枞阳县| 迁安市| 军事| 白银市| 若羌县| 聂荣县| 昭觉县|