<?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">商铺信息补充&nbsp;&nbsp;</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="checkbox_checked('upids[]');">选</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($upinfos) { foreach($upinfos as $upinfo) {?>
            <tr>
                <td><input type="checkbox" name="upids[]" value="<?=$upinfo['upid']?>" /></td>
                <td><a href="<?=$MOD['url']?>shop.php?shopid=<?=$upinfo['shopid']?>" target="_blank"><?=$upinfo['shopname']?></a></td>
                <td><?if($upinfo['uid'] > 0 ) { ?><a href="<?=$_modules['space']['url'].'index.php?suid='.$upinfo['uid']?>" target="_blank"><?=$upinfo['username']?></a><?}else{?><?=$upinfo['username']?><?}?></td>
                <td><?if( $upinfo['uid'] > 0){?>会员<?}else{?>游客<?}?></td>
                <td><?=$upinfo['upcontent']?></td>
                <td><?if($upinfo['mappoint']){?>地图报错<?}else{?>补充信息<?}?></td>
                <td><?=$upinfo['posttime']?></td>
                <td><a href="admincp.php?action=<?=$action?>&file=edititem&op=itemupdate&upid=<?=$upinfo['upid']?>"><?if($upinfo['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>