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

📄 news_infosrch.asp

📁 这是一个基于JSP设计的论坛网站(源码)
💻 ASP
字号:
<%@ codepage = 936 LCID = 2052 %>
<% if Session("exemple_status") <> "login" then response.redirect "login.asp" %>
<%
Response.expires = 0
Response.expiresabsolute = Now() - 1
Response.addHeader "pragma", "no-cache"
Response.addHeader "cache-control", "private"
Response.CacheControl = "no-cache"
%>
<!--#include file="db.asp"-->

<%
response.buffer = true

' Open Connection to the database
set conn = Server.CreateObject("ADODB.Connection")
conn.Open xDb_Conn_Str
%>

<!--#include file="header.asp"-->

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336699"><tr><td>
<img src="images/bnrsrch.gif" alt="" width="400" height="30" border="0"></td></tr></table>

<table width="100%" border="0" cellspacing="0" cellpadding="10"><tr><td>
<p>Search TABLE : 企业信息类管理</a></p>

<script language="JavaScript" src="ew.js"></script>
<script language="JavaScript">
<!-- start Javascript
function  EW_checkMyForm(EW_this) {
if  (!EW_checkinteger(EW_this.x_id.value)) {
        if  (!EW_onError(EW_this, EW_this.x_id, "TEXT", "Incorrect integer - id"))
            return false; 
        }
if  (!EW_checkdate(EW_this.x_datetime.value)) {
        if  (!EW_onError(EW_this, EW_this.x_datetime, "TEXT", "Incorrect date (yyyy/mm/dd) - 发布时间"))
            return false; 
        }
if  (!EW_checkinteger(EW_this.x_type.value)) {
        if  (!EW_onError(EW_this, EW_this.x_type, "TEXT", "Incorrect integer - 类别"))
            return false; 
        }
return true;
}
// end JavaScript -->
</script>
<form onSubmit="return EW_checkMyForm(this);"  action="news_infolist.asp" method="get">
<p>

<table width="500" border="0" cellspacing="1" cellpadding="5" bgcolor="cccccc">
<tr>
<td bgcolor="f5f5f5"><font color="">id&nbsp;</td>
<td bgcolor="#F5F5F5">=
<input type="hidden" name="z_id" value="=,,">&nbsp;</td>
<td bgcolor="#F5F5F5"><input type="text" name="x_id" value="<%= x_id %>">&nbsp;</td>
</tr>
<tr>
<td bgcolor="f5f5f5"><font color="">标题&nbsp;</td>
<td bgcolor="#F5F5F5">LIKE
<input type="hidden" name="z_title" value="LIKE,'%,%'">&nbsp;</td>
<td bgcolor="#F5F5F5"><input type="text" name="x_title" value="<%= x_title %>" size=30 maxlength=50>&nbsp;</td>
</tr>
<tr>
<td bgcolor="f5f5f5"><font color="">内容&nbsp;</td>
<td bgcolor="#F5F5F5">LIKE
<input type="hidden" name="z_content" value="LIKE,'%,%'">&nbsp;</td>
<td bgcolor="#F5F5F5"><textarea cols=35 rows=4 name="x_content"><%= x_content %></textarea>&nbsp;</td>
</tr>
<tr>
<td bgcolor="f5f5f5"><font color="">发布时间&nbsp;</td>
<td bgcolor="#F5F5F5">=
<input type="hidden" name="z_datetime" value="=,#,#">&nbsp;</td>
<td bgcolor="#F5F5F5"><input type="text" name="x_datetime" value="<%= x_datetime %>">&nbsp;</td>
</tr>
<tr>
<td bgcolor="f5f5f5"><font color="">类别&nbsp;</td>
<td bgcolor="#F5F5F5">=
<input type="hidden" name="z_type" value="=,,">&nbsp;</td>
<td bgcolor="#F5F5F5"><input type="text" name="x_type" value="<%= x_type %>">&nbsp;</td>
</tr>
</table>
<p>
<input type="submit" name="Action" value="Search">
</form>
</td></tr></table>
<!--#include file="footer.asp"-->

⌨️ 快捷键说明

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