/**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     ob_end_clean();
     parent::process();
     $this->action();
     $this->sendResponse();
 }
 /**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     parent::process();
     // ログインチェック
     $objCustomer = new SC_Customer_Ex();
     // ログインしていない場合は必ずログインページを表示する
     if ($objCustomer->isLoginSuccess(true) === false) {
         // クッキー管理クラス
         $objCookie = new SC_Cookie_Ex();
         // クッキー判定(メールアドレスをクッキーに保存しているか)
         $this->tpl_login_email = $objCookie->getCookie('login_email');
         if ($this->tpl_login_email != '') {
             $this->tpl_login_memory = '1';
         }
         // POSTされてきたIDがある場合は優先する。
         if (isset($_POST['login_email']) && $_POST['login_email'] != '') {
             $this->tpl_login_email = $_POST['login_email'];
         }
         // 携帯端末IDが一致する会員が存在するかどうかをチェックする。
         if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_MOBILE) {
             $this->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId();
         }
         $this->tpl_title = 'MYページ(ログイン)';
         $this->tpl_mainpage = 'mypage/login.tpl';
     } else {
         //マイページ会員情報表示用共通処理
         $this->tpl_login = true;
         $this->CustomerName1 = $objCustomer->getValue('name01');
         $this->CustomerName2 = $objCustomer->getValue('name02');
         $this->CustomerPoint = $objCustomer->getValue('point');
         $this->action();
     }
     $this->sendResponse();
 }
Example #3
0
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     $this->skip_load_page_layout = true;
     parent::init();
     $this->staticURL = array();
     $this->staticURL[] = HTTP_URL . 'rss/' . DIR_INDEX_PATH;
 }
 /**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     parent::process();
     $this->action();
     $this->sendResponse();
     // プラグインなどで order_id を取得する場合があるため,  ここで unset する
     unset($_SESSION['order_id']);
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     $this->skip_load_page_layout = true;
     parent::init();
     $this->tpl_mainpage = 'rss/index.tpl';
     $this->encode = 'UTF-8';
     $this->description = '新着情報';
 }
Example #6
0
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     $this->skip_load_page_layout = true;
     parent::init();
     $this->tpl_mainpage = 'rss/products.tpl';
     $this->encode = 'UTF-8';
     $this->title = '商品一覧情報';
 }
Example #7
0
 /**
  * hook function called before LC_Page_Admin_Order_Edit
  * Send requests to WebPay if mode is of plg_webpayext
  */
 public function beforeAdminOrderEdit(LC_Page_Ex $objPage)
 {
     if ($objPage->getMode() === 'plg_webpayext_capture') {
         $_GET['mode'] = 'recalculate';
         $order_id = $_POST['order_id'];
         if (empty($order_id)) {
             return;
         }
         $objCharge = new SC_Mdl_WebPay_Models_Charge($order_id);
         $arrModuleSetting = SC_Mdl_WebPay_Models_Module::loadCurrentSetting();
         $objWebPay = new SC_Mdl_WebPay_Wrapper($arrModuleSetting['secret_key']);
         $message = $objCharge->capture($objWebPay);
         if ($message !== null) {
             $objPage->plg_webpayext_capture_error = $message;
         }
     }
 }
 /**
  *
  * {@inheritDoc}
  *
  * @see LC_Page::process()
  */
 function process()
 {
     if (ADMIN_FORCE_SSL && SC_Utils_Ex::sfIsHTTPS() === false) {
         SC_Response_Ex::reloadSSL();
         SC_Response_Ex::actionExit();
     }
     GC_Utils_Ex::gfPrintLog(print_r($_SESSION, true), DEBUG_LOG_REALFILE);
     GC_Utils_Ex::gfPrintLog(print_r($_COOKIE, true), DEBUG_LOG_REALFILE);
     GC_Utils_Ex::gfPrintLog(print_r($_SERVER, true), DEBUG_LOG_REALFILE);
     GC_Utils_Ex::gfPrintLog(print_r($_ENV, true), DEBUG_LOG_REALFILE);
     parent::process();
     $this->action();
     $this->sendResponse();
 }
Example #9
0
 /**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     parent::process();
     $objView = new SC_SiteView_Ex();
     $objSess = new SC_Session_Ex();
     SC_Utils_Ex::sfIsSuccess($objSess);
     if (isset($_SESSION['preview']) && $_SESSION['preview'] === 'ON') {
         // プレビュー用のレイアウトデザインを取得
         $objLayout = new SC_Helper_PageLayout_Ex();
         $objLayout->sfGetPageLayout($this, true);
         // 画面の表示
         $objView->assignobj($this);
         $objView->display(SITE_FRAME);
         return;
     }
     SC_Utils_Ex::sfDispSiteError(PAGE_ERROR);
 }
 /**
  * デストラクタ.
  *
  * @return void
  */
 function destroy()
 {
     parent::destroy();
 }
 /**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     parent::process();
     $this->action();
     $this->sendResponse();
 }
Example #12
0
 /**
  * Page を初期化する.
  *
  * @return void
  */
 function init()
 {
     parent::init();
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     $this->skip_load_page_layout = true;
     parent::init();
 }
Example #14
0
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     $this->skip_load_page_layout = true;
     parent::init();
     $this->tpl_message = '住所を検索しています。';
 }
Example #15
0
 /**
  * Page のプロセス.
  *
  * @return void
  */
 public function process()
 {
     parent::process();
     $this->action();
 }
 /**
  * Page を初期化する.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     $this->httpCacheControl('nocache');
 }