Exemplo n.º 1
0
 function __construct()
 {
     global $gSoapConfig;
     parent::__construct();
     $this->status = new status();
     $this->gSoapConfig = $gSoapConfig;
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $this->load_lang('avatar');
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->info = new user();
 }
Exemplo n.º 3
0
 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']);
 }
Exemplo n.º 4
0
 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();
 }
Exemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         $this->ReportError('对不起,您没有权限进入数据源商店');
     }
 }
Exemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     $this->load_lang('k');
     include_once ROOT_PATH . 'lib/class/status.class.php';
     $this->status = new status();
 }
Exemplo n.º 7
0
 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('指定应用不存在或被删除,无法发布');
     }
 }
Exemplo n.º 8
0
 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();
 }
Exemplo n.º 9
0
 function __construct()
 {
     parent::__construct();
     unset($this->nav);
     $this->tpl->addVar('_nav', $this->nav);
     $this->input['code'] = $_SERVER['CHANNEL_CODE'];
 }
Exemplo n.º 10
0
 function __construct()
 {
     parent::__construct();
     $this->check_login();
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->load_lang("map");
 }
Exemplo n.º 11
0
 function __construct()
 {
     parent::__construct();
     //		$this->load_lang('global');
     $this->status = new status();
     $this->info = new user();
 }
Exemplo n.º 12
0
 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] != 1) {
         $this->ReportError('对不起,您没有权限管理模块!');
     }
 }
Exemplo n.º 13
0
 function __construct()
 {
     parent::__construct();
     $this->load_lang('user');
     $this->load_lang('profile_privacy');
     include_once ROOT_PATH . 'lib/user/user.class.php';
 }
Exemplo n.º 14
0
 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;
 }
Exemplo n.º 15
0
 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/video/video.class.php';
     $this->mVideo = new video();
     $this->load_lang('my_favorites');
 }
Exemplo n.º 16
0
 function __construct()
 {
     parent::__construct();
     if (!$this->input['siteid']) {
         $this->input['siteid'] = 1;
     }
     //	$this->init();
 }
Exemplo n.º 17
0
 function __construct()
 {
     parent::__construct();
     $this->check_login();
     $this->load_lang('editpasswd');
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->Muser = new user();
 }
Exemplo n.º 18
0
 function __construct()
 {
     parent::__construct();
     $this->check_login();
     $this->load_lang('notify');
     include_once ROOT_PATH . 'lib/class/notify.class.php';
     $this->notify = new notify();
 }
Exemplo n.º 19
0
 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] >= MAX_ADMIN_TYPE) {
         $this->ReportError('对不起,您没有权限管理模块!');
     }
     $this->mServer_cluster = array('1' => '应用服务器', '2' => '图片服务器', '3' => '视频服务器', '4' => '授权服务器', '5' => '数据库服务器');
 }
Exemplo n.º 20
0
 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/');
 }
Exemplo n.º 21
0
 function __construct()
 {
     parent::__construct();
     $this->curl = new curl();
     $this->curl->setmAutoInput(0);
     $this->curl->setSubmitType('get');
     $this->cloud_config = $this->cloud_config();
 }
Exemplo n.º 22
0
 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/curl.class.php';
     $this->check_login();
     $this->curl = new curl();
     $this->load_lang('authority');
 }
Exemplo n.º 23
0
 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();
 }
Exemplo n.º 24
0
 function __construct()
 {
     global $gDB;
     parent::__construct();
     $this->check_login();
     $this->load_lang('skin');
     $this->mDB =& $gDB;
     $this->mSetting = $this->settings['user_skin'];
 }
Exemplo n.º 25
0
 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();
 }
Exemplo n.º 26
0
 function __construct()
 {
     parent::__construct();
     $this->load_lang['followers'];
     $this->load_lang['index'];
     $this->status = new status();
     $this->info = new user();
     $this->relation = new Relation();
 }
Exemplo n.º 27
0
 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');
 }
Exemplo n.º 28
0
 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;
 }
Exemplo n.º 29
0
 function __construct()
 {
     parent::__construct();
     $application_id = $this->input['aid'];
     $application = $this->check_application();
     if (!$application) {
         $this->ReportError('应用不存在或已被删除');
     }
 }
Exemplo n.º 30
0
 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();
 }