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

📄 logbook_index.asp

📁 OFFICE办公自动化
💻 ASP
字号:
<%
'功能:我的日志日历
%>


<!--#include file="../inc/Secure.asp"-->
<!-- #include file ="../inc/conn.asp" -->
<!--#include file="../inc/Const.asp"-->
<!-- #include file ="const.inc" -->
<%
LoginID=trim(session("LoginID")) : if LoginID="" then LoginID=0 '当前用户ID
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/main.css" type=text/css>
<title>main</title>
<base target="FrmMain">
</head>

<body topmargin="10" leftmargin="10">

<!--#include file="logbook_menu.html"-->

<hr width="100%" size=1 color="#000000">

<table width="100%" cellspacing="1" cellpadding="2" class="tab">
   <tr>
     <td class="tdTop">
        <div align="LEFT">
	<table cellspacing="0" cellpadding="0" class="tdTop">
	  <tr> 
	    <td width="20" height="18" align="LEFT" valign="MIDDLE"><a href="<%=sScript%>?month=<%=IntPrevMonth %>&amp;year=<%=IntPrevYear %>"><img src="../images/prev.gif" width="10" height="18" border="0" alt="Previous Month"></a></td>
	    <td align="CENTER" valign="MIDDLE"  class="AWhite"><%= strMonthName & " " & intThisYear %></td>
	    <td width="20" height="18" align="RIGHT" valign="MIDDLE"><a href="<%=sScript %>?month=<%=IntNextMonth %>&amp;year=<%=IntNextYear %>"><img src="../images/next.gif" width="10" height="18" border="0" alt="Next Month"></a>  </td>
	    <td><!-- #include file="form.inc" --></td>
	  </tr>
	</table>
	</div>
	<table width="100%" cellspacing="1" cellpadding="2" class="tab">
	 <tr> 
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">日</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">一</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">二</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">三</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">四</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">五</td>
	   <td align="CENTER" WIDTH="14%" class="td1" valign="BOTTOM">六</td>
	 </tr>
	 <!--#include file ="showcal.inc" -->
	</table>
    </td>
  </tr>
</table>
<%
Function ShowPlan(SelectDate)
	set rstmp=Server.CreateObject("ADODB.RecordSet")
	sql="select id from vioaLogbook where AddDate='"& SelectDate &"' and UserID="& LoginID
	'response.write sql
	rstmp.open sql,oConn
	if not rstmp.eof then
		dim finished,notfinish,total:finished=0:notfinish=0:total=0
		ShowPlan="<a href=logbook_show.asp?id="& rstmp("id") &"&selectdate="& SelectDate &" title=查看><font color=8080B0>我的日志:已填</font></a><br><a href=logbook_list.asp?selectdate="& SelectDate &">-日志列表-</a>"
	else
		ShowPlan="<a href=logbook_add.asp?selectdate="& SelectDate &" title=填写><font color=B08080>我的日志:未填</font></a><br><a href=logbook_list.asp?selectdate="& SelectDate &">-日志列表-</a>"
	end if
	rstmp.close
	set rstmp=nothing
end Function
%>
<!--#include file="../inc/conn_close.asp"-->
</body>
</html>
 

⌨️ 快捷键说明

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