<?php
require_once('common.php');
//************************执行代码开始*************************
$qid=is_numeric($_GET['qid'])?$_GET['qid']:'0';
if(!$qid || !$qqrow=$db->get_row("select * from ".C('DB_PREFIX')."qqs where qid='$qid' and uid='$userrow[uid]' limit 1")){
	exit("<script language='javascript'>alert('QQ不存在！');window.location.href='/mgmt';</script>");
}
if($_GET['do']=='change'){
	if(!C('webfree') && !get_isvip($userrow[vip],$userrow[vipend])){
		echo"<script language='javascript'>alert('对不起，你不是VIP,无法开启功能！');</script>";
	}else{
		$the=$_GET['the'];
		$is=is_numeric($_GET['is'])?$_GET['is']:'0';
		if($ths=='3gqq' || $ths='ts' || $ths='ht' || $ths='qd' || $ths='vipqd' || $ths='zyzan' || $ths='del' || $ths='ly'){
			$db->query("update ".C('DB_PREFIX')."qqs set is{$the}='$is' where qid='$qid'");
			$qqrow=$db->get_row("select * from ".C('DB_PREFIX')."qqs where qid='$qid' and uid='$userrow[uid]' limit 1");
		}
	}
}elseif($_GET['do']=='del'){
	$db->query("delete from ".C('DB_PREFIX')."qqs where qid='$qid'");
	exit("<script language='javascript'>alert('删除成功！');window.location.href='/mgmt';</script>");
}



//**************************执行代码开始*******************************

C('webtitle','QQ'.$qqrow['qq']);
C('pageid','qqlist');
include_once 'common.head.php';

?>
<block name="page">
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>QQ管理</h2>
            <ol class="breadcrumb">
                <li>
                    主页
                </li>
                <li>
                    添加QQ
                </li>
				<li>
                    <strong>QQ列表</strong>
                </li>
            </ol>
        </div>
        <div class="col-lg-2">

        </div>
    </div>
	<div class="wrapper wrapper-content">
        <div class="row animated fadeInRight">
            <div class="col-md-6">
                <div class="ibox float-e-margins">
                    <div>
					<Script Language="JavaScript">
　　 image = new Array(3); //定义image为图片数量的数组
　　 image [0] = 'http://pic.6188.com/upload_6188s/flashAll/s800/20130814/1376443022cPHRtm.jpg' //背景图象的路径
　　 image [1] = 'http://pic4.bbzhi.com/fengjingbizhi/haiyangshijiedongtaizhuomianbizhi/haiyangshijiedongtaizhuomianbizhi_399933_8.jpg'
　　 image [2] = 'http://img2.3lian.com/2014/f3/71/d/117.jpg'
　　 image [3] = 'http://img13.poco.cn/mypoco/myphoto/20120606/20/59834226201206062033402174259490127_005.jpg'

　　 number = Math.floor(Math.random() * image.length);
	 document.write("<div class='ibox-content no-padding border-left-right' style='background: url("+image[number]+");text-align: center;background-size: cover;'>");
</Script>
                        
                            <img src="//q4.qlogo.cn/headimg_dl?dst_uin=<?=$qqrow['qq']?>&spec=100" class="img-circle circle-border m-b-md" alt="QQ:<?=$qqrow['qq']?>的头像" style="margin-top: 20px;width: 150px;">
                        </div>
                        <div class="ibox-content profile-content">
                            <h4><strong># <?=$qqrow['qq']?></strong><span style="float:right;margin-top: -6px;"><a type="button" class="btn btn-danger" href="?do=del&qid=<?=$qqrow[qid]?>" class="btn btn-block btn-danger" onClick="if(!confirm('确认删除？')){return false;}">删除</a> <a href="addgx.php?qid=<?=$qqrow[qid]?>" type="button" class="btn btn-warning">一键更新</a> </span></h4>
                            <hr/>
                            <p><a class="btn btn-white btn-bitbucket">
                            <i class="fa fa-user-md">sid:<?php if($qqrow['sidzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{echo'<font color="green">[正常]</font>';}?></i>
                        </a>
						<a class="btn btn-white btn-bitbucket">
                            <i class="fa fa-user-md">skey:<?php if($qqrow['skeyzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{echo'<font color="green">[正常]</font>';}?></i>
                        </a>
							<a class="btn btn-white btn-bitbucket">
                            <i class="fa fa-user-md">pcskey:<?php if($qqrow['sidzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{if($qqrow['skeyzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{echo'<font color="green">[正常]</font>';};}?></i>
                        </a>
						<a class="btn btn-white btn-bitbucket">
                            <i class="fa fa-user-md">cpskey:<?php if($qqrow['sidzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{if($qqrow['skeyzt']){echo'<font color="red">&nbsp;[失效]</font>';}else{echo'<font color="green">[正常]</font>';};}?></i>
                        </a>
						<a class="btn btn-white btn-bitbucket">
                            <i class="fa fa-star">添加时间:<?=$qqrow['addtime']?></i>
                        </a>
                            </p>

                            <p>更多操作：<a class="btn btn-danger btn-rounded" href="/mzrz.php?uin=<?=$qqrow[qq]?>" target="_blank">秒赞认证</a>&nbsp;|&nbsp;
							<a class="btn btn-primary btn-rounded" href="/quanz.php?qq=<?=$qqrow[qq]?>&qid=<?=$qqrow[qid]?>">刷圈圈赞</a>&nbsp;|&nbsp;
							<a class="btn btn-success btn-rounded" href="/cipdl.php?qq=<?=$qqrow[qq]?>&sid=<?=$qqrow[sid]?>&qid=<?=$qqrow[qid]?>"> 领图书VIP[每月1次]</a>&nbsp;|&nbsp;
							<a class="btn btn-warning btn-rounded" href="/jq.php">免KEY加群</a>
                            </p>
                            <div class="user-button">
                                <div class="row">
                                    <div class="col-md-6">
                                        <a href="dxjc.php?qid=<?=$qqrow[qid]?>" class="btn btn-success btn-sm btn-block"><i class="fa fa-users"></i> 单向好友检测</a>
                                    </div>
                                    <div class="col-md-6">
                                        <a href="mzjc.php?qid=<?=$qqrow[qid]?>" class="btn btn-success btn-sm btn-block"><i class="fa fa-male"></i> 秒赞好友检测</a>
                                    </div>
                                    <div class="col-md-6">
                                        <a href="/music.php" class="btn btn-success btn-sm btn-block"><i class="fa fa-tag"></i> 空间音乐查询</a>
                                    </div>
                                    <div class="col-md-6">
                                        <a href="/qzyc.php?qq=<?=$qqrow[qq]?>" class="btn btn-success btn-sm btn-block"><i class="fa fa-thumbs-up"></i> 空间状态查询</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
			        <div class="row">
            <div class="col-sm-6">
                <div class="tabs-container ibox-content">
                    <ul class="nav nav-tabs ">
                        <li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 空间功能</a>
                        </li>
                        <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">签到功能</a>
                        </li>
						<li class=""><a data-toggle="tab" href="#tab-3" aria-expanded="false">签到②功能</a>
                        </li>
                    </ul>
                    <div class="tab-content ibox-content">
                        <div id="tab-1" class="tab-pane active">
                            <div class="feed-activity-list">
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=auto&is=<?php if($qqrow['isauto']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isauto.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=auto&is=<?php if($qqrow['isauto']){echo 0;}else{echo 1;}?>" class="<?=getxz($qqrow[isauto],1)?>"><?=getxz($qqrow[isauto])?></a></small><strong>自动更新</strong><br><small class="text-muted"><?=zhtime($qqrow['lastauto'])?></small><br></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=zan#zan" class="pull-left"><img alt="image" class="img-circle" src="/style/img/iszan.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=zan#zan" class="<?=getxz($qqrow[iszan],1)?>"><?=getxz($qqrow[iszan])?></a></small><strong data-toggle="tooltip" data-placement="top" title="24H离线秒赞好友动态">说说秒赞</strong><br><small class="text-muted"><?=zhtime($qqrow['lastzan'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-mz.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=reply#reply" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isreply.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=reply#reply" class="<?=getxz($qqrow[isreply],1)?>"><?=getxz($qqrow[isreply])?></a></small><strong>说说秒评</strong><br><small class="text-muted"><?=zhtime($qqrow['lastreply'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-reply.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=zf#zf" class="pull-left"><img alt="image" class="img-circle" src="/style/img/iszf.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=zf#zf" class="<?=getxz($qqrow[iszf],1)?>"><?=getxz($qqrow[iszf])?></a></small><strong>转发说说</strong><br><small class="text-muted"><?=zhtime($qqrow['lastzf'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-zfshuo.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qt#qt" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqt.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qt#qt" class="<?=getxz($qqrow[isqt],1)?>"><?=getxz($qqrow[isqt])?></a></small><strong>说说圈图</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqt'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-quantu.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=shuo#shuo" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isshuo.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=shuo#shuo" class="<?=getxz($qqrow[isshuo],1)?>"><?=getxz($qqrow[isshuo])?></a></small><strong>自动说说</strong><br><small class="text-muted"><?=zhtime($qqrow['lastshuo'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-shuo.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=del&is=<?php if($qqrow['isdel']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isdel.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=del&is=<?php if($qqrow['isdel']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isdel],1)?>"><?=getqd($qqrow[isdel])?></a></small><strong>删除说说</strong><br><small class="text-muted"><?=zhtime($qqrow['lastdel'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-delshuo.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=dell&is=<?php if($qqrow['isdell']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isdel.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=dell&is=<?php if($qqrow['isdell']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isdell],1)?>"><?=getqd($qqrow[isdell])?></a></small><strong>删除留言</strong><br><small class="text-muted"><?=zhtime($qqrow['lastdell'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-delly.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=ly&is=<?php if($qqrow['isly']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isly.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=ly&is=<?php if($qqrow['isly']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isly],1)?>"><?=getqd($qqrow[isly])?></a></small><strong>互刷留言</strong><br><small class="text-muted"><?=zhtime($qqrow['lastly'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-ly.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=lw&is=<?php if($qqrow['islw']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/islw.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=lw&is=<?php if($qqrow['islw']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[islw],1)?>"><?=getqd($qqrow[islw])?></a></small><strong>互刷礼物</strong><br><small class="text-muted"><?=zhtime($qqrow['lastlw'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-lw.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=zyzan&is=<?php if($qqrow['iszyzan']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/iszyzan.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=zyzan&is=<?php if($qqrow['iszyzan']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[iszyzan],1)?>"><?=getqd($qqrow[iszyzan])?></a></small><strong>互赞主页</strong><br><small class="text-muted"><?=zhtime($qqrow['lastzyzan'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-zyz.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=rq&is=<?php if($qqrow['isrq']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqunqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=rq&is=<?php if($qqrow['isrq']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isrq],1)?>"><?=getqd($qqrow[isrq])?></a></small><strong>互刷人气</strong><br><small class="text-muted"><?=zhtime($qqrow['lastrq'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-rq.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			</div>
                        </div>
                        <div id="tab-2" class="tab-pane">
                            <div class="feed-activity-list">
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=vipqd&is=<?php if($qqrow['isvipqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isvipqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=vipqd&is=<?php if($qqrow['isvipqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isvipqd],1)?>"><?=getqd($qqrow[isvipqd])?></a></small><strong>会员签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastvipqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-vipqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=qb&is=<?php if($qqrow['isqb']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqb.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=qb&is=<?php if($qqrow['isqb']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isqb],1)?>"><?=getqd($qqrow[isqb])?></a></small><strong>钱包签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqb'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qbqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=ht&is=<?php if($qqrow['isht']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isht.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=ht&is=<?php if($qqrow['isht']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isht],1)?>"><?=getqd($qqrow[isht])?></a></small><strong>花藤服务</strong><br><small class="text-muted"><?=zhtime($qqrow['lastht'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-ht.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=ts&is=<?php if($qqrow['ists']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/ists.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=ts&is=<?php if($qqrow['ists']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[ists],1)?>"><?=getqd($qqrow[ists])?></a></small><strong>图书签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastts'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-tsqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=lq&is=<?php if($qqrow['islq']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/islz.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=lq&is=<?php if($qqrow['islq']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[islq],2)?>"><?=getqd($qqrow[islq])?></a></small><strong>绿钻签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastlq'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-lzqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
            <div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=gameqd&is=<?php if($qqrow['isgameqd']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/islz.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=gameqd&is=<?php if($qqrow['isgameqd']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isgameqd],1)?>"><?=getqd($qqrow[isgameqd])?></a></small><strong>蓝钻签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastgameqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-gameqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=nc&is=<?php if($qqrow['isnc']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=nc&is=<?php if($qqrow['isnc']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isnc],1)?>"><?=getqd($qqrow[isnc])?></a></small><strong>农场签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastnc'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-ncqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=mc&is=<?php if($qqrow['ismc']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=mc&is=<?php if($qqrow['ismc']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[ismc],1)?>"><?=getqd($qqrow[ismc])?></a></small><strong>牧场签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastmc'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-mcqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qqd#qqd" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqunqd.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qqd#qqd" class="<?=getqd($qqrow[isqqd],1)?>"><?=getqd($qqrow[isqqd])?></a></small><strong>QQ群签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qunqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qwqd#qwqd" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqunqd.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qwqd#qwqd" class="<?=getqd($qqrow[isqwqd],1)?>"><?=getqd($qqrow[isqwqd])?></a></small><strong>QQ群问签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqwqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qwqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qd#qd" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqd.png"></a><div class="media-body"><small class="pull-right"><a href="qqset.php?qid=<?=$qqrow[qid]?>&xz=qd#qd" class="<?=getxz($qqrow[isqd],1)?>"><?=getxz($qqrow[isqd])?></a></small><strong>空间签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>	
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=mqqd&is=<?php if($qqrow['ismqqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=mqqd&is=<?php if($qqrow['ismqqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[ismqqd],1)?>"><?=getqd($qqrow[ismqqd])?></a></small><strong>超Q签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastmqqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-cqqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=cwqd&is=<?php if($qqrow['iscwqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=cwqd&is=<?php if($qqrow['iscwqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[iscwqd],1)?>"><?=getqd($qqrow[iscwqd])?></a></small><strong>QQ宠物签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastcwqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-cwqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			</div>
                        </div>
						<div id="tab-3" class="tab-pane">
                            <div class="feed-activity-list">
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=hlwqd&is=<?php if($qqrow['ishlwqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/ishlw.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=hlwqd&is=<?php if($qqrow['ishlwqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[ishlwqd],1)?>"><?=getqd($qqrow[ishlwqd])?></a></small><strong>好莱坞VIP签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lasthlwqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-hlwqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=dldqd&is=<?php if($qqrow['isdldqd']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isdou.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=dldqd&is=<?php if($qqrow['isdldqd']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isdldqd],1)?>"><?=getqd($qqrow[isdldqd])?></a></small><strong>大乐斗签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastdldqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-dldqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=slqd&is=<?php if($qqrow['isslqd']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isgame.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=slqd&is=<?php if($qqrow['isslqd']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[isslqd],1)?>"><?=getqd($qqrow[isslqd])?></a></small><strong>3366小游戏签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastslqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-slqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=wyqd&is=<?php if($qqrow['iswyqd']){echo 0;}else{echo 1;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/iswy.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=wyqd&is=<?php if($qqrow['iswyqd']){echo 0;}else{echo 1;}?>" class="<?=getqd($qqrow[iswyqd],1)?>"><?=getqd($qqrow[iswyqd])?></a></small><strong>微云签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastwyqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-wyqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=gjqd&is=<?php if($qqrow['isgjqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isgj.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=gjqd&is=<?php if($qqrow['isgjqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isgjqd],2)?>"><?=getqd($qqrow[isgjqd])?></a></small><strong>QQ管家签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastgjqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-gjqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=yyqd&is=<?php if($qqrow['isyyqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isyy.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=yyqd&is=<?php if($qqrow['isyyqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isyyqd],2)?>"><?=getqd($qqrow[isyyqd])?></a></small><strong>应用签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastyyqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-yyqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=qlqd&is=<?php if($qqrow['isqlqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isql.jpg"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=qlqd&is=<?php if($qqrow['isqlqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isqlqd],2)?>"><?=getqd($qqrow[isqlqd])?></a></small><strong>情侣签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqlqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qlqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=blqd&is=<?php if($qqrow['isblqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqunqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=blqd&is=<?php if($qqrow['isblqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isblqd],2)?>"><?=getqd($qqrow[isblqd])?></a></small><strong>部落签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastblqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-blqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizable=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=dtqd&is=<?php if($qqrow['isdtqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/game.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=dtqd&is=<?php if($qqrow['isdtqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isdtqd],2)?>"><?=getqd($qqrow[isdtqd])?></a></small><strong>大厅签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastdtqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-dtqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizadte=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=qqllqqd&is=<?php if($qqrow['isqqllqqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/qqllq.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=qqllqqd&is=<?php if($qqrow['isqqllqqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isqqllqqd],2)?>"><?=getqd($qqrow[isqqllqqd])?></a></small><strong>QQ浏览器积分签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastqqllqqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-qqllqqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizaqqllqe=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			<div class="feed-element"><a href="?qid=<?=$qid?>&do=change&the=jfqd&is=<?php if($qqrow['isjfqd']){echo 0;}else{echo 2;}?>" class="pull-left"><img alt="image" class="img-circle" src="/style/img/isqunqd.png"></a><div class="media-body"><small class="pull-right"><a href="?qid=<?=$qid?>&do=change&the=jfqd&is=<?php if($qqrow['isjfqd']){echo 0;}else{echo 2;}?>" class="<?=getqd($qqrow[isjfqd],2)?>"><?=getqd($qqrow[isjfqd])?></a></small><strong>QQ欢乐积分商城签到</strong><br><small class="text-muted"><?=zhtime($qqrow['lastjfqd'])?></small><br><small class="text-muted"><a href="#" onclick="javascript:window.open('/cron/test-jfqd.php?&n=1&qid=<?=$qqrow[qid]?>','newwindow', 'toolbar=no,scrollbars=yes,resizaqqllqe=no,top=0,left=0, width=400,height=300');">手动执行</a></small></div></div>
			</div>
                        </div>
                    </div>

</div>
                </div>
            </div>

    </div>

    <!-- Mainly scripts -->
<?php
include_once 'common.foot.php';

?>

</block>






			
			
		