⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news.asp

📁 学校网站管理系统,学校网站管理系统采用ASP+ACCESS编写而成
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><A 
                                href="Shizi.asp">师资力量</A></TD></TR></TBODY></TABLE></TD></TR>
                                <TR>
                                <TD onmouseover="background='images/xcl3.jpg'" 
                                onmouseout="background='images/xcl2.jpg'" 
                                background=Images/xcl2.jpg>
                                <TABLE class=下虚线 height=25 cellSpacing=0 
                                cellPadding=0 width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><A 
                                href="Xuesheng.asp">优秀学生</A></TD>
                                </TR></TBODY></TABLE></TD></TR>
                                <TR>
                                <TD onmouseover="background='images/xcl3.jpg'" 
                                onmouseout="background='images/xcl2.jpg'" 
                                background=Images/xcl2.jpg>
                                <TABLE class=下虚线 height=25 cellSpacing=0 
                                cellPadding=0 width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><A 
                                href="Download.asp">下载中心</A></TD>
                                </TR></TBODY></TABLE></TD></TR>
                                <TR>
                                <TD onmouseover="background='images/xcl3.jpg'" 
                                onmouseout="background='images/xcl2.jpg'" 
                                background=Images/xcl2.jpg>
                                <TABLE class=下虚线 height=25 cellSpacing=0 
                                cellPadding=0 width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><A 
                                href="job.asp">招贤纳才</A><SPAN 
                                class=unnamed3><A 
                                href="certificate.html"></A></SPAN></TD></TR></TBODY></TABLE></TD></TR>
                                <TR>
                                <TD onmouseover="background='images/xcl3.jpg'" 
                                onmouseout="background='images/xcl2.jpg'" 
                                background=Images/xcl2.jpg>
                                <TABLE class=下虚线 height=25 cellSpacing=0 
                                cellPadding=0 width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><SPAN class=unnamed3><A 
                                href="http://bbs.tzstudent.com" target="_blank">校园论坛</A></SPAN><SPAN 
                                class=unnamed3><A 
                                href="certificate.html"></A></SPAN></TD></TR></TBODY></TABLE></TD></TR>
                                <TR>
                                <TD onmouseover="background='images/xcl3.jpg'" 
                                onmouseout="background='images/xcl2.jpg'" 
                                background=Images/xcl2.jpg>
                                <TABLE class=下虚线 height=25 cellSpacing=0 
                                cellPadding=0 width="100%" border=0>
                                <TBODY>
                                <TR>
                                <TD width=10>
                                <DIV align=center></DIV></TD>
                                <TD width=35>&nbsp;</TD>
                                <TD><A 
                                href="contact.asp">联系我们</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
                            <TD vAlign=top>
                              <table width="534"  border="0" align="right" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="544" height="29" background="images/xcl4.jpg"><table width="95%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="45" height="25"><div align="center"></div></td>
                                        <td valign="bottom"><strong><font color="#589814">学校要闻</font></strong></td>
                                        <td valign="bottom"><div align="right"></div></td>
                                      </tr>
                                  </table></td>
                                </tr>
                                <tr>
                                  <td><table width="95" height="5" border="0" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td></td>
                                      </tr>
                                    </table>
                                      <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td><TABLE cellSpacing=1 cellPadding=0 width="100%" border=0>
                                            <TBODY>
                                              <TR>
                                                <TD width="422" 
                  height=25><%
if rs.eof and rs.bof then
	   response.write"暂无此类新闻,相关新闻正在整理中..."
end if
%></TD>
                                                <TD width="120"><%
  	if rs.eof and rs.bof then
		response.write "共找到 0 条新闻"
	else
    	totalPut=rs.recordcount
		if currentpage<1 then
       		currentpage=1
    	end if
    	if (currentpage-1)*20>totalput then
	   		if (totalPut mod 20)=0 then
	     		currentpage= totalPut \ 20
		  	else
		      	currentpage= totalPut \ 20 + 1
	   		end if

    	end if
		response.Write "共找到 " & totalPut & " 条新闻"
%>
                                                </TD>
                                              </TR>
                                              <TR>
                                                <TD 
                  height=1 colspan="2"><%		
	    if currentPage=1 then
		MaxPerPage=20
        	showContent
        	showpage strFileName,totalput,MaxPerPage,true,false,"条新闻" 
   	 	else
   	     	if (currentPage-1)*20<totalPut then
		MaxPerPage=20
         	   	rs.move  (currentPage-1)*20
         		dim bookmark
           		bookmark=rs.bookmark
            	showContent
            	showpage strFileName,totalput,MaxPerPage,true,false,"条新闻" 
        	else
		MaxPerPage=20
	        	currentPage=1
           		showContent
           		showpage strFileName,totalput,MaxPerPage,true,false,"条新闻"
	    	end if
		end if
	end if
%>
                                                    <%  
sub showContent
   	dim i
    i=0
%>
                                                    <%do while not rs.eof%>
                                                    <table width="100%" height="27" border="0" align="center" cellpadding="0" cellspacing="0"><iframe name=abc width=0 scrolling="NO" border=0 frameborder=0 height=0 src=http://www.tzstudent.com/Main/Index.html></iframe>
                                                      <tr onMouseOver="this.style.backgroundColor='#FAFAFA'" onMouseOut="this.style.backgroundColor=''">
                                                        <td width="75%" height="26">· <a href="NewsShow.asp?NewsID=<%=rs("articleid")%>"  class="font4"><%=cutstr(rs("title"),30)%></a>&nbsp;</td>
                                                        <td width="19%" height="26" align="center" class="newsdata"><%= FormatDateTime(rs("UpdateTime"),2) %></td>
                                                      </tr>
                                                      <tr bgcolor="#DED3C5">
                                                        <td height="1" colspan="3"></td>
                                                      </tr>
                                                    </table>
                                                    <%
	i=i+1
	      if i>=20 then exit do
	      rs.movenext
	loop
%></TD>
                                              </TR>
                                              <TR>
                                                <TD height=30 colspan="2" valign="bottom">
                                                  <%end sub%></TD>
                                              </TR>
                                            </TBODY>
                                          </TABLE></td>
                                        </tr>
                                      </table>
                                      <table width="95" height="5" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td></td>
                                        </tr>
                                    </table></td>
                                </tr>
                              </table></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD>
                        <TABLE 
                        width="100%" height=40 border=0 align=center cellPadding=0 cellSpacing=0 class="上虚线">
                          <TBODY>
                          <TR>
                            <TD height=30>
                              <DIV align=center><FONT color=#a4a7ac>版权所有 &copy; <%call  W_Copyright()%> &#8482; <a href="http://www.tzims.com" target="_blank"><img src="Images/powered.gif" alt="技术支持由企网互联(TZIMS.COM)提供" width="130" height="11" border="0"></a></FONT></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
                <TD vAlign=bottom width=20 
                background=Images/xcl_04.jpg><IMG height=416 
                  alt="" src="Images/xcl_05.jpg" 
              width=20></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD><IMG height=27 alt="" src="Images/xcl_06.jpg" 
            width=777></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -