<?php /* Smarty version 2.6.26, created on 2013-06-14 08:53:57
         compiled from header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'js', 'header.tpl', 1, false),array('function', 'translate', 'header.tpl', 10, false),array('modifier', 'count', 'header.tpl', 10, false),)), $this); ?>
<?php echo smarty_function_js(array('filename' => "jquery.cookie.js"), $this);?>

<?php if ($this->_tpl_vars['bookBag']): ?>
  <?php echo smarty_function_js(array('filename' => "cart.js"), $this);?>

  <?php $this->assign('bookBagItems', $this->_tpl_vars['bookBag']->getItems()); ?>
<?php endif; ?>
<a href="http://vufind_test.arlis.org"><img id="logo" src="http://vufind_test.arlis.org/images/Pipe_files_logo.png" alt="Home"/></a>
<div id="headerRight">
  <?php if ($this->_tpl_vars['bookBag']): ?>
  <div id="cartSummary" class="cartSummary">
      <a id="cartItems" title="<?php echo translate(array('text' => 'View Book Bag'), $this);?>
" class="bookbag" href="<?php echo $this->_tpl_vars['url']; ?>
/Cart/Home"><strong><span><?php echo count($this->_tpl_vars['bookBagItems']); ?>
</span></strong> <?php echo translate(array('text' => 'items'), $this);?>
 <?php if ($this->_tpl_vars['bookBag']->isFull()): ?>(<?php echo translate(array('text' => 'bookbag_full'), $this);?>
)<?php endif; ?></a>
      <a id="viewCart" title="<?php echo translate(array('text' => 'View Book Bag'), $this);?>
" class="viewCart bookbag offscreen" href="<?php echo $this->_tpl_vars['url']; ?>
/Cart/Home"><strong><span id="cartSize"><?php echo count($this->_tpl_vars['bookBagItems']); ?>
</span></strong> <?php echo translate(array('text' => 'items'), $this);?>
<span id="cartStatus"><?php if ($this->_tpl_vars['bookBag']->isFull()): ?>(<?php echo translate(array('text' => 'bookbag_full'), $this);?>
)<?php else: ?>&nbsp;<?php endif; ?></span></a>
  </div>
  <?php endif; ?>
  <div id="logoutOptions"<?php if (! $this->_tpl_vars['user']): ?> class="hide"<?php endif; ?>>
    <a class="account" href="<?php echo $this->_tpl_vars['path']; ?>
/MyResearch/Home"><?php echo translate(array('text' => 'Your Account'), $this);?>
</a> |
    <a class="logout" href="<?php echo $this->_tpl_vars['path']; ?>
/MyResearch/Logout"><?php echo translate(array('text' => 'Log Out'), $this);?>
</a>
  </div>
  

  <?php if (is_array ( $this->_tpl_vars['allLangs'] ) && count ( $this->_tpl_vars['allLangs'] ) > 1): ?>
  <form method="post" name="langForm" action="" id="langForm">
    <label for="langForm_mylang"><?php echo translate(array('text' => 'Language'), $this);?>
:</label>
    <select id="langForm_mylang" name="mylang" class="jumpMenu">
      <?php $_from = $this->_tpl_vars['allLangs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['langCode'] => $this->_tpl_vars['langName']):
?>
        <option value="<?php echo $this->_tpl_vars['langCode']; ?>
"<?php if ($this->_tpl_vars['userLang'] == $this->_tpl_vars['langCode']): ?> selected="selected"<?php endif; ?>><?php echo translate(array('text' => $this->_tpl_vars['langName']), $this);?>
</option>
      <?php endforeach; endif; unset($_from); ?>
    </select>
    <noscript><input type="submit" value="<?php echo translate(array('text' => 'Set'), $this);?>
" /></noscript>
  </form>
  <?php endif; ?>
</div>
<div> 
<div class="clear"></div>
<div class="welcome-wrapper"><h3 class="welcome">Welcome to the digital library!</h3></div>
