$lang_list = $kekezu->_lang_list; $language = $kekezu->_lang; $currency = $kekezu->_currency; $curr_list = $kekezu->_curr_list; $api_open = $kekezu->_api_open; $weibo_list = $kekezu->_weibo_list; $f_c_list = keke_curren_class::get_curr_list('code,title'); $_currencies = keke_curren_class::get_curr_list(); $_footerAbouts = CommonClass::getFooterPage(); $log_account = null; if (isset($_COOKIE['log_account'])) { $log_account = $_COOKIE['log_account']; } $wb_type = $_SESSION['wb_type']; if ($wb_type && $_SESSION['auth_' . $wb_type]['last_key']) { $oa = new keke_oauth_login_class($wb_type); $oauth_user_info = $oa->get_login_user_info(); } if (intval($u)) { if (!isset($_COOKIE['prom'])) { $objProm = keke_prom_class::get_instance(); $objProm->create_prom_cookie($_SERVER['QUERY_STRING']); } } $arrTopIndus = db_factory::query("SELECT count(task_id) as count ,indus_id FROM " . TABLEPRE . "witkey_task where task_status>=2 group by indus_id order by count desc limit 5"); kekezu::redirect_second_domain(); $arrDisplaypro = CommonClass::getDistrictByPid('0', 'id,upid,name'); if ($gUid) { //2015-08-02 修改 task_status 由0->8 $intWaitPay = db_factory::query("select count(*) as count from " . TABLEPRE . "witkey_task where uid=" . intval($gUid) . " and task_status=0"); $intChoose = db_factory::query("select count(*) as count from " . TABLEPRE . "witkey_task where uid=" . intval($gUid) . " and task_status=3");
function __construct($wb_type, $call_back = null, $url = null) { parent::__construct($wb_type); $oo = new keke_oauth_login_class($wb_type); $_SESSION['auth_' . $wb_type]['last_key'] or $oo->login($call_back, $url); }