<head>

<!--#include file="include/conn.asp"-->
<!--#include file="include/config.asp"-->

<script language="javascript" type="text/javascript">

function page()
{
window.location.href="ljqk.asp?page="+ pageg.value;
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>电子报纸系统</title>

<style type="text/css">
<!--
@import url("css.css");
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top" background="images/bg.jpg"><table width="976" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="336" valign="top">          <table width="97%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="26" class="a10">&nbsp;</td>
              </tr>
            <tr>
              <td><table width="320" border="0" cellpadding="0" cellspacing="0" class="k1">
                <tr>
                  <td><%call imgnews()%></td>
                    </tr>
                </table></td>
              </tr>
            <tr>
              <td height="20" valign="middle">&nbsp;</td>
              </tr>
            <tr>
              <td height="25" valign="middle"><table width="322" border="0" cellpadding="0" cellspacing="0" class="k7">
             <%call gosearch()%>
                </table></td>
              </tr>
            <tr>
              <td height="20" valign="middle">&nbsp;</td>
              </tr>
            <tr>
              <td height="187" valign="top"><table width="322" height="162" border="0" cellpadding="0" cellspacing="0" class="k2">
             <tr>
                <td height="26">&nbsp; <span class="a2">友情</span><span class="a5">链接　　　　　　　　　　　　<a href="link.asp" class="a3">更多&gt;&gt;</a></span></td>
              </tr>
          <tr><td align="left" style="text-align:center; line-height:230%" valign="top"><%=getlinks()%></td>
               </tr>
                </table></td>
              </tr>
          </table></td>
        <td width="640" valign="top">
          <!--#include file="top.asp"-->
   
            <tr>
              <td height="54" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="k2">
                <tr>
                  <td width="61%" height="39">　　　　 <span class="a6">校报导航</span>　　<span class="a9">总第<%call gettotalsum()%>期</span> 　<span class="a9"><%call gettotalname()%></span></td>
                     <form method="get" action="cx.asp?classid=classid" name="search">       <td width="39%">　　<img src="images/s1.jpg" width="26" height="32" align="absbottom" /><span class="a1"> 第</span>
			<input name="classid" type="text" value="..." onFocus="this.value=''" onBlur="if (value ==''){value=' '}" size="6" /> 
			<span class="a1">期</span> <input type="image" src="images/go.gif" width="30" height="23" align="absbottom" /></td></form>
                    </tr>
                </table></td>
              </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="96%" height="26" valign="bottom"><div align="right"><span class="a12"><a href="index.asp">首页</a>&gt;&gt;历届期刊</span></div></td>
                <td width="4%">&nbsp;</td>
              </tr>
            <tr>
              <td height="28" colspan="2" bgcolor="#98BA3F" class="a123">　<span class="a4">历届期刊</span></td>
              </tr>
            <tr>
              <td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F6F9E8" class="k2">
                <tr>
                  <td height="500" ><table width="90%" height="86%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="450" valign="top" style="padding-top:20px;">
						<% 
		page=clng(request.querystring("page"))
		sqlt="select * from bigclass order by BigClassID desc"
		set rs=server.createobject("ADODB.Recordset")
		rs.open sqlt,conn,1,1
		if rs.eof and rs.bof then
		response.write("暂时没有记录")
		else 
		%> 
		<% 
		rs.pagesize=15
		if page=0 then page=1 
		pages=rs.pagecount
		if page > pages then page=pages
		rs.absolutepage=page  
		for j=1 to rs.pagesize 
		%> 
<table width="100%" height="28" border="0" cellpadding="0" cellspacing="0">
				<tr>
				<td background="images/bg3.gif" class="a12"><table width="100%"><tr><td width="60%"> &nbsp;&nbsp;·&nbsp;&nbsp;<a href="default.asp?classid=<%=rs("bigclassid")%>&boardname=第一版" target="_blank">总第<%=rs("bigclassid")%>期</a>&nbsp;&nbsp;发布时间：<%=rs("bigclassname")%></td><td width="40%"></td></tr></table></td>
				</tr>
                        </table>	<%
		rs.movenext
		if rs.eof then exit for
		next
		%> 	</td>
                        </tr>	
				

                    <tr>
                      <td height="48" align="center"><span class="a1">
             <%if page<2 then      
			response.write "首页 上一页&nbsp;"
			else
			response.write "<a href=lqhf.asp?page=1>首页</a>&nbsp;"
			response.write "<a href=lqhf.asp?page=" & page-1 & ">上一页</a>&nbsp;"
			end if
			if rs.pagecount-page<1 then
			response.write "下一页 尾页"
			else
			response.write "<a href=lqhf.asp?page=" & (page+1) & ">"
			response.write "下一页</a> <a href=lqhf.asp?page="&rs.pagecount&">尾页</a>"
			end if
			response.write "&nbsp;页次：<strong><font color=red>"&page&"</font>/"&rs.pagecount&"</strong>页 "
			response.write "&nbsp;共<b><font color='#ff0000'>"&rs.recordcount&"</font></b>条记录 <b>"&rs.pagesize&"</b>条记录/页"
			response.write " 转到：<input type='text' name='page' size=4 maxlength=10 class=input value="&page&">"
			response.write " <input class=input type='submit'  value='转到'  name='cndok'></span></p>"     
			%>
       </td>
                        </tr>
                    </table></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
      </tr>
   <% 
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>    
      <tr>
        <td colspan="2">&nbsp;</td>
      </tr>
      
      
    </table></td>
  </tr>
  <tr>
    <td height="50">      <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <!--#include file="bot.asp"-->
    </table></td>
  </tr>
</table>
</body>
</html>
