You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

219 lines
9.5 KiB

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<!DOCTYPE html>
<html>
<head>
<title><3E>û<EFBFBD>ע<EFBFBD><D7A2></title>
<link rel="stylesheet" type="text/css" href="qtimages/css/style.css"/>
<link rel="stylesheet" type="text/css" href="qtimages/css/mislider.css"/>
<style>
.dd a:hover{color: red;}
.dd a{ font-size: 18px;}
.header .top .logo{margin-right: 260px;}
.header{ position: fixed; top: 0; left: 0; z-index: 9999; background: #fff; width: 100%;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<%
HashMap ext = new HashMap();
ext.put("issh","<22><>");
new CommDAO().insert(request,response,"yonghuzhuce",ext,true,false,"index.jsp");
%>
<body style="padding-top:220px;">
<%@ include file="qttop.jsp"%>
<%@ include file="bht.jsp"%>
<div class="index_about index">
<div class="w1200">
<h2 class="t"><3E>û<EFBFBD>ע<EFBFBD><D7A2></h2>
<p class="t_en">Details</p>
<div class="desc">
<table width="98%" height="667" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#58AC22" style="border-collapse:collapse">
<form action="userreg.jsp?f=f" method="post" name="f1" onsubmit="return checkform();">
<input type="hidden" name="yue" value="0">
<tr>
<td width="15%"><3E>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD></td>
<td colspan="2"><input name='yonghuming' type='text' id='yonghuming' value='' onblur='checkform()' /><label id='clabelyonghuming' />
&nbsp;*</td>
</tr>
<tr>
<td><3E><><EFBFBD>룺</td>
<td width="27%"><input name='mima' type='password' id='mima' value='' onblur='checkform()' /><label id='clabelmima' />
&nbsp;*
</td>
<td width="58%">ȷ<><C8B7><EFBFBD><EFBFBD><EFBFBD>
<input name='mima2' type='password' id='mima2' value='' onblur='checkform()'> <label id='clabelmima2' /> </td>
</tr>
<tr>
<td><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
<td colspan="2"><input name='xingming' type='text' id='xingming' value='' onblur='checkform()' /><label id='clabelxingming' />
&nbsp;*</td>
</tr>
<tr>
<td><3E>Ա<EFBFBD><D4B1><EFBFBD></td>
<td colspan="2"><select name='xingbie' id='xingbie' style=" height:19px; border:solid 1px #000000; color:#666666">
<option value="<22><>"><3E><></option>
<option value="Ů">Ů</option>
</select></td>
</tr>
<tr>
<td><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD></td>
<td colspan="2"><input name='chushengnianyue' type='text' id='chushengnianyue' value='' readonly='readonly' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" /></td>
</tr>
<tr>
<td>QQ<51><51></td>
<td colspan="2"><input name='QQ' type='text' id='QQ' value='' onblur='checkform()' /> <label id='clabelQQ' /></td>
</tr>
<tr>
<td><3E><><EFBFBD>䣺</td>
<td colspan="2"><input name='youxiang' type='text' id='youxiang' value='' onblur='checkform()' /> <label id='clabelyouxiang' /></td>
</tr>
<tr>
<td><3E>ֻ<EFBFBD><D6BB><EFBFBD></td>
<td colspan="2"><input name='dianhua' type='text' id='dianhua' value='' onblur='checkform()' /> <label id='clabeldianhua' /></td>
</tr>
<tr>
<td><3E><><EFBFBD><EFBFBD>֤<EFBFBD><D6A4></td>
<td colspan="2"><input name='shenfenzheng' type='text' id='shenfenzheng' value='' onblur='checkform()' /> <label id='clabelshenfenzheng' /> </td>
</tr>
<tr>
<td>ͷ<><CDB7><EFBFBD><EFBFBD></td>
<td colspan="2"><input name='touxiang' type='text' id='touxiang' size='50' value='' />
&nbsp;
<input name="button" type='button' onClick="up('touxiang')" value='<27>ϴ<EFBFBD>' /></td>
</tr>
<tr>
<td><3E><>ַ<EFBFBD><D6B7></td>
<td colspan="2"><input name='dizhi' type='text' id='dizhi' value='' size='50' /></td>
</tr>
<tr>
<td><3E><>ע<EFBFBD><D7A2></td>
<td colspan="2"><textarea name='beizhu' cols='50' rows='5' id='beizhu'></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="2"><input type="submit" name="Submit5" value="<22>ύ" onClick="return checkform();"/>
<input type="reset" name="Submit22" value="<22><><EFBFBD><EFBFBD>" /></td>
</tr>
</form>
</table>
</div>
</div>
</div>
<%@ include file="yqlj.jsp"%>
<%@ include file="qtdown.jsp"%>
<%@ include file="kefutiao.jsp"%>
</body>
</html>
<script language=javascript src='js/My97DatePicker/WdatePicker.js'></script>
<script type="text/javascript" src="js/popup.js"></script>
<script language=javascript src='js/ajax.js'></script>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<script language=javascript >
function checkform(){
var yonghumingobj = document.getElementById("yonghuming");
if(yonghumingobj.value==""){
document.getElementById("clabelyonghuming").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD></font>";
return false;
}else{
document.getElementById("clabelyonghuming").innerHTML=" ";
}
var yonghumingobj = document.getElementById("yonghuming");
if(yonghumingobj.value!=""){
var ajax = new AJAX();
ajax.post("factory/checkno.jsp?table=yonghuzhuce&col=yonghuming&value="+yonghumingobj.value+"&checktype=insert&ttime=<%=Info.getDateStr()%>")
var msg = ajax.getValue();
if(msg.indexOf('Y')>-1){
document.getElementById("clabelyonghuming").innerHTML="&nbsp;&nbsp;<font color=red><3E>û<EFBFBD><C3BB><EFBFBD><EFBFBD>Ѵ<EFBFBD><D1B4><EFBFBD></font>";
return false;
}else{document.getElementById("clabelyonghuming").innerHTML=" ";
}
}
var mimaobj = document.getElementById("mima");
if(mimaobj.value==""){
document.getElementById("clabelmima").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>";
return false;
}else{
document.getElementById("clabelmima").innerHTML=" ";
}
var mima2obj = document.getElementById("mima2");
if(mima2obj.value==""){
document.getElementById("clabelmima2").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD>ٴ<EFBFBD><D9B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>";
return false;
}else{
document.getElementById("clabelmima2").innerHTML=" ";
}
if(mima2obj.value!=mimaobj.value){
document.getElementById("clabelmima2").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EBB2BB><D2BB></font>";
return false;
}else{
document.getElementById("clabelmima2").innerHTML=" ";
}
var xingmingobj = document.getElementById("xingming");
if(xingmingobj.value==""){
document.getElementById("clabelxingming").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>";
return false;
}else{
document.getElementById("clabelxingming").innerHTML=" ";
}
var QQobj = document.getElementById("QQ");
if(QQobj.value!=""){
if(QQobj.value.length>12||isNaN(QQobj.value)){
document.getElementById("clabelQQ").innerHTML="&nbsp;&nbsp;<font color=red><3E><>ϵQQ<51><51><EFBFBD><EFBFBD>Ϊ12λ<32><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>";
return false;
}else{
document.getElementById("clabelQQ").innerHTML="";
}
}
var youxiangobj = document.getElementById("youxiang");
if(youxiangobj.value!=""){
if(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(youxiangobj.value))
{
document.getElementById("clabelyouxiang").innerHTML="";
}else{
document.getElementById("clabelyouxiang").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ</font>";
return false;
}
}
var dianhuaobj = document.getElementById("dianhua");
if(dianhuaobj.value!=""){
if(/^1[3|4|5|6|7|8|9][0-9]\d{4,8}$/.test(dianhuaobj.value) || /^(([0\+]\d{2,3}-)?(0\d{2,3})-)?(\d{7,8})(-(\d{3,}))?$/.test(dianhuaobj.value))
{
document.getElementById("clabeldianhua").innerHTML="";
}else{
document.getElementById("clabeldianhua").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD>(11λ)<29><><EFBFBD>绰(7<><37><38><CEBB>)<29><>ʽ</font>";
return false;
}
}
var shenfenzhengobj = document.getElementById("shenfenzheng");
if(shenfenzhengobj.value!=""){
if(/^\d{15}$|^\d{18}$|^\d{17}[xX]$/.test(shenfenzhengobj.value))
{
document.getElementById("clabelshenfenzheng").innerHTML="";
}else{
document.getElementById("clabelshenfenzheng").innerHTML="&nbsp;&nbsp;<font color=red><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>ʽ</font>";
return false;
}
}
return true;
}
popheight=850;
</script>