国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁技術文章
文章詳情頁

BBS(php & mysql)完整版(二)

瀏覽:43日期:2024-01-05 16:59:44
//此頁面為look.php <? include "signup/mysql.inc"$sql="select * from ".$table." where id='$id'"$result=mysql_query($sql)or die(mysql_error()); $row=mysql_fetch_array($result); $number=++$row["number"]; $sql="update $table set number='$number' where id='$id'"mysql_query($sql)or die(mysql_error()); ?> <html> <head> <title>xiaoyang</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <? include "js/menuhead.php" ?> <script language="JavaScript"> <!-- function MM_reloadPage(init) {;;//reloads the window if Nav4 resized ;;if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { ;;;;document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} ;;else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <? include "js/menu.php"?> ;;;<div id="Layer6" style="position:absolute; left:409px; top:29px; width:118px; height:17px; z-index:1"></div> <div id="Layer5" style="position:absolute; left:63px; top:61px; width:464px; height:303px; z-index:2">;;;;;;<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="#FFCCFF"> ;;;;;;<tr>;;;;;;;;;<td width="22%" height="17">;;<div align="center"><font color="#FF3399" size="2">題目</font></div> </td> ;;;;;;;<td width="78%" height="17"> <div align="center"><font size="2" color="#9966FF"><?echo $row["title"] ;?></font> </div> ;;;;;;</td> ;;;;;;</tr> ;;;;;;<tr>;;<td width="22%" height="24">;;;;<div align="center"><font color="#FF3399" size="2">作者</font></div> </td> ;;;;;;;<td width="78%" height="24">;;<div align="center"><font size="2" color="#9966FF"><?echo $row["userid"] ;?></font> </div> ;;;;;;</td> ;;;;;;</tr> ;;;;;;<tr>;;<td width="22%">;;;;<div align="center"><font color="#FF3399" size="2">內容</font></div> </td> ;;;;;;;<td width="78%"> <div align="left"><font size="2" color="#9966FF"><? $file=explode("n",$row["content"]); $num=count($file); for($i=0 ;$i<$num;$i++) echo "&nbsp;&nbsp;".$file[$i]."<BR>";?></font></div> ;;;;;;</td> ;;;;;;</tr> ;;;;</table> ;;;<? ;;;for($j=1;$j<6;$j++);;;;;;//顯示回復內容 ;;;{ ;;;;$re="r".$j; ;;;;if($row["$re"]) { $id2=$row["$re"]; ;;;;$sql="select * from bbs_re where id='$id2'";;;$result=mysql_query($sql)or die(mysql_error()); ;;;;$row8=mysql_fetch_array($result); ;;;echo "<BR>";;echo " <table width=100% border=1 cellspacing=0 cellpadding=0;;;;;;bordercolor=#FFCCFF>;;<tr>";;;;;echo ";;;<td width=22% height=17>;<div align=center><font color=#FF3399 size=2>題目</font></div>";;echo ";;;;;</td><td width=78% height=17>";;echo " <div align=center><font size=2 color=#9966FF>".$row8["title"]."</font> </div>;;;;;;</td> </tr>;;;;;;<tr>";;;;;;echo "<td width=22% height=24>";;;;;;echo "<div align=center><font color=#FF3399 size=2>作者</font></div></td>";;echo " <td width=78% height=24>";;;;;;echo "<div align=center><font size=2 color=#9966FF>".$row8["userid"]." </font> </div></td> </tr><tr>";;;;;;echo " <td width=22%><div align=center><font color=#FF3399 size=2>內容</font></div>";;echo "</td> <td width=78%>";;echo "<div align=left><font size=2 color=#9966FF>"$file=explode("n",$row8["content"]); ;;;$num=count($file); ;;;;for($i=0 ;$i<$num;$i++) echo "&nbsp;&nbsp;".$file[$i]."<BR>";;;echo "</font></div>";;echo ";;;</td>;;</tr>;;;;</table>";;;} ;;;} ;;;?> <BR><BR> </div> <div id="back" style="position:absolute; left:455px; top:30px; width:85px; height:3px; z-index:3">;;;;<hr color="#ff9999" noshade> </div> <div id="goback" style="position:absolute; left:461px; top:23px; width:120px; height:16px; z-index:2">;;;;<div align="center"><a href="php3.php?p=1&&table=<?echo $table ;?>" target="_self" onMouseOver="window.status=''; return true"><font size="2" color="#FF33FF">返回</font></a></div> </div> <div id="Lay" style="position:absolute; left:70px; top:30px; width:85px; height:3px; z-index:4"> ;;<hr noshade color="#ff9999"> </div> <div id="Laye" style="position:absolute; left:78px; top:23px; width:120px; height:16px; z-index:1">;;;;<div align="center"><a href="say.php?id1=<? echo $id."&&table=".$table ;?>" target="_self" onMouseOver="window.status='';return true"><font size="2" color="#FF33FF">回復</font></a></div> </div> <p>&nbsp;</p> <p>&nbsp;</p> </body> </html>
標簽: PHP
主站蜘蛛池模板: 国产性tv国产精品 | 在线观看91精品国产入口 | 加勒比综合在线 | 中文字幕亚洲区 | 久久国产毛片 | 一级毛片真人免费观看 | 亚洲aa视频 | 男女精品视频 | 欧美日韩视频一区二区在线观看 | 久久成人性色生活片 | 国产精品短视频免费观看 | 久久久久久中文字幕 | 国产亚洲一区在线 | 色老头老太做爰视频在线观看 | 男女乱淫真视频免费一级毛片 | 五月色婷婷综合开心网亚 | 世界一级毛片 | 欧美一区二区三区不卡 | 成人一级 | 亚洲精品第五页中文字幕 | 性欧美视频a毛片在线播放 性欧美一级 | 午夜精品尤物福利视频在线 | 秘书高跟黑色丝袜国产91在线 | 欧美视频一区二区三区四区 | 热伊人99re久久精品最新地 | 欧美日韩高清观看一区二区 | 九九视频精品全部免费播放 | 日韩国产中文字幕 | 国产成人精品午夜 | 日韩国产欧美精品综合二区 | 午夜国产视频 | 成人精品一区二区三区 | 亚洲视频在线网 | 欧美日韩综合高清一区二区 | 国产网址在线 | 国产一级视频播放 | 日韩一级片在线免费观看 | 亚洲伊人色综合网站亚洲伊人 | 最新中文字幕视频 | 欧美成人高清手机在线视频 | 国产亚洲美女精品久久 |