- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
<?if($addrs):?>
<?$i=0?>
<?foreach($addrs as $item):?>
<? $f = GetFields('slon_text', 43, $item['Id']) ?>
<address class="vcard">
<span class='org hidd'><?=$MG['Site_name']?></span>
<span class="adr work">
<?if(!empty($f['Город'])):?><span class="locality<?if($i!=0):?> hidd<?endif?>"><?=$f['Город']?></span><br/><?endif?>
<?if(!empty($f['Адрес'])):?><span class="street-address"><?=$f['Адрес']?></span><?endif?>
<?if(!empty($f['Страна'])):?><span class="country-name hidd"><?=$f['Страна']?></span><?endif?>
</span><br/>
<?if(!empty($f['Телефон 1'])):?>
<span class="tel">
Тел.: <span title="+38044<?=str_replace('-','',$f['Телефон 1'])?>" class="value"><?=$f['Телефон 1']?></span><?if(!empty($f['Телефон 2'])):?>, <span title="+38044<?=str_replace('-','',$f['Телефон 2'])?>" class="value"><?=$f['Телефон 2']?></span><?endif?>
</span><br/>
<?endif?>
<?if(!empty($f['E-mail'])):?><a class="email" href="mailto:<?=$f['E-mail']?>"><?=$f['E-mail']?></a><?endif?>
</address>
<?$i++?>
<?endforeach?>
<?endif?>