⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 post_newthread.htm

📁 xm2sv1.0寻梦二手网 v1.0,一个经过我调试的PHP原代码,有机会大家多交流哈
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<HTML><HEAD><TITLE>寻梦二手网</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<script language="JavaScript" src="http://www.xmsq.com/web1/include/common.js"></script>
<script type="text/javascript" src="http://www.xmsq.com/web1/include/bbcode.js"></script>
<LINK href="$imgdir/2s/font.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff background=$imgdir/2s/bg.gif topMargin=0>
<TABLE width=760 border=0 align="center" cellPadding=0 cellSpacing=0 marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
  <TBODY>
  <TR vAlign=bottom>
    <TD colSpan=2><MAP name=Map>
          <AREA shape=RECT coords=373,3,429,17 href="home.php">
          <AREA shape=RECT target=_blank coords=440,2,496,16 href="search.php">
          <AREA shape=RECT coords=506,2,560,17 href="http://www.xmsq.com/">
          <AREA shape=RECT coords=572,2,626,17 href="admincp.php">
          <AREA id=homepage onclick="javascript:document.all['homepage'].style.behavior='url(#default#homepage)';document.all['homepage'].setHomePage('http://www.xmsq.com');" shape=RECT coords=639,2,693,18 
 href="http://www.xmsq.com/">
          <AREA onclick="javascript:window.external.AddFavorite('http://www.xmsq.com/web1/',sText='寻梦二手网');"shape=RECT coords=705,2,756,17 href="http://www.xmsq.com/">
          <AREA shape=RECT coords=6,4,219,70 href="home.php">
        </MAP>
        <IMG height=76 src="$imgdir/2s/1.jpg" width=760 useMap=#Map border=0></TD>
    </TR>
  <TR>
    <TD vAlign=top width=158 background=$imgdir/2s/main_bg1.gif height=150>
      <META http-equiv=Pragma content=no-cache>
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center bgColor=#ff9c00 
      border=0>
          <TBODY>
            <TR> 
              <TD width="137" height=15>$login_form <A href="logging.php?action=logout">&nbsp;</A></TD>
            </TR>
            <TR> 
              <TD><A href="index.php"><IMG height=51 src="$imgdir/2s/put_out.gif" width=158 border=0></A></TD>
            </TR>
            <TR> 
              <TD><IMG height=15 src="$imgdir/2s/main_28.gif" width=158></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
      <TD vAlign=top width=602 height=420 rowSpan=4><br>
<form method="post" name="input" action="post.php?action=newthread&fid=$fid" $enctype onSubmit="return validate(this)">
<input type="hidden" name="topicsubmit" value="submit">
          <TABLE borderColor=#cccccc cellSpacing=0 cellPadding=0 width=572 
      align=center border=1>
            <TBODY>
              <TR> 
                <TD colspan="3" align=middle>{template post_logging}</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=32>发布位置: </TD>
                <TD width=568 height=32>&nbsp;&nbsp;<FONT color=#808000>&nbsp; 
                  $navigation</FONT></TD>
                <TD width=568 height=32>&nbsp;产品的发布位置</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=32>信息类别:</TD>
                <TD width=568 colSpan=2 height=32><input name="typeid1" type="radio" value="出售" checked>
                  出售 
                  <input type="radio" name="typeid1" value="求购">
                  求购 
                  <input type="radio" name="typeid1" value="出租">
                  出租 
                  <input type="radio" name="typeid1" value="求租">
                  求租 
                  <input type="radio" name="typeid1" value="招聘">
                  招聘 
                  <input type="radio" name="typeid1" value="求职">
                  求职 
                  <input type="radio" name="typeid1" value="其他">
                  其他</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=32>物品名称</TD>
                <TD width=568 height=32>&nbsp;&nbsp;<FONT color=#808000> 
                  <input type="text" name="subject" size="45" value="$subject" tabindex="3">
                  </FONT><FONT color=#ff0000><BR>
                   </FONT></TD>
                <TD width=568 height=32>&nbsp;只限制在20个字符</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=37>物品位置</TD>
                <TD width=568 height=37>&nbsp;&nbsp;<FONT color=#808000>&nbsp; 
                  <input name="position" type="text" id="position" tabindex="3" value="$position" size="20">
                  </FONT><font color="#FF0000">请正确填写</font><FONT color=#ff0000>!</FONT></TD>
                <TD width=568 height=37>&nbsp;请选择物品的所在地</TD>
              </TR>
              <TR> 
                <TD vAlign=top align=middle width=568>物品描述</TD>
                <TD vAlign=top width=568><script language="JavaScript">
var postmaxchars = $maxpostsize;
var isadmin = $isadmin;
function checklength(theform) {
        if (postmaxchars != 0) { message = "{lang board_allowed}: $maxpostsize {lang bytes}"; }
        else { message = ""; }
        alert("\n{lang post_currlength}: "+theform.message.value.length+" {lang bytes}\n\n"+message);
}
function validate(theform) {
        if (theform.subject.value == "" || theform.message.value == "") {
                alert("{lang post_subject_and_message_isnull}");
                return false; }
        if (postmaxchars != 0 && isadmin != 1) {
                if (theform.message.value.length > $maxpostsize) {
                        alert("{lang post_message_toolong}\n\n{lang post_currlength}: "+theform.message.value.length+" {lang bytes}\n{lang board_allowed}: $maxpostsize {lang bytes}");
                        return false; }
                else { return true; }
        } else { return true; }
}
</script>
                  &nbsp;<FONT color=#808000>&nbsp; 
                  <textarea rows="5" cols="35" name="message" tabindex="4" onSelect="javascript: storeCaret(this);" onClick="javascript: storeCaret(this);" onKeyUp="javascript: storeCaret(this);" onKeyDown="javascript: ctlent();">$message</textarea>
                  </FONT></TD>
                <TD width=568> <P>&nbsp;<FONT color=#ff0000>物品详细描述</FONT></P>
                  <P>&nbsp;只限制在500个字符</P></TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=35>新旧程度</TD>
                <TD width=568 height=35>&nbsp;&nbsp;<FONT color=#808000> 
                  <input name="productnew" type="radio" value="全新" checked>
                  </FONT>全新<FONT 
            color=#808000> 
                  <input type="radio" name="productnew" value="9成新">
                  </FONT>9成新<FONT color=#808000> 
                  <input type="radio" name="productnew" value="比较旧">
                  </FONT>比较旧<FONT color=#808000> 
                  <input type="radio" name="productnew" value="很旧">
                  </FONT>很旧<FONT color=#808000> 
                  <input type="radio" name="productnew" value="废品">
                  </FONT>废品</TD>
                <TD width=568 height=35>&nbsp;请按照实物情况选择</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=40>物品数量</TD>
                <TD width=568 height=40>&nbsp;&nbsp;<FONT color=#808000>&nbsp; 
                  <input name="quantity" type="text" id="quantity" value="$quantity" size="4">
                  </FONT>请填写数字</TD>
                <TD width=568 height=40>&nbsp;出售物品的数量</TD>
              </TR>
              <TR> 
                <TD align=middle width=568 height=39>物品价格</TD>
                <TD width=568 height=39>&nbsp;&nbsp;<FONT color=#808000>&nbsp; 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -