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

📄 usercode_edit.asp

📁 ASP程序实现的科技期刊系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea">家庭电话</td>
                    <td height="20" width="65%"> 
                      <input name="FTel" maxlength=20 value="<%=FTel%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">办公电话</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="WTel" maxlength=20 value="<%=WTel%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">移动电话</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="MTel" maxlength=20 value="<%=MTel%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left">传真</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="Fax" maxlength=20 value="<%=Fax%>">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%"> 
                      <div align="left">E-mail</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="Email" value="<%=Email%>" maxlength="50" onblur="return isEmail(Email)">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="22" width="6%">&nbsp;</td>
                    <td height="22" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">通讯地址</div>
                    </td>
                    <td height="22" width="65%"> 
                      <input name="Add" size="40" maxlength=100 value="<%=Add%>">
                    </td>
                    <td height="22" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#eaeaea"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%" bgcolor="#eaeaea"> 
                      <div align="left">邮编</div>
                    </td>
                    <td height="20" width="65%"> 
                      <input name="YouBian" maxlength=6 value="<%=YouBian%>" onblur="return isnumeric(YouBian)">
                    </td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                  
                  <tr bgcolor="#ffffff"> 
                    <td height="20" colspan="4"> 
                      <div align="center"> 
                        <input type="hidden" name="UserType" value="个人">
                        <input class="button" type="submit" name="Submit" value="提交" >
                        <input class="button" type="reset" name="Submit2" value="重填">
                        <input class="button" type="button" name="Submit3" value="返回"onClick="history.back()">
                      </div>
                    </td>
                  </tr>
                  <tr bgcolor="#ffffff"> 
                    <td height="20" width="6%">&nbsp;</td>
                    <td height="20" width="20%">&nbsp;</td>
                    <td height="20" width="65%" bgcolor="#ffffff">&nbsp;</td>
                    <td height="20" width="9%">&nbsp;</td>
                  </tr>
                </form>
              </table>
          </td>
          <td bgcolor="#ffffff" background="Images/4.gif">&nbsp;</td>
        </tr>
        <tr> 
          <td width="22"><IMG height=20 src="Images/5.gif" width=21></td>
          <td bgcolor="#ffffff" background="Images/2.gif" height="20">&nbsp;</td>
          <td width="10"> 
            <div align="right"><IMG height=20 src="Images/6.gif" width=21></div>
          </td>
        </tr>
        <tr> 
          <td width="22">&nbsp;</td>
          <td height="20">&nbsp;</td>
          <td width="10">&nbsp;</td>
        </tr>
      </table>

      <!-- #EndEditable --></td>
    </tr>
    <tr bgcolor="#000000"> 
      <td colspan="3" height="1"></td>
    </tr>
    <tr bgcolor="#3777BC"> 
      <td colspan="3" height="18"> 
        <div align="center"><a class=menu href="#">友情链接</a>   <a class=menu href="mailto:jhc@systi.net.cn">联系我们</a>   <a href="../Lession/Lession.htm" class="menu">在线帮助</a></div>
      </td>
    </tr>
    <tr bgcolor="#000000"> 
      <td colspan="3" height="1"></td>
    </tr>
  </table>
  <table style="font-size:9pt;width="760" border="0" cellspacing="0" cellpadding="0" width="760">
    <tr> 
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr align=center> 
      <td width="139" align="left"><br>
      </td>
      <td width="621" align="left">单位名称:沈阳市科学技术局    <img src="../public/images/telg.gif" width="15" height="15"> 
        <a href="javascript:openTel()" class="blank">业务咨询电话</a><br>
        单位地址:沈阳市市府大路260号   邮编:110013    电子邮件:<a href="mailto:jhc@systi.net.cn" class="blank">jhc@systi.net.cn</a></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr align="center"> 
      <td colspan="2" height="20">技术支持:<a href="http://www.dosoft.com.cn" class="blank">博软信息</a> 
          咨询电话:024-23998698  联系人:宫俊  技术咨询电子邮件:<a href="mailto:GongJun@dosoft.com.cn" class="blank">GongJun@dosoft.com.cn</a></td>
    </tr>
  </table>
</div>
</body>
<!-- #EndTemplate --></html>
<script language="vbscript">
	function checkfun()   '校验表单
		cnt=0
		titleStr="[您请注意]"&chr(10)&chr(10)
		errStr="您填写个人注册表时:"&chr(10)&chr(10)
		checkfun=true
		if ConList.Password.value <>ConList.Password2.value  then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"两次密码输入不一致"&chr(10)
		end if
		if ConList.name.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"用户名不能为空"&chr(10)
		end if
		if ConList.Password.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"密码不能为空"&chr(10)
		end if
		if ConList.Question.value  ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"密码查询问题不能为空"&chr(10)
		end if
		if ConList.Answer.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"查询问题答案不能为空"&chr(10)
		end if
		if ConList.Depart.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"主管部门不能为空"&chr(10)
		end if
		if ConList.year.value<>"" then 
			if isnumeric(ConList.year.value)then 
				 if ConList.year.value<1901 or ConList.year.value>2099 then
					cnt=cnt+1
					errStr=errStr&cnt&". "&"出生年份填写错误"&chr(10)
				 end if
			else
				cnt=cnt+1
				errStr=errStr&cnt&". "&"数据类型错误"&chr(10)
			end if
		end if
		if ConList.FTel.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"家庭电话不能为空"&chr(10)
		end if
		if ConList.WTel.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"办公电话不能为空"&chr(10)
		end if
		if ConList.MTel.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"移动电话不能为空"&chr(10)
		end if
		if ConList.FTel.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"家庭电话不能为空"&chr(10)
		end if
		if ConList.email.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"email不能为空"&chr(10)
		end if
		if ConList.add.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"地址不能为空"&chr(10)
		end if
		if ConList.YouBian.value ="" then 
			cnt=cnt+1
			errStr=errStr&cnt&". "&"邮编不能为空"&chr(10)
		end if
		
		if cnt<>0 then 
			checkfun=false
			window.alert errStr
			exit function
		end if
	end function
</script>

⌨️ 快捷键说明

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