<!--#include file="Config.asp" -->
<% 
eims = "Abaut"
%>
<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="img/eims.css">
<script type="text/javascript" src="img/eims.js"></script>
<script type="text/javascript" src="iScroll/jQuery.js"></script>
<script type="text/javascript" src="iScroll/iscroll.js"></script>
<script type="text/javascript">
var myScroll;
function loaded() {myScroll = new iScroll('wrapper');}
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
document.addEventListener('DOMContentLoaded', function () { setTimeout(loaded, 200); }, false);
</script>
<title><% =SiteName %></title>
</head><body>

<div id="header">
<form name="sform" id="sform" action='Index.asp' method='get'>
<table border="0" cellspacing="0" cellpadding="3" align="center">
  <tr valign="middle">
    <td><input type='text' name='key' size='20' class="Radius" placeholder='请输入关键字'></td>
    <td><input type="submit" value="搜索" class="Radius"></td>
  </tr>
</table>
</form>
</div>

<div id="wrapper" class="top">
<div id="scroller">
<%
Set Rs=server.CreateObject("adodb.recordset")

Condition="ItemRec=1"
If Trim(Request("key"))<>"" Then Condition=Condition&" and Title like '%"&Trim(Request("key"))&"%'"

Sql="Select top 8 * From [eims_Abaut] where "&Condition&" order by ItemID desc"
Rs.Open Sql,Conn,1,1
While Not Rs.Eof
%>
<div class="i1">
	<div class="i3"><a href="Lottery.asp?TypeID=<%=Int(Rs("ItemID"))%>&xrl=mp.weixin.qq.com"><%=Trim(Rs("Title"))%></a>
	 | <a href="SubTel.asp?TypeID=<%=Int(Rs("ItemID"))%>">[提交名单]</a>
	  | <a href="Lottery.asp?TypeID=<%=Int(Rs("ItemID"))%>&xrl=mp.weixin.qq.com">[抽奖界面]</a></div>	
</div>
<%
Rs.movenext
wend
Rs.close : set Rs=Nothing
%>

<hr size="1" style="margin:33px;">
<p align="center">技术支持：<a href="http://www.eims.org.cn/" target="_blank">EIMS工作室</a></p>



</div>
</div>


</body></html>
<% Call CloseConn() %>
