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

📄 wuzhoudefault.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                                        <table width="100%" border="0" cellspacing="0">
                                          <%do while not rs.eof%>
                                          <tr>
                                            <td align="center" height="21" valign="middle"><%if not Rs.eof then%>
                                              <a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=rs("Nclassid")%>"><%=Rs("Nclass")%>
                                              </a></td>
                                            <%rs.movenext   
		end if %>
                                          </tr>
                                          <%loop
  Rs.Close
                                          %>
                                        </table>
                                      </td>
                                    </tr>
                                  </table>
                                  </center>
                                </div>
                                <img height="1" src="images/a-0.gif" width="1"></td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                    </center>
                  </div>
            </tbody>
          </table>
        </div>
      </div>
    <td align="center" bgColor="#6699FF" vAlign="top" width="1"> 
    <td bgColor="#ffffff" vAlign="top" width="358">
      <div align="center">
        <center>
        <table background="../3/mainbj.gif" border="0" cellPadding="0" cellSpacing="0" width="580">
          <tbody>
            <tr>
              <td valign="middle" align="center" style="background-image: url('images/qhss1.gif')"><span style="FILTER:DropShadow(color=black,offX=1,offY=1);POSITION:relative;WIDTH: 100%"><a href="http://www.wffzjs.net"><font color="#EBEBEB">五洲集团|www.wffzjs.net</font></a></span>
            </tbody>
          </table>
        </center>
        </div>
        <div align="center">
          <center>
          <table border="0" cellPadding="0" cellSpacing="0">
            <tbody>
              <tr>
                <td valign="middle" align="center">
                  <div align="center">
                    <center>
                    <table border="0" cellpadding="0" cellspacing="2">
                      <tr>
                        <td align="center" valign="top" bgcolor="#FFFFFF">
                          <div align="center">
                            <center>
                            <table border="0" cellspacing="1" cellpadding="2" bgcolor="#999999" width="580">
                              <tr>
                                <td align="left" width="100%" bgcolor="#FFFFFF" valign="top">
                                  <table border="0" width="100%" cellspacing="0" cellpadding="0" height="22">
                                    <tr bgcolor="#FFFFFF">
                                      <td width="3%" bgcolor="#FFFFFF" height="22"><img src="images/n_line01.gif"></td>
                                      <td colspan="4" bgcolor="#FFFFFF">
                                      <a href="fzindex.asp">软件下载</a> 
                                        &gt;&gt; <a href="wuzhoudefault.asp?classid=<%=request("classid")%>"><%=classname%>      
                                        </a> &gt;&gt; <%=Nclassname%>      
                                      </td>
                                    </tr>
                                  </table>
                                  <% 
	if request("Nclassid")="" then
		sql="select id,showname,note,dayhits,weekhits,lasthits,hits,dateandtime,hot,system,size,orders from download where "&classid&" stop=0 "
		sql=sql&" order by "&order_name&" "&updown
	else
		sql="select id,showname,note,dayhits,weekhits,lasthits,hits,dateandtime,hot,system,size,orders from download where "&classid&" "&Nclassid&" stop=0 "
		sql=sql&" order by "&order_name&" "&updown
	end if
	rs.open sql,conn,1,1 

  	if rs.eof and rs.bof then 
       		response.write "<table><tr><td border='0' width='100%' height='100%' cellspacing='1' cellpadding='0' bgcolor='#FFFFFF'><p align='center'>没有或没有找到任何程序</p></td></tr></table>" 
   	else 
       		totalPut=rs.recordcount 
      		if currentpage<1 then 
          		currentpage=1 
      		end if 

      		if (currentpage-1)*MaxPerPage>totalput then 
	   		if (totalPut mod MaxPerPage)=0 then 
	     			currentpage= totalPut \ MaxPerPage 
	   		else 
	      			currentpage= totalPut \ MaxPerPage + 1 
	   		end if 
      		end if 
       		if currentPage=1 then 
            		showContent 
            		showpage totalput,MaxPerPage,"wuzhoudefault.asp" 
       		else 
          		if (currentPage-1)*MaxPerPage<totalPut then 
            			rs.move  (currentPage-1)*MaxPerPage 
            			dim bookmark 
            			bookmark=rs.bookmark 
            			showContent 
             			showpage totalput,MaxPerPage,"wuzhoudefault.asp" 
        		else 
	        		currentPage=1 
           			showContent 
           			showpage totalput,MaxPerPage,"wuzhoudefault.asp" 
	      		end if 
	   	end if 
   	rs.close 
   	end if 
	         
   	sub showContent 
       	dim i 
	   	i=0 
                                  %>
                                  <table border="0" width="96%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center">
                                    <%if request("updown")="" then%>
                                    <tr>
                                      <td height="22" width="49%" align="right"><b>排列方式:</b></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=dateandtime&amp;updown=desc" title="点击按升序排列"><img src="images/geng-1.gif" border="0"></a></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=hits&amp;updown=desc" title="点击按升序排列"><img src="images/zhai-1.gif" border="0"></a></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=size&amp;updown=desc" title="点击按升序排列"><img src="images/wen-1.gif" border="0"></a></td>
                                      <td width="18%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=hot&amp;updown=desc" title="点击按升序排列"><img src="images/fen-1.gif" border="0"></a></td>
                                    </tr>
                                    <%else%>
                                    <tr>
                                      <td height="22" width="49%" align="right"><b>排列方式:</b></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=dateandtime" title="点击按降序排列"><img src="images/geng-1.gif" border="0"></a></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=hits" title="点击按降序排列"><img src="images/zhai-1.gif" border="0"></a></td>
                                      <td width="11%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=size" title="点击按降序排列"><img src="images/wen-1.gif" border="0"></a></td>
                                      <td width="18%" align="center"><a href="wuzhoudefault.asp?classid=<%=request("classid")%>&amp;Nclassid=<%=request("Nclassid")%>&amp;order=hot" title="点击按降序排列"><img src="images/fen-1.gif" border="0"></a></td>
                                    </tr>
                                    <%end if%>
                                    <%do while not rs.eof%>
                                    <tr>
                                      <td height="22" width="49%"><font color="#FF6600">★</font> 
                                        <a class="date" href="wuzhoulist.asp?id=<%=rs("id")%>" title="点击查看详细介绍"><%=rs("showname")%>      
                                        </a></td>
                                      <td width="11%" align="center"><%=rs("dateandtime")%>
                                      </td>
                                      <td width="11%" align="center"><%=rs("hits")%>
                                      </td>
                                      <td width="11%" align="center"><%=rs("size")%>
                                      </td>
                                      <td width="18%" align="center"><%for imghot=1 to rs("hot")%>
                                        <font color="#6699FF">★</font><%next%>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td height="22" colspan="5"><%if len(rs("note"))>148 then%>
                                        · <%=left(rs("note"),148)%>      
                                        ...... <%else%>      
                                        · <%=rs("note")%>      
                                        <%end if%>      
                                      </td>
                                    </tr>
                                    <tr>
                                      <td height="22" colspan="2"><font class="date">运行平台:</font><%=rs("system")%>
                                        <font class="date">软件性质:</font><%=rs("orders")%>      
                                      </td>
                                      <td colspan="3" height="22">本日下载:       
                                        <%if day(rs("lasthits"))=day(now()) and month(rs("lasthits"))=month(now()) and year(rs("lasthits"))=year(now()) then%>
                                        <font color="red"><%=rs("dayhits")%>      
                                        </font> <%else%>
                                        <font color="red">0</font> <%end if%>      
                                        本周: <%      
   	p_year=CInt(year(Now()))-CInt(year(rs("lasthits")))
   	p_month=CInt(month(Now()))-CInt(month(rs("lasthits")))
   	p_day=CInt(day(Now()))-CInt(day(rs("lasthits")))
   	period_time=((p_year*12+p_month)*30+p_day)
	if cint(period_time)>=cint(7) then
                                        %>
                                        0 <%else%>      
                                        <%=rs("weekhits")%>      
                                        <%end if%>      
                                        总计:<%=rs("hits")%>      
                                      </td>
                                    </tr>
                                    <tr align="center">
                                      <td colspan="5">
                                        <hr size="0">
                                      </td>
                                    </tr>
                                    <tr>
                                      <td background="images/bg02.gif" height="1" colspan="5"> </td>
                                    </tr>
                                    <%
	 i=i+1
	 if i>=MaxPerPage then exit do
	 	rs.movenext
	 loop
                                    %>
                                    <tr>
                                      <td colspan="5" height="20" align="center"><%
   end sub 

	function showpage(totalnumber,maxperpage,filename)
  	dim n

  	if totalnumber mod maxperpage=0 then
     		n= totalnumber \ maxperpage
  	else
     		n= totalnumber \ maxperpage+1
  	end if
  	response.write "<form method=Post action="&filename&"?classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">"
  	response.write "<p align='right'><font color='red'>"&Nclassname&"</font>"

  	if CurrentPage<2 then
    		response.write ""&totalnumber&"个&nbsp;首页 上一页&nbsp;"
  	else
    		response.write ""&totalnumber&"个&nbsp;<a href="&filename&"?page=1&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">首页</a>&nbsp;"
    		response.write "<a href="&filename&"?page="&CurrentPage-1&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">上一页</a>&nbsp;"
  	end if

  	if n-currentpage<1 then
    		response.write "下一页 尾页"
  	else
    		response.write "<a href="&filename&"?page="&(CurrentPage+1)&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">"
    		response.write "下一页</a> <a href="&filename&"?page="&n&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">尾页</a>"
  	end if
   	response.write "&nbsp;页次:<strong><font color=red>"&CurrentPage&"</font>/"&n&"</strong>页 "
    	response.write "&nbsp;<b>"&maxperpage&"</b>个软件/页 "
                                        %>
                                        转到: <select name="page" size="1" style="color:#008080;font-size: 9pt" onChange="javascript:submit()">
                                          <%for i = 1 to n%>
                                          <option value="<%=i%>" <%if cint(Page)=cint(i) then%> selected <%end if%>>第<%=i%>页</option>
                                          <%next%>
                                        </select></FORM>
                                        <%     
end function
                                        %>
                                      </td>
                                    </tr>
                                    <tr>
                                      <%
   	set rs=nothing   
	conn.close
	set conn=nothing
                                      %>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                            </center>
                          </div>
                        </td>
                      </tr>
                    </table>
                    </center>
                  </div>
              </tr>
            </tbody>
          </table>
          </center>
        </div>
</table>
<!--#include file="wuzhouCopyRight.asp"-->
</BODY>
</html>

⌨️ 快捷键说明

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