Changeset 17909


Ignore:
Timestamp:
2009/03/19 12:28:14 (11 years ago)
Author:
Seasoft
Message:

merge 17724
・取得元: version-2
【取得元のログメッセージ】
#375 解決

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/SC_Fpdf.php

    r17798 r17909  
    103103    function setShopData() { 
    104104        // ショップ情報 
    105  
    106105        $objInfo = new SC_SiteInfo(); 
    107106        $arrInfo = $objInfo->data; 
     
    110109        $this->lfText(125, 63, $arrInfo['law_url'], 8);          //URL 
    111110        $this->lfText(125, 68, $arrInfo['law_company'], 8);        //会社名 
    112         $text = "〒 ".$arrInfo['zip01']." - ".$arrInfo['zip02']; 
     111        $text = "〒 ".$arrInfo['law_zip01']." - ".$arrInfo['law_zip02']; 
    113112        $this->lfText(125, 71, $text, 8);  //郵便番号 
    114         $text = $this->arrPref[$arrInfo['pref']].$arrInfo['addr01']; 
     113        $text = $this->arrPref[$arrInfo['law_pref']].$arrInfo['law_addr01']; 
    115114        $this->lfText(125, 74, $text, 8);  //都道府県+住所1 
    116         $this->lfText(125, 77, $arrInfo['addr02'], 8);          //住所2 
    117  
    118         $text = "TEL: ".$arrInfo['tel01']."-".$arrInfo['tel02']."-".$arrInfo['tel03']; 
    119         if (!empty($arrInfo['fax01']) && $arrInfo['fax02'] && $arrInfo['fax03']) { 
    120             $text .= " FAX: ".$arrInfo['fax01']."-".$arrInfo['fax02']."-".$arrInfo['fax03']; 
     115        $this->lfText(125, 77, $arrInfo['law_addr02'], 8);          //住所2 
     116        $text = "TEL: ".$arrInfo['law_tel01']."-".$arrInfo['law_tel02']."-".$arrInfo['law_tel03']; 
     117        //FAX番号が存在する場合、表示する 
     118        if (strlen($arrInfo['law_fax01']) > 0) { 
     119            $text .= " FAX: ".$arrInfo['law_fax01']."-".$arrInfo['law_fax02']."-".$arrInfo['law_fax03']; 
    121120        } 
    122121        $this->lfText(125, 80, $text, 8);  //TEL・FAX 
Note: See TracChangeset for help on using the changeset viewer.