<?php /* Smarty version 2.6.16, created on 2007-06-27 15:48:20
         compiled from gallery:themes/abeto/templates/theme.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'markup', 'gallery:themes/abeto/templates/theme.tpl', 15, false),array('modifier', 'default', 'gallery:themes/abeto/templates/theme.tpl', 15, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<?php echo $this->_reg_objects['g'][0]->language(array(), $this);?>
">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
<?php echo $this->_reg_objects['g'][0]->head(array(), $this);?>

<?php if (empty ( $this->_tpl_vars['head']['title'] )): ?>
<title><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['theme']['item']['title'])) ? $this->_run_mod_handler('markup', true, $_tmp, 'strip') : smarty_modifier_markup($_tmp, 'strip')))) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['theme']['item']['pathComponent']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['theme']['item']['pathComponent'])); ?>
</title>
<?php endif; ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "theme.css"), $this);?>
"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "lightbox.css"), $this);?>
"/>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_reg_objects['g'][0]->theme(array('url' => "jd.gallery.css"), $this);?>
"/>	 
<style type="text/css">
.content { width: <?php echo $this->_tpl_vars['theme']['params']['contentWidth']; ?>
px; }
<?php if (! empty ( $this->_tpl_vars['theme']['params']['thumbnailSize'] )):  $this->assign('thumbCellSize', $this->_tpl_vars['theme']['params']['thumbnailSize']+30);  endif; ?>
</style>
</head>
<body class="gallery">
<div <?php echo $this->_reg_objects['g'][0]->mainDivAttributes(array(), $this);?>
>
<?php if ($this->_tpl_vars['theme']['useFullScreen']):  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "gallery:".($this->_tpl_vars['theme']['moduleTemplate']), 'smarty_include_vars' => array('l10Domain' => $this->_tpl_vars['theme']['moduleL10Domain'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  elseif ($this->_tpl_vars['theme']['pageType'] == 'progressbar'):  echo $this->_reg_objects['g'][0]->theme(array('include' => "header.tpl"), $this);?>

<div class="content">
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "progressbar.tpl"), $this);?>

</div>
<?php else:  echo $this->_reg_objects['g'][0]->theme(array('include' => "header.tpl"), $this);?>
		
<div class="content">
<?php if (( empty ( $this->_tpl_vars['theme']['parents'] ) && $this->_tpl_vars['theme']['pageType'] == 'album' )):  echo $this->_reg_objects['g'][0]->theme(array('include' => "frontpage.tpl"), $this);?>
		
<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['title'] == 'Contacto' )):  echo $this->_reg_objects['g'][0]->theme(array('include' => "contacto.tpl"), $this);?>

<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['title'] == 'Armarios' )): ?>	  
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "album_armarios.tpl"), $this);?>
	
<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'album'):  echo $this->_reg_objects['g'][0]->theme(array('include' => "album.tpl"), $this);?>

<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'photo'):  echo $this->_reg_objects['g'][0]->theme(array('include' => "photo.tpl"), $this);?>

<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'admin'):  echo $this->_reg_objects['g'][0]->theme(array('include' => "admin.tpl"), $this);?>

<?php elseif ($this->_tpl_vars['theme']['pageType'] == 'module'):  echo $this->_reg_objects['g'][0]->theme(array('include' => "module.tpl"), $this);?>

<?php endif;  if ($this->_tpl_vars['user']['isRegisteredUser']):  if (empty ( $this->_tpl_vars['theme']['parents'] )): ?>
<div class="gbSystemLinks">
<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.SystemLinks",'order' => "core.SiteAdmin core.YourAccount core.Login core.Logout",'othersAt' => 4), $this);?>

</div>
<?php endif; ?>		
<?php endif; ?>
<div class="footer">
<p>Copyright 2007 - Abeto Armarios S.L.</p>
<p>Disenado por Rodax Software S.L.</p>
<?php if (! $this->_tpl_vars['user']['isRegisteredUser']): ?>		
<p><a href="main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin">Iniciar sesi&oacute;n</a></p>
<?php endif; ?>
</div>
</div>
<?php endif; ?>  </div>
<?php echo $this->_reg_objects['g'][0]->trailer(array(), $this);?>

<?php echo $this->_reg_objects['g'][0]->debug(array(), $this);?>

</body>
</html>