<%@ page language="C#" autoeventwireup="true" inherits="acad_biz_chanpin, App_Web_ekj90pzt" %><%@ 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>QTH8分类信息系统 后台管理</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">
<table width="985" border="0" class="table1" cellspacing="0" cellpadding="0">
<tr><td class="mhead" colspan="6">评论管理</td></tr>
<form action="plgl.aspx" id="fSearch" method="get" name="fSearch">
<tr><td class="mhead1" colspan="6">共<%=iRecordCount%>条评论 <span class="color3">|</span> 筛选<input type="radio" name="s" checked="checked" value="" onclick="fSearch.submit()" />全部 <input type="radio" name="s" value="0" onclick="fSearch.submit()" />未审核 <input type="radio" name="s" value="1" onclick="fSearch.submit()" />已审核  <span class="color3">|</span> 搜索 
      <input type="text" size="20" name="k" value="<%=k%>" />　<input type="submit" value="搜索" /></td></tr>
</form>
<form action="action.aspx?s=delComments" method="post" name="del">
<tr><td class="mhead1" colspan="6"><input type="checkbox" id="checkAll" onClick="actionCheck()" />全选 <input type="radio" name="a" checked="checked" value="0" />审核 <input type="radio" name="a" value="1" />删除 <input type="submit" name="Submit" value="确定" /></td></tr>
<tr>
<td width="60" class="mhead1">id</td>
<td width="30" class="mhead1">审核</td>
<td width="60" class="mhead1">信息id</td>
<td width="500" class="mhead1">评论内容</td>
<td width="130" class="mhead1">日期</td>
<td width="100" class="mhead1">ip</td></tr>
<%=sList %>
</form>
<tr>
<td class="mhead1" colspan="6">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="plgl.aspx?<%=sPageStr %>&p=1">首页</a> <a href="plgl.aspx?<%=sPageStr %>&p=<%=iTp.ToString()%>">上一页</a> <a href="plgl.aspx?<%=sPageStr %>&p=<%=iNp.ToString()%>">下一页</a> <a href="plgl.aspx?<%=sPageStr %>&p=<%=iPageCount.ToString()%>">尾页</a> <span class="color3">|</span> <input type="text" size="5" id="iPageIndex" /> <input type="button" value="转到" onclick="goPage()" /></td>
		  </tr>
</table>
</div>
</div></div>
<script language="javascript" type="text/javascript">
		  
		  
		  function goPage()
		  {
		     window.location.replace("plgl.aspx?p="+document.getElementById("iPageIndex").value)
		  }
		  function actionCheck()
  {
  	if(document.getElementById("checkAll").checked==true)
	{
		var element=document.getElementsByName("id")
		for(i=0;i<element.length;i++)
		{
			element[i].checked=true;
		}
	}
	else
	{
		var element=document.getElementsByName("id")
		for(i=0;i<element.length;i++)
		{
			element[i].checked=false;
		}
	}
  }
  
		  var s="<%=s%>"
		  var obj=document.getElementById("fSearch").s
		  for(i=0;i<obj.length;i++)
		  {
		  	if(obj[i].value==s)
			{
				obj[i].checked="checked"
				break
			}
		  }
		  </script>
</body>
</html>
