Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_return');
     $state_array = array('1' => Language::get('return_state_confirm'), '2' => Language::get('return_state_yes'), '3' => Language::get('return_state_no'));
     //状态:1为待审核,2为同意,3为不同意
     Tpl::output('state_array', $state_array);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_store_album');
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_layout,member_inform');
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_gbuy');
     $gold_isuse = $GLOBALS['setting_config']['gold_isuse'];
     if ($gold_isuse != '1') {
         showMessage(Language::get('store_gbuy_gold_isuse'), 'index.php?act=store', 'html', 'error');
     }
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     if ($_GET['type'] != '' && $_GET['type'] != 'select') {
         $_GET['type'] = 'select';
     }
     if ($_POST['type'] != '' && $_POST['type'] != 'select') {
         $_POST['type'] = 'select';
     }
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     //读取语言包
     Language::read('member_groupbuy');
     //检查团购功能是否开启
     if (intval($GLOBALS['setting_config']['groupbuy_allow']) !== 1) {
         showMessage(Language::get('groupbuy_unavailable'), 'index.php?act=store', '', 'error');
     }
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_layout,promotion_mansong');
     //检查满就送是否开启
     if (intval(C('gold_isuse')) !== 1 || intval(C('promotion_allow')) !== 1) {
         showMessage(Language::get('promotion_unavailable'), 'index.php?act=store', '', 'error');
     }
 }
Ejemplo n.º 8
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_store_ztc');
     /**
      * 判断系统是否开启直通车和金币功能
      */
     if ($GLOBALS['setting_config']['gold_isuse'] != 1 || $GLOBALS['setting_config']['ztc_isuse'] != 1) {
         showMessage(Language::get('store_ztc_unavailable'), 'index.php?act=store', 'html', 'error');
     }
 }
Ejemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_store_index');
     if ($_SESSION['store_id'] < 1) {
         @header("Location: index.php?act=home");
         exit;
     }
     /**
      * 重新设置布局文件内容
      */
     Tpl::setLayout('member_goods_marketing_layout');
 }
Ejemplo n.º 10
0
 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_store_goods_index');
     $lang = Language::getLangContent();
     /**
      * 店铺当前等级及店铺信息
      */
     $model_grade = Model('store_grade');
     $store_grade = $model_grade->getGradeShopList(array('store_id' => "{$_SESSION['store_id']}"));
     if (intval($store_grade[0]['store_state']) == 2) {
         //卖家店铺是否审核的判断
         showMessage($lang['store_auditing_tip'], 'index.php?act=store', 'html', 'error');
     }
 }
Ejemplo n.º 11
0
 public function __construct()
 {
     parent::__construct();
     //读取语言包
     Language::read('member_layout,member_voucher');
     //判断系统是否开启代金券功能
     if (C('voucher_allow') != 1) {
         showMessage(Language::get('voucher_unavailable'), 'index.php?act=store', 'html', 'error');
     }
     //申请记录状态
     $this->applystate_arr = array('new' => array(1, Language::get('voucher_applystate_new')), 'verify' => array(2, Language::get('voucher_applystate_verify')), 'cancel' => array(3, Language::get('voucher_applystate_cancel')));
     //套餐状态
     $this->quotastate_arr = array('activity' => array(1, Language::get('voucher_quotastate_activity')), 'cancel' => array(2, Language::get('voucher_quotastate_cancel')), 'expire' => array(3, Language::get('voucher_quotastate_expire')));
     //代金券模板状态
     $this->templatestate_arr = array('usable' => array(1, Language::get('voucher_templatestate_usable')), 'disabled' => array(2, Language::get('voucher_templatestate_disabled')));
     Tpl::output('applystate_arr', $this->applystate_arr);
     Tpl::output('quotastate_arr', $this->quotastate_arr);
     Tpl::output('templatestate_arr', $this->templatestate_arr);
 }
Ejemplo n.º 12
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_layout,member_complain');
 }
Ejemplo n.º 13
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_index');
 }
Ejemplo n.º 14
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_layout,member_evaluate');
     Tpl::output('pj_act', 'store_evaluate');
 }
Ejemplo n.º 15
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 16
0
 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_statistics');
 }
Ejemplo n.º 17
0
 public function __construct()
 {
     parent::__construct();
     Language::read('store_sns,member_sns');
 }