<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp" -->
<!--#include file="config.asp" -->
<!--#include file="syscode.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>西安西科职业技术学院-在线报名</title>
<!--关键字修改 config.asp 就可以了-->
<meta name="keywords" content="<%=key%>">
<meta name="description" content="<%=descrip%>">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
function checkdata(){
var strUser_mail=/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
if( form.fullname.value.length==""||form.fullname.value.length>5) {
window.alert("\请正确输入姓名");
document.form.fullname.focus();
return false;
}


if(form.shenfen.value==""){ 
alert("请填写身份证件号!"); 
document.form.shenfen.focus(); 
return false; 
}

if(form.address.value==""){ 
alert("请填写家庭详细地址!"); 
document.form.address.focus(); 
return false; 
}

if(form.totalfen.value==""){ 
alert("请填写高考总分!"); 
document.form.totalfen.focus(); 
return false; 
}
if(form.zhuanye1.value==""){ 
alert("请填写报专业!"); 
document.form.zhuanye1.focus(); 
return false; 
}



if( form.tel.value.length!=11 || isNumberString(form.tel.value,"1234567890")!=1) {
alert("\请正确输入手机号!");
document.form.tel.focus();
return false;
}

if( form.lianxi.value.length<8 ||form.lianxi.value.length>13 || isNumberString(form.lianxi.value,"1234567890-")!=1) {
alert("\联系电话有误(区号和分机号用减号隔开) !!");
document.form.lianxi.focus();
return false;
}
if(!strUser_mail.exec(document.form.email.value))
	{
		alert("邮箱地址不能为空或输入有误哦!");
		document.form.email.focus();
		return false;	
	}
if(form.qq.value==""){ 
alert("\请正确输入QQ号码!");
document.form.qq.focus();
return false;
}

if(form.tfullname.value==""){ 
alert("请输入通知书收件人姓名!"); 
document.form.tfullname.focus(); 
return false; 
}
if(form.youbian.value==""){ 
alert("请输入邮编!"); 
document.form.youbian.focus(); 
return false; 
}
if(form.taddress.value==""){ 
alert("请输入收件人地址!"); 
document.form.taddress.focus(); 
return false; 
}
function isNumberString (InString,RefString)
{
if(InString.length==0) return (false);
for (Count=0; Count < InString.length; Count++)  {
	TempChar= InString.substring (Count, Count+1);
	if (RefString.indexOf (TempChar, 0)==-1)  
	return (false);
}
return (true);
}
}// -->
</script>

</head>
<body>
<!--#include file="top.asp" -->
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="235" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="34" background="images/left.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10%" align="right"><img src="images/arrow.gif" width="9" height="9"></td>
              <td width="27%">&nbsp;<span class="baifont">学院概况</span></td>
              <td width="47%">&nbsp;</td>
              <td width="16%">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="100" valign="top"><table width="232" border="0" align="right" cellpadding="0" cellspacing="0" background="images/abbg.jpg">
            <tr>
              <td width="230" height="100" valign="top"><table width="223" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="111" height="28" align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="about.asp">学院简介</a></td>
                    <td width="112" align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="huanjing.asp">校园风貌</a></td>
                  </tr>
                  <tr>
                    <td height="28" align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="shizi.asp">师资力量</a></td>
                    <td align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="youshi.asp">办学优势</a></td>
                  </tr>
                  <tr>
                    <td height="28" align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="guanli.asp">学院管理</a></td>
                    <td align="center"><img src="images/t1.gif" width="8" height="13" align="absmiddle"> <a href="linian.asp">办学理念</a></td>
                  </tr>
                  <tr>
                    <td height="28" colspan="2" align="center">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td ></td>
  </tr>
</table>

	<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FEFEFE">
        <tr>
          <td height="34" background="images/left1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10%" align="right"><img src="images/arrow.gif" width="9" height="9"></td>
              <td width="27%">&nbsp;<span class="baifont">考生问答</span></td>
              <td width="47%">&nbsp;</td>
              <td width="16%"><a href="wenda.asp"><img src="images/more.gif" width="27" height="18" border="0"></a></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td valign="top" class="lbk"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="161" valign="top"><%
	sql="select top 8 * from news where smallclassname='问答'order by ord desc,id desc"
	set rs = conn.execute(sql)
	if rs.bof and rs.eof then
		response.write("<table ><tr><td>暂无记录</td></tr></table>")
	else
	%>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <%
	while not rs.eof
		if len(rs("title"))>11 then
		stitle=left(rs("title"),11)&"..."
	else
		stitle=rs("title")
	end if
	i=i+1
	%>
                    <tr >
                      <td width="19" align="center"><img src="images/wenhao.gif" width="10" height="12"></td>
                      <td width="150" height="22"><a href="showfaq.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("title")%>"><%=stitle%></a></td>
                      <td width="54"  ><%=rs("addtime")%></td>
                    </tr>
                    <%
	rs.movenext
	wend
	%>
                  </table>
                <%
	rs.close
	set rs=nothing
	end if
%></td>
            </tr>
          </table></td>
        </tr>
      </table>
	</td>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="39" background="images/ctoptbg.jpg"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="4%" align="center"><img src="images/Sm_MainDayIcon.gif" width="15" height="15"></td>
            <td width="96%"> 在线报名 注意:因本人填写失误造成无法录取学校不承担任何责任 带<span class="redfont"> *</span> 为必填项 </td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td valign="top" class="crt"><table width="708" border="0" align="right" cellpadding="4" cellspacing="2">
            <tr>
              <td width="696" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0"><form name="form" method="post" action="bm_save.asp">
                  <tr>
                    <td width="17%" height="25" align="right">姓名：</td>
                    <td colspan="3"><input name="fullname" type="text" id="fullname" size="8" onKeyUp="value= value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"> 
                      <span class="redfont">*</span>性别：
                      <input name="sex" type="radio" value="男" checked>
                      男
                      <input type="radio" name="sex" value="女">
                      女 </td>
                    </tr>
                  <tr bgcolor="#f4f4f4">
                    <td height="25" align="right">出生年月：</td>
                    <td width="27%"><input name="age" type="text" id="age"></td>
                    <td width="17%" align="right">身份证号码：</td>
                    <td width="39%"><input name="shenfen" type="text" id="shenfen" onKeyUp="value=value.replace(/[\W]/g,'') ">
                      <span class="redfont">*</span></td>
                  </tr>
                  <tr>
                    <td height="25" align="right">民族：                      </td>
                    <td><input name="minzu" type="text" id="minzu"></td>
                    <td align="right">籍贯： </td>
                    <td><input name="jiguan" type="text" id="jiguan"></td>
                  </tr>
                  <tr bgcolor="#f4f4f4">
                    <td height="25" align="right">最高学历： </td>
                    <td><input name="xueli" type="text" id="xueli"></td>
                    <td align="right">毕业学校： </td>
                    <td><input name="school" type="text" id="school"></td>
                  </tr>
                  <tr>
                    <td height="25" align="right">家庭详细地址：</td>
                    <td><input name="address" type="text" id="address">
                      <span class="redfont">*</span></td>
                    <td align="right">政治面貌：</td>
                    <td><input type="radio" name="mianmao" value="共青团员">
                    共青团员
                      <input type="radio" name="mianmao" value="党员">
                      党员
                      <input name="mianmao" type="radio" value="其他" checked>
                      其他</td>
                  </tr>
                  <tr>
                    <td height="25" align="right" bgcolor="#F4F4F4">高考总分：</td>
                    <td colspan="3" bgcolor="#F4F4F4"><input name="totalfen" type="text" id="totalfen" size="9" onKeyUp="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                      <span class="redfont">*</span> 数学：
                        <input name="sxfen" type="text" id="sxfen" size="8">
                        语文：
                        <input name="ywfen" type="text" id="ywfen" size="8">
                        英语：
                        <input name="yyfen" type="text" id="yyfen" size="8">
                        综合：
                        <input name="zhfen" type="text" id="zhfen" size="8"></td>
                    </tr>
                  <tr>
                    <td height="25" align="right">第一专业：</td>
                    <td><input name="zhuanye1" type="text" id="zhuanye1">
                      <span class="redfont">*</span></td>
                    <td align="right">第二专业：</td>
                    <td><input name="zhuanye2" type="text" id="zhuanye2"></td>
                  </tr>
                  <tr bgcolor="#f4f4f4">
                    <td height="25" align="right">手机：</td>
                    <td><input name="tel" type="text" id="tel" onKeyUp="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                      <span class="redfont">*</span></td>
                    <td align="right">固定电话/小灵通： </td>
                    <td><input name="lianxi" type="text" id="lianxi">
                      <span class="redfont">*</span></td>
                  </tr>
                  <tr>
                    <td height="25" align="right">E-mail：</td>
                    <td><input name="email" type="text" id="email">
                      <span class="redfont">*</span></td>
                    <td align="right">QQ/MSN：</td>
                    <td><input name="qq" type="text" id="qq" onKeyUp="value=value.replace(/[\W]/g,'') ">
                      <span class="redfont">*</span></td>
                  </tr>
                  <tr bgcolor="#f4f4f4">
                    <td height="25" align="right">通知书收件人姓名：</td>
                    <td colspan="2"><input name="tfullname" type="text" id="tfullname" size="8">
                      <span class="redfont">*</span>&nbsp;邮编：
                      <input name="youbian" type="text" id="youbian" size="8" onKeyUp="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
                      <span class="redfont">*</span></td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="25" align="right">邮件人地址：</td>
                    <td colspan="3"><input name="taddress" type="text" id="taddress">
                      <span class="redfont"> &nbsp;*</span></td>
                  </tr>
                  <tr bgcolor="#f4f4f4">
                    <td height="25" align="right">&nbsp;</td>
                    <td colspan="3"><input type="submit" name="Submit" value="提交报名信息" onClick="return checkdata()"></td>
                  </tr>
                      </form>
                </table>
                        
              </td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="end.asp" -->
</body>
</html>
