📄 left.asp
字号:
<!--#include file="include/sqlstr.asp"-->
<!--#include file="include/opendb.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusysuid=request.cookies("oabusysuid")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusysuid="" then response.redirect "default.asp"
cook_allow_see_all_workrep=request.cookies("cook_allow_see_all_workrep")
cook_allow_see_dept_workrep=request.cookies("cook_allow_see_dept_workrep")
cook_allow_control_dept_user=request.cookies("cook_allow_control_dept_user")
cook_allow_control_all_user=request.cookies("cook_allow_control_all_user")
cook_allow_send_note=request.cookies("cook_allow_send_note")
cook_allow_control_note=request.cookies("cook_allow_control_note")
cook_allow_control_file=request.cookies("cook_allow_control_file")
cook_allow_control_level=request.cookies("cook_allow_control_level")
'打开数据库,读出权限
set conn=opendb()
set rs=server.createobject("adodb.recordset")
sql="select * from a_userinf where suid=" & sqlstr(oabusysuid)
rs.open sql,conn,1
if not rs.eof then
'cook_allow_see_all_workrep=rs("cook_allow_see_all_workrep")
'cook_allow_see_dept_workrep=rs("cook_allow_see_dept_workrep")
'cook_allow_control_dept_user=rs("cook_allow_control_dept_user")
'cook_allow_control_all_user=rs("cook_allow_control_all_user")
'cook_allow_send_note=rs("cook_allow_send_note")
'cook_allow_control_note=rs("cook_allow_control_note")
'cook_allow_control_file=rs("cook_allow_control_file")
'cook_allow_control_level=rs("cook_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")
allow_add_huiyi=rs("allow_add_huiyi")
allow_look_all_huiyi=rs("allow_look_all_huiyi")
end if
rs.close
%>
<HTML>
<HEAD>
<TITLE>高效源于协同</TITLE>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 width="100" oncontextmenu="return false">
<!--onresize="javascript:location.reload();"-->
<SCRIPT language=JAVASCRIPT>
var
lypmenucount=4; //菜单数量
OB_Top=0; //菜单距离顶部的象素值;
OB_Left=0; //菜单距离左侧的象素值;
OB_Margin=10; //top and bottom margins between icons and borders
OB_Width=100; //菜单宽度
OB_Height=document.body.clientHeight; //菜单高度
OB_SlideSpeed=10; //菜单运动速度
OB_BackgroundColor="ECECEC"; //背景色
OB_ItemsSpacing=28; //2个图标间的距离
OB_BorderWidth=5; //border宽度
OB_BorderStyle="double"; //border风格 : dotted 、 dashed 、 solid 、 double 、 groove 、 ridge 、 inset 、 outset 、
// OB_BorderStyle="ridge";
OB_BorderColor="A9A9A9"; //border颜色
OB_IconsWidth=32; //图标宽度
OB_IconsHeight=32; //图标高度
OB_ButtonFontFamily="宋体"; //按钮上字体的字型
OB_ButtonFontSize=9; //按钮上字体大小
OB_ButtonFontColor="black"; //按钮上字体颜色
OB_ButtonHeight=25; //按钮的高度
OB_LabelFontFamily="宋体"; //LOGO下字体的字型
OB_LabelFontSize=9; //LOGO下面的字体大小
OB_LabelFontColor="black"; //LOGO下的字体颜色
OB_LabelMargin=3; //margin between labels and icons
OB_UpArrow="images/left/UP.gif"; //向上滚动的logo箭头
OB_DownArrow="images/left/DOWN.gif"; //向下滚动的logo箭头
OB_ArrowWidth=9; //箭头的宽度
OB_ArrowHeight=11; //箭头的高度
OB_ArrowSlideSpeed=60; //项目列表滚动的速度;
</SCRIPT>
<FONT color=#000000>
<CENTER>
<SCRIPT>
//-----------工作计划管理Begin-------------
OutBarFolder1=new Array('工作计划管理',
<% if cook_allow_see_all_workrep="yes" or cook_allow_see_dept_workrep="yes" then %>
'images/left/meet_4.gif','直系下属','stafdayrep.asp',"parent.mainFrame",
<% end if%>
'images/left/meet_3.gif','我的计划','dayrep.asp',"parent.mainFrame");
//-----------工作计划管理End-------------
//-----------通告信息Begin-------------
OutBarFolder2=new Array('通告信息管理',
<% if cook_allow_send_note="yes" then %>
'images/left/PROJ_4.gif','发布通告','newnotice.asp',"parent.mainFrame",
<% end if%>
<% if cook_allow_control_note="yes" then %>
'images/left/PROJ_5.gif','管理通告','noticecontrol.asp',"parent.mainFrame",
<% end if%>
'images/left/PROJ_7.gif','浏览通告','noticelook.asp',"parent.mainFrame");
//-----------通告信息End-------------
//-----------公文信息Begin-------------
OutBarFolder3=new Array('公文信息管理',
<% if cook_allow_control_file="yes" then %>
'images/left/MAIL_8.gif','公文管理','senddatecontrol.asp',"parent.mainFrame",
<% end if%>
'images/left/MAIL_9.gif','发送公文','senddate.asp',"parent.mainFrame",
'images/left/MAIL_6.gif','已发公文','havesenddate.asp',"parent.mainFrame",
'images/left/MAIL_7.gif','已收公文','havercidate.asp',"parent.mainFrame");
//-----------公文信息End-------------
//-----------流程信息Begin-------------
OutBarFolder4=new Array('流程信息管理',
'images/left/PROJ_1.gif','新建流程','liuchengsenddate.asp',"parent.mainFrame",
'images/left/PROJ_2.gif','办理情况','banliqikuangchakan1.asp',"parent.mainFrame",
'images/left/PROJ_3.gif','待办流程','banliqikuangw.asp',"parent.mainFrame");
//-----------流程信息End-------------
//-----------人力资源Begin-------------
OutBarFolder5=new Array('人力资源管理',
'images/left/HRM_2.gif','我的档案','personinf.asp',"parent.mainFrame",
<% if cook_allow_see_all_personinf="yes" or cook_allow_see_dept_personinf="yes" then %>
'images/left/HRM_3.gif','我的下属','stafpersoninf.asp',"parent.mainFrame",
<% end if%>
<% if cook_allow_edit_all_jobchanginf="yes" or cook_allow_edit_dept_jobchanginf="yes" then %>
'images/left/HRM_1.gif','职位变动','jobchanginf.asp',"parent.mainFrame",
<% end if%>
<% if cook_allow_edit_all_rewpuninf="yes" or cook_allow_edit_dept_rewpuninf="yes" then %>
'images/left/HRM_7.gif','奖惩情况','rewpuninf.asp',"parent.mainFrame",
<% end if%>
<% if cook_allow_edit_all_checkinf="yes" or cook_allow_edit_dept_checkinf="yes" then %>
'images/left/HRM_5.gif','考核情况','checkinf.asp',"parent.mainFrame",
<% end if%>
'images/left/HRM_6.gif','工资档案','wageinf.asp',"parent.mainFrame");
//-----------人力资源End-------------
//-----------资源预约Begin-------------
OutBarFolder6=new Array('资源预约管理',
'images/left/meet_1.gif','添加资源','addequipment.asp',"parent.mainFrame",
'images/left/meet_6.gif','添加预约','addbooking.asp',"parent.mainFrame",
'images/left/meet_7.gif','预约管理','booking.asp',"parent.mainFrame");
//-----------资源预约End-------------
//-----------用户帐号Begin-------------
OutBarFolder7=new Array('用户帐号设置',
<% if cook_allow_control_all_user="yes" then %>
'images/left/HRM_1.gif','增加用户','adduser.asp',"parent.mainFrame",
'images/left/HRM_3.gif','管理用户','usercontrol.asp',"parent.mainFrame",
<% end if%>
'images/left/HRM_2.gif','个人资料','userinf.asp',"parent.mainFrame");
//-----------用户帐号End-------------
</SCRIPT>
<script language="javascript1.2" src="js/leftMenu.js"></script>
</CENTER>
</FONT>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -