📄 top.asp
字号:
<%@language="vbscript" codepage="936"%>
<%response.buffer = true%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head><%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
Public HOME_PATH:HOME_PATH = "../"
Public title:title = "top"
%>
<!--#include file="../db.asp"-->
<!--#include file="../inc/function.asp"-->
<title><%=title%></title><%
if isLogin = false then
Response.Write viewinfo("Logingo","","")
Response.end
end if
%><meta http-equiv=content-type content="text/html; charset=gb2312">
<meta content="mshtml 6.00.2800.1528" name=generator>
<meta content=frontpage.editor.document name=progid></head>
<link href="<%=HOME_PATH%>css/style.css" rel="stylesheet" type="text/css">
<script type = 'text/javascript' src = '<%=HOME_PATH%>js/layer00.js'></script>
</head>
<body style = 'margin:0px;'>
<div style = 'text-align:center;'>
<table border = '0' cellspacing = '0' cellpadding = '1' style = 'width:100%;height:100%; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow;color: #FF9900;border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow;padding: 1px ;'/>
<tr>
<form method='post' action="" name = 'form' id = 'form'>
<!--#include file="../topleft.asp"-->
<td style = 'width:auto;'> </td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:javascript:SDD('adminAdd.asp','mAdd',478,480,'');" /><img src="../images/add00.gif" width="35" height="33" border="0" alt="增加"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('m');" /><img src="../images/mingxi00.gif" width="35" height="33" border="0" alt="明细"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('m');" /><img src="../images/update00.gif" width="35" height="33" border="0" alt="修改"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:parent.right.form.Options.value = 'delTrue';parent.right.form.submit();" onclick = "javascript:return che('del');" /><img src="../images/del00.gif" width="35" height="33" border="0" alt="删除"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:che('reload');" /><img src="../images/reload00.gif" width="35" height="33" border="0" alt="刷新"></div></td>
<td style = 'width:10px;'></td>
<td style = 'width:35px; height:auto;' valign='bottom'><div class = 'bar' style = 'width:35px; height:33px;'><a href = "javascript:SDD('<%=HOME_PATH%>Logout.asp','Logout',400,150,'');" /><img src="../images/exit00.gif" width="35" height="33" border="0" alt="退出"></div></td>
<td style = 'width:10px;'></td>
</tr>
</form>
</table>
</div>
<script language="JavaScript">
<!--
function che(sel) {
if(sel=='m') {
var che_len = parent.right.document.form.box_.length
if(che_len == undefined && parent.right.document.form.box_.checked == true) {
SDD('adminview.asp?aid='+parent.right.document.form.box_.value,'adminview',478,480,'');
}else{
for(i_che = 0 ;i_che < che_len;i_che++) {
if(parent.right.document.form.box_[i_che].checked == true) {
SDD('adminview.asp?aid='+parent.right.document.form.box_[i_che].value,'adminview',478,480,'');
}else{
}
}
}
}
if(sel=='reload') { parent.right.location.reload();}
if(sel=='del') {
var che_len = parent.right.document.form.box_.length
var sel_len = parent.right.document.form.selAnnounce.length
var vinfo = '';
var vinfo_ = '';
var vinfobox = '';
var vinfobox_ = '';
var vinfosel = '';
var vinfosel_ = '';
if(sel_len==undefined) {
var selAnnounceCheck = parent.right.document.form.selAnnounce.checked
var selAnnounceValue = parent.right.document.form.selAnnounce.value ;
var box_Check = parent.right.document.form.box_.checked ;
var box_Value = parent.right.document.form.box_.value ;
if(selAnnounceCheck == true) {
vinfosel = selAnnounceValue ;
}else{
vinfosel = '';
}
if(box_Check == true) {
vinfobox = box_Value ;
}else{
vinfobox = '';
}
vinfosel_+=vinfobox
vinfobox_+=vinfosel
}else{
for(i_sel = 0; i_sel < sel_len ; i_sel++) {
var selAnnounceCheck = parent.right.document.form.selAnnounce[i_sel].checked
var selAnnounceValue = parent.right.document.form.selAnnounce[i_sel].value + "," ;
var box_Check = parent.right.document.form.box_[i_sel].checked ;
var box_Value = parent.right.document.form.box_[i_sel].value ;
if(selAnnounceCheck == true) {
vinfosel = selAnnounceValue ;
}else{
vinfosel = '';
}
if(box_Check == true) {
vinfobox = box_Value ;
}else{
vinfobox = '';
}
vinfosel_+=vinfosel
vinfobox_+=vinfobox
}
}
if(!vinfosel_ == '') {vinfo_ = vinfosel_;}else{vinfo_ = vinfobox_;}
if(vinfo_!='') {
var vinfo_Split = vinfo_.split(",")
vinfo_SplitLen = vinfo_Split.length
var str_ = '';
for(i = 0 ; i < vinfo_SplitLen-1;i++) {
if(i!==vinfo_SplitLen-2) {
str = vinfo_Split[i] + "," ;
}else{
str = vinfo_Split[i]
}
str_+=str
}
if (str_ == '')str_ = vinfo_ ;
parent.right.document.form.Execute.value = str_ ;
return confirm('即将删除记录:\n' + str_ + '\n是否继续?');
return true;
}else{
return false;
}
}
}
//-->
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -