<?php if ($this->_var['compatible_goods'] || $this->_var['editing']): ?>
<div id="goods_compatible" class="colbox other_goods">
  <h3>ΚΚΕδΙΜΖ·</h3>
  <div class="colboxcontent">
    <ul>
      <?php $_from = $this->_var['compatible_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cgoods');if (count($_from)):
    foreach ($_from AS $this->_var['cgoods']):
?>
      <li>
        <a href="<?php echo $this->url_rewrite(array('app'=>'goods','id'=>$this->_var['cgoods']['goods_id'])); ?>"><img src="<?php echo $this->image(array('file'=>$this->_var['cgoods']['default_image'],'width'=>'100','height'=>'100')); ?>" alt="<?php echo $this->_var['cgoods']['orig_name']; ?>" class="thumb" /></a>
        <p class="name"><a href="<?php echo $this->url_rewrite(array('app'=>'goods','id'=>$this->_var['cgoods']['goods_id'])); ?>"><?php echo htmlspecialchars($this->_var['cgoods']['goods_name']); ?></a></p>
        <p class="price"><?php echo price_format($this->_var['cgoods']['store_price']); ?></p>
      </li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
  </div>
  <div class="colbtm"></div>
</div>
<?php endif; ?>