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

一個(gè)模仿oso的php論壇程序源碼(之三)第2/2頁(yè)

 更新時(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)論

独山县| 秦安县| 涿州市| 府谷县| 洮南市| 盱眙县| 呼伦贝尔市| 杭州市| 黄石市| 万年县| 垦利县| 从化市| 德格县| 南漳县| 万荣县| 敦煌市| 大渡口区| 平南县| 绥芬河市| 东乌珠穆沁旗| 万山特区| 南康市| 青田县| 镇安县| 綦江县| 海口市| 高清| 红安县| 西丰县| 瑞昌市| 蓝田县| 保德县| 石城县| 江油市| 萨嘎县| 明水县| 冷水江市| 杂多县| 日喀则市| 宝应县| 缙云县|