public function __construct()
 {
     parent::__construct();
     if (!$_SESSION['is_login']) {
         header('Location:index.php?act=wap_login&op=login');
     }
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     if ($_SESSION['is_login'] == '1') {
         header('Location:index.php?act=wap_index');
     }
 }
Example #3
0
 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']);
 }
Example #5
0
 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);
 }
Example #6
0
 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'));
     }
 }
Example #7
0
 public function __construct()
 {
     parent::__construct();
 }