<%@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">
</head>
<body>
<!--#include file="top.asp" -->
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="235" height="511" 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="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" class="lbk"><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></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="37%">考生问答</td>
            <td width="59%">疑问直接拨打电话029－68853521 <a href="gbook/book_write.asp"><strong>或者留言</strong></a></td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td height="523" valign="top" class="crt"><table width="708" height="522" border="0" align="right" cellpadding="4" cellspacing="2">
            <tr>
              <td width="696" height="430" valign="top">

			  <%
	set rs=server.CreateObject("adodb.recordset")
'	
	sql= "select * from news  where bigclassid=100 order by id desc"
	rs.open sql,conn,1,1
	if rs.eof then
	response.Write"<br><br>暂无记录<br><br>"
	else
	rs.PageSize =15
    Page = CLng(Request("Page"))
    If Page < 1 Then Page = 1
    If Page > rs.PageCount Then Page = rs.PageCount
	rs.absolutepage=page
	for i=1 to rs.PageSize
	%>
		  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
         <td width="60%" height="22"><img src="images/wenhao.gif" width="10" height="12"> <a href="showfaq.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("title")%>"><%=rs("title")%></A></td>
              
              <td width="20%">点击<%=rs("hits")%>次</td>
              <td width="20%"><%=rs("addtime")%></td>
            </tr>
            
          </table>
	<%
	   rs.movenext
	  if rs.eof then exit for
	  next
	 %>
	 <table width="100%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><span class="bai_font">
                            <% 
  If page=1 Then
  response.Write "<font color=#999966>第一页</font>&nbsp;"
  response.Write "<font color=#999966>上一页</font>&nbsp;"
  else
  response.Write"<a href=?page=1>第一页</a>&nbsp;&nbsp;<a href=?page="&(page-1)&">上一页</a>&nbsp;"
  end if
  If cint(page)=rs.pagecount then
  response.Write "<font color=#999966>下一页&nbsp;</font>"
  response.Write "<font color=#999966>最后页&nbsp;</font>"
  else
  response.Write"<a href=?page="&(page+1)&">下一页</a>&nbsp;<a href=?page="&rs.pagecount&">最后页</a>&nbsp;"
  end if
%>
                          &nbsp;页次&nbsp;<font color="Red"><%=Page%></font>/<%=rs.PageCount%> 共<font color="Red"><%=rs.recordcount%></font>条记录
                          <select name="sel_page" onChange="javascript:location=this.options[this.selectedIndex].value;">
                            <%for i = 1 to rs.PageCount
                  if i = page then%>
                            <option value="?page=<%=i%>"selected="selected"><%=i%></option>
                            <%else%>
                            <option value="?page=<%=i%>"><%=i%></option>
               <%
			 end if
             next
			 rs.close
			 set rs=nothing
             %>
                          </select></td>
            </tr>
          </table>
	 <% 
	  
	end if
	%>  
		  </td>
            </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<!--#include file="end.asp" -->
</body>
</html>
