index.asp

来自「OFFICE办公自动化」· ASP 代码 · 共 68 行

ASP
68
字号
<!--#include file="../inc/Secure.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Const.asp"-->
<html>
<head>
<title>公文列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel='stylesheet' type='text/css' href='../css/main.css'>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<SCRIPT language=javascript>
function WindowOpen(strURL){
  DocumentWin = window.open(strURL,"","toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no");
  DocumentWin.focus();
}
</SCRIPT>
</head>
<body topmargin="0" leftmargin="0">

<br><br>
<table border=0 cellspacing='1' cellpadding='2' width=100% align=center class=tab>
<tr class="tdTop"><td width="100%" align="left"><b>事务撰写</td></tr>
<tr><td nowrap class="td1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
 
 
 <%
set rs=server.createobject("adodb.recordset")
sql="select * from workflow_form_name where allow_username like '%" & cString(Session("LoginName")) & "%' or allow_username = '' or allow_username like '%所有人%' order by ID"
rs.open sql,oConn,1
'Response.Write sql
while not rs.eof and not rs.bof

%>
<td width=10% valign=top align=center>&nbsp;
<a href=#  onclick="location='/workflow/inputform.asp?form_name=<%=rs("form_name")%>';" border=0>
<img id=face src='/ico/p<%=rs("ico")%>.gif' width=30 border=0><br><%=rs("form_name")%>
</a>
</td>

<%
rs.movenext
wend
rs.close
set rs=nothing
set conn=nothing
%>
 
 
 
 

	 



	<td>&nbsp;</table>
</td></tr>
</table><br>


</body>
</html>  

⌨️ 快捷键说明

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