<!--#include file="inc/conn.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广告搜索</title>
<script type="text/javascript" src="admin.js"></script>
</head>
<body>
<form method="post">
<select name="cl">
<option value="title" <% If cl="title" Then %> selected="selected"<% End If %>>标题</option>
<option value="date" <% If cl="date" Then %> selected="selected"<% End If %>>日期</option>
</select>
<input type="text" name="key" class="input" value="<%if key<>"" then%><%=key %><% Else %><% End If %>" onClick="this.value=''">
<input type="submit" name="search" value="搜 索" class="sumbit">
</form>
<br>
<table cellpadding="0" cellspacing="1" align="center" border="0" class="TableBorder" width="98%">
<tr>
<td width="37%" class="line" align="center"><strong>标题</strong></td>
<td width="15%" class="line" align="center"><strong>日期</strong></td>
</tr>
<%
cl=request("cl")
key=request("key")
if cl<>"" then
sql="select * from [I_userguanggao] where "&cl&" like '%"&key&"%' and flag=1 order by id desc"
else
sql="select * from [I_userguanggao] where flag=1 order by id desc"
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载