admin_left.htm

来自「支持全流程的Perl+MySQL电子商务系统。完全公开代码。」· HTM 代码 · 共 189 行

HTM
189
字号
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>NULL</title>
<base target="main">
<script language="JavaScript1.2">
scores = new Array(20);
var numTotal=0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

if (ver4) {
    with (document) {
        write("<STYLE TYPE='text/css'>");
        if (NS4) {
            write(".parent {position:absolute; visibility:visible}");
            write(".child {position:absolute; visibility:visible}");
            write(".regular {position:absolute; visibility:visible}")
        }
        else {
            write(".child {display:none}")
        }
        write("</STYLE>");
    }
}

function getIndex(el) {
    ind = null;
    for (i=0; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.id == el) {
            ind = i;
            break;
        }
    }
    return ind;
}

function arrange() {
    nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
    for (i=firstInd+1; i<document.layers.length; i++) {
        whichEl = document.layers[i];
        if (whichEl.visibility != "hide") {
            whichEl.pageY = nextY;
            nextY += whichEl.document.height;
        }
    }
}

function initIt(){
    if (!ver4) return;
    if (NS4) {
        for (i=0; i<document.layers.length; i++) {
            whichEl = document.layers[i];
            if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
       }
        arrange();
    }
    else {
        divColl = document.all.tags("DIV");
        for (i=0; i<divColl.length; i++) {
            whichEl = divColl(i);
            if (whichEl.className == "child") whichEl.style.display = "none";
        }
    }
}

function expandIt(el) {
	if (!ver4) return;
    if (IE4) {
        whichEl1 = eval(el + "Child");
		for(i=1;i<=numTotal;i++){
			whichEl = eval(scores[i] + "Child");
			if(whichEl!=whichEl1) {
				whichEl.style.display = "none";
			}
		}
        whichEl1 = eval(el + "Child");
        if (whichEl1.style.display == "none") {
            whichEl1.style.display = "block";
        }
        else {
            whichEl1.style.display = "none";
        }
    }
    else {
        whichEl = eval("document." + el + "Child");
		for(i=1;i<=numTotal;i++){
			whichEl = eval("document." + scores[i] + "Child");
			if(whichEl!=whichEl1) {
				whichEl.visibility = "hide";
			}
		}
        if (whichEl.visibility == "hide") {
            whichEl.visibility = "show";
        }
        else {
            whichEl.visibility = "hide";
        }
        arrange();
    }
}
onload = initIt;
</script>

</head>

<body bgcolor="#FFCC66" vlink="#0000FF">

<p><img border="0" src="<!--TP imgurl -->/nkshop.gif" width="133" height="90"></p>
<div align="center">
  <center>
<table border="0" width="100%" cellspacing="0" cellpadding="5" style="font-size: 10pt; border: 1 solid #FF9900">
  <tr>
    <td width="100%" bgcolor="#FFE4C1">
      <p align="center"><b><font color="#000000">欢迎登陆</font></b></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFCC">
    <div id='KB1Parent' class='parent'><a href="#" onClick="expandIt('KB1'); return false"><IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0 width="26" height="13">[系统设置]</a></div><div id='KB1Child' class='child'>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>文件路径</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>数据库参数</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>网站信息</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>运行变量</a><br>
</div>
    </td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFCC">
<div id='KB2Parent' class='parent'><a href="#" onClick="expandIt('KB2'); return false">
<IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0>[产品管理]</a></div><div id='KB2Child' class='child'>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>当前状态</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_cate' target='main'>分类工具</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_life' target='main'>关系工具</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_pro' target='main'>商品工具</a><br>
</div>
    </td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFCC">
<div id='KB3Parent' class='parent'><a href="#" onClick="expandIt('KB3'); return false">
<IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0>[定单处理]</a></div><div id='KB3Child' class='child'>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>当前状态</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_account' target='main'>帐务  处理</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_goods' target='main'>物流  处理</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=pg_donesender' target='main'>已发货定单</a><br>
</div>
    </td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFCC">
<div id='KB4Parent' class='parent'><a href="#" onClick="expandIt('KB4'); return false">
<IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0>[数据报表]</a></div><div id='KB4Child' class='child'>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>月志报表</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>年志报表</a><br>
</div>
    </td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFCC">
<div id='KB5Parent' class='parent'><a href="#" onClick="expandIt('KB5'); return false">
<IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0>[用户管理]</a></div><div id='KB5Child' class='child'>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>当前状态</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>用户工具</a><br>
&nbsp;<IMG SRC='<!--TP imgurl -->/blank.gif' BORDER=0><a href='<!--TP cgiurl -->/nsadmin.cgi?act=' target='main'>用户定单</a><br>
</div>
<div><br>
<a href="<!--TP cgiurl -->/nsadmin.cgi?act=logout" target="_parent">
<IMG SRC='<!--TP imgurl -->/plus.gif' BORDER=0>[退出系统]</a></div>
    </td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFE4C1">
<p align="center"><font color="#808080">The End</font>
    </td>
  </tr>
</table>

  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

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