<?php
require_once('common.php');
C('webtitle','控制台');
C('pageid','control');
include_once 'common.head.php';
?>
				
				
			
			<div class="wrapper wrapper-content animated fadeInRight">
                                    <div class="row">
			<?php if($rows=$db->get_results("select * from ".C('DB_PREFIX')."qqs where uid='$userrow[uid]' order by qid desc")){ foreach($rows as $row){?>
			<div class="col-sm-4">
                   <div class="ibox">
                    <div class="ibox-title">
					<?php if($row[skeyzt]){echo'<span class="label label-danger pull-right">失效</span>';}else{echo'<span class="label label-primary pull-right">正常</span>';}?>
                        <h5>#qid<?=$row[qid]?></h5>
                    </div>
                    <div class="ibox-content">
                        <div class="team-members">
                            <a href="#"><img alt="member" class="img-circle" src="http://q2.qlogo.cn/headimg_dl?bs=qq&dst_uin=<?=$row[qq]?>&src_uin=<?=$row[qq]?>&fid=<?=$row[qq]?>&spec=100&url_enc=0&referer=bu_interface&term_type=PC">
                            </a>
                        </div>
                        <h4>QQ:<?=$row[qq]?></h4>
                        <p>
                            添加时间:<?=$row[addtime]?>
                        </p>
                        <div>
                            <a type="button" class="btn btn-danger" href="qqlist.php?do=del&qid=<?=$row[qid]?>" class="btn btn-block btn-danger" onClick="if(!confirm('确认删除？')){return false;}">删除</a> <a href="add.php?uin=<?=$row[qq]?>" type="button" class="btn btn-warning">更新</a> <a href="qqlist.php?qid=<?=$row[qid]?>" type="button" class="btn btn-success">管理</a>
                        
						</div>


                    </div>
                </div>
				</div>
				<?php }}?>
                        
						</div>
						</div>
		<?php
include_once 'common.foot.php';
?>