<?php /* Smarty version 2.6.25, created on 2012-07-15 11:16:07
         compiled from DefaultAdmin/conf_settings.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'DefaultAdmin/conf_settings.tpl', 4, false),array('modifier', 'escape', 'DefaultAdmin/conf_settings.tpl', 27, false),array('modifier', 'trim', 'DefaultAdmin/conf_settings.tpl', 27, false),array('function', 'cycle', 'DefaultAdmin/conf_settings.tpl', 38, false),array('function', 'html_options', 'DefaultAdmin/conf_settings.tpl', 60, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "messages.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=@ADMIN_TEMPLATE)) ? $this->_run_mod_handler('cat', true, $_tmp, "/validation.tpl") : smarty_modifier_cat($_tmp, "/validation.tpl")), 'smarty_include_vars' => array('form_id' => 'submit_form','validators' => $this->_tpl_vars['validators'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo ''; ?><?php 
   $this->assign('opt_bool', array(1 => $this->translate('Yes'), 0 => $this->translate('No')));
 ?><?php echo ''; ?><?php 
   $this->assign('opt_bool1', array(2 => $this->translate('Do The Math Mod'), 1 => $this->translate('Yes'), 0 => $this->translate('No')));
 ?><?php echo ''; ?><?php if ($this->_tpl_vars['show_cache_msg'] == 1): ?><?php echo '<div class="error block">It is strongly advised that you rebuild the category cache now. Please click here: <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/dir_categs.php?action=rebuild_cache" title="Rebuild Category Cache">Rebuild Category Cache</a></div>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['posted']): ?><?php echo '<div class="success block">Settings updated.</div>'; ?><?php endif; ?><?php echo '<div class="block"><form method="post" action="'; ?><?php if (isset ( $this->_tpl_vars['conf_group'] )): ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/conf_settings.php?c='; ?><?php echo $this->_tpl_vars['conf_group']; ?><?php echo ''; ?><?php endif; ?><?php echo '" id="submit_form"><table class="formPage"><thead><tr><th colspan="2">'; ?><?php if (! empty ( $this->_tpl_vars['conf_categs'][$this->_tpl_vars['conf_group']] )): ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['conf_categs'][$this->_tpl_vars['conf_group']])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php else: ?><?php echo 'Configuration options'; ?><?php endif; ?><?php echo '</th></tr></thead><tbody>'; ?><?php $this->assign('categ', '0'); ?><?php echo ''; ?><?php $_from = $this->_tpl_vars['conf']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['categ'] != $this->_tpl_vars['row']['CONFIG_GROUP']): ?><?php echo ''; ?><?php $this->assign('categ', $this->_tpl_vars['row']['CONFIG_GROUP']); ?><?php echo ''; ?><?php endif; ?><?php echo '<tr class="'; ?><?php echo smarty_function_cycle(array('values' => 'odd,even'), $this);?><?php echo '"><td  class="label'; ?><?php if ($this->_tpl_vars['row']['REQUIRED'] == 1): ?><?php echo ' required'; ?><?php endif; ?><?php echo '"><label for="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '">'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['row']['NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ':</label></td><td  class="smallDesc">'; ?><?php if ($this->_tpl_vars['row']['TYPE'] == 'STR'): ?><?php echo '<input type="text" id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['VALUE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" />'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'CONTENT' || $this->_tpl_vars['row']['TYPE'] == 'TERMS' || $this->_tpl_vars['row']['TYPE'] == 'DISABLE_ARTICLE_REASON' || $this->_tpl_vars['row']['TYPE'] == 'DISABLE_REASON'): ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=@ADMIN_TEMPLATE)) ? $this->_run_mod_handler('cat', true, $_tmp, "/rte.tpl") : smarty_modifier_cat($_tmp, "/rte.tpl")), 'smarty_include_vars' => array('NAME' => $this->_tpl_vars['row']['ID'],'VALUE' => $this->_tpl_vars['row']['VALUE'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'GOOGLE_ANALYTICS'): ?><?php echo '<textarea rows="5" cols="20"id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" class="text" />'; ?><?php echo $this->_tpl_vars['row']['VALUE']; ?><?php echo '</textarea>'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'PAS'): ?><?php echo '<input type="password" id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['VALUE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" />'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'URL'): ?><?php echo '<input type="text" id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['VALUE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" />'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'INT'): ?><?php echo '<input type="text" id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['VALUE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" />'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'NUM'): ?><?php echo '<input type="text" id="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" name="'; ?><?php echo $this->_tpl_vars['row']['ID']; ?><?php echo '" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['row']['VALUE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" class="text" />'; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'LOG'): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['opt_bool'],'selected' => $this->_tpl_vars['row']['VALUE'],'name' => $this->_tpl_vars['row']['ID'],'id' => $this->_tpl_vars['row']['ID']), $this);?><?php echo ''; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'LKP'): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['row']['OPTIONS'],'selected' => $this->_tpl_vars['row']['VALUE'],'name' => $this->_tpl_vars['row']['ID'],'id' => $this->_tpl_vars['row']['ID']), $this);?><?php echo ''; ?><?php elseif ($this->_tpl_vars['row']['TYPE'] == 'LOG1'): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['opt_bool1'],'selected' => $this->_tpl_vars['row']['VALUE'],'name' => $this->_tpl_vars['row']['ID'],'id' => $this->_tpl_vars['row']['ID']), $this);?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['row']['DESCRIPTION'] ) && ! empty ( $this->_tpl_vars['row']['DESCRIPTION'] )): ?><?php echo '<div class="description">'; ?><?php if (is_array ( $this->_tpl_vars['row']['DESCRIPTION'] )): ?><?php echo '<ul>'; ?><?php $_from = $this->_tpl_vars['row']['DESCRIPTION']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['DescItem']):
?><?php echo '<li>'; ?><?php echo $this->_tpl_vars['DescItem']; ?><?php echo '</li>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</ul>'; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['row']['DESCRIPTION']; ?><?php echo ''; ?><?php endif; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['row']['NOTICE'] ) && ! empty ( $this->_tpl_vars['row']['NOTICE'] )): ?><?php echo '<div class="notice">'; ?><?php if (is_array ( $this->_tpl_vars['row']['NOTICE'] )): ?><?php echo '<ul>'; ?><?php $_from = $this->_tpl_vars['row']['NOTICE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['NoticeItem']):
?><?php echo '<li>'; ?><?php echo $this->_tpl_vars['NoticeItem']; ?><?php echo '</li>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</ul>'; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['row']['NOTICE']; ?><?php echo ''; ?><?php endif; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['row']['WARNING'] ) && ! empty ( $this->_tpl_vars['row']['WARNING'] )): ?><?php echo '<div class="warning">'; ?><?php if (is_array ( $this->_tpl_vars['row']['WARNING'] )): ?><?php echo '<ul>'; ?><?php $_from = $this->_tpl_vars['row']['WARNING']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['WarningItem']):
?><?php echo '<li>'; ?><?php echo $this->_tpl_vars['WarningItem']; ?><?php echo '</li>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</ul>'; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['row']['WARNING']; ?><?php echo ''; ?><?php endif; ?><?php echo '</div>'; ?><?php endif; ?><?php echo '</td></tr>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</tbody><tfoot><tr><td><input type="reset" id="reset-conf-submit" name="reset" value="Reset" alt="Reset form" title="Reset form" class="button" /></td><td><input type="submit" id="send-conf-submit" name="save" value="Save" alt="Save form" title="Save settings" class="button" /></td></tr></tfoot></table><input type="hidden" name="formSubmitted" value="1" /><input type="hidden" name="submit_session" value="'; ?><?php echo $this->_tpl_vars['submit_session']; ?><?php echo '" /></form></div>'; ?>