Viewing file: 7f59c4f7be121a4ee7d4ee5212a559589026f4e8.file.album.tpl.php (2.73 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2014-09-29 23:15:53 compiled from "user/templates/photogallery/album.tpl" */ ?> <?php /*%%SmartyHeaderCode:16985135085429bdf98676e0-87249553%%*/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 => 1412021637, ), ), 'nocache_hash' => '16985135085429bdf98676e0-87249553', '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"><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></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" style="display:none;"><?php echo $_smarty_tpl->getVariable('ULANG')->value['Photogallery_album_date_of_creation'];?> <strong> <?php echo GetUsefulDate(($_smarty_tpl->tpl_vars['row']->value['album_date_of_creation']),true,false);?> </strong></div> <div class="date" style=""><?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 style="clear:both;"></div> </div> </li> <?php }} ?> </ul> </div> </script>
|