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

📄 findwork.asp

📁 功能非常强大的一款办公自动化软件原代码,其中的文档签收功能特别实用.不相信下下来看下.
💻 ASP
字号:
<!--#include file="check.asp"-->
<!--#INCLUDE FILE="connect.asp" --> 
<html>
<head>
<title>公文查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
function checkform()
{
if (document.form.title.value=="")
{
alert("请输入要查询的关键字")
document.form.title.focus()
return false;
}
}

function onButton(td)
{
	td.style.color='red';
}

function offButton(td)
{
	
	td.style.color='blue';
}
function addinput(namestr,valuestr)
{
   
	  document.write("<input type='text' readonly name='"+namestr+"' value='"+valuestr+"' size='10' style='text-align: center;' style='Font-size: 9pt'>&nbsp;<Img id='toto' src='images/calendar1.gif' style='cursor:hand;' align='absmiddle' alt='弹出日历下拉菜单' onClick='setday(toto,document.all.keywords)'>");
}

</script>

<link rel="stylesheet" href="findwork.css" type="text/css">
</head>
<%	if Request.ServerVariables("request_method")="POST" then
     filetype=request("filetype")
	 timestart=request("timestart")
	 timeend=request("timeend")
	 zihao=request("zihao")
	 keywords=request("keywords")
     if request("filetype")="send" then
	 response.redirect "findfawen.asp?filetype="&filetype&"&timestart="&timestart&"&timeend="&timeend&"&zihao="&zihao&"&keywords="&keywords
	 else
	 response.redirect "findshouwen.asp?filetype="&filetype&"&timestart="&timestart&"&timeend="&timeend&"&zihao="&zihao&"&keywords="&keywords
	 end if

 end if
	set rs=server.createobject("adodb.recordset")
	sql="select * from fawen where status=1"	 
				  %>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false">

<div align="center">
  <form name="form" method="POST" action="findwork.asp">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr> 
        <td height="20" width="2%"></td>
        <td height="20" width="98%"></td>
      </tr>
      <tr> 
        <td height="76" width="2%"></td>
        <td height="76" valign="top" width="98%"> 
          <table cellspacing=0 cellpadding=0 width="90%" align=center border=0>
            <tbody> 
            <tr style="BORDER-RIGHT: #555555 10px solid; BORDER-TOP: #555555 10px solid; BORDER-LEFT: #555555 10px solid; BACKGROUND-COLOR: #E8E6B1;"> 
              <td width="733" height="4"></td>
            </tr>
            <tr> 
              <td width="733"> 
                <table class=edgingTable_1 cellspacing=0 cellpadding=0 width="100%" 
            border=0 align="left">
                  <tbody> 
                  <tr> 
                    <td class=edgingTd_1> 
                      <table class=edgingTable_2 height="100%" cellspacing=0 
                  bordercolordark=#ffffff cellpadding=20 width="100%" 
                    border=1>
                        <tbody> 
                        <tr align=middle> 
                          <td> 
                            <!-- 内容区开始 -->
                            <table cellspacing=0 width="92%">
                              <tbody> 
                              <tr> 
                                <td align=middle> 
			<fieldset style="WIDTH: 92%">
				
			<legend class=LabelTitle> 
			<img height=50 src="images/findwork.gif" width=50 align=absMiddle>
			[公文查询]</legend><br>
                                  <br>
                                  <table cellpadding=3>
                                    <tbody> 
                                    <tr> 
                                      <td class=Shadow_white noWrap 
                                width="15%">公文类别:</td>
                                      <td> 
                                        <select name=filetype id="bb">
                                          <option value="send">发文</option>
                                          <option value="receive">收文</option>
                                        </select>
                                      </td>
                                    </tr>
                                    <tr> 
                                      <td class=Shadow_white noWrap>发布时间:</td>
                                      <td style="color:#555555"> 从 
                                        <input type="text" name="timestart" size="9" maxlength="9" onClick="setday(this,document.all.timestart)" style="cursor:hand;" class="f0input" title="点击选择开始时间">
                                        <input type="text" name="timeend" size="9" maxlength="9"
												  onClick="setday(this,document.all.timeend)" style="cursor:hand;"
												  class="f0input" title="点击选择结束时间">
                                      </td>
                                    </tr>
                                    <tr> 
                                      <td class=Shadow_white noWrap>文件编号:</td>
                                      <td> 
                                        <input style="WIDTH: 330px" size=44 
                                name=zihao class="f0input" title="点击输入查询的文号">
                                      </td>
                                    </tr>
                                    <tr> 
                                      <td class=Shadow_white noWrap>标<b>  </b>题:</td>
                                      <td> 
                                        <input style="WIDTH: 330px" size=44 
                                name=keywords class="f0input" title="点击输入查询的标题">
                                      </td>
                                    </tr>
                                    <tr> 
                                      <td align=middle colspan=2 height=60> 
                                        <div align="center"> 
                                          <input type="image" value=" 查 询 " name=button src="images/findgif.gif" alt="查找" style="cursor:hand">
                                          &nbsp; &nbsp;
                                          <input type="image" name=button src="images/cleargif.gif" alt="清空" onClick="reset();return false;" style="cursor:hand">
                                        </div>
                                      </td>
                                    </tr>
                                    </tbody> 
                                  </table>
                                  <br>
                                  </fieldset></td>
                              </tr>
                              </tbody> 
                            </table>
                            <!-- 内容区结束 -->
                          </td>
                        </tr>
                        </tbody> 
                      </table>
                    </td>
                  </tr>
                  </tbody> 
                </table>
              </td>
              <td class=shadowRight width="8"></td>
            </tr>
            <tr> 
              <td class=shadowBottom 
colspan=2></td>
            </tr>
            </tbody> 
          </table>
        </td>
      </tr>
    </table>
  </form>

</div>
<script language=javascript src="calendar.js">

</script>
</body>
</html>

⌨️ 快捷键说明

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