public function __construct() { parent::__construct(); $this->setLayoutFlag('passport'); kernel::single('base_session')->start(); $this->passport = kernel::single('topc_passport'); }
public function __construct(&$app) { parent::__construct(); // 检测是否登录 if (!userAuth::check()) { redirect::action('topc_ctl_passport@signin')->send(); exit; } }
public function __construct($app) { parent::__construct(); $this->app = $app; $this->setLayoutFlag('shopcenter'); if (!$this->__checkShop(input::get('shop_id'))) { $pagedata['shopid'] = input::get('shop_id'); $this->page('topc/shop/error.html', $pagedata)->send(); } }
public function __construct(&$app) { parent::__construct(); theme::setNoindex(); theme::setNoarchive(); theme::setNofolow(); theme::prependHeaders('<meta name="robots" content="noindex,noarchive,nofollow" />\\n'); $this->title = app::get('topc')->_('订单中心'); // 检测是否登录 if (!userAuth::check()) { redirect::action('topc_ctl_passport@signin')->send(); exit; } }
public function __construct($app) { parent::__construct(); $this->app = $app; $this->setLayoutFlag('shopcenter'); if (!$this->__checkShop(input::get('shop_id'))) { //= input::get('shop_id'); $shopid = input::get('shop_id'); $shopdata = app::get('topc')->rpcCall('shop.get', array('shop_id' => $shopid)); $pagedata['shopid'] = $shopid; $pagedata['is_center'] = $shopdata["is_shopcenter"]; $pagedata['status'] = $shopdata["status"]; $this->page('topc/shop/error.html', $pagedata)->send(); } }
public function __construct(&$app) { parent::__construct(); kernel::single('base_session')->start(); if (!$this->action) { $this->action = 'index'; } $this->action_view = $this->action . ".html"; // 检测是否登录 if (!userAuth::check()) { redirect::action('topc_ctl_passport@signin')->send(); exit; } $this->limit = 20; $this->passport = kernel::single('topc_passport'); }
public function __construct() { parent::__construct(); $this->setLayoutFlag('passport'); }
public function __construct($app) { parent::__construct(); $this->setLayoutFlag('topics'); }
public function __construct($app) { parent::__construct(); $this->setLayoutFlag('paycenter'); // 检测是否登录 }