<?php /* Smarty version 2.6.26, created on 2013-06-14 08:53:57
         compiled from RecordDrivers/Index/result.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'RecordDrivers/Index/result.tpl', 1, false),array('modifier', 'regex_replace', 'RecordDrivers/Index/result.tpl', 6, false),array('modifier', 'addEllipsis', 'RecordDrivers/Index/result.tpl', 24, false),array('modifier', 'highlight', 'RecordDrivers/Index/result.tpl', 24, false),array('modifier', 'truncate', 'RecordDrivers/Index/result.tpl', 24, false),array('modifier', 'implode', 'RecordDrivers/Index/result.tpl', 91, false),array('function', 'translate', 'RecordDrivers/Index/result.tpl', 6, false),)), $this); ?>
<div class="result recordId" id="record<?php echo ((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
">

  <div class="span-1">
  <?php if ($this->_tpl_vars['bookBag']): ?>
  <label for="checkbox_<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/[^a-z0-9]/', '') : smarty_modifier_regex_replace($_tmp, '/[^a-z0-9]/', '')))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" class="offscreen"><?php echo translate(array('text' => 'Select this record'), $this);?>
</label>
  <input id="checkbox_<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, '/[^a-z0-9]/', '') : smarty_modifier_regex_replace($_tmp, '/[^a-z0-9]/', '')))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" type="checkbox" name="ids[]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" class="checkbox_ui"/>
  <input type="hidden" name="idsAll[]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
  <?php endif; ?>
  </div>
  <div class="span-2">
    </div>
  <div class="span-14">
    <div class="resultItemLine1">
      <a href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
" class="title"><?php if (! empty ( $this->_tpl_vars['summHighlightedTitle'] )): ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['summHighlightedTitle'])) ? $this->_run_mod_handler('addEllipsis', true, $_tmp, $this->_tpl_vars['summTitle']) : smarty_modifier_addEllipsis($_tmp, $this->_tpl_vars['summTitle'])))) ? $this->_run_mod_handler('highlight', true, $_tmp) : smarty_modifier_highlight($_tmp)); ?>
<?php elseif (! $this->_tpl_vars['summTitle']): ?><?php echo translate(array('text' => 'Title not available'), $this);?>
<?php else: ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['summTitle'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 180, "...") : smarty_modifier_truncate($_tmp, 180, "...")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?></a>
    </div>

    <div class="resultItemLine2">
      <?php if (! empty ( $this->_tpl_vars['summAuthor'] )): ?>
      <?php echo translate(array('text' => 'by'), $this);?>

      <a href="<?php echo $this->_tpl_vars['url']; ?>
/Author/Home?author=<?php echo ((is_array($_tmp=$this->_tpl_vars['summAuthor'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
"><?php if (! empty ( $this->_tpl_vars['summHighlightedAuthor'] )): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['summHighlightedAuthor'])) ? $this->_run_mod_handler('highlight', true, $_tmp) : smarty_modifier_highlight($_tmp)); ?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['summAuthor'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?></a>
      <?php endif; ?>

      <span style="padding-left:20px;"><?php if ($this->_tpl_vars['summDate']): ?><?php echo translate(array('text' => 'Published'), $this);?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['summDate']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?></span>

      <?php if (! empty ( $this->_tpl_vars['summFormats'] )): ?>
      <span style="padding-left:20px;"> </span>
		  <?php $_from = $this->_tpl_vars['summFormats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['format']):
?>
			<?php echo translate(array('text' => $this->_tpl_vars['format']), $this);?>
.
		  <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>



    </div>


    <div class="last">
            <?php if ($this->_tpl_vars['summOpenUrl'] || ! empty ( $this->_tpl_vars['summURLs'] )): ?>
        <?php if ($this->_tpl_vars['summOpenUrl']): ?>
          <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Search/openurl.tpl", 'smarty_include_vars' => array('openUrl' => $this->_tpl_vars['summOpenUrl'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        <?php endif; ?>
        <?php $_from = $this->_tpl_vars['summURLs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['recordurl'] => $this->_tpl_vars['urldesc']):
?>
          <span class="iconlabel electronic"></span><a href="<?php if ($this->_tpl_vars['proxy']): ?><?php echo $this->_tpl_vars['proxy']; ?>
/login?qurl=<?php echo ((is_array($_tmp=$this->_tpl_vars['recordurl'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'url') : smarty_modifier_escape($_tmp, 'url')); ?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['recordurl'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?>" class="fulltext" target="new"><?php if ($this->_tpl_vars['recordurl'] == $this->_tpl_vars['urldesc']): ?><?php echo translate(array('text' => 'Get full text'), $this);?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['urldesc'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?></a><br />
        <?php endforeach; endif; unset($_from); ?>
      <?php endif; ?>

      <?php if (! $this->_tpl_vars['summOpenUrl'] && empty ( $this->_tpl_vars['summURLs'] )): ?>
      <div class="ajax_availability hide" id="status<?php echo ((is_array($_tmp=$this->_tpl_vars['summId'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><?php echo translate(array('text' => 'Loading'), $this);?>
...</div>
      <?php endif; ?>
    </div>

    <?php if ($this->_tpl_vars['showPreviews']): ?>
      <?php if (( ! empty ( $this->_tpl_vars['summLCCN'] ) || ! empty ( $this->_tpl_vars['summISBN'] ) || ! empty ( $this->_tpl_vars['summOCLC'] ) )): ?>
      <div>
        <?php if ($this->_tpl_vars['showGBSPreviews']): ?>
          <div class="previewDiv">
            <a title="<?php echo translate(array('text' => 'Preview from'), $this);?>
 Google Books" class="hide previewGBS<?php if ($this->_tpl_vars['summISBN']): ?> ISBN<?php echo $this->_tpl_vars['summISBN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summLCCN']): ?> LCCN<?php echo $this->_tpl_vars['summLCCN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summOCLC']): ?> OCLC<?php echo implode($this->_tpl_vars['summOCLC'], ' OCLC'); ?>
<?php endif; ?>" target="_blank">
              <img src="https://www.google.com/intl/en/googlebooks/images/gbs_preview_button1.png" alt="<?php echo translate(array('text' => 'Preview'), $this);?>
"/>
            </a>
          </div>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['showOLPreviews']): ?>
          <div class="previewDiv">
            <a title="<?php echo translate(array('text' => 'Preview from'), $this);?>
 Open Library" class="hide previewOL<?php if ($this->_tpl_vars['summISBN']): ?> ISBN<?php echo $this->_tpl_vars['summISBN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summLCCN']): ?> LCCN<?php echo $this->_tpl_vars['summLCCN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summOCLC']): ?> OCLC<?php echo implode($this->_tpl_vars['summOCLC'], ' OCLC'); ?>
<?php endif; ?>" target="_blank">
              <img src="<?php echo $this->_tpl_vars['path']; ?>
/images/preview_ol.gif" alt="<?php echo translate(array('text' => 'Preview'), $this);?>
"/>
            </a>
          </div>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['showHTPreviews']): ?>
          <div class="previewDiv">
            <a title="<?php echo translate(array('text' => 'Preview from'), $this);?>
 HathiTrust" class="hide previewHT<?php if ($this->_tpl_vars['summISBN']): ?> ISBN<?php echo $this->_tpl_vars['summISBN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summLCCN']): ?> LCCN<?php echo $this->_tpl_vars['summLCCN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summOCLC']): ?> OCLC<?php echo implode($this->_tpl_vars['summOCLC'], ' OCLC'); ?>
<?php endif; ?>" target="_blank">
              <img src="<?php echo $this->_tpl_vars['path']; ?>
/images/preview_ht.gif" alt="<?php echo translate(array('text' => 'Preview'), $this);?>
"/>
            </a>
          </div>
        <?php endif; ?>
        <span class="previewBibkeys<?php if ($this->_tpl_vars['summISBN']): ?> ISBN<?php echo $this->_tpl_vars['summISBN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summLCCN']): ?> LCCN<?php echo $this->_tpl_vars['summLCCN']; ?>
<?php endif; ?><?php if ($this->_tpl_vars['summOCLC']): ?> OCLC<?php echo implode($this->_tpl_vars['summOCLC'], ' OCLC'); ?>
<?php endif; ?>"></span>
      </div>
      <?php endif; ?>
    <?php endif; ?>
  </div>

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

<?php if ($this->_tpl_vars['summCOinS']): ?><span class="Z3988" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['summCOinS'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"></span><?php endif; ?>