📄 person.asp
字号:
<%@ codepage ="936" %>
<%
if instr(session("flag"),"41")=0 then
response.redirect "../login.asp"
response.end
end if
%>
<!--#include file="../../conn/dbconn2.asp" -->
<script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.user.value=="")
{
alert("你的帐号不能为空")
document.Form1.user.focus()
document.Form1.user.select()
return
}
if (document.Form1.pwd.value=="")
{
alert("你的密码不能为空")
document.Form1.pwd.focus()
document.Form1.pwd.select()
return
}
if (document.Form1.iname.value=="")
{
alert("你的姓名不能为空")
document.Form1.iname.focus()
document.Form1.iname.select()
return
}
if (document.Form1.sfz.value=="")
{
alert("你的身份证号不能为空")
document.Form1.sfz.focus()
document.Form1.sfz.select()
return
}
if (isNaN(Form1.sfz.value)){
alert("身份证号码只能填数字!");
Form1.sfz.focus();
return (false);
}
if (document.Form1.bday.value=="")
{
alert("出生日期不能为空")
document.Form1.bday.focus()
document.Form1.bday.select()
return
}
if (document.Form1.sg.value=="")
{
alert("你的身高不能为空")
document.Form1.sg.focus()
document.Form1.sg.select()
return
}
if (document.Form1.zchen.value=="")
{
alert("请选择你的职称")
document.Form1.zchen.focus()
document.Form1.zchen.select()
return
}
if (isNaN(Form1.sg.value)){
alert("你的身高只能填数字!");
Form1.sg.focus();
return (false);
}
if (document.Form1.zye.value=="")
{
alert("所学专业不能为空")
document.Form1.zye.focus()
document.Form1.zye.select()
return
}
if (document.Form1.edu.value=="")
{
alert("最高学历不能为空")
document.Form1.edu.focus()
document.Form1.edu.select()
return
}
if (document.Form1.school.value=="")
{
alert("毕业院校不能为空")
document.Form1.school.focus()
document.Form1.school.select()
return
}
if (document.Form1.bydate.value=="")
{
alert("毕业时间不能为空")
document.Form1.bydate.focus()
document.Form1.bydate.select()
return
}
if (document.Form1.job.value=="")
{
alert("欲求职位不能为空")
document.Form1.job.focus()
document.Form1.job.select()
return
}
if (document.Form1.job1.value=="")
{
alert("请选择岗位类型")
document.Form1.job1.focus()
document.Form1.job1.select()
return
}
if (document.Form1.content.value=="")
{
alert("个人简历不能为空")
document.Form1.content.focus()
document.Form1.content.select()
return
}
if (document.Form1.name.value=="")
{
alert("联系人不能为空")
document.Form1.name.focus()
document.Form1.name.select()
return
}
if (document.Form1.phone.value=="")
{
alert("联系电话不能为空")
document.Form1.phone.focus()
document.Form1.phone.select()
return
}
if (document.Form1.city.value=="")
{
alert("所属城市不能为空")
document.Form1.city.focus()
document.Form1.city.select()
return
}
if (document.Form1.country.value=="")
{
alert("所属区域请选择")
document.Form1.country.focus()
document.Form1.country.select()
return
}
if (document.Form1.email.value=="")
{
alert("电子邮件不能为空")
document.Form1.email.focus()
document.Form1.email.select()
return
}
if (document.Form1.address.value=="")
{
alert("联系地址不能为空")
document.Form1.address.focus()
document.Form1.address.select()
return
}
document.Form1.submit()
}
</SCRIPT>
<script language="javascript">
function show_sader(mylink)
{
window.open(mylink,'','top=50,left=50,width=430,height=450,scrollbars=no')
}
</script>
<%
user=session("puid")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from person where id ="&request("id")
rs.open sql,conn,1,1
%>
<head>
<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
</STYLE>
</head>
<BODY text=#000000 leftMargin=0 topMargin=0
marginheight="0" marginwidth="0">
<div align="center">
<center>
<TABLE cellSpacing=0 cellPadding=0 width=594 bgColor=#ffffff border=0 style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<tr>
<TD width=1 bgColor=#ffffff></TD>
<TD align=middle width="606">
<form method="POST" action="psave_Edit.asp?id=<%=rs("id")%>" name="Form1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%"> </td>
</tr>
</table>
<table border="0" width="602" cellspacing="0" cellpadding="0">
<tr>
<td width="68" bgcolor="#82AAD2" valign="top">
<img border="0" src="../../images/job_1.gif" align="right"></td>
<td width="205" colspan="2" bgcolor="#82AAD2">
<font color="#000080"><b>个人注册信息</b></font></td>
<td width="14"><img border="0" src="../../images/job_2.gif"></td>
<td width="73" align=right>
</td>
<td width="242" align=right>
<p align="center"><a href="person_info.asp">返回</a></td>
</tr>
<tr>
<td bgcolor="#DEE9F3" colspan="6" width="602"> </td>
</tr>
<tr>
<td width="68" align="center" colspan="2" bgcolor="#DEE9F3">用户帐号:</td>
<td width="205" align="left" bgcolor="#DEE9F3">
<input type="text" size="20" class="f11" name="user" value="<%=rs("user")%>"><font color="#FF6600">※</font></td>
<td width="14" align="left" bgcolor="#DEE9F3"></td>
<td width="73" bgcolor="#DEE9F3">用户密码:</td>
<td width="242" bgcolor="#DEE9F3">
<input type="password" size="20" class="f11" name="pwd" value="<%=rs("pwd")%>"><font color="#FF6600">※</font></td>
</tr>
<tr>
<td bgcolor="#DEE9F3" colspan="6" width="602"> </td>
</tr>
<tr>
<td width="68" bgcolor="#82AAD2" valign="top">
<img border="0" src="../../images/job_1.gif" align="right"></td>
<td width="205" colspan="2" bgcolor="#82AAD2">
<font color="#000080"><b>个人基本资料</b></font></td>
<td width="14"><img border="0" src="../../images/job_2.gif"></td>
<td width="315" colspan="2" align=right> </td>
</tr>
<tr>
<td bgcolor="#DEE9F3" colspan="6" width="602"> </td>
</tr>
<tr>
<td width="68" align="center" colspan="2" bgcolor="#DEE9F3">真实姓名:</td>
<td width="205" align="left" bgcolor="#DEE9F3">
<input type="text" size="20" class="f11" name="iname" value="<%=rs("iname")%>"><font color="#FF6600">※</font></td>
<td width="14" align="left" bgcolor="#DEE9F3"></td>
<td width="73" bgcolor="#DEE9F3">身份证号:</td>
<td width="242" bgcolor="#DEE9F3">
<input type="text" size="20" class="f11" name="sfz" value="<%=rs("sfz")%>"><font color="#FF6600">※</font></td>
</tr>
<tr>
<td width="68" align="center" colspan="2" bgcolor="#DEE9F3">性
别:</td>
<td width="205" align="left" bgcolor="#DEE9F3">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -