<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<link href=images/style.css rel=stylesheet type=text/css>
<script language="JavaScript" src="js/common.js" type="text/javascript"></script>
<body>
<br>
<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
      
	  <tr class=header>
        <td height=25>&nbsp;投诉列表</td>
      </tr>
	  
      <tr>
        <td bgcolor=#FFFFFF align=center>
		<table width=100% align=center border=0 cellspacing=1 cellpadding=0 bgcolor="#DBEAF5">
          <form action="" method=post onSubmit="return checkform(this);">
            <tr bgcolor=#CED4E8 align="center">
              <td width="5%" height=25>编号</td>
              <td width="12%">投诉商家ID</td>
              <td width="8%">投诉人ID</td>
              <td width="15%">订单号</td>
              <td width="25%">投诉说明</td>
              <td width="15%">投诉日期</td>
              <td width="10%">处理状态</td>
            </tr>
<?php
foreach($reports AS $row)
{
?>
            <tr bgcolor=#FFFFFF align=center>
              <td><input name="id[]" type="checkbox" id="id[]" value="<?=$row[id]?>" />
              <?=$row[id]?></td>
              <td align=center><?=$row[comid]?>&nbsp;&nbsp;<a href="../com.php?act=view&id=<?=$row[comid]?>" target="_blank"><?=$row[comid]?></a></td>
			  <td><a href="member.php?act=edit&id=<?=$row[userid]?>" target="_blank"><?=$row[userid]?></a></td>
              <td><?=$row[orderid]?></td>
              <td><?=$row[content]?></td>
              <td><?=$row[postdate]?></td>
              <td><a href="report.php?act=batch&id=<?=$row[id]?>" onClick="if(!confirm('确定要变更吗？'))return false;"><?=$row[zt]?></a></td>
            </tr>
<?}?>			
           <tr bgcolor=#FFFFFF align=left>
		  <td height="26" colspan="7" bgcolor="#CED4E8">
		  <input type="hidden" name="act" value="delete">
			  <input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/><input name="submit" type="submit" id="submit" value=" 批量删除 " onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;"> &nbsp;&nbsp;<? include tpl('page');?>
			</td>
         </tr>
        </form>
		</table>
		
		
		</td>
      </tr>
</table>
</body>
</html>