📄 empmain_frameall.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/EmpMain.asp" -->
<!--#include file="EmpMain_CheckRight.asp"-->
<%
if trim(request.Cookies("UserName")) = "" then
response.Write("您还没有正确登录本系统!")
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>企业客户信息管理系统</title>
<script>
var isDraging=false;
var ox,oy;
var isclose = "1"
function fnDown(){
isDraging=true;
ox=event.offsetX;
oy=event.offsetY;
oTable.width=oTable.offsetWidth
midTD.setCapture();
}
function fnMove(){
if(event.button!=1){
fnRelease();
}
else{
if(isDraging){
document.all.leftTD.style.display=""
var tw=event.x-oTable.offsetLeft-ox;
if (tw<1) tw=1;
if(tw+parseInt(midTD.style.width)>parseInt(oTable.width))
tw=parseInt(oTable.width)-parseInt(midTD.style.width);
leftTD.style.width=tw;
isclose = "0"
document.all.arrow.innerText = "<"
}
}
}
function fnUp(){
fnRelease();
}
function fnRelease(){
isDraging=false;
midTD.releaseCapture();
}
function maxLeft(){
if(isclose!="1"){
document.all.leftTD.style.width = "0"
document.all.leftTD.style.display="none"
isclose = "1"
document.all.arrow.innerText = ">"
}
else{
document.all.leftTD.style.width = oTable.offsetWidth*0.25
document.all.leftTD.style.display=""
document.all.arrow.innerText = "<"
isclose = "0"
}
}
</script>
<style type="text/css">
<!--
.HLButton {
background-color: #33CCFF;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #E1F3FF;
border-right-color: #0066CC;
border-bottom-color: #0066CC;
border-left-color: #E1F3FF;
}
.SLBar {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: solid;
border-bottom-style: none;
border-left-style: solid;
border-top-color: #333333;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #333333;
background-color: #BBDEFB;
cursor: e-resize;
}
.mov {
background-color: #3399CC;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #E1F3FF;
border-right-color: #0066CC;
border-bottom-color: #0066CC;
border-left-color: #E1F3FF;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" scroll="no">
<table border="1" width="100%" height="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" height="18" nowrap background="images/line.gif" bgcolor="#000080">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="46%"><font color="#0066CC" size="2"><strong> <img border="0" src="images/logo.gif" width="18" height="18" align="absmiddle">企业客户信息管理系统
</strong></font></td>
<td width="30%" nowrap><strong><font color="#0066CC" size="2"><img src="images/CurrUser.gif" width="18" height="18" align="absmiddle">当前用户:<%=request.Cookies("UserName")%> 姓名:<%=session("Name")%></font></strong></td>
<td width="13%" nowrap onclick="window.open('EmpMain_UserPassword.asp','SetPassword','width=250,height=120')" style="cursor:hand"><div align="right"><font color="#0066CC" size="2"><strong>系统设置<img src="images/key.gif" width="18" height="18" align="absmiddle">更改密码</strong></font></div></td>
<td width="11%" nowrap onclick="window.location='EmpMain_logoff.asp'" style="cursor:hand"> <p align="right"><font color="#0066CC" size="2"><strong>
<img src="images/lockComputer.gif" width="18" height="18" align="absmiddle">注销
</strong></font></td>
</tr>
</table></td>
</tr>
<tr>
<td> <table id="oTable" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" height="100%">
<tr>
<td width="0%" id="leftTD" style="display:none"><iframe name="frmLeft" style="width:100%;height:100%" frameborder="0" src="EmpMain_AdminMain.asp"></iframe></td>
<td width="10" class="SLBar" id="midTD" onmousedown="fnDown()" onmousemove="fnMove()" onmouseup="fnUp()">
<table width="100%" id="buttonScroll" height="50" border="0" align="left" cellpadding="0" cellspacing="0" class="HLButton" style="padding:0; border-collapse: collapse; border-left-style:solid; border-right-style:solid; background-color:#0099CC">
<tr>
<td width="100%" bgcolor="#0099CC" class="HLButton" style="cursor:hand" onmousedown="window.event.cancelBubble=true;" onclick="maxLeft()" onmouseover="this.className='mov';" onMouseOut="this.className='HLButton';"><strong><font size="2" id="arrow">></font></strong></td>
</tr>
</table></td>
<td id="rightTD"><iframe name="frmright" style="width:100%;height:100%" frameborder="0" src="EmpMain_MainFrame.asp"></iframe>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -