<%@ page language="C#" autoeventwireup="true" inherits="acad_biz_chanpin, App_Web_nvq_pq3u" %><%@ 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="7">商家产品管理</td></tr>
<tr><td class="mhead1" colspan="7"><form name="fSearch" id="fSearch" action="chanpin.aspx" method="get">共<%=iRecordCount%>条信息 <span class="color3">|</span> 排序
      <input type="radio" name="a" checked="checked" value="0" onclick="fSearch.submit()" />
      最新发布 
	  <input type="radio" name="a" value="1" onclick="fSearch.submit()" />
      未审核 <span class="color3">|</span> 搜索 <input type="text" size="10" name="k" value="<%=k%>" />　<input type="submit" value="搜索" />
	      </form>
</td></tr>
<form action="action.aspx?s=delMess" method="post" name="del">
<tr><td class="mhead1" colspan="7"><input type="checkbox" id="checkAll" onClick="actionCheck()" />全选 <input type="radio" value="1" checked="checked" name="a" />审核 <input type="radio" value="0" name="a" />删除 <input type="submit" name="Submit" value=">>" /></td></tr>
<tr>
<td width="60" class="mhead1">id</td>
<td width="30" class="mhead1">审核</td>
<td width="40" class="mhead1">用户ID</td>
<td class="mhead1">标题</td>
<td width="120" class="mhead1">日期</td>
<td width="90" class="mhead1">ip</td>
<td width="50" class="mhead1"></td></tr>
<%=sList %>
</form>
<tr>
<td class="mhead1" colspan="7">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="chanpin.aspx?p=1&a=<%=a%>&k=<%=k%>">首页</a> <a href="chanpin.aspx?p=<%=iTp.ToString()%>&a=<%=a%>&k=<%=k%>">上一页</a> <a href="chanpin.aspx?p=<%=iNp.ToString()%>&a=<%=a%>&k=<%=k%>">下一页</a> <a href="chanpin.aspx?p=<%=iPageCount.ToString()%>&a=<%=a%>&k=<%=k%>">尾页</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">
		  var s="<%=a%>"
		  var obj=document.getElementById("fSearch").a
		  for(i=0;i<obj.length;i++)
		  {
		  	if(obj[i].value==s)
			{
				obj[i].checked="checked"
				break
			}
		  }
		  
		  function goPage()
		  {
		     window.location.replace("chanpin.aspx?a=<%=a %>&k=<%=k %>&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;
		}
	}
  }
		  </script>
</body>
</html>
