<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:59
         compiled from linklist_view_main_dropdown.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'linklist_view_main_dropdown.html', 3, false),array('modifier', 'sprintf', 'linklist_view_main_dropdown.html', 16, false),)), $this); ?>
<?php echo '';  echo '<select class="linklist_dropdown" onchange="linklistCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].selectLink(this)"><option value="">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['linklist']['linklist_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</option>';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['categoryLinks'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['categoryLink'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['categoryLink']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['categoryLink']):
        $this->_foreach['categoryLink']['iteration']++;
 echo '';  if (((is_array($_tmp=$this->_tpl_vars['categoryLink']['default_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF):  echo '<optgroup label="';  echo ((is_array($_tmp=$this->_tpl_vars['categoryLink']['category_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  endif;  echo '';  $_from = $this->_tpl_vars['categoryLink']['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['link']):
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['link']['link_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '|';  echo ((is_array($_tmp=$this->_tpl_vars['link']['url'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  if (((is_array($_tmp=$this->_tpl_vars['categoryLink']['default_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON):  echo '&nbsp;&nbsp;';  endif;  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['link']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  if (((is_array($_tmp=$this->_tpl_vars['action']['linklist']['view_count_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['linklist_view_count'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['link']['view_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['link']['view_count'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  endif;  echo '</option>';  endforeach; endif; unset($_from);  echo '';  if (((is_array($_tmp=$this->_tpl_vars['categoryLink']['default_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF):  echo '</optgroup>';  endif;  echo '';  endforeach; endif; unset($_from);  echo '</select>'; ?>