當前位置: 首頁>>代碼示例>>PHP>>正文


PHP BaseSellerControl類代碼示例

本文整理匯總了PHP中BaseSellerControl的典型用法代碼示例。如果您正苦於以下問題:PHP BaseSellerControl類的具體用法?PHP BaseSellerControl怎麽用?PHP BaseSellerControl使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了BaseSellerControl類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct()
 {
     parent::__construct();
     $model_refund = Model('refund_return');
     $model_refund->getRefundStateArray();
     Language::read('member_store_index');
 }
開發者ID:ff00x0,項目名稱:shopnc,代碼行數:7,代碼來源:store_return.php

示例2: __construct

    public function __construct(){
        parent::__construct();
		Language::read('member_store_statistics');
		import('function.statistics');
        import('function.datehelper');
        $model = Model('stat');
        //存儲參數
		$this->search_arr = $_REQUEST;
		//處理搜索時間
		if (in_array($this->search_arr['op'],array('price','hotgoods'))){
		    $this->search_arr = $model->dealwithSearchTime($this->search_arr);
    		//獲得係統年份
    		$year_arr = getSystemYearArr();
    		//獲得係統月份
    		$month_arr = getSystemMonthArr();
    		//獲得本月的周時間段
    		$week_arr = getMonthWeekArr($this->search_arr['week']['current_year'], $this->search_arr['week']['current_month']);
    		Tpl::output('year_arr', $year_arr);
    		Tpl::output('month_arr', $month_arr);
    		Tpl::output('week_arr', $week_arr);
		}
        Tpl::output('search_arr', $this->search_arr);
        /**
         * 處理商品分類
         */
        $this->choose_gcid = ($t = intval($_REQUEST['choose_gcid']))>0?$t:0;
        $gccache_arr = Model('goods_class')->getGoodsclassCache($this->choose_gcid,3);
        $this->gc_arr = $gccache_arr['showclass'];
	    Tpl::output('gc_json',json_encode($gccache_arr['showclass']));
		Tpl::output('gc_choose_json',json_encode($gccache_arr['choose_gcid']));
    }
開發者ID:noikiy,項目名稱:ejia,代碼行數:31,代碼來源:statistics_goods.php

示例3: __construct

 public function __construct() {
     parent::__construct();
     //檢查是否開啟
     if (intval(C('promotion_allow')) !== 1) {
         showMessage(Language::get('promotion_unavailable'), urlShop('seller_center', 'index'),'','error');
     }
 }
開發者ID:noikiy,項目名稱:ejia,代碼行數:7,代碼來源:store_promotion_booth.php

示例4: __construct

 public function __construct()
 {
     parent::__construct();
     if (!empty($_SESSION['seller_id'])) {
         @header('location: index.php?act=seller_center');
         die;
     }
 }
開發者ID:flying3615,項目名稱:chuniang,代碼行數:8,代碼來源:seller_login.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_layout,promotion_mansong');
     //檢查滿就送是否開啟
     if (intval(C('promotion_allow')) !== 1) {
         showMessage(Language::get('promotion_unavailable'), 'index.php?act=seller_center', '', 'error');
     }
 }
開發者ID:dotku,項目名稱:shopnc_cnnewyork,代碼行數:9,代碼來源:store_promotion_mansong.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     if ($_GET['type'] != '' && $_GET['type'] != 'select') {
         $_GET['type'] = 'select';
     }
     if ($_POST['type'] != '' && $_POST['type'] != 'select') {
         $_POST['type'] = 'select';
     }
 }
開發者ID:wangjiang988,項目名稱:ukshop,代碼行數:10,代碼來源:store_transport.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_brand');
     $lang = Language::getLangContent();
     //賣家店鋪是否審核的判斷
     if ($this->store_info['store_state'] == 2) {
         showMessage($lang['store_auditing_tip'], 'index.php?act=store', 'html', 'error');
     }
 }
開發者ID:norain2050,項目名稱:xingkang,代碼行數:10,代碼來源:store_brand.php

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     /**
      * 讀取語言包
      */
     Language::read('member_layout,member_store_promotion_bundling');
     //檢查是否開啟
     if (intval(C('promotion_allow')) !== 1) {
         showMessage(Language::get('promotion_unavailable'), urlShop('seller_center', 'index'), '', 'error');
     }
 }
開發者ID:noikiy,項目名稱:cunkou,代碼行數:12,代碼來源:store_promotion_bundling.php

示例9: __construct

	public function __construct() {
		parent::__construct();
		$add_time_to = date("Y-m-d");
		$time_from = array();
		$time_from['7'] = strtotime($add_time_to)-60*60*24*7;
		$time_from['60'] = strtotime($add_time_to)-60*60*24*60;
		$add_time_from = date("Y-m-d",$time_from['60']);
		Tpl::output('minDate', $add_time_from);//隻能查看2個月內數據
		Tpl::output('maxDate', $add_time_to);
		if (empty($_GET['add_time_from']) || $_GET['add_time_from'] < $add_time_from) {//默認顯示7天內數據
			$_GET['add_time_from'] = date("Y-m-d",$time_from['7']);
		}
		if (empty($_GET['add_time_to']) || $_GET['add_time_to'] > $add_time_to) {
			$_GET['add_time_to'] = $add_time_to;
		}
	}
開發者ID:noikiy,項目名稱:ejia,代碼行數:16,代碼來源:store_im.php

示例10: __construct

	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);
	}
開發者ID:noikiy,項目名稱:ejia,代碼行數:18,代碼來源:store_voucher.php

示例11: __construct

    public function __construct(){
        parent::__construct();
        Language::read('stat');
        import('function.statistics');
        import('function.datehelper');
        $model = Model('stat');
        //存儲參數
		$this->search_arr = $_REQUEST;
		//處理搜索時間
	    $this->search_arr = $model->dealwithSearchTime($this->search_arr);
		//獲得係統年份
		$year_arr = getSystemYearArr();
		//獲得係統月份
		$month_arr = getSystemMonthArr();
		//獲得本月的周時間段
		$week_arr = getMonthWeekArr($this->search_arr['week']['current_year'], $this->search_arr['week']['current_month']);
		Tpl::output('year_arr', $year_arr);
		Tpl::output('month_arr', $month_arr);
		Tpl::output('week_arr', $week_arr);
        Tpl::output('search_arr', $this->search_arr);
    }
開發者ID:noikiy,項目名稱:ejia,代碼行數:21,代碼來源:statistics_flow.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_index');
 }
開發者ID:ff00x0,項目名稱:shopnc,代碼行數:5,代碼來源:store_setting.php

示例13: __construct

 public function __construct()
 {
     error_reporting(0);
     parent::__construct();
 }
開發者ID:lehman3087,項目名稱:wanhaoshop,代碼行數:5,代碼來源:designer.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
 }
開發者ID:wangjiang988,項目名稱:ukshop,代碼行數:4,代碼來源:store_vr_bill.php

示例15: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_store_statistics');
     import('function.statistics');
 }
開發者ID:mengtaolin,項目名稱:shopping,代碼行數:6,代碼來源:statistics_general.php


注:本文中的BaseSellerControl類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。