<%@ page language="C#" autoeventwireup="true" inherits="Admin_Link_tsmng, App_Web_plesmkih" %>
<%@ Register  Src="../Admin_Btm.ascx" TagName="ChangHope_btm" TagPrefix="Chp" %>
<%@ Register TagPrefix="ChangeHope" TagName="Chklogin" Src="~/Admin/YX_CheckLogin.ascx" %>
  <ChangeHope:Chklogin _Column="6" ID="chk1" runat="server" />
<!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 id="Head1" runat="server">
<title>无标题页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../style/style.css" type="text/css" />
<script language="javascript" type="text/javascript" src="../style/JScript.js"></script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
<tr>
<td><img src="../images/r_1.gif" alt="" /></td>
<td width="100%" background="../images/r_0.gif"></td>
<td><img src="../images/r_2.gif" alt="" /></td>
</tr>
<tr><td></td><td>    
    <form id="form1" runat="server">
    <div>
<table  align="center" cellpadding="4" cellspacing="1" border="0" width=100%  class="toptable grid">
         <tr>
          <td height="25" class="category t2" width=100>投诉/举报管理</td>
         <td class="category">
             <asp:HyperLink ID="HyperLink1" NavigateUrl="?type=ts" runat="server">[投拆管理]</asp:HyperLink>
             <asp:HyperLink ID="HyperLink2" NavigateUrl="?type=jb" runat="server">[举报管理]</asp:HyperLink>
           </td>
        </tr>
 </table>  
    <asp:Panel ID="Panel1" runat="server" Width="100%" Visible="false">
    <table width="100%" height="25" border="0" cellpadding="2" cellspacing="2" >
            <tr>
            <td height="25" class="category" width=100>搜索</td>
            <td align="right" class="style3" style="width:100px">&nbsp;&nbsp;&nbsp;关键字：</td>
                <td align="left" class="style3" style="width:100px"><asp:TextBox ID="sj" runat="server" /></td>
              <td align="right" class="style3" style="width:100px">&nbsp;&nbsp;&nbsp;查询类别：</td>
                <td align="left" class="style3" style="width:100px">
                <select name="sclass" id="sclass" runat="server">
                <option value="1">ID</option>
                <option value="2">举报人</option>
                <option value="3">被举报人</option>
                <option value="4">举报原因</option>
                <option value="5">已处理</option>
                <option value="6">未处理</option>
                <option value="7">成功</option>
                <option value="8">失败</option>
                </select>
                </td>
                                                  
                 <td align="left" class="style3">
                    <asp:Button ID="Button4" runat="server" Text="查　询" onmousemove=showBtnOver(this) onmouseout=showBtnOut(this)  CssClass="submitMiniGreen" OnClick="Button4_Click" />         
                      </td>  
            </tr>
          </table>
		  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="100%">
	<asp:DataGrid ID="dg1" AutoGenerateColumns="False" CellPadding="1" CellSpacing="1" PageSize="20"  runat="server"  Width="100%" AllowPaging="True" border=0 OnItemDataBound="dg1_ItemDataBound" > <HeaderStyle  CssClass="topbg" Height="25px" HorizontalAlign="Center" />
                 <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                   <Columns>
               <asp:TemplateColumn HeaderText="选   择">
                <ItemTemplate >
				
				 <input id="YX_CH" name="YX_CH" type="checkbox" style="border:0 " value="<%# Eval("YX_ID") %>"  />
				
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
              <asp:TemplateColumn HeaderText="I  D">
                <ItemTemplate >
			
				<%# Eval("YX_ID") %>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
			      <asp:TemplateColumn HeaderText="举报人">
                <ItemTemplate >
				<%# Eval("username")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>  
             <asp:TemplateColumn HeaderText="被举报人">
                <ItemTemplate >
				<%# Eval("reusername")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn> 
             <asp:TemplateColumn HeaderText="举报类型">
                <ItemTemplate >
				<%# Eval("yx_tstype")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn> 
             <asp:TemplateColumn HeaderText="举报原因">
                <ItemTemplate >
				<%# Eval("yx_tscontent")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
             <asp:TemplateColumn HeaderText="处理状态">
                <ItemTemplate >                
                <%# procstat(Convert.ToInt32(Eval("yx_tszt")))%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
                   <asp:TemplateColumn HeaderText="处理结果">
                <ItemTemplate >
				<%# Eval("yx_tsjg")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>   
             <asp:TemplateColumn HeaderText="举报日期">
                <ItemTemplate >
				<%# Eval("yx_tsdate")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>  
             <asp:TemplateColumn HeaderText="操　　作">
                <ItemTemplate >
				<a href="?YX_FS=Del&type=jb&YX_MID=<%#Eval("YX_ID")%>"><img src="../../Skin/skin5/IMAGES/no.gif" alt="删除" style="border:0" /></a>
                </ItemTemplate>
                  <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>			 
            </Columns>
    <PagerStyle Visible="False" />          
      </asp:DataGrid>
      
      </td>
  </tr>  
</table>
 </asp:Panel>
        <asp:Panel ID="Panel2" runat="server"  Width="100%" Visible="false">
        <table width="100%" height="25" border="0" cellpadding="2" cellspacing="2" >
            <tr>
            <td height="25" class="category" width=100>搜索</td>
            <td align="right" class="style3" style="width:100px">&nbsp;&nbsp;&nbsp;关键字：</td>
                <td align="left" class="style3" style="width:100px"><asp:TextBox ID="sj1" runat="server" /></td>
              <td align="right" class="style3" style="width:100px">&nbsp;&nbsp;&nbsp;查询类别：</td>
                <td align="left" class="style3" style="width:100px">
                <select name="sclass1" id="sclass1" runat="server">
                <option value="1">ID</option>
                <option value="2">投诉人</option>
                <option value="3">商品名称</option>
                <option value="4">投诉原因</option>
                <option value="5">已处理</option>
                <option value="6">未处理</option>
                <option value="7">成功</option>
                <option value="8">失败</option>
                </select>
                </td>
                                                  
                 <td align="left" class="style3">
                    <asp:Button ID="Button5" runat="server" Text="查　询" onmousemove=showBtnOver(this) onmouseout=showBtnOut(this)  CssClass="submitMiniGreen" OnClick="Button5_Click" />         
                      </td>  
            </tr>
          </table>
        		  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="100%">
	<asp:DataGrid ID="dg2" AutoGenerateColumns="False" CellPadding="1" CellSpacing="1" PageSize="20"  runat="server"  Width="100%" AllowPaging="True" border=0 OnItemDataBound="dg1_ItemDataBound" > <HeaderStyle  CssClass="topbg" Height="25px" HorizontalAlign="Center" />
                 <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                   <Columns>
               <asp:TemplateColumn HeaderText="选   择">
                <ItemTemplate >
				
				 <input id="YX_CH" name="YX_CH" type="checkbox" style="border:0 " value="<%# Eval("YX_ID") %>"  />
				
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
              <asp:TemplateColumn HeaderText="I  D">
                <ItemTemplate >
			
				<%# Eval("YX_ID") %>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
             <asp:TemplateColumn HeaderText="投诉人">
                <ItemTemplate >
				<%# Eval("yx_user")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
			      <asp:TemplateColumn HeaderText="商品名称">
                <ItemTemplate >
				<%# Eval("yx_productname")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>  
              <asp:TemplateColumn HeaderText="投诉类型">
                <ItemTemplate >
				<%# Eval("yx_tstype")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>

             <asp:TemplateColumn HeaderText="投诉原因">
                <ItemTemplate >
				<%# Eval("yx_tscontent")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn> 
             <asp:TemplateColumn HeaderText="处理状态">
                <ItemTemplate >                
                <%# procstat(Convert.ToInt32(Eval("yx_tszt")))%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>
                   <asp:TemplateColumn HeaderText="处理结果">
                <ItemTemplate >
				<%# Eval("yx_tsjg")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>   
             <asp:TemplateColumn HeaderText="投诉日期">
                <ItemTemplate >
				<%# Eval("yx_tsdate")%>
                </ItemTemplate>
                      <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>  
             <asp:TemplateColumn HeaderText="操　　作">
                <ItemTemplate >
				<a href="?YX_FS=Del&type=ts&YX_MID=<%#Eval("YX_ID")%>"><img src="../../Skin/skin5/IMAGES/no.gif" alt="删除" style="border:0" /></a>
                </ItemTemplate>
                  <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>			 
            </Columns>
    <PagerStyle Visible="False" />          
      </asp:DataGrid>
      
      </td>
  </tr>
</table>
          
        </asp:Panel>
 <table width="100%">
 <tr>
    <td> <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr bgcolor="#E7E7E7">
                <td align="center" bgcolor="#E7E7E7" style="width: 900px;color:#000000">
                    <asp:Label ID="Label1" CssClass="font1" runat="server" Text="Label"></asp:Label>
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>  &nbsp; 
                   <asp:HyperLink ID="start" runat="server" ForeColor="#000000">首　页</asp:HyperLink>
                      &nbsp;
                    <asp:HyperLink ID="prev" runat="server" ForeColor="#000000"> 上一页</asp:HyperLink>
                    &nbsp;
                      <asp:HyperLink ID="next" runat="server" ForeColor="#000000">下一页</asp:HyperLink>
                     &nbsp;
                      <asp:HyperLink ID="max" runat="server" ForeColor="#000000">末　页</asp:HyperLink>
                    <span class="font1">转向</span>         
                    <asp:DropDownList ID="iPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="sic">
              </asp:DropDownList> <input id="chkall" type="checkbox" onClick="CheckAll(this.form)" style="border:0 " />全选</td>
              <td align="left" style="width: 50px">
  </td><td align="left" bgcolor="#E7E7E7" style="width: 180px">
                    <asp:DropDownList ID="DropDownList1" runat="server">                                   
                       <asp:ListItem Value="0">---批量处理[投诉/举报成功](本页)---</asp:ListItem> 
                       <asp:ListItem Value="4">---批量处理[投诉/举报失败](本页)---</asp:ListItem> 
                     <asp:ListItem Value="1">---批量删除(本页)---</asp:ListItem>           
                       <asp:ListItem Value="2">---全部删除---</asp:ListItem>     
                        <asp:ListItem Value="3">---全部处理[投诉/举报成功]---</asp:ListItem>
                    </asp:DropDownList>
                  </td>
                <td align="center" style="width: 50px"><asp:Button ID="Button2" runat="server" Text="执行操作" OnClientClick="return isExc()" OnClick="Button2_Click" onmousemove=showBtnOver(this) onmouseout=showBtnOut(this)  CssClass="submitMiniGreen"/>
                </td>
            </tr>
        </table></td>
  </tr>
 </table>       
        
    </div>
    </form>
      </td><td></td>
</tr>   
<tr>
<td><img src="../images/r_4.gif" alt="" /></td>
<td></td>
<td><img src="../images/r_3.gif" alt="" /></td>
</tr>
</table>
<Chp:ChangHope_btm ID="chp1" runat="server" /></td>
</body>
</html>
