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

📄 type.asp

📁 完美政府版,正版网站解决方案
💻 ASP
📖 第 1 页 / 共 5 页
字号:
<%@ Language=VBScript%>
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="function.asp"-->

<%
typeid=ChkRequest(request("typeid"), 1)
if typeid="" then
	Response.Write "<script>alert('未指定参数');history.back()</script>"
	response.end
else
	if not IsNumeric(typeid) then
		response.write "<script>alert('非法参数');history.back()</script>"
		response.end
	else
		dim ttypename
		set rs5=server.CreateObject("ADODB.RecordSet")
		rs5.Source="select * from "& db_Type_Table &" where typeid=" & typeid &" order by typeorder"
		rs5.Open rs5.Source,conn,1,1
		If Not(rs5.EOF) Then
			ttypename=rs5("typename")
			typeorder=rs5("typeorder")
		Else
			Show_Err("没有此总栏<br><br><a href='javascript:history.back()'>返回</a>")
			Response.End
		End if
		rs5.Close
		set rs5=nothing
		%>
		<%
		dim typeid
		typeid=ChkRequest(request("typeid"), 1)
		set rs=server.CreateObject("ADODB.RecordSet")
		rs.Source="select * from "& db_BigClass_Table &" where typeid="& typeid &" order by bigclassorder"
		rs.Open rs.Source,conn,1,1
		i=0
		Dim ArrayBigClassID(),ArrayBigClassName(),ArrayBigClassView()
		if not rs.EOF then
			rseof=1
			ReDim ArrayBigClassID(rs.RecordCount), ArrayBigClassName(rs.RecordCount), ArrayBigClassView(rs.RecordCount)
			while not rs.EOF
				abcount=rs.RecordCount
				BigClassView=rs("BigClassView")
				BigClassID=rs("BigClassID")
				
				BigClassName=trim(rs("BigClassName"))
				BigClasszs=rs("BigClasszs")
				
				ArrayBigClassView(i)=BigClassView
				ArrayBigClassID(i)=BigClassID
				ArrayBigClassName(i)=BigClassName

				i=i+1
				
				rs.MoveNext
			wend
		end if
		rs.close
	end if
	%>

<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=ttypeName%>__<%=jjgn%>&#23436;&#32654;&#35774;&#35745;&#32593;&#32476;&#31185;&#25216;&#26377;&#38480;&#20844;&#21496;&#32;&#23436;&#32654;&#25919;&#24220;&#32593;&#31449;&#31649;&#29702;&#31995;&#32479;&#32;&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#119;&#119;&#119;&#46;&#119;&#109;&#103;&#111;&#118;&#46;&#99;&#110;</title>
<LINK href=news.css rel=stylesheet>
<!---->
<SCRIPT language=javascript>
function openUser(id) {
	var Win = window.open("dispuser.asp?name="+id,"openScript");
}function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}function openDis(bid,rid,id){
	self.location="dispbbs.asp?boardid="+bid+"&RootID="+rid+"&id="+id
}function PopWindow()
{ 
openScript('messanger.asp?action=newmsg',420,320); 
}
var nn = !!document.layers;
var ie = !!document.all;if (nn) {
  netscape.security.PrivilegeManager.enablePrivilege("UniversalSystemClipboardAccess");
  var fr=new java.awt.Frame();
  var Zwischenablage = fr.getToolkit().getSystemClipboard();
}function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
</SCRIPT><SCRIPT language=JavaScript>
//***********默认设置定义.*********************
tPopWait=50;//停留tWait豪秒后显示提示。
tPopShow=5000;//显示tShow豪秒后关闭提示
showPopStep=20;
popOpacity=99;//***************内部变量定义*****************
sPop=null;
curShow=null;
tFadeOut=null;
tFadeIn=null;
tFadeWaiting=null;document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText {background-image:url('images/tb_bg_01.jpg'); background-color: #F8F8F5;color:#000000; border: 1px #000000 solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");function showPopupText(){
var o=event.srcElement;
	MouseX=event.x;
	MouseY=event.y;
	if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""};
        if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
	if(o.dypop!=sPop) {
			sPop=o.dypop;
			clearTimeout(curShow);
			clearTimeout(tFadeOut);
			clearTimeout(tFadeIn);
			clearTimeout(tFadeWaiting);	
			if(sPop==null || sPop=="") {
				dypopLayer.innerHTML="";
				dypopLayer.style.filter="Alpha()";
				dypopLayer.filters.Alpha.opacity=0;	
				}
			else {
				if(o.dyclass!=null) popStyle=o.dyclass 
					else popStyle="cPopText";
				curShow=setTimeout("showIt()",tPopWait);
			}
			
	}
}function showIt(){
		dypopLayer.className=popStyle;
		dypopLayer.innerHTML=sPop;
		popWidth=dypopLayer.clientWidth;
		popHeight=dypopLayer.clientHeight;
		if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24
			else popLeftAdjust=0;
		if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24
			else popTopAdjust=0;
		dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
		dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
		dypopLayer.style.filter="Alpha(Opacity=0)";
		fadeOut();
}function fadeOut(){
	if(dypopLayer.filters.Alpha.opacity<popOpacity) {
		dypopLayer.filters.Alpha.opacity+=showPopStep;
		tFadeOut=setTimeout("fadeOut()",1);
		}
		else {
			dypopLayer.filters.Alpha.opacity=popOpacity;
			tFadeWaiting=setTimeout("fadeIn()",tPopShow);
			}
}function fadeIn(){
	if(dypopLayer.filters.Alpha.opacity>0) {
		dypopLayer.filters.Alpha.opacity-=1;
		tFadeIn=setTimeout("fadeIn()",1);
		}
}
document.onmouseover=showPopupText;
</SCRIPT><STYLE type=text/css>A:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A:active {
	COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
	COLOR: #000000; TEXT-DECORATION: underline
}
A:link {
	COLOR: #000000; TEXT-DECORATION: none
}
.t {
	LINE-HEIGHT: 1.4
}
BODY {
	FONT-SIZE: 12px; SCROLLBAR-HIGHLIGHT-COLOR: #9bdbdb; SCROLLBAR-SHADOW-COLOR: #9bdbdb; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #9bdbdb; SCROLLBAR-TRACK-COLOR: #ffffff; FONT-FAMILY: "宋体"; SCROLLBAR-DARKSHADOW-COLOR: #9bdbdb; SCROLLBAR-BASE-COLOR: #9bdbdb
}

TD {
	FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
P {
	FONT-SIZE: 12px;  FONT-FAMILY: "宋体"
}
DIV {
	FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
BR {
	FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
FORM {
	FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
OPTION {
	FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
INPUT {
	BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; FONT-FAMILY: "宋体"; HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc
}
TEXTAREA {
	BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; FONT-FAMILY: "宋体"; BACKGROUND-COLOR: #efefef; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #000000
}
SELECT {
	BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; FONT-FAMILY: "宋体"; BACKGROUND-COLOR: #eeeeee; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #000000
}
</STYLE>
<!---->
</head>

<body topmargin="0" marginheight="0" >
<!--#include file="TOP.ASP"-->
<%
dim typename
typeid=ChkRequest(request("typeid"), 1)
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from "& db_Type_Table &" where typeid="& typeid &" order by typeorder"
rs.Open rs.Source,conn,1,1
mode=rs("mode")
typename=rs("typename")
rs.close
set rs=nothing%>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr valign="top"> 
		<td width="180" bordercolor="#FDFCF8"  bgcolor="#FDFCF8" style="border-left: 1px solid #cccccc ; border-top: 1px solid #cccccc ; border-bottom: 1px solid #cccccc ; border-right: 1px solid #cccccc ">
<!--政务日历开始-->	
<!--include file="tmp.asp"-->	
<!--#include file="calendar.asp"-->
<!--政务日历结束--> 
		
<!--栏目开始-->
<table width="100%" border="0" cellspacing="0" style="border-left: 0px solid #cccccc ; border-top: 0px solid #cccccc ; border-bottom: 0px solid #cccccc ; border-right: 0px solid #cccccc ">
	<tr bordercolor="#999999"> 
		<td height="28" align="left" valign="middle" bordercolor="#999999" background="IMAGES/WmCms_type.jpg">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#95641D"><b><%=typename%></b></font>
		</td>
	</tr>

	<tr> 
		<td align="center" valign="middle" bordercolor="#FDFCF8"> 
									<%  
									typeid=ChkRequest(request("typeid"), 1)
									set Rs=conn.execute("SELECT * FROM "& db_BigClass_Table &" where typeid="&typeid&" order by bigclassorder") 
									do while not rs.eof
									%>
				<table width="102%" border="0" cellpadding="3" cellspacing="0" id="AutoNumber2" style="border-collapse: collapse">
					<tr> 
						<td height=22  align="left">
								<%if not Rs.eof then%>
								&nbsp;&nbsp;&nbsp;<a class=middle2 href="BigClass.asp?typeid=<%=typeid%>&bigclassid=<%=Rs("bigclassid")%>"><font color="#000000"><%=Rs("bigclassname")%></font>
								</a>
						</td>
					</tr>
								<%set nRs=conn.execute("SELECT * FROM "& db_SmallClass_Table &" where bigclassid="& rs("bigclassid") &" order by smallclassorder")%>
				</table>
												<%Rs.movenext   
												end if
												loop  
												rs.close
												%>

		</td>
	</tr>

⌨️ 快捷键说明

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