예제 #1
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->check_power('demo_paper_report,demo_exam_config_manage')) {
         return;
     }
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->check_power('exam_rule_manage')) {
         return;
     }
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->check_power('demo_paper_report,demo_paper_list')) {
         return;
     }
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     /* 权限检查 */
     if (!$this->check_power('evaluation_standard_manage')) {
         return;
     }
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->check_power('cron_schedule_list')) {
         return;
     }
     $this->_require_cron_schedule();
 }
예제 #6
0
 /**
  * 实现父类构造函数,载入模型
  */
 public function __construct()
 {
     parent::__construct();
     if (!$this->check_power('evaluate_template_manage')) {
         return;
     }
     self::$module_type_name = array('0' => '机考总结', '1' => '机考学科', '4' => '机考班级', '6' => '机考教师', '2' => '面试学科', '3' => '面试总结', '5' => '选学选考');
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     /* 权限检查 */
     if (!$this->check_power('interview_result_import')) {
         return;
     }
 }
예제 #8
0
 /**
  * 构造函数
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     /* 权限检测 */
     if (!$this->check_power('question_examine')) {
         exit;
     }
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     /* 权限认证 */
     if (!$this->check_power('paper_diy')) {
         message('没有权限!');
     }
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'config/app/admin/recycle.php';
     if ($_FILES) {
         $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/student/' . date('Ymd') . '/';
         $config['allowed_types'] = 'gif|jpg|jpeg|png';
         $config['max_size'] = '1024';
         $config['max_width'] = '2000';
         $config['max_height'] = '2000';
         $config['encrypt_name'] = TRUE;
         $this->load->library('upload', $config);
     }
 }
예제 #11
0
 public function __construct()
 {
     parent::__construct();
     //有手工组卷权限非超级管理员
     $this->paper_diy = $this->check_power('paper_diy', false) && !$this->is_super_user() ? 1 : 0;
     require_once APPPATH . 'config/app/admin/recycle.php';
     if ($_FILES) {
         $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/question/' . date('Ym') . '/';
         $config['allowed_types'] = 'gif|jpg|jpeg|png';
         $config['max_size'] = '500';
         $config['max_width'] = '650';
         $config['max_height'] = '500';
         $config['encrypt_name'] = TRUE;
         $this->load->library('upload', $config);
     }
 }
예제 #12
0
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'config/app/admin/recycle.php';
     if ($_FILES) {
         $config['upload_path'] = _UPLOAD_ROOT_PATH_ . 'uploads/question/' . date('Ym') . '/';
         $config['allowed_types'] = 'gif|jpg|jpeg|png';
         $config['max_size'] = '500';
         $config['max_width'] = '800';
         $config['max_height'] = '500';
         $config['encrypt_name'] = TRUE;
         $this->load->library('upload', $config);
     }
     /* 权限检测 */
     if (!$this->check_power('question_external_manage')) {
         message('没有操作权限!');
     }
 }
예제 #13
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('cron/cron_place_student_paper_model', 'cron_place_student_paper_model');
 }
예제 #14
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #15
0
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'config/app/admin/recycle.php';
 }
예제 #16
0
 public function __construct()
 {
     parent::__construct();
     require_once APPPATH . 'config/app/exam/log_type_desc.php';
 }
예제 #17
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('cron/cron_task_email_model');
 }
예제 #18
0
 public function __construct()
 {
     parent::__construct();
     /* 试卷模型 */
 }