📄 left1.asp
字号:
<%response.expires=0%>
<!--#include file="asp/opendb.asp"-->
<!--#include file="asp/sqlstr.asp"-->
<HTML><HEAD><title>企业办公自动化IE37-OA系统</title>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="css/css.css" rel=stylesheet>
<meta http-equiv="pragma" content="no-cache">
<script language="JavaScript" src="css/outlook-like.js"></script>
<SCRIPT language=JavaScript1.2>
<!--
window.parent("main").location.href="todaynewinfo.asp";
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;
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
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;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<link rel="stylesheet" href="9pp.css" type="text/css">
</HEAD>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0" onLoad="MM_preloadImages('image/menu1-1-b.gif','image/menu1-2-b.gif','image/menu2-1-b.gif','image/menu2-2-b.gif','image/menu2-3-b.gif','image/menu3-1-b.gif','image/menu3-2-b.gif','image/menu3-3-b.gif','image/menu3-4-b.gif','image/menu5-1-b.gif','image/menu5-2-b.gif','image/menu5-3-b.gif','image/menu6-1-b.gif','image/menu6-2-b.gif')" link="#cccccc" vlink="#cccccc" alink="#cccccc">
<table id=table1 width="100%" border="0" cellspacing="0" cellpadding="0" class="borderon">
<tr>
<td height="20" style="padding-top:3px"><nobr><a href="left.asp"> </a></nobr><nobr><a href="left.asp">IE37办公导航</a></nobr></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="height: 100%" id="outLookBarShow" name="outLookBarShow" valign="top" align="center" width="100%" class="borderon">
<table border="1" cellspacing="0" cellpadding="7" style="height:100%;width:100%;border-bottom:0pt solid #ebf5d6;" valign="middle" align="center" width="90%" bordercolorlight="#808080" bordercolordark="#808080">
<%
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
'打开数据库,读出权限
if oabusyusername="" then
response.write("<script language=""javascript"">")
response.write("window.top.location.href='default.asp';")
response.write("</script>")
response.end
end if
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
on error resume next
rs.open "select count(*) as countss from userinf",conn,1,1
usercount=rs("countss")
if usercount >500 then
rs.close
set rs=nothing
%>
<script language=javascript>
window.alert("对不起,超过了最大使用用户数,请删除部分用户!");
parent("main").location.href="/usercontrol.asp";
</script>
<%
end if
rs.close
sql="select * from userinf where username=" & sqlstr(oabusyusername)
rs.open sql,conn,1
cook_allow_see_all_workrep=rs("allow_see_all_workrep")
cook_allow_see_dept_workrep=rs("allow_see_dept_workrep")
cook_allow_control_dept_user=rs("allow_control_dept_user")
cook_allow_control_all_user=rs("allow_control_all_user")
cook_allow_send_note=rs("allow_send_note")
cook_allow_control_note=rs("allow_control_note")
cook_allow_control_file=rs("allow_control_file")
cook_allow_send_file=rs("allow_send_file")
cook_allow_control_level=rs("allow_control_level")
cook_allow_see_all_personinf=rs("allow_see_all_personinf")
cook_allow_see_dept_personinf=rs("allow_see_dept_personinf")
cook_allow_edit_all_jobchanginf=rs("allow_edit_all_jobchanginf")
cook_allow_edit_dept_jobchanginf=rs("allow_edit_dept_jobchanginf")
cook_allow_edit_all_rewpuninf=rs("allow_edit_all_rewpuninf")
cook_allow_edit_dept_rewpuninf=rs("allow_edit_dept_rewpuninf")
cook_allow_edit_all_checkinf=rs("allow_edit_all_checkinf")
cook_allow_edit_dept_checkinf=rs("allow_edit_dept_checkinf")
cook_allow_manage_workthings=rs("allow_manage_workthings")
cook_allow_auditing_workthings=rs("allow_auditing_workthings")
cook_allow_edit_work_time=rs("allow_edit_work_time")
%>
<tr>
<td name="outlooktitle0" id="outlooktitle0" nowrap align="center" onClick="switchoutlookBar(0)" style="padding-top:3px"><a href="#">工作计划</a></td>
</tr>
<tr name="outlookdiv0" id="outlookdiv0" style="width:100%;display:none;height:0%;">
<td valign="top" align="left" bgcolor="#FFFFFF" height="120">
<!--------------------------------插入代码 ---------------------------->
<div name="outlookdivin0" id="outlookdivin0" style="overflow:auto;width:100%;height:100%">
<table width=80% align=center>
<tr>
<td>
<div align="center"><a href="dayrep.asp" target="main" target="main"><img name="Image11" border="0" src="image/menu1-1-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td>
<div align="center"><font class="unnamed1">个人工作计划</font>
</div>
</td>
</tr>
<tr>
<td>
<div align="center"><a href="stafdayrep.asp" target="main"><img name="Image6" border="0" src="image/menu1-2-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td>
<div align="center"><font class="unnamed1">员工工作任务</font></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td name="outlooktitle1" id="outlooktitle1" nowrap align="center" onClick="switchoutlookBar(1)"><a href="#">通告管理</a></td>
</tr>
<tr name="outlookdiv1" id="outlookdiv1" style="width:100%;display:none;height:0%;">
<td valign="top" align="left" bgcolor="#FFFFFF" height="170">
<div name="outlookdivin1" id="outlookdivin1" style="overflow:auto;width:100%;height:100%">
<!--------------------------------插入代码 ---------------------------->
<table width="80%" border="0" align="center">
<%if allow_send_note="yes" or cook_allow_send_note="yes" then%>
<tr>
<td>
<div align="center"><a href="newnotice.asp" target="main"><img name="Image12" border="0" src="image/menu2-1-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td>
<div align="center" class="unnamed1">发布通告</div>
</td>
</tr>
<%
end if
if allow_control_note="yes" or cook_allow_control_note="yes" then
%>
<tr>
<td>
<div align="center"><a href="noticecontrol.asp" target="main"><img name="Image13" border="0" src="image/menu2-2-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td>
<div align="center" class="unnamed1">管理通告</div>
</td>
</tr>
<%end if%>
<tr>
<td>
<div align="center"><a href="noticelook.asp" target="main"><img name="Image14" border="0" src="image/menu2-3-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td>
<div align="center" class="unnamed1">浏览通告</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td name="outlooktitle2" id="outlooktitle2" nowrap align="center" onClick="switchoutlookBar(2)"><a href="#">公文管理</a></td>
</tr>
<tr name="outlookdiv2" id="outlookdiv2" style="width:100%;display:none;height:0%;">
<td valign="top" align="center" bgcolor="#FFFFFF" height="220">
<div name="outlookdivin2" id="outlookdivin2" style="overflow:auto;width:100%;height:100%">
<!--------------------------------插入代码 ---------------------------->
<table width="80%" border="0" align="center">
<%
if cook_allow_control_file="yes" then
%>
<tr>
<td>
<div align="center"><a href="senddatecontrol.asp" target="main"><img name="Image15" border="0" src="image/menu3-1-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td class="unnamed1">
<div align="center">公文管理</div>
</td>
</tr>
<%
end if
if cook_allow_send_file="yes" then
%>
<tr>
<td class="unnamed1">
<div align="center"><a href="senddate.asp" target="main"><img name="Image16" border="0" src="image/menu3-2-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td class="unnamed1">
<div align="center">发送公文</div>
</td>
</tr>
<tr>
<td class="unnamed1">
<div align="center"><a href="havesenddate.asp" target="main"><img name="Image17" border="0" src="image/menu3-3-a.gif" width="32" height="32"></a></div>
</td>
</tr>
<tr>
<td class="unnamed1">
<div align="center">已发公文</div>
</td>
</tr>
<%
end if
%>
<tr>
<td class="unnamed1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -