<?php /* Smarty version 2.6.25, created on 2012-06-27 19:19:34
         compiled from content.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'replace', 'content.tpl', 11, false),)), $this); ?>
<?php if ($this->_tpl_vars['show_title'] == 1): ?>
<?php echo $this->_tpl_vars['TITLE']; ?>

<br/>
<?php endif; ?>
<ul class="boxPopCats">
			<?php $_from = $this->_tpl_vars['pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['pages'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['pages']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['page']):
        $this->_foreach['pages']['iteration']++;
?>
   <?php if ($this->_tpl_vars['page']['PRIVACY'] == 1 && empty ( $this->_tpl_vars['regular_user_details'] )): ?>
   
<?php else: ?>
    <li <?php if ($this->_tpl_vars['page']['STATUS'] < 2 || $this->_tpl_vars['rights']['editPage'] == 1 || $this->_tpl_vars['rights']['delPage'] == 1): ?>style="clear: both;"<?php endif; ?>>
        <a href="<?php echo @DOC_ROOT; ?>
/<?php if (@ENABLE_REWRITE): ?><?php echo $this->_tpl_vars['page']['SEO_NAME']; ?>
<?php else: ?>page.php?name=<?php echo ((is_array($_tmp=$this->_tpl_vars['page']['SEO_NAME'])) ? $this->_run_mod_handler('replace', true, $_tmp, ".html", "") : smarty_modifier_replace($_tmp, ".html", "")); ?>
<?php endif; ?>" title="<?php echo $this->_tpl_vars['page']['NAME']; ?>
" <?php if ($this->_tpl_vars['page']['STATUS'] < 2 || $this->_tpl_vars['rights']['editPage'] == 1 || $this->_tpl_vars['rights']['delPage'] == 1): ?>class="float_tiny"<?php endif; ?>><?php echo $this->_tpl_vars['page']['NAME']; ?>
</a> 
        <?php if ($this->_tpl_vars['page']['STATUS'] < 2 || $this->_tpl_vars['rights']['editPage'] == 1 || $this->_tpl_vars['rights']['delPage'] == 1): ?>
        <div class="frontend_actions">
        <?php if ($this->_tpl_vars['rights']['editPage'] == 1): ?>
        <a href="<?php echo @DOC_ROOT; ?>
/inplace_editpage.php?ID=<?php echo $this->_tpl_vars['page']['ID']; ?>
&TB_iframe=true&height=400&width=600"  onclick="return showThickbox(this);" class="thickbox">
        <img src="<?php echo @DOC_ROOT; ?>
/templates/<?php echo @USE_TEMPLATE; ?>
/images/edit.gif" width="14" height="14" style="border: none;" alt="edit page"/>
        </a>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['rights']['delPage'] == 1): ?>  
        <a href="<?php echo @DOC_ROOT; ?>
/inplace_editpage.php?ID=<?php echo $this->_tpl_vars['page']['ID']; ?>
&mode=del&TB_iframe=true&height=100&width=250" class="thickbox" onclick="<?php echo 'question = confirm(\'Are you sure you want to delete this page?\');if (question !=\'0\'){return showThickbox(this);} else return false;'; ?>
">
        <img src="<?php echo @DOC_ROOT; ?>
/templates/<?php echo @USE_TEMPLATE; ?>
/images/delete.gif" width="14" height="14" style="border: none;" alt="delete page" class="float_tiny"/>
        </a>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['page']['STATUS'] < 2 && $this->_tpl_vars['rights']['editPage'] == 1): ?>
        <a href="<?php echo @DOC_ROOT; ?>
/inplace_editpage.php?ID=<?php echo $this->_tpl_vars['page']['ID']; ?>
&mode=active&TB_iframe=true&height=100&width=250" class="thickbox" onclick="<?php echo 'question = confirm(\'Are you sure you want to make this page active?\');if (question !=\'0\'){return showThickbox(this);} else return false;'; ?>
">
        <img src="<?php echo @DOC_ROOT; ?>
/templates/<?php echo @USE_TEMPLATE; ?>
/images/active.gif" width="14" height="14" style="border: none;" alt="page is inactive" class="float_tiny"/>
        </a>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['page']['SHOW_IN_MENU'] < 1 && $this->_tpl_vars['rights']['editPage'] == 1): ?>
        <a href="<?php echo @DOC_ROOT; ?>
/inplace_editpage.php?ID=<?php echo $this->_tpl_vars['page']['ID']; ?>
&mode=inmenu&TB_iframe=true&height=100&width=250" class="thickbox" onclick="<?php echo 'question = confirm(\'Are you sure you want to make this page visible in menu?\');if (question !=\'0\'){return showThickbox(this);} else return false;'; ?>
">
        <img src="<?php echo @DOC_ROOT; ?>
/templates/<?php echo @USE_TEMPLATE; ?>
/images/in_menu.gif" width="14" height="14" style="border: none;" alt="page is not in menu" class="float_tiny"/>
        </a>    
        <?php endif; ?>
        </div>
         <div style="clear: both;"></div>
        <?php endif; ?>
    </li>
    
    <?php endif; ?>
   <?php endforeach; endif; unset($_from); ?>
			</ul>