todayout.asp

来自「网络办公系统源码」· ASP 代码 · 共 51 行

ASP
51
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../../config.asp"-->
<!--#include file="../checklogin.asp"-->
<%
'----------------------------------------------------------------
'得到考勤时间设置
nowtime=FORMATDATETIME(now,vbShortTime)
nowtime1=date()
dim a_time,p_time
sql="select * from oa_kqtime where companyid="&session("companyid")
set rs=conn.execute(sql)
if not rs.eof then
	a_time=trim(rs("a_time"))
	p_time=trim(rs("p_time"))
end if
rs.close
set  rs=nothing
t1=datediff("n",nowtime,am_time)
t2=datediff("n",nowtime,pm_time)
'判断当天有无考勤记录
'---------------------------------------------------------------------
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>今日外出人员</title>
<link href="../img/css1.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {color: #FFFFFF}
.style3 {color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>
<body>
<form name="form1" method="post" action="todayout.asp">
  免费版不支持此功能,请购买正式版。<br>
  网址:http://www.hokilly.com<br>
  演示:http://www.hokilly.com/demo/hokilly_oa90/<br>
  咨询QQ:15916190<br>
</form>
</body>
</html>

⌨️ 快捷键说明

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