SECNAME).$tempTitle,$thisHtml); echo $thisHtml; $thisList = ''; $thisNav = ''; foreach ($DBCON->Q("select ELEID, ELENAME from PB_CVALUE_MST where VAID = '30' order by SORTNO") as $area) { $sql = "select SECID from PB_SECTION_TBL where SECSHOWFLG = '1' and EBAREA = '".$area['ELEID']."' order by SECSORTNO"; $city_list = $DBCON->Q($sql); if( count( $city_list ) > 0 ){ $thisNav .= '
  • '.$area['ELENAME'].'
  • '; } } // 詳細データ構築 $thisImgBlock = ''; $thisTitleBTN = ''; if ($thisSC->IMG[1]->is_exist) { $thisImgBlock .= '
    '.($SC->SECNAME).'
    '; } else { $thisImgBlock .= '
    '; } if ($thisSC->DEPTID != '1') { if($thisSC->COPATH){ if (strpos($thisSC->COPATH, "rentie") !== false) { $thisTitleBTN = 'レンティエwebサイト'; } else { $thisTitleBTN = '趣暮webサイト'; } } else { $thisTitleBTN = '取り扱い物件'; } } $thisHitokoto = ''; $thisAnnai = ''; $thisAnnaiMap = ''; $thisAnnaiText = ''; if ($thisSC->DPTMCOM) { $thisHitokoto = '

    営業所から一言

    '.nl2br($thisSC->DPTMCOM).'

    営業所から一言
    '; } if ($thisSC->RACCESS) { $thisAnnaiText .= ' 電車でのアクセス '.($thisSC->RACCESS).' '; } if ($thisSC->CACCESS) { $thisAnnaiText .= ' 電車でのアクセス '.($thisSC->CACCESS).' '; } if ($thisSC->SECLAT && $thisSC->SECLNG) { $thisAnnaiMap .= '

    支店・営業所までの案内図

    '.($thisSC->SECLAT).','.($thisSC->SECLNG).','.($thisSC->SECNAME).','.($thisSC->ADDRESS1).','.($thisSC->ADDRESS2).'
    '; } if( $thisAnnaiMap != '' || $thisAnnaiText != '' ){ $thisAnnai .= '
    '.$thisAnnaiMap; if( $thisAnnaiText != '' ){ $thisAnnai .= ' '.$thisAnnaiText.'
    '; } $thisAnnai .= '
    '; } echo '

    '.($thisSC->SECNAME).' '.$thisSubTitle[1].' '.$thisTitleBTN.'

    基本情報

    '.$thisImgBlock.'
    所在地 〒'.($thisSC->ZIP).' '.($thisSC->ADDRESS1).' '.($thisSC->ADDRESS2).'
    電話番号 '.(($thisSC->FREETEL) ? $thisSC->FREETEL : $thisSC->TEL).'
    営業時間 '.($thisSC->OPENTIME).'
    定休日 '.($thisSC->RHOLIDAY).'
    '.$thisHitokoto.'
    '.$thisAnnai.' '; include( BASE . "/common/include/footer.php"); ?>