; echo "<TR>";
echo "<TD width='120' align='right' valign='top'>";
echo "ゅ彻ず?:";
echo "</TD>";
echo "<TD valign='top' class='bodycolor' align='left'>";
echo $pbody;
echo "<hr size=1>";
echo "</TD>";
echo "</TR>";
echo "</TD></TR>";
echo "</TABLE>";
echo "<TR><TD >";
//=======???ねだㄉ===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_friend>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR>";
echo "<TD align='right' width=250>";
echo "???ねだㄉ??ゅ彻:";
echo "</TD>";
echo "<TD>";
echo "<INPUT TYPE='TEXT' NAME='frmail' size=25 value='?ね?E-mail'>";
echo "<INPUT TYPE='Submit'value='??'>";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
//=======??mail List===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_list>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR >";
echo "<TD align='right' width=250>";
echo "?境o?????尿?阶:";
echo "</TD>";
echo "<TD>";
if(strlen($c_email)) $addmail=$c_email;
else $addmail="??E-mail";
echo "<INPUT TYPE='TEXT' NAME='email' size=25 value='$addmail'>";
echo "<INPUT TYPE='Submit' name='way1' value='????>";
echo "<INPUT TYPE='Submit' name='way2' value='????>";
$qsql="SELECT id from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
$nums=mysql_num_rows($rs);
echo "<br>????ヘ??兢H计:$nums";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
viewbar();
echo "</td>&
echo "<TD width='120' align='right' valign='top'>";
echo "ゅ彻ず?:";
echo "</TD>";
echo "<TD valign='top' class='bodycolor' align='left'>";
echo $pbody;
echo "<hr size=1>";
echo "</TD>";
echo "</TR>";
echo "</TD></TR>";
echo "</TABLE>";
echo "<TR><TD >";
//=======???ねだㄉ===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_friend>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR>";
echo "<TD align='right' width=250>";
echo "???ねだㄉ??ゅ彻:";
echo "</TD>";
echo "<TD>";
echo "<INPUT TYPE='TEXT' NAME='frmail' size=25 value='?ね?E-mail'>";
echo "<INPUT TYPE='Submit'value='??'>";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
//=======??mail List===============
echo "<TABLE BORDER=0 width=100% align=center cellPadding=3 cellSpacing=0 class='menufont'>";
echo "<FORM name=mtab ENCTYPE=multipart/form-data METHOD=POST ACTION=$PHP_SELF?proc=mail_list>";
echo "<input type='hidden' name=sid value='$sid'>";
echo "<input type='hidden' name=aid value='$aid'>";
echo "<input type='hidden' name=rid value='$rid'>";
echo "<input type='hidden' name=poster value='$c_poster'>";
echo "<input type='hidden' name=email value='$c_email'>";
echo "<TR >";
echo "<TD align='right' width=250>";
echo "?境o?????尿?阶:";
echo "</TD>";
echo "<TD>";
if(strlen($c_email)) $addmail=$c_email;
else $addmail="??E-mail";
echo "<INPUT TYPE='TEXT' NAME='email' size=25 value='$addmail'>";
echo "<INPUT TYPE='Submit' name='way1' value='????>";
echo "<INPUT TYPE='Submit' name='way2' value='????>";
$qsql="SELECT id from bbs_sml where sid='$sid'";
$rs=mysql_db_query($sql['db'],$qsql);
$nums=mysql_num_rows($rs);
echo "<br>????ヘ??兢H计:$nums";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
echo "</TABLE>";
echo "</td></tr>";
echo "<TR><TD >";
viewbar();
echo "</td>&