Viewing file: d4062bbdb1c8a3a55fb2b2e98d5ed9e2bfb1e4f7.file.user-photos.tpl.php (1.68 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-23 11:15:16 compiled from "user/templates/news/user-photos.tpl" */ ?> <?php /*%%SmartyHeaderCode:15458630134f950f9414c188-39298401%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'd4062bbdb1c8a3a55fb2b2e98d5ed9e2bfb1e4f7' => array ( 0 => 'user/templates/news/user-photos.tpl', 1 => 1333008114, ), ), 'nocache_hash' => '15458630134f950f9414c188-39298401', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php $_smarty_tpl->tpl_vars["photo_title"] = new Smarty_variable("photo_title_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <?php $_smarty_tpl->tpl_vars["photo_description"] = new Smarty_variable("photo_description_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <ul class="Photo-Line"> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('photos')->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><a rel="photo-line" href="/<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_filename_big'];?> "><img src="/<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_filename_small'];?> " alt="<?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('photo_description')->value];?> " title="<?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('photo_title')->value];?> "/></a></li> <?php }} ?> </ul>
|