<?php if ($this->_var['editing']): ?>
<div id="tag_relative" class="colbox">
  <h3>app_tags</h3>
  <div class="colboxcontent">
  </div>
  <div class="colbtm"></div>
</div>
<?php else: ?>
<?php $_from = $this->_var['tag_relative']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'app');if (count($_from)):
    foreach ($_from AS $this->_var['app']):
?>
<div class="colbox">
  <h3><a href="<?php echo $this->_var['app']['url']; ?>" target="_blank"><?php echo $this->_var['app']['name']; ?></a></h3>
  <div class="colboxcontent">
    <ul class="tag_relative">
      <?php $_from = $this->_var['app']['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
      <li><?php echo $this->_var['item']; ?></li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
  </div>
  <div class="colbtm"></div>
</div>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endif; ?>
