Beispiel #1
0
	public function __construct() {
		parent::__construct();
		//验证是否登录
		if ($_SESSION['is_login'] != '1'){
		    showDialog(L('no_login'),'index.php?act=login', 'error');
		}
	}
Beispiel #2
0
	public function __construct() {
		parent::__construct();
		//读取语言包
		Language::read('home_voucher');
		//判断系统是否开启代金券功能
		if (C('voucher_allow') != 1){
			showDialog(L('voucher_pointunavailable'),'index.php','error');
		}
	}
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
     Uk86Language::uk86_read('home_pointprod');
     //验证是否登录
     if ($_SESSION['is_login'] != '1') {
         showDialog(L('no_login'), 'index.php?act=login', 'error');
     }
 }
Beispiel #4
0
	public function __construct() {
		parent::__construct();
		//读取语言包
		Language::read('home_pointprod');
		//判断系统是否开启积分兑换功能
		if (C('pointprod_isuse') != 1){
			showDialog(L('pointprod_unavailable'),'index.php','error');
		}
		Tpl::output('index_sign','pointshop');
	}
Beispiel #5
0
	public function __construct() {
		parent::__construct();
		//读取语言包
		Language::read('home_pointcart');

		//判断系统是否开启积分和积分兑换功能
		if (C('pointprod_isuse') != 1){
			showDialog(L('pointcart_unavailable'),'index.php','error');
		}
		//验证是否登录
		if ($_SESSION['is_login'] != '1'){
			showDialog(L('pointcart_unlogin_error'),'index.php?act=login','error');
		}
	}
Beispiel #6
0
	public function __construct() {
	    parent::__construct();
	    //读取语言包
	    Language::read('home_pointprod,home_voucher');
	}