<%@ page language="C#" autoeventwireup="true" inherits="acad_keywords, 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.ToString() %>条信息</span></div>
<form name="fSearch" id="fSearch" action="keywords.aspx" class="layui-form" method="get">
<table width="100%" border="0" class="layui-table">
<tr><td>筛选：<input name="b" type="radio" value="" checked="checked" title="全部" /><input name="b" lay-filter="b" type="radio" value="1" title="已审" /><input name="b" lay-filter="b" type="radio" value="2" title="未审" /><input name="b" lay-filter="b" type="radio" value="3" title="标签" /> 每页 <input type="text" name="c" value="<%=c %>" class="inputText" style="width:80px;" /> 条</td></tr>
<tr>
<td>排序：<input name="a" lay-filter="a" type="radio" value="0" checked="checked" title="最新" /><input name="a" lay-filter="a" type="radio" value="1" title="最热" /><input name="a" lay-filter="a" type="radio" value="2" title="最长" /><input name="a" lay-filter="a" type="radio" value="3" title="最短" /> 搜索 <input type="text" size="10" 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("a","<%=a%>");
ckRadio("b","<%=b%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(a)', function(data){
$("#fSearch").submit();
});
form.on('radio(b)', 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("keywords.aspx?a=<%=a %>&b=<%=b %>&k=<%=k %>&p="+document.getElementById("iPageIndex").value)
}
</script>
<form action="action.aspx?s=keywords" class="layui-form" method="post">
<table width="100%" border="0" class="layui-table">
<tr>
<td><input name="" type="checkbox" id="checkAll" lay-filter="checkAll" lay-skin="primary" value="" /> 全选&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="a" value="1" checked="checked" title="删除" /><input type="radio" name="a" value="2" title="审核" />　<input type="submit" value="提交" class="layui-btn layui-btn-small" /></td>
</tr>
</table>
<ul class="klist"><%=sList %></ul></form>
<table width="100%" border="0" class="layui-table">
<tr>
<td class="mhead1">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="keywords.aspx?p=1&a=<%=a%>&b=<%=b%>&c=<%=c%>&k=<%=k%>">首页</a> <a href="keywords.aspx?p=<%=iTp.ToString()%>&a=<%=a%>&b=<%=b%>&c=<%=c%>&k=<%=k%>">上一页</a> <a href="keywords.aspx?p=<%=iNp.ToString()%>&a=<%=a%>&b=<%=b%>&c=<%=c%>&k=<%=k%>">下一页</a> <a href="keywords.aspx?p=<%=iPageCount.ToString()%>&a=<%=a%>&b=<%=b%>&c=<%=c%>&k=<%=k%>">尾页</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>
</div>
</div></div>
</body>
</html>
