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

📄 default.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个人办公室
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/const.asp"-->
<%
   	dim totalPut   
   	dim CurrentPage
   	dim TotalPages
   	dim i,j
   	dim keyword
   	dim sql
   	dim rs
	dim updown
	dim order_name
	order_name=Request("Order")
   	if not isempty(request("page")) then
      		currentPage=cint(request("page"))
   	else
      		currentPage=1
   	end if
	if request("updown")<>"" then
		updown="desc"
	else
		updown=""
	end if
	select case order_name
		case "showname"
		order_name="showname"
		case "hot"
		order_name="hot"
		case "dateandtime"
		order_name="dateandtime"
		case "hits"
		order_name="hits"
		case "orders"
		order_name="orders"
		case "size"
		order_name="size"
		case else
		order_name="id"
		updown="desc"
	end select
 	set rs=server.createobject("adodb.recordset")
	dim classid,Nclassid
	dim classname,Nclassname

	if request("classid")="" then
'		classid=""
'		classname="所有软件"
		classid="classid=1 and  "
		sql="select class from class where classid=1"
		rs.open sql,conn,1,1
		if rs.bof and rs.eof then
			response.write "还没有任何栏目,请到管理页面添加"
			response.end
		else
		classname=rs("class")
		end if
		rs.close
	else
		classid="classid="&cstr(request("classid"))&" and  "
		sql="select class from class where classid="&cstr(request("classid"))
		rs.open sql,conn,1,1
		classname=rs("class")
		rs.close
	end if
	if request("Nclassid")="" then
		Nclassid=""
		Nclassname="所有软件"
	else
		Nclassid=" Nclassid="&cstr(request("Nclassid"))&" and  "
		sql="select Nclass.Nclass,class.class from Nclass,class where Nclass.classid=class.classid and Nclass.Nclassid="&cstr(request("Nclassid"))
		rs.open sql,conn,1,1
		classname=rs("class")
		Nclassname=rs("Nclass")
		rs.close
	end if

%>
<HTML><HEAD><TITLE><%=classname%></TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<link rel="stylesheet" href="images/style.css">

<SCRIPT language=javascript>
function popwin2(id,path)
{		window.open("openarticle.asp?id="+id+"&ppath="+path,"");
}
</SCRIPT>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">

<table border="0" cellPadding="0" cellSpacing="0">
  <tr>
</table>
<table width="569">
    <td align="center" bgColor="#EBEBEB" vAlign="top" width="191">
      <div align="center">
        <div align="center">
          <table border="0" cellPadding="0" cellSpacing="1" width="146">
            <tbody>
              <tr>
                <td align="center" valign="top">
                   </tr>
              <tr>
                <td align="center" valign="top">
                  <div align="center">
                    <table background bgColor="#FFFFFF" border="0" cellPadding="0" cellSpacing="0" width="180" height="64">
                      <tr>
                        <td align="center" style="background-image: url('images/qhss1.gif')" valign="middle" height="17"><font color="#EBEBEB"><span style="filter: DropShadow(color=black, offX=1, offY=1); position: relative; width: 100%">内容列表</span></font></td>
                      </tr>
                      <tr vAlign="top">
                        <td align="center" height="47">
                          <table border="0" cellpadding="0" cellspacing="0" width="168" align="center">
                            <tr align="middle">
                              <td bgcolor="#999999" colspan="4" valign="top">
                                <table border="0" cellpadding="4" cellspacing="0" width="180" align="center">
                                  <tr>
                                    <td background="images/a-27.gif" bgcolor="#ffffff" valign="top" width="191" align="center">
                                      <form action="default.asp" method="get">
                                        <select name="classid" size="1" style="color:#008080;font-size: 9pt" onChange="javascript:submit()">
                                          <%               
	sql="select class,classid from class"
	rs.open sql,conn,1,1
	if rs.bof and rs.eof then
                                          %>
                                          <option value>Not Record!</option>
                                          <%else%>
                                          <%               
	do while not rs.eof
                                          %>
                                          <option <%if request("classid")<>"" then%><%if cint(rs("classid"))=cint(request("classid")) then%> selected <%end if%><%end if%>value="<%=rs("classid")%>"><%=rs("class")%></option>
                                          <%
	rs.movenext
	loop
	end if
	rs.close
                                          %>
                                        </select>              
                                      </form>
                                    </td>
                                  </tr>
                                </table>
                                <img height="1" src="images/a-0.gif" width="1"></td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </div>
              </tr>
              <tr>
                <td align="center" valign="top">
                  <div align="center">
                    <center>
                    <table background bgColor="#FFFFFF" border="0" cellPadding="0" cellSpacing="0" width="180" height="104">
                      <tr>
                        <td align="center" style="background-image: url('images/qhss1.gif')" valign="middle"><font color="#EBEBEB"><span style="filter: DropShadow(color=black, offX=1, offY=1); position: relative; width: 100%">内容查看</span></font></td>
                      </tr>
                      <tr vAlign="top">
                        <td align="center" height="102">
                          <table border="0" cellpadding="0" cellspacing="0" width="180" align="center">
                            <tr align="middle" bgcolor="#999999">
                              <td colspan="4" valign="top">
                                <div align="center">
                                  <center>
                                  <table border="0" cellpadding="4" cellspacing="0" width="180" height="100">
                                    <tr>
                                      <td background="images/a-27.gif" bgcolor="#ffffff" valign="top" width="191"><font style="line-height:150%"><%
	if request("classid")="" then
	sql="select Nclass,Nclassid from Nclass where classid=1"
	else
	sql="select Nclass,Nclassid from Nclass where classid="&request("classid")
	end if
	rs.open sql,conn,1,1%>
                                        </font>
                                        <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="Default.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.e169.net"><font color="#EBEBEB">网佳工作室|www.e169.net</font></a></span>
            </tbody>
          </table>
        </center>
        </div>

⌨️ 快捷键说明

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