public function __construct() { parent::__construct(); if (!$_SESSION['is_login']) { header('Location:index.php?act=wap_login&op=login'); } }
public function __construct() { parent::__construct(); if ($_SESSION['is_login'] == '1') { header('Location:index.php?act=wap_index'); } }
public function __construct() { parent::__construct(); if (!$_SESSION['is_login']) { header('Location:index.php?act=wap_login&op=login'); } $model_refund = Model('refund_return'); $model_refund->getRefundStateArray(); }
public function __construct() { parent::__construct(); //验证是否登录 if (!$_SESSION['is_login']) { header('Location:index.php?act=wap_login&op=login'); } $this->condition['member_id'] = intval($_SESSION['member_id']); }
public function __construct() { parent::__construct(); Uk86Language::uk86_read('home_cart_index'); if (!$_SESSION['member_id']) { uk86_redirect('index.php?act=wap_login&op=login'); } //验证该会员是否禁止购买 if (!$_SESSION['is_buy']) { $this->wap_showDialog(Uk86Language::uk86_get('cart_buy_noallow')); } //Tpl::output('hidden_rtoolbar_cart', 1); }
public function __construct() { parent::__construct(); Uk86Language::uk86_read('home_cart_index'); //输出会员信息 $this->member_info = $this->getMemberAndGradeInfo(true); Tpl::output('member_info', $this->member_info); if (!$_SESSION['member_id']) { uk86_redirect('index.php?act=wap_login&op=login'); } //验证该会员是否禁止购买 if (!$_SESSION['is_buy']) { $this->wap_showDialog(Uk86Language::uk86_get('cart_buy_noallow')); } }
public function __construct() { parent::__construct(); }