<?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="5%">[<a href="javascript:;" onclick="allchecked();">选</a>]</td>
                <td width="20%">商铺名</td>
                <td width="12%">会员</td>
                <td width="30%">内容</td>
                <td width="15%">点评时间</td>
                <td width="8%">编辑</td>
            </tr>
            <? if($reviews) { foreach($reviews as $review) { ?>
            <tr>
                <td><input type="checkbox" name="reviewid[]" value="<?=$review['rid']?>" /></td>
                <td><a href="<?=$MOD['url']?>shop.php?shopid=<?=$review['shopid']?>" target="_blank"><?=$review['shopname'].$review['subname']?></a></td>
                <td><a href="<?=$_modules['space']['url']?>index.php?suid=<?=$review['uid']?>" target="_blank"><?=$review['username']?></a></td>
                <td><?=$review['content']?></td>
                <td><?=$review['posttime']?></td>
                <td><a href="admincp.php?action=<?=$action?>&file=editreview&reviewid=<?=$review['rid']?>">编辑</a></td>
            </tr>
            <?}?>
            <tr class="altbg1">
                <td colspan="6">选择操作:&nbsp;&nbsp;&nbsp;<input type="radio" name="operation" value="1" checked="checked" /> 审核通过&nbsp;&nbsp;&nbsp;<input type="radio" name="operation" value="0" /> 删除</td>
            </tr>
            <?} else {?>
            <tr><td colspan="7">暂无信息。</td></tr>
            <?}?>
        </table>
        <div class="multipage"><?=$multipage?></div>
        <center><input type="submit" name="dosubmit" value=" 提交 " class="btn" /></center>
    </div>
</form>
</div>