<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp" -->
<!--#include file="config.asp" -->
<!--#include file="syscode.asp" -->
<%
set rs=conn.execute("select *  from about where id=7")
content=rs("content")
rs.close
set rs=nothing
%>
<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">
</head>
<script Language=JavaScript>
	function doCheck(){
		if (document.myform.ID_Number.value==""){
			alert("身份证号码不能为空！");
			document.myform.ID_Number.focus();
			return false;
		}
	}
</script>
<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" cellspacing="0" cellpadding="0">
        <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="newslist.asp?cls=招生动态"><img src="images/more.gif" width="27" height="18" border="0"></a></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="148" valign="top" background="images/left3bg.jpg" bgcolor="#CEE9FE"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><%
	sql="select top 6 * from news where smallclassname='招生动态' order by hits 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"))>15 then
		stitle=left(rs("title"),15)&"..."
	else
		stitle=rs("title")
	end if
	i=i+1
	%>
                    <tr >
                      <td width="19" align="center"><img src="images/PLUS.GIF" width="15" height="15"></td>
                      <td height="22"><a href="showfaq.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("title")%>"><%=stitle%></a></td>
                    </tr>
                    <%
	rs.movenext
	wend
	%>
                  </table>
                <%
	rs.close
	set rs=nothing
	end if
%>
              </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" cellspacing="0" cellpadding="0">
      <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 height="148" valign="top" class="lbk"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><%
	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%"> 毕业生资料库</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" class="dt">
            <tr>
              <td width="696" height="484" align="center" valign="top">
                <%
				if  Request.Form("act")="Seach" then
					
					if  trim(Request.Form("username"))<>"" then
						Sql="SELECT * FROM ID_Query WHERE username='"&Trim(Request.Form("username"))&"'"
					else
						Sql="SELECT * FROM ID_Query WHERE ID_Number='"&Trim(Request.Form("ID_Number"))&"'"
					End if

					Set oRs=Conn.Execute(Sql)

						if  oRs.Eof then
							Response.Write "对不起，没有信息录入！"
						else	
							UserName=oRs("username")
							Sex=oRs("sex")
							Professional=oRs("professional")
							Regtime=oRs("regtime")	
							Tel=oRs("tel")
							ID_Number=oRs("ID_Number")	
							ID_Diploma=oRs("ID_Diploma")	
							ID_XK_Diploma=oRs("ID_XK_Diploma")	
							Content=oRs("content")	
							oRs.Close
						Set oRs=Nothing
				%>
                <table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#EEEEEE">
                  <tr>
                    <td width="42%" height="24" align="right"><strong>姓名：</strong></td>
                    <td width="58%" height="24" align="left">&nbsp;<% = UserName %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>性别：</strong></td>
                    <td height="24" align="left">&nbsp;<% = Sex %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>专业名称：</strong></td>
                    <td height="24" align="left">&nbsp;<% = Professional %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>学习起止日期：</strong></td>
                    <td height="24" align="left">&nbsp;<% = Regtime %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>联系方式：</strong></td>
                    <td height="24" align="left">&nbsp;<% = Tel %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>身份证号码：</strong></td>
                    <td height="24" align="left">&nbsp;<% = ID_Number %></td>
                  </tr>
                  <tr>
                    <td height="24" align="right"><strong>学院毕业证号码：</strong></td>
                    <td height="24" align="left">&nbsp;<% = ID_Diploma %></td>
                  </tr>
                </table>
				<%
					End if
				else
				%>
				<table width="696" height="25" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="696" align="center">
					<form action="" method="post" name="myform" id="myform" onSubmit="return doCheck();">
                      <table width="98%" border="0" cellpadding="0" cellspacing="0" bordercolor="#EEEEEE">
                        <tr>
                          <td width="38%" height="26" align="right" bgcolor="#F3FBFE">姓名：</td>
                          <td width="62%" height="26" align="left" bgcolor="#F3FBFE"><input name="username" type="text" id="username"></td>
                        </tr>

                        <tr>
                          <td height="26" align="right" bgcolor="#F3FBFE">身份证号码：</td>
                          <td height="26" align="left" bgcolor="#F3FBFE">
						  <input name="ID_Number" type="text" id="ID_Number" maxlength="18"></td>
                        </tr>
                        <tr>
                          <td height="26" align="right">&nbsp;</td>
                          <td height="26" align="left"><input type="submit" name="Submit" value="提交">
                            <input name="act" type="hidden" id="act" value="Seach"></td>
                        </tr>
                      </table>
                      </form>                    </td>
                  </tr>
                </table>
				<%
				 End if
				%>				</td>
            </tr>
            <tr>
              <td height="484" align="center" valign="top">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="end.asp" -->
</body>
</html>