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

📄 kqleft.asp

📁 一个OA办公自动化系统
💻 ASP
字号:
<!--#include file="../asp/opendb.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusyuserid=request.cookies("oabusyuserid")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusyusername="" or oabusyuserid="" 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")
sql="select * from userinf where username='"&oabusyusername&"'"
rs.open sql,conn,1
allow_edit_work_time=rs("allow_edit_work_time")
conn.close
set conn=nothing
set rs=nothing
%>
<html>
<head>
<title>考勤管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/css.css">
<script language="javascript">
window.parent("main").location.href="nowkqinfo.asp";
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>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table width="131" border="0" cellpadding="0" cellspacing="0" bgcolor="#FfFfFf" height="356">
  <tr> 
    <td colspan="2" height="20"><img src="../image/kaoqin.gif" height="20"></td>
  </tr>
<%
	if allow_edit_work_time="yes" then
%>
  <tr> 
    <td width="126" height="45"> 
      <div align="center"><a href="settime.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image30','','../image/menu2-2-b.gif',1)" target="main"><img name="Image30" border="0" src="../image/menu2-2-a.gif" width="41" height="40" title="设置考勤时间"></a></div>
    </td>
    <td width="2" bgcolor="#666666" height="45">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="21"> 
      <div align="center"><font color="#336699">设置考勤时间</font></div>
    </td>
    <td width="2" bgcolor="#666666" height="21">&nbsp;</td>
  </tr>
<%
	end if
%>
  <tr> 
    <td width="126" height="45"> 
      <div align="center"><a href="#" onclick="	window.open('kqframe.asp','kqwindow','location=no,height=450, width=500, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no');
"  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image31','','../image/menu6-1-b.gif',1)"><img name="Image31" border="0" src="../image/menu6-1-a.gif" width="41" height="40" title="开始考勤"></a></div>
    </td>
    <td width="2" bgcolor="#666666" height="45">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="21"> 
      <div align="center"><font color="#336699">开始考勤</font></div>
    </td>
    <td width="2" bgcolor="#666666" height="21">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="45"> 
      <div align="center"><a href="nowkqinfo.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image32','','../image/menu1-1-b.gif',1)" target="main"><img name="Image32" border="0" src="../image/menu1-1-a.gif" width="41" height="40" title="今日考勤统计"> </a></div>
    </td>
    <td width="2" bgcolor="#666666" height="45">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="21"> 
      <div align="center"><font color="#336699">今日考勤统计</font></div>
    </td>
    <td width="2" bgcolor="#666666" height="21">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="45"> 
      <div align="center"><a href="daykqinfo.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','../image/menu6-2-b.gif',1)" target="main"><img name="Image12" border="0" src="../image/menu6-2-a.gif" width="41" height="40" title="查看日考勤统计"> </a></div>
    </td>
    <td width="2" bgcolor="#666666" height="45">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="21"> 
      <div align="center"><font color="#336699">日考勤统计</font></div>
    </td>
    <td width="2" bgcolor="#666666" height="21">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="45"> 
      <div align="center"><a href="monthkqinfo.asp"  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image33','','../image/menu3-4-b.gif',1)" target="main"><img name="Image33" border="0" src="../image/menu3-4-a.gif" width="41" height="40" title="月考勤统计"></a></div>
    </td>
    <td width="2" bgcolor="#666666" height="45">&nbsp;</td>
  </tr>
  <tr> 
    <td width="126" height="21"> 
      <div align="center"><font color="#336699">月考勤统计</font></div>
    </td>
    <td width="2" bgcolor="#666666" height="21">&nbsp;</td>
  </tr>
  <tr bgcolor="#000000"> 
    <td width="126" height="1" bgcolor="#666666">&nbsp;</td>
    <td width="2" height="1" bgcolor="#666666">&nbsp;</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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