Viewing file: 7f59c4f7be121a4ee7d4ee5212a559589026f4e8.file.album.tpl.php (2.48 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-12 10:06:43 compiled from "user/templates/photogallery/album.tpl" */ ?> <?php /*%%SmartyHeaderCode:20003127094fae0c03d71695-05026745%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '7f59c4f7be121a4ee7d4ee5212a559589026f4e8' => array ( 0 => 'user/templates/photogallery/album.tpl', 1 => 1336806403, ), ), 'nocache_hash' => '20003127094fae0c03d71695-05026745', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php $_smarty_tpl->tpl_vars["album_name"] = new Smarty_variable("album_name_".($_smarty_tpl->getVariable('ulang')->value), null, null);?>
<?php $_smarty_tpl->tpl_vars["album_description"] = new Smarty_variable("album_description_".($_smarty_tpl->getVariable('ulang')->value), null, null);?>
<div class="album">
<ul>
<?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ ?>
<li>
<div class="picture">
<a href="/photogallery/<?php echo $_smarty_tpl->tpl_vars['row']->value['album_id'];?> "><img src="/data/photogallery/s<?php echo $_smarty_tpl->tpl_vars['row']->value['album_cover_filename'];?> .jpg" /></a>
</div>
<div class="info">
<div class="title"><h3><a href="/photogallery/<?php echo $_smarty_tpl->tpl_vars['row']->value['album_id'];?> "><?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('album_name')->value];?> </a></h3></div>
<div class="description"><?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('album_description')->value];?> </div>
<div class="count"><?php echo $_smarty_tpl->getVariable('ULANG')->value['Photogallery_album_count_of_photos'];?> : <strong><?php echo $_smarty_tpl->tpl_vars['row']->value['album_count_of_photos'];?> </strong></div>
<!-- <div class="date"><?php echo $_smarty_tpl->getVariable('ULANG')->value['Photogallery_album_date_of_edition'];?> <strong><?php echo GetUsefulDate(($_smarty_tpl->tpl_vars['row']->value['album_date_of_edition']),true,false);?> </strong></div>-->
</div>
<div style="clear:both;"></div>
</li>
<?php }} ?>
</ul>
</div>
</script>
|