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

📄 template.asp

📁 新闻发布系统
💻 ASP
字号:
<%
'=========================================================
'产品目录:风讯产品N系列
'软件名称:风讯站点管理系统
'当前版本:2004.I.0225
'最新更新:2004.2.10
'=========================================================
'Copyright (C) 2002-2004 cooin.com. All rights reserved.
'网站: http://www.cooin.com  Foosun.net
'程序制作:轻风云(QQ:655071)
'Email:skeen@cooin.com,skeen@Foosun.net
'论坛支持:风讯在线论坛(http://bbs.cooin.com   http://bbs.foosun.net)
'=========================================================
dim Userlanguage
UserLanguage = "GB2312"
ContentLanguage ="zh-cn"

sub writetemplate(byval location,title,MenuStatus)
if location="top" then
%><html>
<head>
<meta http-equiv="Content-Language" content="<%=ContentLanguage%>">
<meta http-equiv="Content-Type" content="text/html; charset=<%=UserLanguage%>">
<meta name="VI60_defaultClientScript" Description="JavaScript">
<meta name="VI60_DTCScriptingPlatform" Description="Server (ASP)">
<meta http-equiv="Description-Type" Description="text/html; charset=<%=UserLanguage%>">
<meta http-equiv="Description-Language" Description="<%=ContentLanguage%>">
<meta name="Author" Description="Jaron">
<script language="javascript">
function _show_hide_menu(_show_hide){
	if (_show_hide=="0"){
		menu.style.display="none";
		topmenu.style.display="none";
	}else{
		menu.style.display="block";
		topmenu.style.display="block";
	}
}
function CheckAll(form) {
	for (var i=0; i < document.forms[0].elements.length; i++)
		document.forms[0].elements[i].checked=!document.forms[0].elements[i].checked;
}
function CheckDelete(){	return confirm("确实删除吗?");}
function CheckConfirm(tips){return confirm(tips);}
function submitthis(theform){
if (document.all||document.getElementById){
	for (i=0;i<theform.length;i++){
		var tempobj=theform.elements[i]
		if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
			tempobj.disabled=true
		}
	}
}
function Show(divid) { 
	divid.filters.revealTrans.apply(); 
	divid.style.visibility = "visible"; 
	divid.filters.revealTrans.play(); 
} 
function Hide(divid) { 
	divid.filters.revealTrans.apply(); 
	divid.style.visibility = "hidden"; 
	divid.filters.revealTrans.play(); 
}
function Showhelp(){
	alert("暂时不提供帮助!");
}
function KeyDown(){
  if ((event.keyCode==117) || (event.keyCode==113)) { //按F2,打开菜单
     top.leftFrm.showTree();
  }
  if (event.keyCode==118) { //按F3,关闭菜单
     top.leftFrm.hide();
  }  
}
<%
	if MenuStatus = "0" then
		response.write "top.leftFrm.hide();" &vbcrlf
	else
		response.write "top.leftFrm.showTree();" &vbcrlf
	end if
%>	
</script>
<title>风讯新闻站点信息采集系统</title>
<link rel="stylesheet" type="text/css" href="css/css.css">
</head>
	<body bgcolor=buttonface topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onkeydown="KeyDown();" onhelp="Showhelp();return false;" oncontextmenu="event.returnValue=true" <%if strAlertInfo<>"" then response.write "onload=Javascript:alert("""&strAlertInfo&""")"%> <%if OnloadScript<>"" then response.write "onload="""& OnloadScript & ";""" %>>
		<SITEMANAGER-CMS:TEMPLATE>
			<!--<FIELDSET style="MARGIN-BOTTOM: 0px; BACKGROUND-COLOR: buttonface;width:100%;height:100%">-->
				<%
			
elseif location="foot" then
%>
			<!--</FIELDSET>-->
		</SITEMANAGER-CMS:TEMPLATE>
		<%
endtime=timer()
executetime = FormatNumber((endtime-startime)*1000,4)&" 毫秒."
%>
		<script language="javascript">window.status="风讯新闻站点采集系统,执行时间:<%=executetime%>"</script>
	</body>
	<!--Template program by Jaron-->
</html>
<%	call ReleaseResources()
else
	response.Write "未知参数 - template.asp"
	response.End
end if
end sub

sub Error(MSG,URL)
if url="" then surl="javascript:go(-1);" else surl=url
%>
<script language="JavaScript">
function goback()
{
   history.back();
}
</script>
<table height="80%" width="100%" ID="Table8">
	<tr>
		<td >
			<table cellSpacing="0" cellPadding="0" width="520" align="center" border="0" ID="Table9">
				<tr>
					<td>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table11">
							<tr>
								<td width="6"><img height="22" src="images/ErrorMsg/lt-tp.gif" width="6"></td>
								<td background="images/ErrorMsg/topbg.gif">
									<table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table12">
										<tr>
											<td width="33"><img height="22" src="images/ErrorMsg/topl.gif" width="33"></td>
											<td background="images/ErrorMsg/topc.gif">.</td>
											<td width="33"><img height="22" src="images/ErrorMsg/topr.gif" width="33"></td>
										</tr>
									</table>
								</td>
								<td width="6"><img height="22" src="images/ErrorMsg/rt-tp.gif" width="6"></td>
							</tr>
							<tr>
								<td background="images/ErrorMsg/lt-c.gif"><img height="2" src="images/ErrorMsg/lt-c.gif" width="6"></td>
								<td bgColor="#ffffff">
									<table cellSpacing="0" cellPadding="10" width="100%" border="0" ID="Table13">
										<tr>
											<td width="50" valign="top"><img height="50" src="images/ErrorMsg/info.gif" width="50"></td>
											<td><font size="+1"><font color="#ff0000">错误 运行错误 <font style="FONT: 9pt/11pt 宋体; COLOR: #000000">
															<hr color="#c0c0c0" noShade>
															出错原因:
															<ul>
																<%=MSG%>
																<li>
																	单击 <a href="javascript:history.back(1)" style="COLOR: #ff0000">后退</a> 按钮尝试其他链接。
																</li>
																<li>
																	单击 <a href="<%=SURL%>" style="COLOR: #ff0000">返回</a> 链接尝试其他链接。
																</li>
															</ul>
														</font>
														<br>
													</font></font>
											</td>
										</tr>
									</table>
								</td>
								<td background="images/ErrorMsg/rt-c.gif"><img height="2" src="images/ErrorMsg/rt-c.gif" width="6"></td>
							</tr>
							<tr>
								<td width="6" height="6"><img height="6" src="images/ErrorMsg/lt-bt.gif" width="6"></td>
								<td background="images/ErrorMsg/bt.gif" height="6"><img height="6" src="images/ErrorMsg/bt.gif" width="1"></td>
								<td width="6" height="6"><img height="6" src="images/ErrorMsg/rt-bt.gif" width="6"></td>
							</tr>
						</table>
					</td>
					<td vAlign="top" width="5" bgColor="#333333"><img height="5" src="images/ErrorMsg/blank-g.gif" width="5"></td>
				</tr>
				<tr>
					<td vAlign="top" bgColor="#333333" height="5"><img height="5" src="images/ErrorMsg/blank-g.gif" width="5"></td>
					<td width="5" bgColor="#333333" height="5"><img height="1" src="images/ErrorMsg/cdot.gif" width="1"></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<%
call writetemplate("foot","",1)
response.end
end sub

sub SUCC(byval MSG,URL)
if url="" then surl="javascript:go(-1);" else surl=url
%>
<table height="80%" width="100%" ID="Table10">
	<tr>
		<td >
			<table cellSpacing="0" cellPadding="0" width="520" align="center" border="0" ID="Table14">
				<tr>
					<td>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table15">
							<tr>
								<td width="6"><img height="22" src="images/ErrorMsg/lt-tp.gif" width="6"></td>
								<td background="images/ErrorMsg/topbg.gif">
									<table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table16">
										<tr>
											<td width="33"><img height="22" src="images/ErrorMsg/topl.gif" width="33"></td>
											<td background="images/ErrorMsg/topc.gif">.</td>
											<td width="33"><img height="22" src="images/ErrorMsg/topr.gif" width="33"></td>
										</tr>
									</table>
								</td>
								<td width="6"><img height="22" src="images/ErrorMsg/rt-tp.gif" width="6"></td>
							</tr>
							<tr>
								<td background="images/ErrorMsg/lt-c.gif"><img height="2" src="images/ErrorMsg/lt-c.gif" width="6"></td>
								<td bgColor="#ffffff">
									<table cellSpacing="0" cellPadding="10" width="100%" border="0" ID="Table19">
										<tr>
											<td width="50" valign="top"><img height="50" src="images/ErrorMsg/info.gif" width="50"></td>
											<td><font size="+1"><font color="#ff0000"><%=MSG%>
														- 成功信息 <font style="FONT: 9pt/11pt 宋体; COLOR: #000000">
															<hr color="#c0c0c0" noShade>
															提示信息:
															<ul>
																<li>
																	<%=MSG%>
																</li>
																<li>
																	单击 <a href="javascript:history.back(1)" style="COLOR: #ff0000">后退</a> 按钮尝试其他链接。
																</li>
																<li>
																	单击 <a href="<%=SURL%>" style="COLOR: #ff0000">返回</a> 链接尝试其他链接。
																</li>
															</ul>
														</font>
														<br>
													</font></font>
											</td>
										</tr>
									</table>
								</td>
								<td background="images/ErrorMsg/rt-c.gif"><img height="2" src="images/ErrorMsg/rt-c.gif" width="6"></td>
							</tr>
							<tr>
								<td width="6" height="6"><img height="6" src="images/ErrorMsg/lt-bt.gif" width="6"></td>
								<td background="images/ErrorMsg/bt.gif" height="6"><img height="6" src="images/ErrorMsg/bt.gif" width="1"></td>
								<td width="6" height="6"><img height="6" src="images/ErrorMsg/rt-bt.gif" width="6"></td>
							</tr>
						</table>
					</td>
					<td vAlign="top" width="5" bgColor="#333333"><img height="5" src="images/ErrorMsg/blank-g.gif" width="5"></td>
				</tr>
				<tr>
					<td vAlign="top" bgColor="#333333" height="5"><img height="5" src="images/ErrorMsg/blank-g.gif" width="5"></td>
					<td width="5" bgColor="#333333" height="5"><img height="1" src="images/ErrorMsg/cdot.gif" width="1"></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<%
call writetemplate("foot","",1)
response.End
end sub
private function generatebuuton(text,link)
	response.Write "    <table style=""HEIGHT: 25px"" cellSpacing=""0"" cellPadding=""0"" border=""0"" ID=""Table3"">"
	response.Write "     <tr>"
	response.Write "      <td><img src=""images/btn_l.gif"" align=""absMiddle"" WIDTH=""13"" HEIGHT=""25""></td>"
	response.Write "      <td style=""background-image: url('images/btn_bg.gif')""><a href="""&link&""">"&text&"</a></td>"
	response.Write "      <td><img src=""images/btn_r.gif"" align=""absMiddle"" WIDTH=""10"" HEIGHT=""25""></td>"
	response.Write "     </tr>"
	response.Write "    </table>"
end function
%>

⌨️ 快捷键说明

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