<%@ page language="C#" autoeventwireup="true" inherits="admin_newspl, 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="newspl.aspx" id="fSearch" method="get" class="layui-form" name="fSearch">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="head" colspan="6">每页 <input type="text" class="inputText" style="width:50px;" name="c" value="<%=c%>" /> 条  筛选 <input type="radio" name="s" checked="checked" value="" lay-filter="s" title="全部" /> <input type="radio" name="s" lay-filter="s" value="0" title="未审核"/> <input type="radio" name="s" lay-filter="s" value="1" title="已审核"/>  搜索 <input type="text" size="20" class="inputText" name="k" value="<%=k%>" />　<input type="submit" value="搜索" class="layui-btn layui-btn-small" /></td></tr>
</table>
</form>
<script language="javascript" type="text/javascript">
ckRadio("s","<%=s%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(s)', function(data){
$("#fSearch").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 goPage()
{
	window.location.replace("newspl.aspx?<%=sPageStr %>&p="+document.getElementById("iPageIndex").value)
}
</script>
<form action="action.aspx?s=delNewsComments" class="layui-form" method="post" name="del">
<table width="100%" border="0" class="layui-table">
<tr><td class="head" colspan="6"> <input type="radio" name="a" checked="checked" value="0" title="审核" /><input type="radio" name="a" value="1" title="删除" /> <input type="submit" name="Submit" value="确定" class="layui-btn layui-btn-small" /></td></tr>
</table>
<table width="100%" border="0" class="layui-table">
<thead>
<tr>
<td width="70" class="head"><input type="checkbox" id="checkAll" lay-filter="checkAll" lay-skin="primary" /> 全选 id</td>
<td width="30" class="head">审核</td>
<td width="60" class="head">信息id</td>
<td width="490" class="head">评论内容</td>
<td width="130" class="head">日期</td>
<td width="100" class="head">ip</td></tr>
</thead>
<%=sList %>
</form>
<tr>
<td class="head" colspan="6">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="newspl.aspx?<%=sPageStr %>&p=1">首页</a> <a href="newspl.aspx?<%=sPageStr %>&p=<%=iTp.ToString()%>">上一页</a> <a href="newspl.aspx?<%=sPageStr %>&p=<%=iNp.ToString()%>">下一页</a> <a href="newspl.aspx?<%=sPageStr %>&p=<%=iPageCount.ToString()%>">尾页</a> <span class="color3">|</span> <input type="text" size="5" id="iPageIndex" class="inputText" /> <input type="button" value="转到" onclick="goPage()" class="bt1" /></td>
		  </tr>
</table>
</div>
</div></div>
</body>
</html>
