📄 expert_edit.asp
字号:
<!--#include file="../Include/TimeOut.asp"-->
<!--#include file="../Include/AdoConn.asp"-->
<!--引入数据库连接模块-->
<%
'无变量传来时先赋初值,即添加状态
ExpertCode=""
ExpertName=""
Password=""
Question=""
Answer=""
LeiBie=""
Sex=""
Year1=""
Month1=""
day1=""
Birth=""
MinZhu=""
YuanXiao=""
ZhuanYe=""
XueWei=""
XueLi=""
ZhiCheng=""
ZhiWu=""
ChengHao=""
CompanyName=""
ComProperty=""
Add=""
YouBian=""
FTel=""
WTel=""
MTel=""
Fax=""
ChuanHu=""
Email=""
Major=""
ZhuanChang=""
JianLi=""
ChengGuo=""
TuiJian=""
edit=""
'取得传来变量
strsqlzh=Request.QueryString("strsql")
expertCode=Request.Querystring("code")
page=Request.Querystring("page")
edit=Request.Querystring("edit")
if not expertCode="" then
set rst=server.createobject("ADODB.recordset")
Strsql="select * from xt_tc_Expert where 专家编码='"&ExpertCode&"'"
rst.open Strsql,strconn
ExpertCode=rst("专家编码")
ExpertName=rst("专家姓名")
Password=rst("密码")
Question=rst("查询密码问题")
Answer=rst("查询密码答案")
LeiBie=rst("专家类别")
Sex=rst("性别")
Birth=rst("出生日期")
year1=year(Cstr(birth))
month1=month(Cstr(birth))
day1=day(Cstr(birth))
MinZhu=rst("民族")
YuanXiao=rst("毕业院校")
ZhuanYe=rst("所学专业")
XueWei=rst("学位")
XueLi=rst("学历")
ZhiCheng=rst("专业技术职称")
ZhiWu=rst("行政职务")
ChengHao=rst("荣誉称号")
CompanyName=rst("工作单位名称")
ComProperty=rst("单位性质")
Add=rst("通讯地址")
YouBian=rst("邮编")
FTel=rst("住宅电话")
WTel=rst("办公电话")
MTel=rst("手机")
Fax=rst("传真")
ChuanHu=rst("传呼")
Email=rst("E_mail")
Major=rst("现从事专业")
JianLi=rst("工作简历")
ZhuanChang=rst("领域及专长")
ChengGuo=rst("科研成果")
TuiJian=rst("单位推荐意见")
end if
%>
<html>
<head>
<title>专家注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../CssLib/Cssbutton.css">
<link rel="stylesheet" href="../CssLib/Csslink.css">
</head>
<body text="#000000" bgcolor="#ffffff">
<img src="Images/title_edit_expert.gif" width="200" height="27"><font color="#00CCFF" size="1">★★★★★<font color="#00CCFF" size="1">★★★★★</font><font color="#00CCFF" size="1">★★★★★</font><font color="#00CCFF" size="1">★★★★★</font>★★</font><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="22" height="20"><img src="../public/images/edit_bg_zs.gif" width="21" height="20"></td>
<td background="../public/images/bg_left.gif" bgcolor="#0099FF">
<div align="center"></div>
</td>
<td width="10"><img src="../public/images/edit_bg_ys.gif" width="21" height="20"></td>
</tr>
<tr>
<td background="../public/images/bg_left.gif"> </td>
<td bgcolor="#FFFFFF" height="200">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<form name="conlist" method="post" action="expert_regist.asp?strsql=<%=server.URLEncode(strsqlzh)%>&code=<%=Request.querystring("code")%>&edit=<%=request.querystring("edit")%>&page=<%=Cstr(request.querystring("page"))%>" onSubmit="return checkfun()">
<% if edit="edit" then %>
<tr>
<td height="20" width="6%" bgcolor="#ffffff"> </td>
<td height="20" width="20%" bgcolor="#ffffff">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="#ffffff"> </td>
<td height="20" width="9%" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">专家编码</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea"> <%=expertcode%></td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<%end if%>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">专家姓名</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<input name="ExpertName" maxlength=10 value="<%=Expertname%>">
<font color="#ff0000">**</font> (**为必填项,下同)</td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">密码</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<% if not edit="" then %>
<input type="text" name="password" maxlength=6 value="<%=Password%>">
<% else %>
<input type="password" name="Password" maxlength=6>
<%end if%>
<font color="#ff0000">** </font> </td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">确认密码</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<input type="password" name="Password2" maxlength=6>
<font color="#ff0000">**</font> </td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">查询密码问题</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<input name="Question" size="30" maxlength=200 value="<%=question%>">
<font color="#ff0000">**</font> </td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="55" width="6%" bgcolor="#eaeaea"> </td>
<td height="55" width="20%" bgcolor="#eaeaea">查询密码问题答案</td>
<td height="55" width="65%" bgcolor="#eaeaea">
<input name="Answer" size="30" maxlength=200 value="<%=answer%>">
<font color="#ff0000">**</font> </td>
<td height="55" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#ffffff"> </td>
<td height="20" width="20%" bgcolor="#ffffff"> </td>
<td height="20" width="65%" bgcolor="#ffffff"> </td>
<td height="20" width="9%" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">专家类别</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<select name="LeiBie">
<option value="科学研究类"<%if LeiBie="科学研究类" then response.write "selected" end if %>>科学研究类</option>
<option value="技术开发类"<%if LeiBie="技术开发类" then response.write "selected" end if %>>技术开发类</option>
<option value="技术管理类"<%if LeiBie="技术管理类" then response.write "selected" end if %>>技术管理类</option>
<option value="经济管理类"<%if LeiBie="经济管理类" then response.write "selected" end if %>>经济管理类</option>
</select>
<font color="#ff0000">**</font> </td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#FFFFFF"> </td>
<td height="20" width="20%" bgcolor="#FFFFFF"> </td>
<td height="20" width="65%" bgcolor="#FFFFFF"> </td>
<td height="20" width="9%" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">性别</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<select name="sex">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -