<%@ page language="C#" autoeventwireup="true" inherits="admin_xxgl, 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">信息管理 - 共<strong style="color:#CC1100;"><%=iRecordCount%></strong>条</span> </div>
<form name="fxxgl" id="fxxgl" class="layui-form" id="fSearch" action="xxgl.aspx" method="get">
<input type="hidden" value="<%=s %>" name="s" id="s" /><input type="hidden" value="<%=a %>" name="a" id="a" /><input type="hidden" name="u" value="<%=u %>" />
<fieldset class="layui-elem-field">
<legend>筛选</legend>
<div class="layui-field-box">
<div class="layui-input-inline"><input type="radio" name="w" checked="checked" lay-filter="w" value="0" title="全部" /><input type="radio" name="w" lay-filter="w" value="5" title="已审核" /><input type="radio" name="w" lay-filter="w" value="1" title="未审核" /><input type="radio" name="w" lay-filter="w" value="2" title="置顶" /><input type="radio" name="w" lay-filter="w" value="3" title="置顶到期" /><input type="radio" name="w" lay-filter="w" value="6" title="加红" /><input type="radio" name="w" lay-filter="w" value="7" title="加红到期" /><input type="radio" name="w" lay-filter="w" value="4" title="过期信息" /></div>
<div class="layui-inline">日期</div>
<div class="layui-inline"><input type="text" onclick="layui.laydate({elem:this})" value="<%=t %>" name="t" class="layui-input" style="width:100px;" /></div>
<div class="layui-inline">每页</div>
<div class="layui-inline"><input type="text" style="width:50px;" name="c" class="layui-input" value="<%=c%>" /></div>
<div class="layui-inline">条</div>
<div class="layui-inline">搜索</div> 
<div class="layui-inline"><input type="text" name="k" value="<%=k%>" class="layui-input" style="width:100px;" /></div>
<input type="submit" value="搜索" class="layui-btn layui-btn-small" />
<div class="line"></div>
<%=sSortList%><%=sAddressList%>
<div class="item1">
<ul class="sortul">
<li><strong>价格：</strong></li>
<li><div class="layui-input-inline"><input type="text" value="<%=pr1%>" name="pr" id="pr1" class="layui-input" style="width:100px;" /></div><div class="layui-input-inline">&nbsp;&nbsp;-&nbsp;&nbsp;</div><div class="layui-input-inline"><input type="text" value="<%=pr2%>" name="pr" id="pr2"  class="layui-input" style="width:100px;" /></div><div class="layui-input-inline">(元)</div></li>
<li><input type="submit" value="价格筛选" class="bt1" /></li>
<li><div class="bt1" onclick="$('#pr1').val('');$('#pr2').val('');fSearch.submit();" style="cursor:pointer;">取消筛选</div></li>
</ul>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</fieldset>
</form>
<script language="javascript" type="text/javascript">
ckRadio("w","<%=w%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(w)', function(data){
$("#fxxgl").submit();
});
form.on('checkbox(checkAll)', function(data){
if(data.elem.checked)
{
	$("input[name='id']").prop("checked",true);
}
else
{
	$("input[name='id']").prop("checked",false);
}
	form.render();
});
});
function checktel(tel)
{
	window.open("http://www.kfenlei.com/cha/"+tel+".html");
}
function goPage()
{
	window.location.replace("xxgl.aspx?s=<%=s%>&a=<%=a%>&pr=<%=pr%>&o=<%=o %>&c=<%=c %>&k=<%=k %>&w=<%=w%>&p="+document.getElementById("iPageIndex").value)
}
</script>
<form action="action.aspx?s=mess" class="layui-form" method="post" name="del">
<fieldset class="layui-elem-field">
<legend>操作</legend>
<div class="layui-field-box">
<strong>置顶：</strong><input type="radio" value="21" name="a" title="普通置顶" /> <input type="radio" value="20" name="a" title="分类置顶" /> <input type="radio" value="22" name="a" title="全局置顶" /> <input type="radio" value="23" name="a" title="加红" />  置顶/加红天数：<div class="layui-inline"><input type="text" name="day" value="7" class="layui-input" style="width:50px;" /></div>（天） <input type="submit" name="Submit" value="提交" class="layui-btn layui-btn-small" /><input type="button" name="de" class="layui-btn layui-btn-small" value="取消过期置顶" onclick="location.href='action.aspx?s=delTopMess'" /><br />
<strong>操作：</strong><input type="radio" checked="checked" value="1" name="a" title="审核" /><input type="radio" value="0" name="a" title="删除" /><input type="radio" value="01" name="a" title="删除并加入黑名单" /><input type="radio" value="3" name="a" title="取消置顶" /><input type="radio" value="5" name="a" title="取消加红" /> <input type="radio" value="4" name="a" title="更新" /> <input type="submit" name="Submit" value="提交" class="layui-btn layui-btn-small" /></td></tr>
</div>
</fieldset>
<table width="100%" class="layui-table">
<thead>
<tr>
<td width="80"><input type="checkbox" lay-filter="checkAll" lay-skin="primary" /> 全选 id</td>
<td width="70">用户</td>
<td width="40">审核</td>
<td width="40">置顶</td>
<td width="40">加红</td>
<td width="610">标题</td>
<td width="270"></td>
<td width="50"></td></tr>
</thead>
<%=sList %>
</form>
<tr>
<td class="mhead1" colspan="8">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="xxgl.aspx?p=1&s=<%=s%>&a=<%=a%>&pr=<%=pr%>&o=<%=o %>&c=<%=c%>&t=<%=t%>&k=<%=k%>&w=<%=w%>&u=<%=u%>">首页</a> <a href="xxgl.aspx?p=<%=iTp.ToString()%>&s=<%=s%>&a=<%=a%>&pr=<%=pr%>&o=<%=o %>&c=<%=c%>&t=<%=t%>&k=<%=k%>&w=<%=w%>&u=<%=u%>">上一页</a> <a href="xxgl.aspx?p=<%=iNp.ToString()%>&s=<%=s%>&a=<%=a%>&pr=<%=pr%>&o=<%=o %>&c=<%=c%>&t=<%=t%>&k=<%=k%>&w=<%=w%>&u=<%=u%>">下一页</a> <a href="xxgl.aspx?p=<%=iPageCount.ToString()%>&s=<%=s%>&a=<%=a%>&pr=<%=pr%>&o=<%=o %>&c=<%=c%>&t=<%=t%>&k=<%=k%>&w=<%=w%>&u=<%=u%>">尾页</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>
<div id="telInfo" class="telInfo"></div>
</body>
</html>
