<?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="15%">用户</td>
                <td width="18%">分类</td>
                <td width="14%">地区</td>
                <td width="18%">添加时间</td>
                <td width="10%">编辑</td>
            </tr>
            <? if($shops) { foreach($shops as $shop) { ?>
            <tr>
                <td><input type="checkbox" name="shopid[]" value="<?=$shop['sid']?>" /></td>
                <td><?=$shop['shopname'].$shop['subname']?></td>
                <td><?if($shop['username']!='system'){?><a href="<?=$_modules['space']['url']?>index.php?suid=<?=$shop['adduid']?>" target="_blank"><?=$shop['username']?></a><?}else{?><span class="font_2"><?=$shop['username']?></span><?}?></td>
                <td><?=$shop['classname']?></td>
                <td><?=$shop['areaname']?></td>
                <td><?=$shop['addtime']?></td>
                <td><a href="admincp.php?action=<?=$action?>&file=edititem&op=checkitem&shopid=<?=$shop['sid']?>">编辑</a></td>
            </tr>
            <?}?>
            <tr class="altbg1">
                <td colspan="7">选择操作:&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>