<!-- ############ PAGE START-->
<style>*{padding: 0;margin: 0;}</style>
<div class="row-col">
    <div class="col-lg b-r">
        <div class="padding">
            <div class="row">
                <?php if (wp_is_mobile()==false){?>
                <div class="col-sm-8 BinySilderDemo text-center" width="930px"></div>
                <?php }?>
                <div class="col-sm-<?php if (wp_is_mobile()==false){?>4<?php }else{?>12<?php }?>">
                    <div class="box">
                        <div class="box-header b-b">
                            <h3>公告栏</h3>
                        </div>
                        <ul class="box-body" style="max-height:340px;height:340px;line-height:30px;">
                            <?=TFYT('users_notice')?>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6 col-md-4 col-lg-3">
                    <div class="box p-a">
                        <div class="pull-left m-r">
                            <span class="avatar w-40 text-center rounded primary">
                              <span class="fa fa-dollar"></span>
                            </span>
                        </div>
                        <div class="clear">
                            <h4 class="m-a-0 text-md"><a href="#"><?=$GLOBALS['users']['p_quota']?> <span class="text-sm">个</span></a></h4>
                            <small class="text-muted">播放器数量</small>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-md-4 col-lg-3">
                    <div class="box p-a">
                        <div class="pull-left m-r">
                            <span class="avatar w-40 text-center rounded info">
                              <span class="fa fa-female"></span>
                            </span>
                        </div>
                        <div class="clear">
                            <h4 class="m-a-0 text-md"><a href="#"><?=$GLOBALS['users']['q_quota']?> <span class="text-sm">个</span></a></h4>
                            <small class="text-muted">挂机配额</small>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-md-4 col-lg-3">
                    <div class="box p-a">
                        <div class="pull-left m-r">
                            <span class="avatar w-40 text-center rounded success">
                              <span class="fa fa-bookmark"></span>
                            </span>
                        </div>
                        <div class="clear">
                            <h4 class="m-a-0 text-md"><a href="#"><?=$GLOBALS['users']['money']?> <span class="text-sm">个</span></a></h4>
                            <small class="text-muted">彩虹屁</small>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-md-4 col-lg-3">
                    <div class="box p-a">
                        <div class="pull-left m-r">
                            <span class="avatar w-40 text-center rounded warning">
                              <span class="fa fa-comment"></span>
                            </span>
                        </div>
                        <div class="clear">
                            <h4 class="m-a-0 text-md"><a href="#"><?=$GLOBALS['users']['u_quota']?> <span class="text-sm">个</span></a></h4>
                            <small class="text-muted">歌曲配额</small>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="box">
                        <div class="box-header">
                            <h3>新的消息</h3>
                        </div>
                        <ul class="list-group no-border m-b">
                            <?php if(!empty($GLOBALS['player_list'])){ foreach($GLOBALS['player_list'] as $item){ ?>
                            <li class="list-group-item">
                                <a href="#" class="pull-left w-40 m-r"><img src="http://q2.qlogo.cn/headimg_dl?bs=<?=get_data('users','qq',"only='{$item->only}'")?>&dst_uin=<?=get_data('users','qq',"only='{$item->only}'")?>&dst_uin=<?=get_data('users','qq',"only='{$item->only}'")?>&;dst_uin=<?=get_data('users','qq',"only='{$item->only}'")?>&spec=100&url_enc=0&referer=bu_interface&term_type=PC" class="img-responsive img-circle" alt="."></a>
                                <div class="clear">
                                    <a href="#" class="_500 block"><?=get_data('users','name',"only='{$item->only}'")?>添加了音乐播放器。</a>
                                    <span class="text-muted text-ellipsis">在<?=get_last_time($item->addtime)?>,<?=get_data('users','name',"only='{$item->only}'")?>添加了音乐播放器，该播放器目前有<?=get_count('player_song',"player_id='{$item->id}'")?>个歌单和<?=get_count('player_music',"only='{$item->only}'")?>首歌！</span>
                                </div>
                            </li>
                            <?php } }?>
                        </ul>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="box">
                        <div class="box-header b-b">
                            <h3>登录记录</h3>
                        </div>
                        <ul class="list">
                            <?php if(!empty($GLOBALS['users_lastlog'])){ foreach($GLOBALS['users_lastlog'] as $item){ ?>
                            <li class="list-item">
                                <div class="list-body">
                                    <div class="text-ellipsis">你上一次登录在<a class="text-info"><?=get_last_time($item->lasttime)?></a>，登录IP为：<?=$item->lastip?>,<?=$item->lastcity?'来自：'.$item->lastcity:'。'?>。 </div>
                                    <small class="block text-muted"><i class="fa fa-fw fa-clock-o"></i> <?=get_last_time($item->lasttime)?></small>
                                </div>
                            </li>
                            <?php } }?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg w-lg w-auto-md white bg">
        <div>
            <div class="p-a">
                <h6 class="text-muted m-a-0">网站客服</h6>
            </div>
            <div class="list inset">
                <?php if(!empty($GLOBALS['leader_list'])){ foreach($GLOBALS['leader_list'] as $item){ ?>
                <a class="list-item" href="tencent://ContactInfo/?subcmd=ViewInfo&puin=0&uin=<?=$item->qq?>">
		            <span class="list-left">
		            	<span class="avatar">
		            		<i class="on avatar-center no-border"></i>
		                	<img src="http://q2.qlogo.cn/headimg_dl?bs=<?=$item->qq?>&dst_uin=<?=$item->qq?>&dst_uin=<?=$item->qq?>&;dst_uin=<?=$item->qq?>&spec=100&url_enc=0&referer=bu_interface&term_type=PC" class="w-20" alt=".">
		                </span>
		            </span>
                    <span class="list-body text-ellipsis">
		            	<?=$item->name?>-QQ：<?=$item->qq?>
		            </span>
                </a>
                <?php } }?>
            </div>
            <div class="p-a">
                <h6 class="text-muted m-a-0">网站活动</h6>
            </div>
            <div class="streamline streamline-theme m-b">
                <div class="sl-item b-success">
                    <div class="sl-content">
                        <div>新用户可参与一次 <a data-toggle="modal" data-target="#m-a-a" data-ui-toggle-class="fade-down" data-ui-target="#animate" class="text-info">抽奖</a></div>
                        <div class="sl-date text-muted">30分钟前</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- .modal -->
<div id="m-a-a" class="modal" data-backdrop="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">新用户抽奖</h5>
            </div>
            <div class="box-body text-center">
                <p>你还有<code id="luck-num"><?=$GLOBALS['users']['luck']?'0':'1'?></code>次机会！</p>
                抽奖结果：
                <div class="progress">
                    <div class="progress-bar success luck-progress" style="width: 0%"></div>
                </div>
                <p><code id="luck-result"></code></p>
            </div>
            <div class="modal-footer">
                <button type="button" name="luck-button" class="btn success p-x-md">抽奖</button>
                <button type="button" class="btn danger p-x-md" data-dismiss="modal">关闭</button>
            </div>
        </div><!-- /.modal-content -->
    </div>
</div>
<!-- / .modal -->
<!-- ############ PAGE END-->