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

📄 selfusercode_edit.asp

📁 ASP程序实现的科技期刊系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
              </select>
              <select name="Day">
                <%for i=1 to 31%>
                <option value="<%=i%>"<%if day1=i then response.write "selected" end if %>> 
                <%=i%></option>
                <%next %>
              </select>
              日 </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%">&nbsp; 
              <select name="ZhiCheng">
                <option value="无" <%if ZhiCheng="无" then response.write "selected" end if %>>无</option>
                <option value="正高"<%if ZhiCheng="正高" then response.write "selected" end if %>>正高</option>
                <option value="副高"<%if ZhiCheng="副高" then response.write "selected" end if %>>副高</option>
                <option value="中级"<%if ZhiCheng="中级" then response.write "selected" end if %>>中级</option>
                <option value="其它"<%if ZhiCheng="其它" then response.write "selected" end if %>>其它</option>
              </select>
            </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%">&nbsp; 
              <select name="XueLi">
                <option value="无" <%if XueWei="无" then response.write "selected" end if %>>无</option>
                <option value="博士"<%if XueLi="博士" then response.write "selected" end if %>>博士</option>
                <option value="硕士"<%if XueLi="硕士" then response.write "selected" end if %>>硕士</option>
                <option value="本科"<%if XueLi="本科" then response.write "selected" end if %>>本科</option>
                <option value="大专"<%if XueLi="大专" then response.write "selected" end if %>>大专</option>
                <option value="其它"<%if XueLi="其它" then response.write "selected" end if %>>其它</option>
              </select>
            </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="ZhiWei" maxlength=20 value="<%=ZhiWei%>">
            </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="20" width="6%">&nbsp;</td>
            <td height="20" width="20%" bgcolor="#eaeaea"> 
              <div align="left">通讯地址</div>
            </td>
            <td height="20" width="65%"> 
              <input name="Add" size="40" maxlength=100 value="<%=Add%>">
            </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="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%"> 
              <input type="hidden" name="depart" value="<%=left(session("usercode"),3)%>">
              <input type="hidden" name="self" value="self">
            </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 class="button" type="submit" name="Submit" value="提交" >
                <input class="button" type="reset" name="Submit2" value="重填">
                <input class="button" type="button" name="Submit3" value="返回"onClick="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="../public/images/bg_left.gif">&nbsp;</td>
  </tr>
  <tr> 
    <td width="22"><img src="../public/images/edit_bg_zx.gif" width="21" height="20"></td>
    <td bgcolor="#FFFFFF" background="../public/images/bg_left.gif" height="20">&nbsp;</td>
    <td width="10"> 
      <div align="right"><img src="../public/images/edit_bg_yx.gif" width="21" height="20"></div>
    </td>
  </tr>
</table>
</body>
</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.userType(1).checked then
		alert("null")
			if ConList.LianXiRen.value ="" then 
				cnt=cnt+1
				errStr=errStr&cnt&". "&"联系人不能为空"&chr(10)
			end if
		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
	function back()
		history.back
	end function
</script>

⌨️ 快捷键说明

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