Magento 1 skin-url replace
$currentproduct = Mage::registry('current_product');
if(!empty($currentproduct))
{
$social_icons = str_ireplace("[skin-url]", $this->getSkinUrl(''), $currentproduct->getsocial_icons());
echo $social_icons;
}
<li class="item">
<?php
$property_status = $_product->getAttributeText('property_status');
$new = $_product->getAttributeText('new');
$address = $_product->getaddress();
$address_country = $_product->getaddress_country();
$services = $_product->getAttributeText('services');
?>
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(202,133); ?>" width="202" height="133" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
<span class="border"></span>
<?php if(!empty($property_status)): ?>
<span class="status"><?php echo $property_status; ?></span>
<?php endif; ?>
<?php if(!empty($new) && strtolower($new) == 'yes'): ?>
<span class="add-info"><?php echo $this->__('new'); ?></span>
<?php endif; ?>
</a>
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
<?php if(!empty($address) || !empty($address_country) || !empty($services)): ?>
<ul class="contact-info">
<?php if(!empty($address)): ?>
<li><span class="ico street"></span><div class="text"><?php echo $address; ?></div></li>
<?php endif; ?>
<?php if(!empty($address_country)): ?>
<li><span class="ico city"></span><div class="text"><?php echo $address_country; ?></div></li>
<?php endif; ?>
<?php if(!empty($services)): ?>
<?php if(is_array($services)): echo '<li><span class="ico buildin"></span><div class="text"><em>'; foreach($services as $service): ?>
<a href="#"><?php echo $service; ?><?php echo $this->__(','); ?></a>
<?php endforeach; echo '</em></div></li>'; ?>
<?php else: ?>
<li><span class="ico buildin"></span><div class="text"><em><a href="#">Commercial</a></em></div></li>
<?php endif; ?>
<?php endif; ?>
</ul>
<?php endif; ?>
</li>