📄 index.asp
字号:
<!--#include file="../common/conn.asp"-->
<%
if request("newsname")<>"" then
classname=request("newsname")
sql="select * from news where caption like '%"&request("newsname")&"%'"
else
sql="select * from news order by id desc"
end if
rs.open sql,conn,3,2
rs.pagesize=15
topage=clng(request("topage"))
if topage=0 then
topage=1
elseif topage>rs.pagecount then
topage=rs.pagecount
end if
%>
<HTML><HEAD><TITLE>中原商贸城新闻中心|</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="pic/cnnetstars.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#990000 leftMargin=0 topMargin=0
onload=";MM_showHideLayers('Layer1','','show')">
<DIV align=center>
<!--#include file="top.htm" -->
</DIV>
<TABLE width="778" height="28" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top width=778
background=pic/c_7.gif> </TD>
</TR>
</TBODY>
</TABLE>
<DIV align=center>
<TABLE class=worden cellSpacing=0 cellPadding=0 width=778 border=0>
<TBODY>
<TR>
<TD> <TABLE class=worden cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top bgcolor="#FFFFFF"> <TABLE cellSpacing=0 cellPadding=0 width=748 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=2><IMG height=99
src="pic/b_1.gif" width=748><!-- #EndEditable --></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
<TBODY>
<TR>
<TD vAlign=top width=6> </TD>
<TD vAlign=top bgColor=#ffffff> <DIV align=left></DIV>
<SCRIPT>
if (screen.width==800){
document.write("<div id=divMenu style='LEFT: 688px; VISIBILITY: visible; WIDTH: 50px; POSITION: absolute; TOP: 615px; HEIGHT: 34px'>")
document.write("<a href=#><img src=pic/top.gif width=45 height=34 border=0 name=Image60>")
document.write("</a></div>")
}
else{
document.write("<div id=divMenu style='LEFT: 800px; VISIBILITY: visible; WIDTH: 50px; POSITION: absolute; TOP: 615px; HEIGHT: 34px'>")
document.write("<a href=#><img src=pic/top.gif width=45 height=34 border=0 name=Image60>")
document.write("</a></div>")
}
var isDOM = (document.getElementById ? true : false);
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
var isNS = navigator.appName == "Netscape";
function getRef(id) {
if (isDOM) return document.getElementById(id);
if (isIE4) return document.all[id];
if (isNS4) return document.layers[id];
}
function getSty(id) {
x = getRef(id);
return (isNS4 ? getRef(id) : getRef(id).style);
}
var scrollerHeight = 88;
var puaseBetweenImages = 3000;
var imageIdx = 0;
function moveRightEdge() {
var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
if (screen.width==800){
if (isNS4) {
yMenuFrom = divMenu.top;
yMenuTo = windows.pageYOffset + 365;
} else if (isDOM) {
yMenuFrom = parseInt (divMenu.style.top, 10);
yMenuTo = (isNS ? window.pageYOffset : document.body.scrollTop) + 415;
}
timeoutNextCheck = 500;
}
else{
if (isNS4) {
yMenuFrom = divMenu.top;
yMenuTo = windows.pageYOffset + 500;
} else if (isDOM) {
yMenuFrom = parseInt (divMenu.style.top, 10);
yMenuTo = (isNS ? window.pageYOffset : document.body.scrollTop) + 550;
}
timeoutNextCheck = 500;
}
if (yMenuFrom != yMenuTo) {
yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
if (yMenuTo < yMenuFrom)
yOffset = -yOffset;
if (isNS4)
divMenu.top += yOffset;
else if (isDOM)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -