<?php /* Smarty version 2.6.26, created on 2013-06-14 09:19:22
         compiled from Cart/cart.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'regex_replace', 'Cart/cart.tpl', 7, false),array('modifier', 'escape', 'Cart/cart.tpl', 7, false),array('function', 'translate', 'Cart/cart.tpl', 7, false),)), $this); ?>
<?php $this->assign('records', $this->_tpl_vars['bookBag']->getRecordDetails()); ?>
<?php if (! empty ( $this->_tpl_vars['records'] )): ?>
  <ul class="cartContent">
  <?php $_from = $this->_tpl_vars['records']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['record']):
?>
        <li>
      <label for="checkbox_<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['record']['id'])) ? $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['record']['id'])) ? $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['record']['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" class="checkbox"/>
      <input type="hidden" name="idsAll[]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['record']['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
      <a title="<?php echo translate(array('text' => 'View Record'), $this);?>
" href="<?php echo $this->_tpl_vars['url']; ?>
/Record/<?php echo ((is_array($_tmp=$this->_tpl_vars['record']['id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['record']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a>
    </li>
  <?php endforeach; endif; unset($_from); ?>
  </ul>
<?php else: ?>
  <p><?php echo translate(array('text' => 'bookbag_is_empty'), $this);?>
.</p>
<?php endif; ?>