<%@ page language="C#" autoeventwireup="true" inherits="admin_guanggao, kfenlei" %><%@ Register Src="inc/adminTop.ascx" TagName="adminTop" TagPrefix="qth8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>框分类信息系统 后台管理</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:adminTop ID="AdminTop1" runat="server" />
<div class="d01">
<div class="tabTitle">广告管理<span class="tabTitleCom">广告数<%=iRecordCount%>条</span></div>
<form action="guanggao.aspx" name="guanggao" id="guanggao" class="layui-form" method="get">
<fieldset class="layui-elem-field">
<legend>筛选</legend>
<div class="layui-field-box">
<div class="gggListLeft">
<strong>网站首页：</strong>
<input type="radio" name="a" value="0" lay-filter="a" title="全部广告" />
<input type="radio" name="a" value="1" lay-filter="a" title="首页头部" />
<input type="radio" name="a" value="13" lay-filter="a" title="首页中部" />
<input type="radio" name="a" value="14" lay-filter="a" title="首页底部" />
<input type="radio" name="a" value="8" lay-filter="a" title="首页幻灯片" /><br />
<strong>分类信息：</strong>
<input type="radio" name="a" value="2" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="9" lay-filter="a" title="列表右侧" />
<input type="radio" name="a" value="3" lay-filter="a" title="信息内页" /><br />
<strong>商家黄页：</strong>
<input type="radio" name="a" value="4" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="5" lay-filter="a" title="列表右侧" />
<input type="radio" name="a" value="6" lay-filter="a" title="商家内页" /><br />
<strong>新闻资讯：</strong>
<input type="radio" name="a" value="10" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="11" lay-filter="a" title="列表左侧" />
<input type="radio" name="a" value="12" lay-filter="a" title="新闻内页" /><br />
<strong>搜索页面：</strong>
<input type="radio" name="a" value="7" lay-filter="a" title="列表右侧" />
</div>
<div class="gggListRight"><strong>手机网站首页：</strong>
<input type="radio" name="a" value="15" lay-filter="a" title="首页头部" /><br />
<strong>手机分类信息：</strong>
<input type="radio" name="a" value="16" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="17" lay-filter="a" title="信息内页" /><br />
<strong>手机商家黄页：</strong>
<input type="radio" name="a" value="18" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="19" lay-filter="a" title="商家内页" /><br />
<strong>手机新闻资讯：</strong>
<input type="radio" name="a" value="20" lay-filter="a" title="列表头部" />
<input type="radio" name="a" value="21" lay-filter="a" title="新闻内页" /><br />
<strong>手机搜索页面：</strong>
<input type="radio" name="a" value="22" lay-filter="a" title="列表头部" />
</div>
<div class="line"></div>
<strong>日期：</strong> <input type="radio" value="0" name="t" lay-filter="t" title="全部广告" /> <input type="radio" value="1" name="t" lay-filter="t" title="到期广告" />
</div>
</fieldset>
<script type="text/javascript">
ckRadio("a","<%=a%>");
ckRadio("t","<%=t%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(a)', function(data){
$("#guanggao").submit();
});
form.on('radio(t)', function(data){
$("#guanggao").submit();
});
});
</script>
</form>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="40" class="head">id</td>
<td width="40" class="head">排序</td>
<td width="100" class="head">类型</td>
<td width="380" class="head">广告位/名称</td>
<td width="200" class="head">[宽/高] [上/右/下/左边距]</td>
<td width="140" class="head">开始日期</td>
<td width="140" class="head">到期日期</td>
<td width="40" class="head">显示</td>
<td width="120" class="head"><a href="adAdd.aspx" class="layui-btn layui-btn-small">添加广告</a></td></tr>
</thead>
<%=sList %>
<tr>
<td class="mhead1" colspan="9">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="guanggao.aspx?p=1&c=<%=c%>&a=<%=a %>&t=<%=t %>">首页</a> <a href="guanggao.aspx?p=<%=iTp.ToString()%>&c=<%=c%>&a=<%=a %>&t=<%=t %>">上一页</a> <a href="guanggao.aspx?p=<%=iNp.ToString()%>&c=<%=c%>&a=<%=a %>&t=<%=t %>">下一页</a> <a href="guanggao.aspx?p=<%=iPageCount.ToString()%>&c=<%=c%>&a=<%=a %>&t=<%=t %>">尾页</a> <span class="color3">|</span> <input type="text" size="5" class="inputText" id="iPageIndex" /> <input type="button" class="bt1" value="转到" onclick="goPage()" /></td>
		  </tr>
</table>
</div>
</div>
</div>
</body>
</html>
