<?php (!defined('IN_ADMIN') || !defined('IN_MUDDER')) && exit('Access Denied'); ?>
<div id="body">
<form method="post" action="admincp.php?action=<?=$action?>&file=<?=$file?>&">
    <div class="space">
        <div class="subtitle">不规范点评举报</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr class="altbg2"><th colspan="8">
                <ul class="subtab">
                    <li<?=$disposal==2?' class="current"':''?>><a href="admincp.php?action=<?=$action?>&file=<?=$file?>&disposal=2">未处理</a></li>
                    <li<?=$disposal==1?' class="current"':''?>><a href="admincp.php?action=<?=$action?>&file=<?=$file?>&op=<?=$op?>&disposal=1">已处理</a></li>
                </ul>
            </th></tr>
            <tr class="altbg1">
                <td width="5%">[<a href="javascript:;" onclick="allchecked();">选</a>]</td>
                <td width="20%">举报对象</td>
                <td width="15%">提交用户</td>
                <td width="10%">用户类型</td>
                <td width="20%">补充内容</td>
                <td width="10%">举报类型</td>
                <td width="12%">提交时间</td>
                <td width="8%">处理</td>
            </tr>
            <?if($reports) {foreach($reports as $report){?>
            <tr>
                <td><input type="checkbox" name="reportids[]" value="<?=$report['reportid']?>" /></td>
                <td><?if($report['shopname']){?><a href=<?=$MOD['url']?>"viewreview.php?reviewid=<?=$report['reviewid']?>" target="_blank">点评:<?=$report['shopname']?></a><?}else{?>不存在或已删除<?}?></td>
                <td><?if($report['uid'] > 0 ) { ?><a href="<?=$_modules['space']['url'].'index.php?suid='.$report['uid']?>" target="_blank"><?=$report['username']?></a><?}else{?><?=$report['username']?><?}?></td>
                <td><?if($report['uid'] > 0){?>会员<?}else{?>游客<?}?></td>
                <td><?=$report['reportcontent']?></td>
                <td><?=$report_arr[$report['sort']]?></td>
                <td><?=$report['posttime']?></td>
                <td><a href="admincp.php?action=<?=$action?>&file=editreview&op=reviewreport&reportid=<?=$report['reportid']?>"><?if($report['disposal']==1){?>已处理<?}else{?>未处理</span><?}?></a></td>
            </tr>
            <?}}?>
        </table>
        <div class="multipage"><?=$multipage?></div>
        <br /><center><input type="submit" name="dosubmit" value=" 删除所选 " class="btn" /></center>
    </div>
</form>
</div>