Changeset 17724


Ignore:
Timestamp:
2008/12/03 13:09:56 (12 years ago)
Author:
takegami
Message:

#375 解決

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_Fpdf.php

    r17514 r17724  
    9999    function setShopData() { 
    100100        // ショップ情報 
    101  
    102         $objInfo = new SC_SiteInfo(); 
     101        $objInfo = new SC_SiteInfo(); 
    103102        $arrInfo = $objInfo->data; 
    104103 
     
    106105        $this->lfText(125, 63, $arrInfo['law_url'], 8);          //URL 
    107106        $this->lfText(125, 68, $arrInfo['law_company'], 8);        //会社名 
    108         $text = "〒 ".$arrInfo['zip01']." - ".$arrInfo['zip02']; 
     107        $text = "〒 ".$arrInfo['law_zip01']." - ".$arrInfo['law_zip02']; 
    109108        $this->lfText(125, 71, $text, 8);  //郵便番号 
    110         $text = $this->arrPref[$arrInfo['pref']].$arrInfo['addr01']; 
     109        $text = $this->arrPref[$arrInfo['law_pref']].$arrInfo['law_addr01']; 
    111110        $this->lfText(125, 74, $text, 8);  //都道府県+住所1 
    112         $this->lfText(125, 77, $arrInfo['addr02'], 8);          //住所2 
    113         $text = "TEL: ".$arrInfo['tel01']."-".$arrInfo['tel02']."-".$arrInfo['tel03']." "."FAX: ".$arrInfo['fax01']."-".$arrInfo['fax02']."-".$arrInfo['fax03']; 
     111        $this->lfText(125, 77, $arrInfo['law_addr02'], 8);          //住所2 
     112        $text = "TEL: ".$arrInfo['law_tel01']."-".$arrInfo['law_tel02']."-".$arrInfo['law_tel03']; 
     113        //FAX番号が存在しない場合は表示していない 
     114        //." "."FAX: ".$arrInfo['law_fax01']."-".$arrInfo['law_fax02']."-".$arrInfo['law_fax03'] 
     115        if(strlen($arrInfo['law_fax01']) > 0){ 
     116            $text .= " "."FAX: ".$arrInfo['law_fax01']."-".$arrInfo['law_fax02']."-".$arrInfo['law_fax03']; 
     117        } 
    114118        $this->lfText(125, 80, $text, 8);  //TEL・FAX 
    115119        $text = "Email: ".$arrInfo['law_email']; 
Note: See TracChangeset for help on using the changeset viewer.