<!-- ############ PAGE START-->
<div class="padding">
    <div class="row">
        <div class="col-md-3">
            <div class="box-color white pos-rlt">
                <div class="box-body text-center">
                    我的彩虹屁：<code><?=$GLOBALS['users']['money']?></code>个
                </div>
            </div>
            <div class="box">
                <div class="box-header">商品类型</div>
                <div class="box-body">
                    <ul class="nav">
                        <li class="active">
                            <a href="?Mould=Mall">
                                <span class="nav-label">
                                    <b class="label warn rounded"><?=get_count('website_goods','id')?></b>
                                </span>
                                <span class="nav-text">查看全部商品</span>
                            </a>
                        </li>
                        <li class="active">
                            <a href="?Mould=Mall&mold=vip">
                                <span class="nav-label">
                                    <b class="label warn rounded"><?=get_count('website_goods',"mold='vip'")?></b>
                                </span>
                                <span class="nav-text">VIP会员类</span>
                            </a>
                        </li>
                        <li class="active">
                            <a href="?Mould=Mall&mold=q_quota">
                                <span class="nav-label">
                                    <b class="label warn rounded"><?=get_count('website_goods',"mold='q_quota'")?></b>
                                </span>
                                <span class="nav-text">挂机配额</span>
                            </a>
                        </li>
                        <li>
                            <a href="?Mould=Mall&mold=p_quota">
                                <span class="nav-label">
                                    <b class="label primary rounded"><?=get_count('website_goods',"mold='p_quota'")?></b>
                                </span>
                                <span class="nav-text">播放器配额</span>
                            </a>
                        </li>
                        <li>
                            <a href="?Mould=Mall&mold=s_quota">
                                <span class="nav-label">
                                    <b class="label rounded"><?=get_count('website_goods',"mold='s_quota'")?></b>
                                </span>
                                <span class="nav-text">歌单配额</span>
                            </a>
                        </li>
                        <li>
                            <a href="?Mould=Mall&mold=u_quota">
                                <span class="nav-label">
                                    <b class="label rounded"><?=get_count('website_goods',"mold='u_quota'")?></b>
                                </span>
                                <span class="nav-text">音乐储存配额</span>
                            </a>
                        </li>
                        <li class="active">
                            <a href="?Mould=Mall&mold=money">
                                <span class="nav-label">
                                    <b class="label warn rounded"><?=get_count('website_goods',"mold='money'")?></b>
                                </span>
                                <span class="nav-text">彩虹屁屁</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <hr>
                <div class="box-footer">
                    <input type="hidden" name="only" value="<?=$GLOBALS['users']['only']?>">
                    <div class="input-group m-b">
                        <span class="input-group-addon">充彩虹屁：</span>
                        <input type="number" name="money" class="form-control" placeholder="你要充值多少彩虹屁屁?">
                    </div>
                    <div class="input-group m-b">
                        <span class="input-group-addon">充值方式：</span>
                        <select name="mold" class="form-control c-select">
                            <option value="0">请选择充值方式</option>
                            <option value="1">支付宝</option>
                            <option value="2">QQ</option>
                            <option value="3">微信</option>
                        </select>
                    </div>
                    <a name="recharge" src="/Includes/Library/codepay/codepay.php" class="btn btn-block info text-u-c">充值彩虹屁屁</a>
                </div>
            </div>
        </div>
        <div class="col-md-9">
            <div class="row" id="mall">
                <?php if(!empty($GLOBALS['list'])){ foreach($GLOBALS['list'] as $item){ ?>
                <div class="col-xs-6 col-sm-3 col-md-2">
                    <div class="box p-a-xs" style="height: 155px;width: 180px;background: url('<?=$item->image?>');background-size: 100% 100%;">
                        <div class="user-music-list-count" style="margin: -1px 5px 0px 5px">数量 <?=$item->stock?> 个 <span class="pull-right">彩虹屁:<?=$item->money?>个</span></div>
                        <a class="nav-link img-responsive" id="buy" name="<?=$item->name?>" gid="<?=$item->id?>" data-toggle="tooltip" data-placement="bottom" data-original-title="<?=$item->content?>" style="background: rgba(0, 0, 0, 0.11);height: 180px;width: 180px;margin: -25px 0 0 -4px;"></a>
                        <div style="background-color: rgba(255, 255, 255, 0.87);margin-top: -27px;width:180px;margin-left:-4px;/* color: white; */">
                            <div class="text-center text-ellipsis"><?=$item->name?></div>
                        </div>
                    </div>
                </div>
                <?php } }?>
            </div>
        </div>
    </div>
</div>
<!-- ############ PAGE END-->