/**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/edit.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_maintitle = '受注管理';
     $this->tpl_subtitle = '受注登録';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrCountry = $masterData->getMasterData('mtb_country');
     $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status');
     $this->arrDeviceType = $masterData->getMasterData('mtb_device_type');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     $objShippingDate = new SC_Date_Ex(RELEASE_YEAR);
     $this->arrYearShippingDate = $objShippingDate->getYear('', date('Y'), '');
     $this->arrMonthShippingDate = $objShippingDate->getMonth(true);
     $this->arrDayShippingDate = $objShippingDate->getDay(true);
     $objBirthDate = new SC_Date_Ex(BIRTH_YEAR, date('Y', strtotime('now')));
     $this->arrBirthYear = $objBirthDate->getYear('', START_BIRTH_YEAR, '');
     $this->arrBirthMonth = $objBirthDate->getMonth(true);
     $this->arrBirthDay = $objBirthDate->getDay(true);
     // 支払い方法の取得
     $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList();
     // 配送業者の取得
     $this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList();
     $this->httpCacheControl('nocache');
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/mail.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_subno = 'index';
     $this->tpl_maintitle = '受注管理';
     $this->tpl_subtitle = '受注管理';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrMAILTEMPLATE = $masterData->getMasterData('mtb_mail_template');
     $this->httpCacheControl('nocache');
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/disp.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_subnavi = '';
     $this->tpl_subno = '';
     $this->tpl_subtitle = t('c_Order receipt information display_01');
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status');
     $this->arrDeviceType = $masterData->getMasterData('mtb_device_type');
     // 支払い方法の取得
     $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method');
     // 配送業者の取得
     $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', 'name');
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/disp.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_subnavi = '';
     $this->tpl_subno = '';
     $this->tpl_subtitle = '受注情報表示';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrORDERSTATUS = $masterData->getMasterData("mtb_order_status");
     $this->arrDeviceType = $masterData->getMasterData('mtb_device_type');
     // 支払い方法の取得
     $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList("dtb_payment", "payment_id", "payment_method");
     // 配送業者の取得
     $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList("dtb_deliv", "deliv_id", 'name');
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/disp.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_subnavi = '';
     $this->tpl_subno = '';
     $this->tpl_subtitle = '受注情報表示';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status');
     $this->arrDeviceType = $masterData->getMasterData('mtb_device_type');
     $this->arrCountry = $masterData->getMasterData('mtb_country');
     $this->arrSex = $masterData->getMasterData('mtb_sex');
     $this->arrJob = $masterData->getMasterData('mtb_job');
     // 支払い方法の取得
     $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList();
     // 配送業者の取得
     $this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList();
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
     $this->tpl_mainpage = 'order/edit.tpl';
     $this->tpl_mainno = 'order';
     $this->tpl_maintitle = '受注管理';
     $this->tpl_subtitle = '受注登録';
     $masterData = new SC_DB_MasterData_Ex();
     $this->arrPref = $masterData->getMasterData('mtb_pref');
     $this->arrORDERSTATUS = $masterData->getMasterData('mtb_order_status');
     $this->arrDeviceType = $masterData->getMasterData('mtb_device_type');
     $objDate = new SC_Date_Ex(RELEASE_YEAR);
     $this->arrYearShippingDate = $objDate->getYear('', date('Y'), '');
     $this->arrMonthShippingDate = $objDate->getMonth(true);
     $this->arrDayShippingDate = $objDate->getDay(true);
     // 支払い方法の取得
     $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method');
     // 配送業者の取得
     $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', 'name');
     $this->httpCacheControl('nocache');
 }
示例#7
0
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
// {{{ requires
require_once '../require.php';
require_once CLASS_EX_REALDIR . 'page_extends/admin/order/LC_Page_Admin_Order_Ex.php';
// }}}
// {{{ generate page
$objPage = new LC_Page_Admin_Order_Ex();
register_shutdown_function(array($objPage, 'destroy'));
$objPage->init();
$objPage->process();