<?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="altbg1">
                <td width="20">删?</td>
                <td width="80">回应用户</td>
                <td width="*">回应内容</td>
                <td width="80">IP</td>
                <td width="100">回应时间</td>
            </tr>
            <?if($total > 0){
            while($val = $db->fetch_array($query)) {?>
            <tr>
                <td><input type="checkbox" name="deleteids[]" value="<?=$val['rid']?>" /></td>
                <td><a href="<?=$_modules['space']['url']?>index.php?suid=<?=$val['uid']?>" target="_balnk"><?=$val['username']?></a></td>
                <td><?=$val['content']?></td>
                <td><?=$val['ip']?></td>
                <td><?=date('Y-m-d H:i', $val['posttime'])?></td>
            </tr>
            <?}
            $db->free_result($query); ?>
            <tr class="altbg1">
                <td colspan="5">
                    <button type="button" onclick="checkbox_checked('deleteids[]');" class="btn2" />全选</button>
                    <input type="checkbox" name="upcredit" id="upcredit" value="1" /><label for="upcredit">删除会员积分</label>
                    <?=$multipage?>
                </td>
            </tr>
            <?} else {?>
            <tr><td colspan="5">暂无信息。</td></tr>
            <?}?>
        </table>
        <center><input type="submit" name="dosubmit" value=" 删除所选 " class="btn" /></center>
    </div>
</form>
</div>