Ignore:
Timestamp:
2007/03/11 06:27:25 (20 years ago)
Author:
nanasess
Message:

r11729 の変更を取消

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu/html/mypage/delivery.php

    r11729 r11730  
    1010    function LC_Page(){ 
    1111        $this->tpl_mainpage = USER_PATH . 'templates/mypage/delivery.tpl'; 
    12         $this->tpl_title = "MYページ/お届け先追加・変更"; 
     12        $this->tpl_title = "MY¥Ú¡¼¥¸/¤ªÆÏ¤±ÀèÄɲÎ¥Êѹ¹"; 
    1313        $this->tpl_navi = USER_PATH . 'templates/mypage/navi.tpl'; 
    1414        $this->tpl_mainno = 'mypage'; 
    … …  
    2626$objConn = new SC_DBConn(); 
    2727 
    28 //ログイン判定 
     28//¥í¥°¥¤¥óȽÄê 
    2929if(!$objCustomer->isLoginSuccess()) { 
    3030    sfDispSiteError(CUSTOMER_ERROR); 
    3131}else { 
    32     //マイページトップ顧客情報表示用 
     32    //¥Þ¥¤¥Ú¡¼¥¸¥È¥Ã¥×¸ÜµÒ¾ðÊóɽ¼¨ÍÑ 
    3333    $objPage->CustomerName1 = $objCustomer->getvalue('name01'); 
    3434    $objPage->CustomerName2 = $objCustomer->getvalue('name02'); 
    … …  
    3737 
    3838 
    39 // レイアウトデザインを取得 
     39// ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ 
    4040$objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 
    4141 
    42 //削除 
     42//ºï½ü 
    4343if($_POST['mode'] == 'delete') { 
    44     //不正アクセス判定 
     44    //ÉÔÀµ¥¢¥¯¥»¥¹È½Äê 
    4545    $flag = $objQuery->count("dtb_other_deliv", "customer_id=? AND other_deliv_id=?", array($objCustomer->getValue('customer_id'), $_POST['other_deliv_id'])); 
    4646    if($flag > 0) { 
    47         //削除 
     47        //ºï½ü 
    4848        $objQuery->delete("dtb_other_deliv", "other_deliv_id=?", array($_POST['other_deliv_id'])); 
    4949    } else { 
    … …  
    5959$order = "other_deliv_id DESC"; 
    6060 
    61 //お届け先登録件数取得 
     61//¤ªÆÏ¤±ÀèÅÐÏ¿·ï¿ô¼èÆÀ 
    6262$linemax = $objQuery->count($from, $where, $arrval); 
    6363 
    6464$objPage->tpl_linemax = $linemax; 
    6565 
    66 // 表示順序 
     66// ɽ¼¨½ç½ø 
    6767$objQuery->setorder($order); 
    6868 
    69 //別のお届け先情報表示 
     69//Ê̤ΤªÆÏ¤±Àè¾ðÊóɽ¼¨ 
    7070$objPage->arrOtherDeliv = $objQuery->select("*", $from, $where, $arrval); 
    7171 
    72 //お届け先登録数をテンプレートに渡す 
     72//¤ªÆÏ¤±ÀèÅÐÏ¿¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤ËÅϤ¹ 
    7373$objPge->deliv_cnt = count($objPage->arrOtherDeliv); 
    7474 
Note: See TracChangeset for help on using the changeset viewer.