<?php if (!empty($TABS)):?>
<ul class="tabs">
<?php foreach (array_keys($TABS) as $i):?>
  <li<?php if ($i == $TAB_CURRENT):?> class="selected"<?php endif;?>>
    <h2 class="tab-label"><?php $this->HTML->linkToRemote($TABS[$i]['title'], 'plugg-admin', $TABS[$i]['url'], array('params' => array(Plugg::STACK_LEVEL => 4)));?></h2>
  </li>
<?php endforeach;?>
</ul>
<div class="clear" style="padding:5px;">
<p class="topicPath"><?php echo $TAB_PAGE_BREADCRUMBS;?></p>
<h3><?php _h($TAB_PAGE_TITLE);?></h3>
<?php else:?>
<div class="clear" style="padding:5px;">
<?php endif;?>
<?php print $CONTENT;?>
</div>
<div class="clear pluggLink clearfix">Powered by <a href="http://plugg.jp/" alt="Plugg.jp">Plugg</a></div>