⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leftbutton.asp

📁 OA企业智能办公自动化系统边缘特别版 功能非常强大的OA系统 1.仿WINDOWS操作界面
💻 ASP
📖 第 1 页 / 共 2 页
字号:

 function addItem(itemTitle,itemContent){
   itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+
       '<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center >'+itemTitle+'</td></tr>'+
       '<tr><td height='+contentHeight+' class="contentStyle" valign=top>'+itemContent+'</td></tr></table></div>';
   document.write(itemHTML);
   itemNo++;
 }
    //添加菜单标题和内容,可任意多项,注意格式:
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_gonggongxinxi.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="noticelook.asp" target="main_body">公司通告</a></div></td></tr><%   if cook_allow_see_dept_workrep="yes" or cook_allow_see_dept_workrep="yes" then   %><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="stafdayrep.asp" target="main_body">工作计划</a></div></td></tr><%  end if  %><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="stafaddressinf.asp" target="main_body">通讯助理</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="clientinf.asp" target="main_body">客户资源</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="booking.asp" target="main_body">公共资源</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="addbooking.asp" target="main_body">资源预约</a></div></td></tr></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_gongwenchuanyue.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="senddate.asp" target="main_body">发送公文</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="havesenddate.asp" target="main_body">已发公文</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="havercidate.asp" target="main_body">已收公文</a></div></td></tr><%     if cook_allow_control_file="yes" then     %><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="senddatecontrol.asp" target="main_body">公文管理</a></div></td></tr><%end if%></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_gerenbangong.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="dayrep.asp" target="main_body">个人工作计划</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="personinf.asp" target="main_body">个人基本档案</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="personlist.asp" target="main_body">个人通讯录</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="userinf.asp" target="main_body">个人资料维护</a></div></td></tr></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_kaoqin.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="kq/kqframe.asp" target="main_body">开始考勤</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="kq/nowkqinfo.asp" target="main_body">今日考勤数据</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="kq/daykqinfo.asp" target="main_body">日考勤统计</a></div></td></tr><tr>  <td height="23" bgcolor="F8FCFF"><div align="center"><a href="kq/monthkqinfo.asp" target="main_body">月考勤统计</a></div></td></tr>  <%	if allow_edit_work_time="yes" then%><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="kq/settime.asp" target="main_body">设置考勤时间</a></div></td></tr>    <%	end if%></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_xiaoshouxitong.gif" width="153" height="25"></td></tr></table>','<center><table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><%   if cook_allow_see_dept_workrep="yes" or cook_allow_see_dept_workrep="yes" then   %><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/system_level.asp" target="main_body">系统设置</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/manageUser.asp" target="main_body">用户管理</a></div></td></tr><%  end if  %><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/addData.asp" target="main_body">增加数据</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/advanceSearch.asp" target="main_body">数据搜索</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/dataForm.asp" target="main_body">数据报表</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/exportData.asp" target="main_body">数据导出</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/transData.asp" target="main_body">转移数据</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/listAll.asp" target="main_body">所有数据</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center" class="style1"><a href="crm/logout.asp" target="main_body">注销系统</a></div></td></tr></table></center>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_hetongguanli.gif" width="153" height="25"></td></tr></table>','<center><table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><%	if allow_edit_work_time="yes" then%><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="hetong/htlist.asp?cmd=resetall" target="main_body">合同列表</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="hetong/htadd.asp" target="main_body">添加合同</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="hetong/htsrch.asp" target="main_body">高级查询</a></div></td></tr><%end if%></table></center>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_yuangongguanli.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><%	if allow_edit_work_time="yes" then%><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="stafpersoninf.asp" target="main_body">员工基本档案</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="jobchanginf.asp" target="main_body">员工职位变动</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="rewpuninf.asp" target="main_body">员工奖惩情况</a></div></td></tr><tr>  <td height="23" bgcolor="F8FCFF"><div align="center"><a href="checkinf.asp" target="main_body">员工考核情况</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="wageinf.asp" target="main_body">员工工资档案</a></div></td></tr>    <%	end if%></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_gerenyouxiang.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="email/sendemail.asp" target="main_body">发邮件</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="email/getnewemail.asp" target="main_body">未读邮件</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="email/getemailbox.asp" target="main_body">收件夹</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="email/sendemailbox.asp" target="main_body">寄件夹</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="email/delemailbox.asp" target="main_body">垃圾桶</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="mail.asp" target="main_body">公共邮箱</a></div></td></tr></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_gonggongfuwu.gif" width="153" height="25"></td></tr></table>','<table width=96% border="0" align=center cellpadding=0 cellspacing=1 bgcolor="E4E8F3"><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="upfile/default.asp" target="main_body">网络硬盘</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="chat/index.asp" target="main_body">网络会议</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="vote/default.asp" target="main_body">网络调查</a></div></td></tr><tr><td height="23" bgcolor="F8FCFF"><div align="center"><a href="bbsnew/index.asp" target="main_body">网络论坛</a></div></td></tr></table>');
 addItem('<table width="153" height="25"  border="0" cellpadding="0" cellspacing="0"><tr><td height="2"><img src="images/button/bt_yonghushezhi.gif" width="153" height="25"></td></tr></table>','<table cellpadding=0 cellspacing=0 align=center width=100%><%if cook_allow_control_dept_user="yes" then%><tr><td height="18"><div align="center"><a href="addstaf.asp" target="main_body">增加下属用户</a></div></td></tr><tr><td height="18"><div align="center"><a href="stafcontrol.asp" target="main_body">管理下属用户</a></div></td></tr><%end if%><%if cook_allow_control_all_user="yes" then%><tr><td height="18"><div align="center"><a href="adduser.asp" target="main_body">增加用户</a></div></td> </tr><tr><td height="18"><div align="center"><a href="usercontrol.asp" target="main_body">管理用户</a></div></td></tr><tr><td height="18"><div align="center"><a href="companymanager.asp" target="main_body">单位名称维护</a></div></td></tr><% end if %><%if cook_allow_control_level="yes" then %><tr><td height="18"><div align="center"><a href="usercontrolpopedom.asp" target="main_body">用户管理权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="workplanpopedom.asp" target="main_body">工作计划权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="noticefilepopedom.asp" target="main_body">通告公文权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="jobchanginfpopedom.asp" target="main_body">职务变动权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="rewpunpopedom.asp" target="main_body">奖惩编辑权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="checkinfpopedom.asp" target="main_body">考核编辑权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="wageinfpopedom.asp" target="main_body">工资编辑权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="addressinfpopedom.asp" target="main_body">通讯资料权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="resourcesetting.asp" target="main_body">资源管理权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="userkqmanager.asp" target="main_body">考勤管理权限</a></div></td></tr><tr><td height="18"><div align="center"><a href="personinfpopedom.asp" target="main_body">基本档案权限</a></div></td></tr><% end if%></table>');

 document.write('</span>')
 document.all.itemsLayer.style.height=itemNo*titleHeight+contentHeight;

 toItemIndex=itemNo-1;onItemIndex=itemNo-1;

 function changeItem(clickItemIndex){
   toItemIndex=clickItemIndex;
   if(toItemIndex-onItemIndex>0) moveUp(); else moveDown();
   runtimes++;
   if(runtimes>=stepNo){
     onItemIndex=toItemIndex;
     runtimes=0;}
   else
     setTimeout("changeItem(toItemIndex)",10);
 }

 function moveUp(){
   for(i=onItemIndex+1;i<=toItemIndex;i++)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)-contentHeight/stepNo;');
 }

 function moveDown(){
   for(i=onItemIndex;i>toItemIndex;i--)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)+contentHeight/stepNo;');
 }
 changeItem(0);
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>
<SCRIPT language=javascript>
<!--
if (window.Event) 
 document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu() {
 event.cancelBubble = true
 event.returnvalue = false;
 return false;
}
 
function norightclick(e) {
 if (window.Event) {
 if (e.which == 2 || e.which == 3)
  return false;
 } else if (event.button == 2 || event.button == 3) {
  event.cancelBubble = true
  event.returnvalue = false;
  return false;
 } 
}
 
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick;   // for all others
//-->
</SCRIPT>

<script language="javascript">
//单击"注销"连接时,弹出对话框是否要求退出系统
function closesystem()
{
	window.open('logout.asp?closeflag=0','closesystem','location=no,height=10, width=10, top=600, left=10,toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no');
	window.location.href="default.asp";
}
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -