<?php /* Smarty version 2.6.25, created on 2012-07-15 10:38:18
         compiled from admin_category_select.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'admin_category_select.tpl', 21, false),)), $this); ?>


<?php echo ''; ?><?php if (@AJAX_CAT_SELECTION_METHOD == 1): ?><?php echo '<div id="catTitle">'; ?><?php if (! empty ( $this->_tpl_vars['CategoryTitle'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['CategoryTitle']; ?><?php echo ''; ?><?php else: ?><?php echo 'Please select a category!'; ?><?php endif; ?><?php echo '</div><span id="toggleCategTree">Change category</span>'; ?><?php if (isset ( $this->_tpl_vars['parent'] ) && $this->_tpl_vars['parent'] == 1): ?><?php echo '<input type="hidden" id="PARENT_ID" name="PARENT_ID" value="'; ?><?php echo $this->_tpl_vars['PARENT_ID']; ?><?php echo '" class="hidden" />'; ?><?php else: ?><?php echo '<input type="hidden" id="CATEGORY_ID" name="CATEGORY_ID" value="'; ?><?php echo $this->_tpl_vars['CATEGORY_ID']; ?><?php echo '" class="hidden" />'; ?><?php endif; ?><?php echo '<div id="categtreebox"></div>'; ?><?php else: ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['parent'] ) && $this->_tpl_vars['parent'] == 1): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['categs'],'selected' => $this->_tpl_vars['PARENT_ID'],'name' => 'PARENT_ID','id' => 'PARENT_ID'), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['categs'],'selected' => $this->_tpl_vars['CATEGORY_ID'],'name' => 'CATEGORY_ID','id' => 'CATEGORY_ID'), $this);?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?>