示例#1
0
 function TrackApp()
 {
     parent::BackendApp();
     $this->_goods_mod =& m('goods');
     $this->_uploadedfile_mod =& m('uploadedfile');
     $this->track =& m('check');
 }
示例#2
0
 function AdApp()
 {
     parent::__construct();
     //初始化数据模型
     $this->_ad_mod =& m('ad');
     $this->_ad_position_mod =& m('ad_position');
 }
示例#3
0
 function StoreApp()
 {
     parent::__construct();
     $this->_store_mod =& m('store');
     $this->_zhipping_mod =& m('zhipping');
     //Add by MingFONG for Zhipping at 2014-09-19
 }
示例#4
0
 function OrderApp()
 {
     parent::__construct();
     $this->_order_mod =& m('order');
     $this->_member_mod =& m('member');
     $this->_goodsspec_mod =& m('goodsspec');
 }
示例#5
0
 function AttributeApp()
 {
     parent::BackendApp();
     $this->_attribute_mod =& m('attribute');
     $this->_attribute_value_mod =& m('attribute_value');
     $this->_gcategory_mod =& m('gcategory');
 }
示例#6
0
 function SwfuploadApp()
 {
     /* 建立会话 */
     if (isset($_POST["ECM_ID"]) && isset($_POST['HTTP_USER_AGENT'])) {
         $_COOKIE['ECM_ID'] = $_POST["ECM_ID"];
         $_SERVER['HTTP_USER_AGENT'] = $_POST['HTTP_USER_AGENT'];
     } else {
         $this->json_error('no_post_params_authorize');
         exit;
     }
     parent::__construct();
     /* 初始化 */
     if (isset($_POST['belong'])) {
         $this->belong = $_POST['belong'];
     } else {
         $this->json_error('no_post_param_belong');
         exit;
     }
     if (isset($_POST['item_id'])) {
         $this->item_id = $_POST['item_id'];
     } else {
         $this->json_error('no_post_param_item_id');
         exit;
     }
     switch ($this->belong) {
         case BELONG_ARTICLE:
             $this->save_path = 'data/files/mall/article';
             break;
     }
     $this->mod_uploadedfile =& m('uploadedfile');
 }
 function Ultimate_storeApp()
 {
     parent::__construct();
     $this->_store_mod =& m('store');
     $this->_us_mod =& m('ultimate_store');
     $this->_member_mod =& m('member');
     $this->_brand_mod =& m('brand');
 }
示例#8
0
 function PropsApp()
 {
     parent::BackendApp();
     $this->_gcate_mod =& m('gcategory');
     $this->_props_mod =& m('props');
     $this->_prop_value_mod =& m('prop_value');
     $this->_cate_pvs_mod =& m('cate_pvs');
 }
示例#9
0
 function MailtemplateApp()
 {
     parent::__construct();
     $this->_m = $this->_af();
     $this->assign('notice_mail', NOTICE_MAIL);
     $this->assign('notice_msg', NOTICE_MSG);
     $this->assign('type', $this->_type);
 }
示例#10
0
 function ArticleApp()
 {
     parent::BackendApp();
     $this->_article_mod =& m('article');
     $this->tag =& m('tag');
     $this->tagmap =& m('tagmap');
     $this->_uploadedfile_mod =& m('uploadedfile');
 }
示例#11
0
 function DbApp()
 {
     parent::BackendApp();
     /* 设置最长执行时间为5分钟 */
     _at('set_time_limit', 300);
     _at('ini_set', 'memory_limit', '64M');
     $this->db =& db();
     $this->backup_path = ROOT_PATH . '/' . 'data/' . $this->backup_dir . '/';
 }
示例#12
0
 function ChannelApp()
 {
     parent::BackendApp();
     $this->_channel_mod =& af('channels');
     $this->_gcategory_mod =& bm('gcategory', array('_store_id' => 0));
     $this->_tpl_filepath = ROOT_PATH . '/themes/mall/' . $this->_get_template_name() . '/';
     $this->_tpl_confpath = ROOT_PATH . '/data/page_config/';
     $this->_tpl_url = SITE_URL . '/themes/mall/' . $this->_get_template_name() . '/styles/' . $this->_get_style_name();
 }
示例#13
0
 function ComuploadApp()
 {
     parent::__construct();
     if (isset($_REQUEST['id'])) {
         $this->id = intval($_REQUEST['id']);
     }
     if (isset($_REQUEST['belong'])) {
         $this->belong = intval($_REQUEST['belong']);
     }
 }
示例#14
0
 function NavigationApp()
 {
     parent::BackendApp();
     $this->_navi_mod =& m('navigation');
 }
示例#15
0
 function BrandApp()
 {
     parent::BackendApp();
     $this->_brand_mod =& m('brand');
 }
 function GcategoryApp()
 {
     parent::__construct();
     $this->_gcategory_mod =& bm('gcategory', array('_store_id' => 0));
 }
示例#17
0
 function RegionApp()
 {
     parent::__construct();
     $this->_region_mod =& m('region');
 }
示例#18
0
 function AdminApp()
 {
     parent::__construct();
     $this->_admin_mod =& m('userpriv');
     $this->_user_mod =& m('member');
 }
示例#19
0
 function Store_tipsApp()
 {
     parent::__construct();
     $this->_storetips_mod =& m('storetips');
 }
示例#20
0
 function CouponApp()
 {
     parent::__construct();
     $this->_coupon_mod =& m('coupon');
     $this->_couponsn_mod =& m('couponsn');
 }
示例#21
0
 function NoticeApp()
 {
     parent::__construct();
     $this->_user_mod =& m('member');
     $this->_sgrade_mod =& m('sgrade');
 }
示例#22
0
 function goodsqaapp()
 {
     $this->goodsqa_mod =& m('goodsqa');
     parent::__construct();
 }
示例#23
0
 function StoreApp()
 {
     parent::__construct();
     $this->_store_mod =& m('store');
 }
示例#24
0
 function AdApp()
 {
     parent::BackendApp();
     $this->_ad_mod =& m('ad');
 }
示例#25
0
 function ShareApp()
 {
     parent::BackendApp();
     $this->_m_share =& af('share');
 }
示例#26
0
 function PartnerApp()
 {
     parent::BackendApp();
     $this->_partner_mod =& m('partner');
 }
示例#27
0
 function SgradeApp()
 {
     parent::__construct();
     $this->_grade_mod =& m('sgrade');
 }
示例#28
0
 function SettingApp()
 {
     parent::BackendApp();
     $_POST = stripslashes_deep($_POST);
 }
示例#29
0
 function GoodsApp()
 {
     parent::BackendApp();
     $this->_goods_mod =& m('goods');
 }
示例#30
0
 function GroupbuyApp()
 {
     parent::BackendApp();
     $this->_groupbuy_mod =& m('groupbuy');
 }