打印本文 打印本文  关闭窗口 关闭窗口
我的论坛源代码(六)
作者:采集员 文章来源:来源于网络 点击数: 更新时间:2005/9/10 14:35:59
="20" width="75">&nbsp;</td>
    <td height="20" width="75">&nbsp;</td>
    <td height="20" width="75">&nbsp;</td>
    <td height="20" width="75">&nbsp;</td>
  </tr>
  <tr>
    <td height="20">
      <div align="right"></div>
    </td>
   <td height="20" width="10%">
     <div align="center"><a href="reguse.php?action=xy"><img src="images/top_register.gif" width="74" height="21" border="0"></a></div>
    </td>
    <td height="20" width="10%">
      <div align="center"><a href="useinfo.php?action=find"><img src="images/top_members.gif" width="74" height="21" border="0"></a></div>
    </td>
    <td height="20" width="10%"><a href="useinfo.php?action=edit"><img src="images/top_profile.gif" width="74" height="21" border="0"></a></td>
    <td height="20" width="10%"><a href="okey.php?d=q"><img src="images/top_logout.gif" width="74" height="21" border="0"></a></td>
  </tr>
  <tr>
    <td height="20">
      <div align="left">当前位置:<font color="#0000FF">狐网─&gt;狐网论坛─&gt;回复主题:<?echo "<font color='ff0000'>".$zt."</font>";?></font></div>
    </td>
    <td>    <div align="center"><a href="foxbbs.php"><img src="images/index.gif" width="70" height="20" border="0" align="middle"></a></div>
    </td>
    <td height="20" width="10%">
      <div align="center"><a href="superuse.php"><img src="images/super.gif" width="70" height="20" border="0" align="middle"></a></div>
    </td>
    <td height="20" width="10%">
      <div align="center"><a href="reguse.php?action=xy"><img src="images/dl.gif" width="70" height="20" border="0" align="middle"></a></div>
    </td>
    <td height="20" width="10%">
      <div align="center"><a href="../index.php"><img src="images/fox.gif" width="70" height="20" border="0" align="middle"></a></div>
     </td>  </tr>
</table>

<script language="JavaScript">
<!--
var submitcount=0;

function checkSubmit() {
    if (submitcount == 0) {
      submitcount++;
      return true;
    } else {
            if (submitcount>0){
            alert("帖子已成功提交了,别急,等等!");
            return false;
      }
    }
}

function check_com(){
   if(document.form.youname.value.length ==0){
      submitcount--;
      alert("名字不能为空!快填上吧!");
      return false;
   }
      if(document.form.youmail.value.length ==0){
      submitcount--;
      alert("EMAIL不能为空!快填上吧!");
      return false;
   }
   if(document.form.youoicq.value.length ==0){
      submitcount--;
      alert("OICQ不能为空!快填上吧!");
      return false;
   }


   if(document.form.message.value.length == 0){
      submitcount--;
      alert("内容不能为空!");
      return false;
   }
   return true;
}
//-->
</script>

<table width='70%' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' align='center'>
  <tr>
    <td>
      <table width='100%' border='0' cellspacing='0' cellpadding='0'>
        <tr bgcolor='#006699'>
          <td><div align="center"><font color="ffffff"><? echo "<font color='00ff00'>".$useinfo[2]."</font>"; ?> 你正在回复的主题是:[<? echo $zt; ?>]</font></div></td>
        </tr>
        <tr bgcolor='#eeeeee'>
          <td>
    <form name="form" onSubmit="return check_com()" method="post"><div align="center">
<?
      if ($usename)  //不是注册用户就显示输入框输入游客信息。
      {
      echo "你的大名:<input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youname' size='30' maxlength='30' value='".$youname."'>";
      echo "OICQ:<input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youoicq' size='16' maxlength='16' value='".$youoicq."'><br>";
      echo "来自何方:<input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youaddr' size='55' value='".$youaddr."'><br>";
      echo "电子信箱:<input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youmail' size='55' value='".$youmail."'><br>";
      echo "个人主页:<input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youweb' size='55' value='".$youweb."'><br>";
      echo "表情<br><input type='radio' name='bq[0]' value='a'><img src='images/a.gif'><input type='radio' name='bq[1]' value='1'><img src='images/1.gif'>";
      echo "<input type='radio' name='bq[2]' value='2'><img src='images/2.gif'><input type='radio' name='bq[3]' value='3'><img src='images/3.gif'>";
      echo "<input type='radio' name='bq[4]' value='4'><img src='images/4.gif'><input type='radio' name='bq[5]' value='5'><img src='images/5.gif'>";
      echo "<input type='radio' name='bq[6]' value='6'><img src='images/6.gif'><input type='radio' name='bq[7]' value='7'><img src='images/7.gif'>";
      echo "<input type='radio' name='bq[8]' value='8'><img src='images/8.gif'><input type='radio' name='bq[9]' value='9'><img src='images/9.gif'><br>";
      }
      echo "<div align='center'>回复内容<br>"

上一页  [1] [2] [3]  下一页



打印本文 打印本文  关闭窗口 关闭窗口