Example #1
0
 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         //$this->errorOutput(NO_PRIVILEGE);
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/common.php';
     include CUR_CONF_PATH . 'lib/layout.class.php';
     $this->layout = new layout();
 }
Example #3
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/mkpublish.class.php';
     $this->obj = new mkpublish();
     include_once CUR_CONF_PATH . 'lib/common.php';
 }
Example #4
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     $this->pub_config = new publishconfig();
     include CUR_CONF_PATH . 'lib/content.class.php';
     $this->obj = new content();
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->curl) {
         return array();
     }
 }
Example #6
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     $this->mPrmsMethods = array('manage' => '管理');
     parent::__construct();
     include CUR_CONF_PATH . 'lib/statistics.class.php';
     $this->obj = new statistics();
 }
Example #7
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/data_source.class.php';
     include CUR_CONF_PATH . 'lib/common.php';
     $this->obj = new dataSource();
 }
Example #8
0
 function __construct()
 {
     parent::__construct();
     global $config;
     $this->config = $config;
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->mUser = new user();
 }
Example #9
0
 function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/news.class.php';
     $this->obj = new news();
     include_once ROOT_PATH . 'lib/class/material.class.php';
     $this->mater = new material();
 }
Example #10
0
 function __construct()
 {
     parent::__construct();
     global $config;
     include ROOT_DIR . 'api/video/video_api.php';
     //导入流媒体API
     $this->tvie_video_api = new TVie_video_api($config);
 }
Example #11
0
 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/xml_setting.class.php';
     include_once CUR_CONF_PATH . 'lib/source_setting.class.php';
     $this->obj = new xmlSetting();
     $this->source_obj = new sourceSetting();
 }
Example #12
0
 public function __construct()
 {
     parent::__construct();
     require_once CUR_CONF_PATH . 'lib/subway.class.php';
     $this->subway = new subway();
     require_once ROOT_PATH . 'lib/class/news.class.php';
     $this->news = new news();
 }
Example #13
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     $this->pubplan = new publishplan();
     $this->pub_content = new publishcontent();
     include CUR_CONF_PATH . 'lib/publish.class.php';
     $this->obj = new publish();
 }
Example #14
0
 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/data_handle.class.php';
     $this->obj = new data_handle();
     $prms_data = array('_action' => 'manger');
     $this->verify_content_prms($prms_data);
 }
Example #15
0
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/share.class.php';
     $this->obj = new share();
     include CUR_CONF_PATH . 'lib/get_user.class.php';
     $this->get_user = new get_user();
 }
Example #16
0
 function __construct()
 {
     parent::__construct();
     $this->verify_content_prms(array('_action' => 'manage'));
     //表字段
     $this->filed = array('id' => false, 'syncname' => true, 'brief' => false, 'server_id' => true, 'server_dir' => false, 'app' => true, 'app_dir' => true, 'setinterval' => false, 'max_number' => false, 'allow_ftype' => false);
     $this->initdata();
 }
Example #17
0
 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'api/lib/video.class.php';
     $this->mVideo = new video();
     include_once ROOT_PATH . '/lib/user/user.class.php';
     $this->mUser = new user();
 }
Example #18
0
 public function __construct()
 {
     parent::__construct();
     //		require_once CUR_CONF_PATH . 'lib/livmms.class.php';
     //		$this->mLivmms = new livmms();
     require_once CUR_CONF_PATH . 'lib/live.class.php';
     $this->mLive = new live();
 }
Example #19
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     require_once CUR_CONF_PATH . 'lib/special.class.php';
     $this->special = new special();
     require_once CUR_CONF_PATH . 'lib/special_content.class.php';
     $this->special_content = new specialContent();
 }
Example #20
0
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/public.class.php';
     include CUR_CONF_PATH . 'lib/share.class.php';
     $this->pub = new publicapi();
     $this->obj = new share();
 }
Example #21
0
 function __construct()
 {
     parent::__construct();
     $this->verify_content_prms(array('_action' => 'manage'));
     //表字段
     $this->filed = array('id' => false, 'hostname' => true, 'user' => true, 'pass' => true, 'port' => false);
     $this->initdata();
 }
Example #22
0
 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/publishsys.class.php';
     $this->pub_sys = new publishsys();
     include CUR_CONF_PATH . 'lib/mkpublish.class.php';
     $this->obj = new mkpublish();
 }
Example #23
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/block_set.class.php';
     $this->obj = new block_set();
     include CUR_CONF_PATH . 'lib/block.class.php';
     $this->block = new block();
 }
Example #24
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     if ($this->mNeedCheckIn && !$this->prms['manage']) {
         $this->errorOutput(NO_OPRATION_PRIVILEGE);
     }
     include CUR_CONF_PATH . 'lib/plan_log.class.php';
     $this->obj = new plan_log();
 }
Example #25
0
 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . '/lib/user/user.class.php';
     $this->mUser = new user();
     $user = urldecode($_SERVER['PHP_AUTH_USER'] ? $_SERVER['PHP_AUTH_USER'] : hg_get_cookie('user'));
     $pass = urldecode($_SERVER['PHP_AUTH_PW'] ? $_SERVER['PHP_AUTH_PW'] : hg_get_cookie('pass'));
     $this->setUser($user, $pass);
 }
Example #26
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     $this->pubplan = new publishplan();
     $this->pub_content = new publishcontent();
     $this->logs = new logs();
     include CUR_CONF_PATH . 'lib/special_queue.class.php';
     $this->que = new specialQueue();
 }
Example #27
0
 function __construct()
 {
     parent::__construct();
     //此处是为了判断视频库有没有安装
     if (!$this->settings['App_livmedia']['host']) {
         $this->errorOutput('please install livmedia first');
     }
     $this->curl = new curl($this->settings['App_livmedia']['host'], $this->settings['App_livmedia']['dir']);
 }
Example #28
0
 function __construct()
 {
     parent::__construct();
     //处理时间参数,如果传递了参数就返回要查询的那天的数据,否则就返回今天的数据
     $this->dealTime();
     if (!$this->mType) {
         exit('参数缺失');
     }
 }
Example #29
0
 public function __construct()
 {
     parent::__construct();
     require_once CUR_CONF_PATH . 'lib/livmms.class.php';
     $this->mLivmms = new livmms();
     $this->mLive = $this->settings['mms']['live_stream_server'];
     require_once CUR_CONF_PATH . 'lib/sync.class.php';
     $this->mSync = new sync();
 }
Example #30
0
 /**
  * 构造函数
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . "lib/common.php";
     include CUR_CONF_PATH . 'lib/site.class.php';
     $this->obj = new site();
     $this->pub_cms = new publishcms();
     $this->pub_content = new publishcontent();
 }