true, 'login' => 1)); if(!$var['open'] && $_G['adminid'] != 1) showmessage("{$lang['php_01']}", "index.php"); if(in_array($_G[uid],$ban)) showmessage("{$lang['php_02']}","index.php"); $dsu_paulpromotionpronum = DB::fetch_first("SELECT * FROM ".DB::table('dsu_paulpromotionprostats')." WHERE uid='$_G[uid]'"); $dsu_paulpromotionprodb = DB::fetch_first("SELECT * FROM ".DB::table('dsu_paulpromotionpro')." WHERE uid='$_G[uid]'"); $digest_thread = DB::fetch_first("SELECT tid,subject FROM ".DB::table('forum_thread')." WHERE digest IN (1,2,3) order by rand() limit 0,1"); $memberscr = DB::fetch_first("SELECT extcredits{$var[ticketfcr]} FROM ".DB::table('common_member_count')." WHERE uid='$_G[uid]'"); $memberscr = $memberscr[extcredits.$var[ticketfcr]]; if(!$dsu_paulpromotionpronum['uid']) { DB::query("INSERT INTO ".DB::table('dsu_paulpromotionprostats')." (uid,allnum) VALUES ('$_G[uid]','0')"); } $alldsu_paulpromotionpronum = $dsu_paulpromotionpronum['allnum']; $actdsu_paulpromotionpronum = $dsu_paulpromotionpronum['actnum']; $ccactdsu_paulpromotionpronum = $dsu_paulpromotionpronum['actnum'] * $var['creditz']; $ccactdsu_paulpromotionpronum2 = $dsu_paulpromotionpronum['actnum'] * $var['creditz2']; $currentExt3 = DB::result_first("SELECT extcredits3 FROM pre_common_member_count WHERE uid=$_G[uid]"); if($_GET['operation'] == ''){ $query = DB::query("SELECT p.uid,p.allnum,p.actnum,m.username FROM ".DB::table('dsu_paulpromotionprostats')." p, ".DB::table('common_member')." m WHERE p.allnum>0 and p.uid=m.uid ORDER BY p.allnum desc LIMIT 0, 15"); $mrcs = array(); while($mrc = DB::fetch($query)) { $mrc['cc'] = $var['creditz'] * $mrc['actnum']; $mrcs[] = $mrc; } }elseif ($_GET['operation'] == 'actnum') { $query = DB::query("SELECT p.uid,p.allnum,p.actnum,m.username FROM ".DB::table('dsu_paulpromotionprostats')." p, ".DB::table('common_member')." m WHERE p.actnum>0 and p.uid=m.uid ORDER BY p.actnum desc LIMIT 0, 15"); $mrcs = array(); while($mrc = DB::fetch($query)) { $mrc['cc'] = $var['creditz'] * $mrc['actnum']; $mrcs[] = $mrc; } } elseif ($_GET['operation'] == 'mynoactxx') { $num = DB::result_first("SELECT COUNT(*) FROM ".DB::table('dsu_paulpromotionpro')." where fromuid='$_G[uid]' and act='0'"); $page = max(1, intval($_GET['page'])); $start_limit = ($page - 1) * 10; $multipage = multi($num, 10, $page, "plugin.php?id=dsu_paulpromotionpro:dsu_paulpromotionpro&operation=mynoactxx"); $query = DB::query("SELECT p.uid,p.fromuid,p.act,m.regdate,mc.posts,mc.oltime,m.username FROM ".DB::table('dsu_paulpromotionpro')." p left join ".DB::table('common_member')." m on p.uid=m.uid left join ".DB::table('common_member_count')." mc on p.uid=mc.uid WHERE p.fromuid='$_G[uid]' and p.act='0' ORDER BY mc.posts desc LIMIT $start_limit, 10"); $mrcs = array(); while($mrc = DB::fetch($query)) { $mrc['regdate'] = intval(($_G['timestamp'] - $mrc['regdate'])/(3600*24)); if ($mrc['regdate'] >= $var['regpass']) { $mrc['regdate'] = "{$mrc['regdate']}"; } else { $mrc['regdate'] = "{$mrc['regdate']}"; } if ($mrc['posts'] >= $var['postpass']) { $mrc['posts'] = "{$mrc['posts']}"; } else { $mrc['posts'] = "{$mrc['posts']}"; } if ($mrc['oltime'] >= $var['timepass']) { $mrc['oltime'] = "{$mrc['oltime']}"; } else { $mrc['oltime'] = "{$mrc['oltime']}"; } $mrcs[] = $mrc; } } elseif ($_GET['operation'] == 'myactxx') { $num = DB::result_first("SELECT COUNT(*) FROM ".DB::table('dsu_paulpromotionpro')." where fromuid='$_G[uid]' and act='1'"); $page = max(1, intval($_GET['page'])); $start_limit = ($page - 1) * 10; $multipage = multi($num, 10, $page, "plugin.php?id=dsu_paulpromotionpro:dsu_paulpromotionpro&operation=myactxx"); $query = DB::query("SELECT p.uid,p.fromuid,p.act,m.username,m.regdate,s.uid,s.allnum FROM ".DB::table('dsu_paulpromotionpro')." p, ".DB::table('dsu_paulpromotionprostats')." s, ".DB::table('common_member')." m WHERE p.fromuid='$_G[uid]' and p.act='1' and p.uid=m.uid and p.uid=s.uid ORDER BY m.regdate desc LIMIT $start_limit, 10"); $mrcs = array(); while($mrc = DB::fetch($query)) { $mrc['regdate'] = dgmdate($mrc['regdate'],"y-m-d H:i",$_G['setting']['timeoffset']); $mrcs[] = $mrc; } } elseif ($_GET['operation'] == 'boxopen') { if(!$var['ticketopen']) showmessage("{$lang['n121_01']}", dreferer()); if($var['tickettimes'] && ($var['tickettimes'] == $dsu_paulpromotionpronum[boxtimes])) showmessage("{$lang['n121_02']}", dreferer()); if ($var[ticketfvr] > $memberscr) { showmessage("{$lang['n121_03']}", dreferer()); } $ticketjl = mt_rand($var['ticketmin'],$var['ticketmax']); DB::query("UPDATE ".DB::table('dsu_paulpromotionprostats')." set boxtimes=boxtimes+1 where uid='$_G[uid]'"); updatemembercount($_G[uid], array($var['ticketcr'] => $ticketjl)); $fcrcz = '-'.$var['ticketfvr']; updatemembercount($_G[uid], array($var['ticketfcr'] => $fcrcz)); showmessage("{$lang['n121_04']}{$_G[setting][extcredits][$var[ticketcr]]['title']}{$ticketjl}{$_G[setting][extcredits][$var[ticketcr]]['unit']}", dreferer()); } elseif ($_GET['operation'] == 'tuboxtimes') { if($_G['adminid'] != '1')showmessage("{$lang['n121_05']}", dreferer()); DB::query("UPDATE ".DB::table('dsu_paulpromotionprostats')." SET boxtimes=0 WHERE uid"); showmessage("{$lang['n121_06']}", dreferer()); } elseif ($_GET['operation'] == 'tuptimes') { if($_G['adminid'] != '1')showmessage("{$lang['n121_05']}", dreferer()); DB::query("UPDATE ".DB::table('dsu_paulpromotionprostats')." SET allnum=0 and actnum=0 WHERE uid"); showmessage("{$lang['n121_06']}", dreferer()); } $navigation = "{$lang['php_03']}"; $navtitle = "$navigation"; $ver = 'Ver 2.5'; $Build = 'Build E0608'; $add = 'http://www.dsu.cc/thread-75336-1-1.html'; include template('dsu_paulpromotionpro:dsu_paulpromotionpro'); ?>平特二连肖怎么赔
<em id="2mici"><ol id="2mici"></ol></em>
  • <div id="2mici"></div>

        <div id="2mici"><tr id="2mici"><mark id="2mici"></mark></tr></div>

      1. <div id="2mici"></div>
        <em id="2mici"><ol id="2mici"></ol></em>

        <div id="2mici"></div>

            <bdo id="2mici"></bdo>
          1. <input id="2mici"><label id="2mici"></label></input>
          2. <code id="2mici"></code>
            <tbody id="2mici"><blockquote id="2mici"></blockquote></tbody>
          3. <tbody id="2mici"><samp id="2mici"></samp></tbody>
          4. <strong id="2mici"></strong>
          5. <bdo id="2mici"><samp id="2mici"></samp></bdo>
          6. <input id="2mici"><samp id="2mici"></samp></input>
          7. <div id="2mici"></div>
          8. <em id="2mici"><ol id="2mici"></ol></em>
              <div id="2mici"><ol id="2mici"><mark id="2mici"></mark></ol></div>
                <em id="2mici"><ol id="2mici"></ol></em>

                <div id="2mici"><tr id="2mici"><mark id="2mici"></mark></tr></div>

                    <div id="2mici"></div>
                    <em id="2mici"><ol id="2mici"></ol></em>

                    1. <em id="2mici"></em>
                      1. <em id="2mici"></em><dd id="2mici"></dd>

                          <em id="2mici"><ol id="2mici"></ol></em>

                          1. <div id="2mici"></div>
                          2. <div id="2mici"></div>
                            1. <em id="2mici"><ol id="2mici"><nav id="2mici"></nav></ol></em>
                            2. <code id="2mici"></code>
                            3. <em id="2mici"><ol id="2mici"></ol></em>
                            4. <div id="2mici"></div>

                                  <div id="2mici"><tr id="2mici"><mark id="2mici"></mark></tr></div>

                                1. <div id="2mici"></div>
                                  <em id="2mici"><ol id="2mici"></ol></em>

                                  <div id="2mici"></div>

                                      <bdo id="2mici"></bdo>
                                    1. <input id="2mici"><label id="2mici"></label></input>
                                    2. <code id="2mici"></code>
                                      <tbody id="2mici"><blockquote id="2mici"></blockquote></tbody>
                                    3. <tbody id="2mici"><samp id="2mici"></samp></tbody>
                                    4. <strong id="2mici"></strong>
                                    5. <bdo id="2mici"><samp id="2mici"></samp></bdo>
                                    6. <input id="2mici"><samp id="2mici"></samp></input>
                                    7. <div id="2mici"></div>
                                    8. <em id="2mici"><ol id="2mici"></ol></em>
                                        <div id="2mici"><ol id="2mici"><mark id="2mici"></mark></ol></div>
                                          <em id="2mici"><ol id="2mici"></ol></em>

                                          <div id="2mici"><tr id="2mici"><mark id="2mici"></mark></tr></div>

                                              <div id="2mici"></div>
                                              <em id="2mici"><ol id="2mici"></ol></em>

                                              1. <em id="2mici"></em>
                                                1. <em id="2mici"></em><dd id="2mici"></dd>

                                                    <em id="2mici"><ol id="2mici"></ol></em>

                                                    1. <div id="2mici"></div>
                                                    2. <div id="2mici"></div>
                                                      1. <em id="2mici"><ol id="2mici"><nav id="2mici"></nav></ol></em>
                                                      2. <code id="2mici"></code>
                                                      3. 金博棋牌官方正版下载 湖北十一选五计划 AG日本武士计划 申城斗地主官网下载 重庆时时彩直播 鼎盛国际是个什么平台 北京十一选五app 三级片网址最新公告 外卖免费赚钱模式 职业买彩票为生的人 11选5组三 赌场的转盘有没有规律 2019年上证指数查询 北京赛车怎么赌才会赢 广东时时开奖直播网 酒店按摩女