<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:43
         compiled from gallery:themes/CNJ/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/CNJ/templates/theme.tpl', 17, false),array('modifier', 'default', 'gallery:themes/CNJ/templates/theme.tpl', 17, 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['theme']['parents'] ) && $this->_tpl_vars['theme']['pageType'] == 'album' )): ?>
<title>CNJ Estudio de Cocina y Ba&ntilde;o</title>
<?php elseif (empty ( $this->_tpl_vars['head']['title'] )): ?>
<title>CNJ Estudio de Cocina y Ba&ntilde;o - <?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; ?>
<meta name="keywords" content="armarios, cocinas, puertas, tarimas, carpinteria, vestidores, auximobel, tarima, campanas, encimeras, lavavajillas, electrodomésticos, hogar, reforma" />
<meta name="description" content="Especialistas en armarios, cocinas, mobiliario, muebles de ba&ntilde;o y tarima" />
<meta name="robots" content="index, follow" />
<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);?>
"/>	 
<?php echo '
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-297093-8";
urchinTracker();
</script>
'; ?>

</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']['id'] == 97 )): ?>	
<?php 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']['id'] == 144 )): ?>	  	  
<?php echo $this->_reg_objects['g'][0]->theme(array('include' => "album_catalogo.tpl"), $this);?>
		
<?php elseif (( $this->_tpl_vars['theme']['pageType'] == 'album' ) && ( $this->_tpl_vars['theme']['item']['id'] == 345 )):  echo $this->_reg_objects['g'][0]->theme(array('include' => "album_cocinas.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">
<div class="text-footer">
<p>Copyright 2007 - Construcciones CNJ S.A.</p>			
<p>Disenado por <a href="http://www.rodax-software.com">Rodax Software S.L.</a></p>
</div>
<?php if (! $this->_tpl_vars['user']['isRegisteredUser']): ?>		
<div class="login">
<p><a href="/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin">Iniciar sesi&oacute;n</a></p>
</div>
<?php endif; ?>
<div class="clear"></div>
</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>