Community (Php&&mysql) Four _php Foundation

Source: Internet
Author: User
echo "<br>";
echo "<table width=85% border=0 cellpadding=0 cellspacing=1 align=center ' #6CA6CD ' > ';
echo "<tr><td>";
echo "<table width=100% cellpadding=1 cellspacing=1 bgcolor=white class= ' Tablefont ' >";
echo "<tr bgcolor= #F1E1FF >";
echo "<th > Clip 肈 </th>";
echo "<th> only 癬 </th>";
echo "<th Width=30> lai </th>";
echo "<th width=30></th>";
echo "<th width=70>ら stamp </th>";
echo "</tr>";
$qsql = "SELECT * from BBS_SUBJ where id= ' $sid '";
$rs =mysql_db_query ($sql [' db '], $qsql);
$row =mysql_fetch_array ($RS);
$id = $row [' id '];
$banner = $row [' banner '];
$poster = $row [' poster '];
$views = $row [' views '];
$wdate =sdatetime ($row [' wdate ']);
$docs =reanum ($id);
echo "<tr bgcolor= ' #F0F8FF ' >";
echo "<td>";
if ($sid!= $rid) {
echo "<a href= $PHP _self?proc=view&aid= $aid &sid= $id &rid= $id >";
Echo $banner;
echo "</a>";
else echo "<font color=red><b> $banner </B></font>";
echo "</td>";
echo "<td>";
Echo $poster;
echo "</td>";
echo "<td class= ' num ' >";
Echo $docs;
echo "</td>";
echo "<td class= ' num ' >";
Echo $views;
echo "</td>";
echo "<td class= ' num ' >";
Echo $wdate;
echo "</td>";
echo "</tr>";
$qsql = "SELECT * from Bbs_docs where sid= ' $sid ' ORDER by wdate";
$rs =mysql_db_query ($sql [' db '], $qsql);
while ($row =mysql_fetch_array ($rs)) {

$id = $row [' id '];
$banner = $row [' banner '];
$poster = $row [' poster '];
$views = $row [' views '];
$wdate =sdatetime ($row [' wdate ']);
$docs =reanum ($id);
echo "<tr bgcolor= ' #F0F0F0 ' >";
echo "<td>";
if ($sid!= $rid && $rid = = $id) {
echo "<font color=red><b> $banner </B></font>";
} else {
echo "<a href= $PHP _self?proc=view&aid= $aid &sid= $sid &rid= $id >";
echo "$banner";
echo "</a>";
}
echo "</td>";
echo "<td>";
Echo $poster;
echo "</td>";
echo "<td class= ' num ' >";
echo "";
echo "</td>";
echo "<td class= ' num ' >";
Echo $views;
echo "</td>";
echo "<td class= ' num ' >";
Echo $wdate;
echo "</td>";
echo "</tr>";

}
echo "</td></tr></table>";
echo "</td></tr></table>";
} // ====

echo "<a name= ' re ' ></a>";
if ($type ==1) {
if (substr ($rebanner, 0,3)!= "Re:")
$rbanner = "Re:". $rebanner;
else $rbanner = $rebanner;
}
echo "<form name=mtab enctype=multipart/form-data method=post action= $PHP _self?proc=post2>";
echo "<input type= ' hidden ' name=aid value= ' $aid ' > ';
echo "<input type= ' hidden ' name=sid value= ' $sid ' > ';
echo "<input type= ' hidden ' name=type value= ' $type ' > ';
echo "<table width=95% border=0 align=center cellpadding=3 cellspacing=0 ' class= ' >";
if ($SID) {
echo "<tr bgcolor= ' white ' >";
echo "<th colspan=2 >";
echo " 癚 order this test  bar 肈";
echo "</TH>";

echo "</TR>";
}

echo "<TR>";
echo "<td width=100 align=right>";
echo " 肈:";
echo "</TD>";
echo "<TD>";
echo "<input type= ' text ' name= ' banner ' size=60 value= ' $rbanner ' >";
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<td width=100 align=right>";
echo "only Ē:";
echo "</TD>";
echo "<TD>";
echo "<input type= ' text ' name= ' poster ' size=30 value= ' $c _poster ' >";

echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<td width=100 align=right>";
echo "e-mail:";

echo "</TD>";
echo "<TD>";
echo "<input type= ' text ' name= ' email ' size=30 value= ' $c _email ' >";

echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<td width=100 align=right valign=top>";
echo "ず 甧:";
echo "</TD>";
echo "<TD>";
echo "<font Color=green>や wear 禬 colonies ノ 猭 絛 ㄒ:<font ></font></font><br> ";
echo "<textarea name= ' body ' cols= ' rows= ' ' >";
echo "</TEXTAREA>";
echo "</TD>";
echo "</TR>";
echo "<TR>";
echo "<td align=center colspan=2>";
echo "<input type= ' checkbox ' name= ' Remail ' >";
echo " Luan ";
if ($SID) {
$BR = "-----------------------------------------------------------";
$obody = "まノ $poster ゅ Beecher n$brn". $body;
$obody. = "N$brn Luan 癚 order ず 甧 :n";
echo "<input type= ' hidden ' name=obody value=" $obody ">";
echo "<input type= ' button ' value= ' まノゅ ' onclick=" This.form.body.value=this.form.body.value + This.form.obody.value; This.form.obody.value= '; ' > ";
}

echo "<input type= ' submit ' value= ' 癳  ' >";
echo "</TD>";
echo "</TR>";
echo "</TABLE>";

}
To be continued ....... 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.