1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | |
---|
8 | // {{{ requires |
---|
9 | require_once(CLASS_PATH . "pages/LC_Page.php"); |
---|
10 | |
---|
11 | /** |
---|
12 | * 退会手続 のページクラス. |
---|
13 | * |
---|
14 | * @package Page |
---|
15 | * @author LOCKON CO.,LTD. |
---|
16 | * @version $Id$ |
---|
17 | */ |
---|
18 | class LC_Page_Mypage_RefusalComplete extends LC_Page { |
---|
19 | |
---|
20 | // }}} |
---|
21 | // {{{ functions |
---|
22 | |
---|
23 | /** |
---|
24 | * Page を初期化する. |
---|
25 | * |
---|
26 | * @return void |
---|
27 | */ |
---|
28 | function init() { |
---|
29 | parent::init(); |
---|
30 | $this->tpl_mainpage = TEMPLATE_DIR . 'mypage/refusal_complete.tpl'; |
---|
31 | $this->tpl_title = "MYページ/退会手続き(完了ページ)"; |
---|
32 | $this->tpl_navi = TEMPLATE_DIR . 'mypage/navi.tpl'; |
---|
33 | $this->tpl_mypageno = 'refusal'; |
---|
34 | $this->tpl_column_num = 1; |
---|
35 | $this->point_disp = false; |
---|
36 | } |
---|
37 | |
---|
38 | /** |
---|
39 | * Page のプロセス. |
---|
40 | * |
---|
41 | * @return void |
---|
42 | */ |
---|
43 | function process() { |
---|
44 | $objView = new SC_SiteView(); |
---|
45 | |
---|
46 | $objCustomer = new SC_Customer(); |
---|
47 | //マイページトップ顧客情報表示用 |
---|
48 | $this->CustomerName1 = $objCustomer->getvalue('name01'); |
---|
49 | $this->CustomerName2 = $objCustomer->getvalue('name02'); |
---|
50 | $this->CustomerPoint = $objCustomer->getvalue('point'); |
---|
51 | |
---|
52 | // レイアウトデザインを取得 |
---|
53 | $objLayout = new SC_Helper_PageLayout_Ex(); |
---|
54 | $objLayout->sfGetPageLayout($this, false, "mypage/index.php"); |
---|
55 | |
---|
56 | $objView->assignobj($this); |
---|
57 | $objView->display(SITE_FRAME); |
---|
58 | } |
---|
59 | |
---|
60 | /** |
---|
61 | * モバイルページを初期化する. |
---|
62 | * |
---|
63 | * @return void |
---|
64 | */ |
---|
65 | function mobileInit() { |
---|
66 | $this->tpl_mainpage = 'mypage/refusal_complete.tpl'; |
---|
67 | $this->tpl_title = "MYページ/退会手続き(完了ページ)"; |
---|
68 | $this->point_disp = false; |
---|
69 | } |
---|
70 | |
---|
71 | /** |
---|
72 | * Page のプロセス(モバイル). |
---|
73 | * |
---|
74 | * @return void |
---|
75 | */ |
---|
76 | function mobileProcess() { |
---|
77 | $objView = new SC_MobileView(); |
---|
78 | |
---|
79 | $objCustomer = new SC_Customer(); |
---|
80 | //マイページトップ顧客情報表示用 |
---|
81 | $this->CustomerName1 = $objCustomer->getvalue('name01'); |
---|
82 | $this->CustomerName2 = $objCustomer->getvalue('name02'); |
---|
83 | $this->CustomerPoint = $objCustomer->getvalue('point'); |
---|
84 | |
---|
85 | $objView->assignobj($this); |
---|
86 | $objView->display(SITE_FRAME); |
---|
87 | } |
---|
88 | |
---|
89 | /** |
---|
90 | * デストラクタ. |
---|
91 | * |
---|
92 | * @return void |
---|
93 | */ |
---|
94 | function destroy() { |
---|
95 | parent::destroy(); |
---|
96 | } |
---|
97 | } |
---|
98 | ?> |
---|