?? 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")
'打開數(shù)據(jù)庫,讀出權(quán)限
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>高效源于協(xié)同</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; //菜單數(shù)量
OB_Top=0; //菜單距離頂部的象素值;
OB_Left=0; //菜單距離左側(cè)的象素值;
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個圖標(biāo)間的距離
OB_BorderWidth=5; //border寬度
OB_BorderStyle="double"; //border風(fēng)格 : dotted 、 dashed 、 solid 、 double 、 groove 、 ridge 、 inset 、 outset 、
// OB_BorderStyle="ridge";
OB_BorderColor="A9A9A9"; //border顏色
OB_IconsWidth=32; //圖標(biāo)寬度
OB_IconsHeight=32; //圖標(biāo)高度
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','發(fā)布通告','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','發(fā)送公文','senddate.asp',"parent.mainFrame",
'images/left/MAIL_6.gif','已發(fā)公文','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-------------
//-----------資源預(yù)約Begin-------------
OutBarFolder6=new Array('資源預(yù)約管理',
'images/left/meet_1.gif','添加資源','addequipment.asp',"parent.mainFrame",
'images/left/meet_6.gif','添加預(yù)約','addbooking.asp',"parent.mainFrame",
'images/left/meet_7.gif','預(yù)約管理','booking.asp',"parent.mainFrame");
//-----------資源預(yù)約End-------------
//-----------用戶帳號Begin-------------
OutBarFolder7=new Array('用戶帳號設(shè)置',
<% 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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -