<?php /* Smarty version 2.6.16, created on 2007-07-30 18:40:50
         compiled from gallery:themes/CNJ/templates/album_cocinas.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/album_cocinas.tpl', 29, false),array('modifier', 'entitytruncate', 'gallery:themes/CNJ/templates/album_cocinas.tpl', 87, false),)), $this); ?>
<?php $this->assign('firstItem', true); ?>
<div class="banner-cabeceras">
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['child']):
 if (! $this->_tpl_vars['child']['canContainChildren']):  if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
">
<?php endif; ?>		
<?php if (isset ( $this->_tpl_vars['child']['thumbnail'] )):  echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>

<?php endif;  if ($this->_tpl_vars['user']['isRegisteredUser']): ?>
</a>
<?php endif;  endif;  endforeach; endif; unset($_from); ?>
</div>
<?php if (! empty ( $this->_tpl_vars['theme']['item']['description'] )): ?>
<p><?php echo ((is_array($_tmp=$this->_tpl_vars['theme']['item']['description'])) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp)); ?>
</p>
<?php endif;  if (! count ( $this->_tpl_vars['theme']['children'] )): ?>
<div class="gallery-empty">
<p><strong><?php echo $this->_reg_objects['g'][0]->text(array('text' => "This album is empty."), $this);?>
</strong></p>
<?php if (isset ( $this->_tpl_vars['theme']['permissions']['core_addDataItem'] )): ?>
<p><a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ItemAdmin",'arg2' => "subView=core.ItemAdd",'arg3' => "itemId=".($this->_tpl_vars['theme']['item']['id'])), $this);?>
"><?php echo $this->_reg_objects['g'][0]->text(array('text' => "Add a photo!"), $this);?>
</a></p>
<?php endif; ?>
</div>
<?php else:  $this->assign('firstAlbum', true);  $this->assign('currentKeywords', "-----------------"); ?> 
<?php $_from = $this->_tpl_vars['theme']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['child']):
 if ($this->_tpl_vars['child']['canContainChildren']):  ob_start();  echo $this->_tpl_vars['child']['keywords'];  $this->_smarty_vars['capture']['keywords'] = ob_get_contents(); ob_end_clean();  if ($this->_smarty_vars['capture']['keywords'] != $this->_tpl_vars['currentKeywords']):  if (! $this->_tpl_vars['firstAlbum']): ?>
</div> </div> <div class="clear"></div>
<?php endif; ?>
<div class="gallery-albums">
<?php if ($this->_tpl_vars['firstAlbum']):  $this->assign('firstAlbum', false);  else: ?>
<hr/>
<?php endif; ?>
<h3>
<?php if ($this->_smarty_vars['capture']['keywords'] == 'vanguardista'):  echo $this->_reg_objects['g'][0]->text(array('text' => "L&iacute;nea vanguardista"), $this);?>

<?php else:  if ($this->_smarty_vars['capture']['keywords'] == 'moderna'):  echo $this->_reg_objects['g'][0]->text(array('text' => "L&iacute;nea moderna"), $this);?>

<?php else:  if ($this->_smarty_vars['capture']['keywords'] == 'clasica'):  echo $this->_reg_objects['g'][0]->text(array('text' => "L&iacute;nea clįsica"), $this);?>

<?php else:  echo $this->_smarty_vars['capture']['keywords']; ?>

<?php endif;  endif;  endif; ?>
</h3>
<div class="gallery-album">
<?php $this->assign('currentKeywords', $this->_smarty_vars['capture']['keywords']);  endif; ?>
<div class="gallery-thumb">
<a href="<?php echo $this->_reg_objects['g'][0]->url(array('arg1' => "view=core.ShowItem",'arg2' => "itemId=".($this->_tpl_vars['child']['id'])), $this);?>
">
<?php if (isset ( $this->_tpl_vars['child']['thumbnail'] )):  echo $this->_reg_objects['g'][0]->image(array('item' => $this->_tpl_vars['child'],'image' => $this->_tpl_vars['child']['thumbnail']), $this);?>

<?php else:  echo $this->_reg_objects['g'][0]->text(array('text' => 'no thumbnail'), $this);?>

<?php endif; ?>
</a>
<!--<p><?php echo $this->_tpl_vars['child']['keywords']; ?>
</p>-->
<!--<p><?php if (isset ( $this->_tpl_vars['child']['summary'] )):  echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['child']['summary'])) ? $this->_run_mod_handler('entitytruncate', true, $_tmp, 256) : smarty_modifier_entitytruncate($_tmp, 256)))) ? $this->_run_mod_handler('markup', true, $_tmp) : smarty_modifier_markup($_tmp));  endif; ?></p>-->
</div>
<?php endif; ?> <?php endforeach; endif; unset($_from);  if (! $this->_tpl_vars['firstAlbum']): ?>
</div> </div> <div class="clear"></div>
<?php endif;  endif;  if ($this->_tpl_vars['theme']['totalPages'] > 1):  echo $this->_reg_objects['g'][0]->block(array('type' => "core.Navigator",'navigator' => $this->_tpl_vars['theme']['navigator'],'prefix' => "&laquo; ",'suffix' => " &raquo;",'currentPage' => $this->_tpl_vars['theme']['currentPage'],'totalPages' => $this->_tpl_vars['theme']['totalPages']), $this);?>

<?php endif;  if ($this->_tpl_vars['user']['isRegisteredUser']):  $_from = $this->_tpl_vars['theme']['params']['albumBlocks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
 echo $this->_reg_objects['g'][0]->block(array('type' => $this->_tpl_vars['block']['0'],'params' => $this->_tpl_vars['block']['1']), $this);?>

<?php endforeach; endif; unset($_from); ?>
<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 echo $this->_reg_objects['g'][0]->block(array('type' => "core.GuestPreview",'class' => 'gbBlock'), $this);?>

<?php echo $this->_reg_objects['g'][0]->block(array('type' => "core.EmergencyEditItemLink",'class' => 'gbBlock','checkBlocks' => 'album'), $this);?>

<?php endif; ?>