function __construct() { global $gSoapConfig; parent::__construct(); $this->status = new status(); $this->gSoapConfig = $gSoapConfig; }
function __construct() { parent::__construct(); $this->load_lang('avatar'); include_once ROOT_PATH . 'lib/user/user.class.php'; $this->info = new user(); }
function __construct() { parent::__construct(); $this->check_login(); include_once ROOT_PATH . 'lib/class/weibooauth.class.php'; $this->oauth = new WeiboOAuth(WB_AKEY, WB_SKEY, $_SESSION['keys']['oauth_token'], $_SESSION['keys']['oauth_token_secret']); }
function __construct() { parent::__construct(); $user_id = intval($this->input['user_id']); /*if ($user_id) { header('Location:' . SNS_UCENTER . 'user.php?user_id=' . $user_id); } elseif($this->input['name']) { $this->input['name'] = trim(urlencode($this->input['name'])); header('Location:' . SNS_UCENTER . 'user.php?name=' . $this->input['name']); } else { header('Location:' . SNS_UCENTER . 'user.php'); } */ $this->load_lang('followers'); $this->load_lang('user'); $this->load_lang('info'); include_once ROOT_PATH . 'lib/class/status.class.php'; include_once ROOT_PATH . 'lib/user/user.class.php'; include_once ROOT_PATH . 'lib/class/curl.class.php'; $this->curl = new curl(); $this->status = new status(); }
function __construct() { parent::__construct(); if ($this->user['group_type'] > MAX_ADMIN_TYPE) { $this->ReportError('对不起,您没有权限进入数据源商店'); } }
function __construct() { parent::__construct(); $this->load_lang('k'); include_once ROOT_PATH . 'lib/class/status.class.php'; $this->status = new status(); }
function __construct() { parent::__construct(); if ($this->user['group_type'] > MAX_ADMIN_TYPE) { $this->ReportError('对不起,您没有权限进入程序发布'); } $this->appstore = new curl('appstore.hogesoft.com:1912', 'admin/'); $this->appstore->mAutoInput = false; $this->product_server = array('host' => 'upgrade.hogesoft.com', 'port' => 233, 'dir' => ''); if ($this->input['app']) { $this->appstore->initPostData(); $this->appstore->addRequestData('a', 'detail'); $this->appstore->addRequestData('app', $this->input['app']); $appinfo = $this->appstore->request('index.php'); $appinfo = $appinfo[0]; $this->appinfo = $appinfo; if ($appinfo) { $this->tpl->addVar('appinfo', $appinfo); } } if (!$this->input['a']) { $this->input['a'] = 'show'; } if (!in_array($this->input['a'], array('show', 'pre_release_all', 'release_all', 'clear_app_version', 'release_all_tpl', 'pre_release_all_tpl')) && !$appinfo) { $this->ReportError('指定应用不存在或被删除,无法发布'); } }
function __construct() { parent::__construct(); $this->hosts = array('host' => 'localhost/livsns/api/help', 'port' => '83', 'dir' => '', 'customer' => $this->settings['license']['customer_var']); $this->curl = new curl($this->hosts['host'], '', 'kaasdfj823&23^l'); // $this->db = hg_checkDB(); }
function __construct() { parent::__construct(); unset($this->nav); $this->tpl->addVar('_nav', $this->nav); $this->input['code'] = $_SERVER['CHANNEL_CODE']; }
function __construct() { parent::__construct(); $this->check_login(); include_once ROOT_PATH . 'lib/user/user.class.php'; $this->load_lang("map"); }
function __construct() { parent::__construct(); // $this->load_lang('global'); $this->status = new status(); $this->info = new user(); }
function __construct() { parent::__construct(); if ($this->user['group_type'] != 1) { $this->ReportError('对不起,您没有权限管理模块!'); } }
function __construct() { parent::__construct(); $this->load_lang('user'); $this->load_lang('profile_privacy'); include_once ROOT_PATH . 'lib/user/user.class.php'; }
function __construct() { parent::__construct(); $appuniqueueid = $this->input['app_uniqueid']; //如果是auth应用的话就加载密保卡操作类 if ($appuniqueueid == 'auth') { include_once ROOT_PATH . 'lib/class/MibaoCard.class.php'; $this->mibao = new MibaoCard(); } if (!$appuniqueueid) { $mid = intval($this->input['mid']); $sql = 'SELECT app_uniqueid FROM ' . DB_PREFIX . "modules WHERE id='{$mid}'"; $app = $this->db->query_first($sql); if (!$app) { $this->ReportError('此应用不存在!'); } $appuniqueueid = $app['app_uniqueid']; } $sql = 'SELECT * FROM ' . DB_PREFIX . "applications WHERE softvar='{$appuniqueueid}'"; $app = $this->db->query_first($sql); if (!$app) { $this->ReportError('此应用不存在!'); } $app['mid'] = $mid; $app['dir'] = str_replace($app['admin_dir'], '', $app['dir']); $this->app = $app; }
function __construct() { parent::__construct(); include_once ROOT_PATH . 'lib/video/video.class.php'; $this->mVideo = new video(); $this->load_lang('my_favorites'); }
function __construct() { parent::__construct(); if (!$this->input['siteid']) { $this->input['siteid'] = 1; } // $this->init(); }
function __construct() { parent::__construct(); $this->check_login(); $this->load_lang('editpasswd'); include_once ROOT_PATH . 'lib/user/user.class.php'; $this->Muser = new user(); }
function __construct() { parent::__construct(); $this->check_login(); $this->load_lang('notify'); include_once ROOT_PATH . 'lib/class/notify.class.php'; $this->notify = new notify(); }
function __construct() { parent::__construct(); if ($this->user['group_type'] >= MAX_ADMIN_TYPE) { $this->ReportError('对不起,您没有权限管理模块!'); } $this->mServer_cluster = array('1' => '应用服务器', '2' => '图片服务器', '3' => '视频服务器', '4' => '授权服务器', '5' => '数据库服务器'); }
function __construct() { parent::__construct(); if (!$this->settings['App_special']) { return false; } $this->curl = new curl($this->settings['App_special']['host'], $this->settings['App_special']['dir'] . 'admin/'); }
function __construct() { parent::__construct(); $this->curl = new curl(); $this->curl->setmAutoInput(0); $this->curl->setSubmitType('get'); $this->cloud_config = $this->cloud_config(); }
function __construct() { parent::__construct(); include_once ROOT_PATH . 'lib/class/curl.class.php'; $this->check_login(); $this->curl = new curl(); $this->load_lang('authority'); }
function __construct() { parent::__construct(); $this->check_login(); include_once ROOT_PATH . 'lib/user/user.class.php'; include_once ROOT_PATH . 'lib/class/groups.class.php'; $this->mGroup = new Group(); $this->mUser = new user(); }
function __construct() { global $gDB; parent::__construct(); $this->check_login(); $this->load_lang('skin'); $this->mDB =& $gDB; $this->mSetting = $this->settings['user_skin']; }
function __construct() { parent::__construct(); $this->load_lang('check_email'); include_once ROOT_PATH . 'lib/user/user.class.php'; $this->userclass = new user(); include_once ROOT_PATH . 'lib/user/email.class.php'; $this->emailclass = new email(); }
function __construct() { parent::__construct(); $this->load_lang['followers']; $this->load_lang['index']; $this->status = new status(); $this->info = new user(); $this->relation = new Relation(); }
function __construct() { parent::__construct(); if ($this->user['group_type'] != 1) { $this->ReportError('对不起,您没有权限管理模块操作!'); } //需要序列化存储的数据字段 表单字段需要和数据库字段一致 $this->fields = array('file_name', 'template', 'callback', 'request_type', 'direct_return', 'show_pub', 'trigger_pub', 'is_show', 'need_confirm', 'ban'); }
function __construct() { parent::__construct(); include_once ROOT_PATH . 'lib/video/video.class.php'; $this->mVideo = new video(); $this->load_lang('my_album'); $this->count = 10; $this->page = (intval($this->input['pp']) ? intval($this->input['pp']) : 0) / $this->count; }
function __construct() { parent::__construct(); $application_id = $this->input['aid']; $application = $this->check_application(); if (!$application) { $this->ReportError('应用不存在或已被删除'); } }
function __construct() { parent::__construct(); if (!ALLOW_PROGRAME) { header("Location:" . SNS_VIDEO . "my_video.php"); } include_once ROOT_PATH . 'lib/video/video.class.php'; $this->mVideo = new video(); }