source: branches/dev/html/mypage/change_complete.php @ 8

Revision 8, 981 bytes checked in by root, 17 years ago (diff)

new import

Line 
1<?php
2/*
3 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7require_once("../require.php");
8
9class LC_Page{
10    function LC_Page(){
11        $this->tpl_mainpage = USER_PATH . 'templates/mypage/change_complete.tpl';
12        $this->tpl_title = 'MY¥Ú¡¼¥¸/²ñ°÷ÅÐÏ¿ÆâÍÆÊѹ¹(´°Î»¥Ú¡¼¥¸)';
13        $this->tpl_navi = USER_PATH . 'templates/mypage/navi.tpl';
14        $this->tpl_mypageno = 'change';
15    }
16}
17
18$objPage = new LC_Page();
19$objView = new SC_SiteView();
20$objCustomer = new SC_Customer();
21
22// ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ
23$objPage = sfGetPageLayout($objPage, false, "mypage/index.php");
24
25//¥í¥°¥¤¥óȽÄê
26if (!$objCustomer->isLoginSuccess()){
27    sfDispSiteError(CUSTOMER_ERROR);
28}else {
29    //¥Þ¥¤¥Ú¡¼¥¸¥È¥Ã¥×¸ÜµÒ¾ðÊóɽ¼¨ÍÑ
30    $objPage->CustomerName1 = $objCustomer->getvalue('name01');
31    $objPage->CustomerName2 = $objCustomer->getvalue('name02');
32    $objPage->CustomerPoint = $objCustomer->getvalue('point');
33}
34
35
36$objView->assignobj($objPage);
37$objView->display(SITE_FRAME);
38
39?>
Note: See TracBrowser for help on using the repository browser.