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

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

 更新時間:2007年03月11日 00:00:00   作者:  

</td> 
  </tr> 
  <tr>  
    <td width="390" class="text">共有帖子 <font color="#ff0000"> 
    <? 
     print $li_replycount; 
    ?> 
    </font> 個,已閱讀 <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)文章

最新評論

无棣县| 栾川县| 措美县| 海林市| 且末县| 斗六市| 鄯善县| 兴义市| 五指山市| 航空| 托克托县| 简阳市| 桐柏县| 博白县| 车险| 汝阳县| 民勤县| 齐河县| 阳东县| 会泽县| 远安县| 满城县| 北流市| 铁岭县| 元阳县| 贡山| 长岭县| 白城市| 利川市| 雷波县| 邻水| 富顺县| 甘南县| 富蕴县| 五峰| 浠水县| 梓潼县| 津南区| 海晏县| 建阳市| 罗江县|