| 发表于:2008-01-17 10:57:07 楼主 |
源码如下: <%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") %> ----------(续) 我不知道怎么加进入一个子项目,比如说考勤管理里加个请假登记,可我一加就显示不了全部,是不是高度有限制啊??该在哪改动?请教!!!! |
|
|
|
|