<%@ page language="C#" autoeventwireup="true" inherits="admin_news, 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="news.aspx" id="fSearch" class="layui-form" method="get" name="fSearch">
<input type="hidden" value="<%=s %>" name="s" id="s" />
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr><td class="mhead1">
<div class="item"><ul class="sortul"><li><strong>分类：</strong></li><%=sNewsSort%></ul><div class="clear"></div></div>
搜索： 
<input type="text" size="20" class="inputText" name="k" value="<%=k%>" /> <input type="submit" class="layui-btn layui-btn-small" value="搜索" /></td></tr></thead>
</table>
</form>
<script language="javascript" type="text/javascript">
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
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("news.aspx?s=<%=s %>&k=<%=k %>&p="+document.getElementById("iPageIndex").value)
}
</script>
<form action="action.aspx?s=delNews" class="layui-form" method="post" name="del">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr><td class="mhead1" colspan="6"><input type="radio" name="a" value="1" checked="checked" title="删除" /> <input type="submit" name="Submit" value="确定" class="layui-btn layui-btn-small" /></td></tr>
</thead>
</table>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="70" class="mhead1"><input type="checkbox" lay-filter="checkAll" lay-skin="primary" /> 全选 id</td>
<td width="60" class="mhead1">显示</td>
<td class="mhead1">标题</td>
<td width="130" class="mhead1">日期</td>
<td width="130" class="mhead1">操作</td></tr>
</thead>
<%=sList %>
<tr>
<td class="mhead1" colspan="6">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="news.aspx?<%=sPageStr %>&p=1">首页</a> <a href="news.aspx?<%=sPageStr %>&p=<%=iTp.ToString()%>">上一页</a> <a href="news.aspx?<%=sPageStr %>&p=<%=iNp.ToString()%>">下一页</a> <a href="news.aspx?<%=sPageStr %>&p=<%=iPageCount.ToString()%>">尾页</a> <span class="color3">|</span> <input type="text" class="inputText" size="5" id="iPageIndex" /> <input type="button" value="转到" onclick="goPage()" class="bt1" /></td>
</tr>
</table>
</form>
</div>
</div></div>
</body>
</html>
