source: temp/branches/mobile/html/mobile/mypage/change_complete.php @ 11418

Revision 11418, 853 bytes checked in by rebelt, 17 years ago (diff)

以下のモバイルサイト用ページ・機能を作成いたしました。

  • 退会
  • MYページ (お届け先登録以外)
  • メルマガ登録・解除
  • 画像変換機能
  • Property svn:eol-style set to native
Line 
1<?php
2/*
3 * Êѹ¹´°Î»
4 */
5require_once("../require.php");
6
7class LC_Page{
8    function LC_Page(){
9        $this->tpl_mainpage = 'mypage/change_complete.tpl';
10        $this->tpl_title = 'MY¥Ú¡¼¥¸/²ñ°÷ÅÐÏ¿ÆâÍÆÊѹ¹(´°Î»¥Ú¡¼¥¸)';
11    }
12}
13
14$objPage = new LC_Page();
15$objView = new SC_SiteView();
16$objCustomer = new SC_Customer();
17
18// ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ
19$objPage = sfGetPageLayout($objPage, false, "mypage/index.php");
20
21//¥»¥Ã¥·¥ç¥ó¾ðÊó¤òºÇ¿·¤Î¾õÂ֤˹¹¿·¤¹¤ë
22$objCustomer->updateSession();
23
24//¥í¥°¥¤¥óȽÄê
25if (!$objCustomer->isLoginSuccess()){
26    sfDispSiteError(CUSTOMER_ERROR);
27}else {
28    //¥Þ¥¤¥Ú¡¼¥¸¥È¥Ã¥×¸ÜµÒ¾ðÊóɽ¼¨ÍÑ
29    $objPage->CustomerName1 = $objCustomer->getvalue('name01');
30    $objPage->CustomerName2 = $objCustomer->getvalue('name02');
31    $objPage->CustomerPoint = $objCustomer->getvalue('point');
32}
33
34
35$objView->assignobj($objPage);
36$objView->display(SITE_FRAME);
37
38?>
Note: See TracBrowser for help on using the repository browser.