public function __construct() { parent::__construct(); include_once $this->config['model'] . 'publicmodel.php'; log_message("info", "public model included "); $this->actmodel = new publicmodel(); }
function __construct() { parent::__construct(); $this->view->titl = 'DotNetNow .NET Jobs Board User Signup'; $this->view->canon = 'signup'; $this->view->description = 'Signup for a DotNetNow account to be able to edit and track your ruby jobs post'; }
function __construct() { parent::__construct(); session::init(); session::loginAuth("advertisement"); $this->breadcrumb->add("Advertisement", "advertisement"); }
function __construct() { parent::__construct(); $this->view->titl = 'Contact us'; $this->view->canon = 'contactus'; $this->view->description = 'Reach out to the DotNetNow team. We are here to help you find your ideal .NET job or ideal .NET developer'; }
/** * Constructor * * Requires needed models and helpers. * * @access public */ function __construct() { parent::__construct(); $this->load->model('init_model'); $this->load->model('category_model'); $this->load->model('article_model'); }
function __construct() { parent::__construct(); @session_start(); //$this->view->js_code = '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>'; $this->view->js = array('postjob/js/jquery-1.11.3.min.js', 'postjob/js/default.js', 'postjob/js/jquery.fancybox-1.3.4.pack.js', 'postjob/js/jquery.validate.min.js', 'postjob/js/jquery.fancybox.pack.js?v=2.1.5'); }
public function __construct() { parent::__construct(); if (get_request_method() != 'AJAX') { die('error request'); } }
function __construct() { parent::__construct(); $this->view->titl = 'Thank You dude!'; $this->view->canon = 'thanks'; $this->view->description = 'DotNetNow thanks page'; }
public function __construct() { parent::__construct(); $this->title = '宅乐轩ERP管理系统'; $this->style['css'][] = 'public/css/bootstrap.min.css'; $this->style['css'][] = 'public/css/bootstrap-theme.min.css'; $this->style['css'][] = 'public/css/admin/admin.css'; $this->style['js'] = array('public/js/jquery.js', 'public/js/artDialog/jquery.artDialog.js?skin=default', 'public/js/comm.js'); $this->style['js'][] = 'public/js/jquery.dragsort-0.5.2.min.js'; $this->style['js'][] = 'public/js/bootstrap.min.js'; $this->style['js'][] = 'public/js/admin/main.js'; /* * 过滤后台有些可以不登录即可访问的action.如登录页面,退出页面等等。 */ $isAdminAuthorization = true; $adminFiltrateActionArr = utils::c('adminFiltrateAction'); if ($adminFiltrateActionArr) { $adminFiltrateActionArrKey = array_keys($adminFiltrateActionArr); $controllerName = request::$controllerName; if (in_array($controllerName, $adminFiltrateActionArrKey)) { if (in_array(request::$actionName, $adminFiltrateActionArr[$controllerName])) { $isAdminAuthorization = false; } } } if ($isAdminAuthorization) { $adminUserInfo = $this->checkAdminLogin(); if (!$adminUserInfo) { $this->tip('你未登录EPR系统,请登录!', utils::getUrl('admin/index/login')); } } }
public function __construct() { parent::__construct(); include_once $this->config['model'] . 'login.php'; log_message("info", "model included "); $this->model = new loginModel(); }
function __construct($params) { parent::__construct($params); $this->companyRepository = new CompanyRepository(); $this->jobRepository = new JobRepository(); $this->candidateRepository = new CandidateRepository(); }
function __construct() { parent::__construct(); session::init(); session::loginAuth("comm"); $this->breadcrumb->add("Commission", "comm"); }
function __construct() { parent::__construct(); session::init(); session::loginAuth("dashboard"); $this->breadcrumb->add("Dashboard", "dashboard"); }
function __construct() { parent::__construct(); session::init(); session::loginAuth("mynetwork"); $this->breadcrumb->add("My Network", "mynetwork"); }
function __construct() { parent::__construct(); $this->view->titl = 'DotNetNow privacy terms page'; $this->view->canon = 'privacy'; $this->view->description = 'DotNetNow privacy terms page lists the privacy policies of the site.'; }
public function __construct() { parent::__construct(); include 'controllers/loginController.php'; $valida = new login(); $valida->sessao_valida(); }
function __construct() { parent::__construct(); $this->view->titl = 'DotNetNow usage terms page'; $this->view->description = 'DotNetNow usage terms page lists the terms of usage of the site'; $this->view->canon = 'terms'; }
public function __construct() { parent::__construct(); if (empty($_SESSION['auth']) && ACTION_NAME !== 'login') { $this->error('跳转至登录页', U('Auth/login'), 3); } }
function __construct() { parent::__construct(); $this->view->titl = 'Update email preference'; $this->view->canon = 'email'; $this->view->description = 'Update email preference'; }
function __construct() { parent::__construct(); $this->model = new mhome(); $this->view = new vhome(); //echo 'Hello controller'; }
public function __construct() { parent::__construct(); $this->registry = registry::getInstance(); $this->html = html::getInstance(); $this->plugin = plugin::getInstance(); }
function __construct() { parent::__construct(); session::init(); session::loginAuth("supplier"); $this->breadcrumb->add("Tools", "supplier"); }
function __construct() { require 'libs/mark/michelf/markdown.inc.php'; parent::__construct(); auth::HandleLogin(); $this->view->titl = 'Admin area'; $this->view->canon = 'feedback'; }
function __construct() { parent::__construct(); require 'libs/mark/michelf/markdown.inc.php'; $this->view->js_code = ' <script type="text/javascript">var switchTo5x=true;</script> <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script> <script type="text/javascript">stLight.options({publisher: "d1841c3c-9b1e-4cc3-a21c-26f2f40037b2", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>'; }
public function __construct() { parent::__construct(); $this->title = '老爸老妈'; $this->style['js'] = array('public/js/jquery.js', 'public/js/newMobileMove.js', 'public/js/swiper3/swiper-3.2.7.jquery.min.js'); $this->style['css'] = array('public/js/swiper3/swiper-3.2.7.min.css', 'public/css/pure-min.css'); $this->getAllCategory(); }
function __construct() { parent::__construct(); session::init(); session::loginAuth("setup"); $this->breadcrumb->add("Account Setup", "setup"); $this->user = user::getUserData('agent_id', session::get(AGENT_SESSION_NAME)); }
function __construct() { parent::__construct(); require 'libs/mark/michelf/markdown.inc.php'; $this->view->titl = 'для тестирования'; $this->view->js = array('test2/js/jquery.markitup.js', 'test2/js/sets/markdown/set.js'); $this->view->css_custom = array('test2/css/skins/simple/style.css', 'test2/js/sets/markdown/style.css'); }
public function __construct() { //$this->tableName = 'tuan'; $this->db = base::load_model('shop_model'); // 在这里配置关联关系. user 为返回的key. 通过uid 来匹配 mz_users 中的 id $this->relations = array("0" => array('relaId' => 'uid', 'relatedId' => 'id', 'relatedTable' => 'users', 'alias' => 'user', 'fileds' => '{x}name,{x}email,{x}phone,{x}location,{x}address,{x}appVersion,{x}userType')); parent::__construct(); }
function __construct() { parent::__construct(); // array of all javascritps and css to load as per the view $this->view->js = array('dashboard/js/default.js', 'dashboard/js/notify.js'); $this->view->css = array('dashboard/css/default.css'); $this->session = new session(); }
public function __construct() { parent::__construct(); if (!$this->user->is_logged) { //echo '请先登录'; //exit; } }