<?php /* Smarty version 2.6.26, created on 2013-06-14 08:53:57
         compiled from Search/list.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'Search/list.tpl', 14, false),array('modifier', 'escape', 'Search/list.tpl', 17, false),array('modifier', 'count', 'Search/list.tpl', 33, false),)), $this); ?>
<div class="span-18<?php if ($this->_tpl_vars['sidebarOnLeft']): ?> push-5 last<?php endif; ?>">
    <?php if ($this->_tpl_vars['topRecommendations']): ?>
    <?php $_from = $this->_tpl_vars['topRecommendations']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['recommendations']):
?>
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['recommendations'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <?php endforeach; endif; unset($_from); ?>
  <?php endif; ?>

    <div class="resulthead">
    <div class="floatleft">
      <?php if ($this->_tpl_vars['recordCount']): ?>
        <?php echo translate(array('text' => 'Showing'), $this);?>

        <strong><?php echo $this->_tpl_vars['recordStart']; ?>
</strong> - <strong><?php echo $this->_tpl_vars['recordEnd']; ?>
</strong>
        <?php echo translate(array('text' => 'of'), $this);?>
 <strong><?php echo $this->_tpl_vars['recordCount']; ?>
</strong>
        <?php if ($this->_tpl_vars['searchType'] == 'basic'): ?><?php echo translate(array('text' => 'for search'), $this);?>
: <strong>'<?php echo ((is_array($_tmp=$this->_tpl_vars['lookfor'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
'</strong><?php endif; ?>
      <?php endif; ?>
      <?php if ($this->_tpl_vars['spellingSuggestions']): ?>
      <div class="correction">
        <strong><?php echo translate(array('text' => 'spell_suggest'), $this);?>
</strong>:
        <?php $_from = $this->_tpl_vars['spellingSuggestions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['termLoop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['termLoop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['term'] => $this->_tpl_vars['details']):
        $this->_foreach['termLoop']['iteration']++;
?>
          <br/><?php echo ((is_array($_tmp=$this->_tpl_vars['term'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
 &raquo; <?php $_from = $this->_tpl_vars['details']['suggestions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['suggestLoop'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['suggestLoop']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['word'] => $this->_tpl_vars['data']):
        $this->_foreach['suggestLoop']['iteration']++;
?><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['replace_url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['word'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a><?php if ($this->_tpl_vars['data']['expand_url']): ?> <a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['expand_url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><img src="<?php echo $this->_tpl_vars['path']; ?>
/images/silk/expand.png" alt="<?php echo translate(array('text' => 'spell_expand_alt'), $this);?>
"/></a> <?php endif; ?><?php if (! ($this->_foreach['suggestLoop']['iteration'] == $this->_foreach['suggestLoop']['total'])): ?>, <?php endif; ?><?php endforeach; endif; unset($_from); ?>
        <?php endforeach; endif; unset($_from); ?>
      </div>
      <?php endif; ?>
    </div>

    <div class="floatright">
      <div class="viewButtons">
      <?php if (count($this->_tpl_vars['viewList']) > 1): ?>
        <?php $_from = $this->_tpl_vars['viewList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['viewLabel'] => $this->_tpl_vars['viewData']):
?>
          <?php if (! $this->_tpl_vars['viewData']['selected']): ?><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['viewData']['viewUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" title="<?php echo translate(array('text' => 'Switch view to'), $this);?>
 <?php echo translate(array('text' => $this->_tpl_vars['viewData']['desc']), $this);?>
" ><?php endif; ?><img src="<?php echo $this->_tpl_vars['path']; ?>
/images/view_<?php echo $this->_tpl_vars['viewData']['viewType']; ?>
.png" <?php if ($this->_tpl_vars['viewData']['selected']): ?>title="<?php echo translate(array('text' => $this->_tpl_vars['viewData']['desc']), $this);?>
 <?php echo translate(array('text' => 'view already selected'), $this);?>
"<?php endif; ?>/><?php if (! $this->_tpl_vars['viewData']['selected']): ?></a><?php endif; ?>
        <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>
      </div>
      <div class="limitSelect">
        <?php if (count($this->_tpl_vars['limitList']) > 1): ?>
          <form action="<?php echo $this->_tpl_vars['path']; ?>
/Search/LimitResults" method="post">
            <label for="limit"><?php echo translate(array('text' => 'Results per page'), $this);?>
</label>
            <select id="limit" name="limit" onChange="document.location.href = this.options[this.selectedIndex].value;">
              <?php $_from = $this->_tpl_vars['limitList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['limitLabel'] => $this->_tpl_vars['limitData']):
?>
                <option value="<?php echo ((is_array($_tmp=$this->_tpl_vars['limitData']['limitUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php if ($this->_tpl_vars['limitData']['selected']): ?> selected="selected"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['limitData']['desc'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</option>
              <?php endforeach; endif; unset($_from); ?>
            </select>
            <noscript><input type="submit" value="<?php echo translate(array('text' => 'Set'), $this);?>
" /></noscript>
          </form>
        <?php endif; ?>
      </div>
      <form action="<?php echo $this->_tpl_vars['path']; ?>
/Search/SortResults" method="post">
        <label for="sort_options_1"><?php echo translate(array('text' => 'Sort'), $this);?>
</label>
        <select id="sort_options_1" name="sort" class="jumpMenu">
          <?php $_from = $this->_tpl_vars['sortList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['sortLabel'] => $this->_tpl_vars['sortData']):
?>
            <option value="<?php echo ((is_array($_tmp=$this->_tpl_vars['sortData']['sortUrl'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"<?php if ($this->_tpl_vars['sortData']['selected']): ?> selected="selected"<?php endif; ?>><?php echo translate(array('text' => $this->_tpl_vars['sortData']['desc']), $this);?>
</option>
          <?php endforeach; endif; unset($_from); ?>
        </select>
        <noscript><input type="submit" value="<?php echo translate(array('text' => 'Set'), $this);?>
" /></noscript>
      </form>
    </div>
    <div class="clear"></div>
  </div>
  
  <?php if ($this->_tpl_vars['subpage']): ?>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['subpage'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <?php else: ?>
    <?php echo $this->_tpl_vars['pageContent']; ?>

  <?php endif; ?>

  <?php if ($this->_tpl_vars['pageLinks']['all']): ?><div class="pagination"><?php echo $this->_tpl_vars['pageLinks']['all']; ?>
</div><?php endif; ?>

</div>

<div class="span-5 <?php if ($this->_tpl_vars['sidebarOnLeft']): ?>pull-18 sidebarOnLeft<?php else: ?>last<?php endif; ?>">
  <?php if ($this->_tpl_vars['sideRecommendations']): ?>
    <?php $_from = $this->_tpl_vars['sideRecommendations']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['recommendations']):
?>
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['recommendations'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <?php endforeach; endif; unset($_from); ?>
  <?php endif; ?>
</div>

<div class="clear"></div>
