function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->resume_model = M("Resume");
     $this->category_model = M('Category');
 }
 function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->lookcertificate_model = M("Lookcertificate");
     $this->category_model = M('Category');
 }
Exemplo n.º 3
0
 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Single";
     $this->model_obj = D("Single");
     $this->category = $this->model_obj->category;
 }
Exemplo n.º 4
0
 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
 }
Exemplo n.º 5
0
 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Enroll";
     $this->cococat_obj = D("CocoCat");
     $this->model_obj = D("Enroll");
 }
Exemplo n.º 6
0
 function _initialize()
 {
     empty($_GET['upw']) ? "" : session("__SP_UPW__", $_GET['upw']);
     //设置后台登录加密码
     parent::_initialize();
     $this->initMenu();
 }
Exemplo n.º 7
0
 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['xitong'] = '';
     $this->jiaoyi_model = D("Common/coupon");
 }
 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
     $this->Dingyue_model = D("Common/car");
 }
Exemplo n.º 9
0
 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $this->xitong_model = D("Common/users");
 }
Exemplo n.º 10
0
 public function listorders()
 {
     $status = parent::_listorders($this->link_obj);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
 /**
  * 重写DISPLAY方法 支持PHP模板引擎的模板布局
  * @param string $view
  */
 public function display($view = '')
 {
     if (C('IS_LAYOUT')) {
         if ($view == '') {
             $view = TMPL_PATH . MODULE_NAME . '/' . CONTROLLER_NAME . '/' . ACTION_NAME . C('TMPL_TEMPLATE_SUFFIX');
         }
         $this->assign('view', $view);
         parent::display(ADMIN_LAYOUT . 'Layout/Layout.php');
     } else {
         parent::display();
     }
 }
Exemplo n.º 12
0
 function _initialize()
 {
     parent::_initialize();
     $this->job_model = D("Common/job");
     $this->job_category_model = D("Common/JobCategory");
 }
 public function listorders()
 {
     $status = parent::_listorders($this->term_relationships_model);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
Exemplo n.º 14
0
 function clistorders()
 {
     $status = parent::_listorders($this->model_cate);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
Exemplo n.º 15
0
 function _initialize()
 {
     parent::_initialize();
     $this->options_obj = D("Common/Options");
 }
 function _initialize()
 {
     parent::_initialize();
     $this->model_model = D("Common/Model");
 }
Exemplo n.º 17
0
 function _initialize()
 {
     parent::_initialize();
     $this->plugins_model = D("Common/Plugins");
 }
Exemplo n.º 18
0
 function _initialize()
 {
     parent::_initialize();
     $this->posts_model = D("Common/Posts");
 }
 function _initialize()
 {
     parent::_initialize();
     $this->users_obj = D("Common/Users");
     $this->role_obj = D("Common/Role");
 }
 function _initialize()
 {
     parent::_initialize();
     $this->Role = D("Common/Role");
 }
Exemplo n.º 21
0
 function _initialize()
 {
     parent::_initialize();
     $this->navcat = D("Common/NavCat");
 }
Exemplo n.º 22
0
 function _initialize()
 {
     parent::_initialize();
     $this->initMenu();
 }
Exemplo n.º 23
0
 function _initialize()
 {
     parent::_initialize();
     $this->ad_model = D("Common/Ad");
 }
Exemplo n.º 24
0
 function _initialize()
 {
     parent::_initialize();
     $this->role_model = D("Common/Role");
 }
Exemplo n.º 25
0
 function _initialize()
 {
     parent::_initialize();
     $this->comments_model = D("Common/Comments");
 }
Exemplo n.º 26
0
 function _initialize()
 {
     parent::_initialize();
     $this->rank_obj = D("Common/Rank");
 }
Exemplo n.º 27
0
 public function status()
 {
     $status = parent::_status($this->model_js);
     if ($status) {
         echo "success";
     } else {
         echo "fail";
     }
 }
 function _initialize()
 {
     parent::_initialize();
     $this->servers_model = D("Server/Servers");
     $this->serversell_model = D("Server/ServersSell");
 }
 public function _initialize()
 {
     parent::_initialize();
     $this->backup_path = '/data/backup/';
     $this->_database_mod = M();
 }
Exemplo n.º 30
0
 function _initialize()
 {
     parent::_initialize();
     $this->Area_model = D("Common/Area");
 }