Viewing file: 4ab8ced07b6d174e726645458db51da3aa409988.file.menu.tpl.php (1.88 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-03-29 11:05:35 compiled from "user/templates/topmenuonelevel/menu.tpl" */ ?> <?php /*%%SmartyHeaderCode:17846643004f7417cf76d2f8-03034556%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '4ab8ced07b6d174e726645458db51da3aa409988' => array ( 0 => 'user/templates/topmenuonelevel/menu.tpl', 1 => 1333008115, ), ), 'nocache_hash' => '17846643004f7417cf76d2f8-03034556', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <table cellpadding="0" cellspacing="0" border="0" class="top-menu-one-level"> <tr> <?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){ ?> <td<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['row']->value['item_link'];?> <?php $_tmp1=ob_get_clean();?><?php if (($_tmp1!='')&&((substr_count(($_SERVER['REQUEST_URI'])." ",($_smarty_tpl->tpl_vars['row']->value['item_link'])." ")>0)||(substr_count(($_SERVER['REQUEST_URI'])."?",($_smarty_tpl->tpl_vars['row']->value['item_link'])."?")>0))){?> class="selected"<?php }?>> <?php if (strlen($_smarty_tpl->tpl_vars['row']->value['item_link'])>0){?> <a href="<?php echo $_smarty_tpl->tpl_vars['row']->value['item_link'];?> "><?php echo nl2br(($_smarty_tpl->tpl_vars['row']->value["item_title_".($_smarty_tpl->getVariable('ulang')->value)]));?> </a> <?php }else{ ?> <a><?php echo nl2br(($_smarty_tpl->tpl_vars['row']->value["item_title_".($_smarty_tpl->getVariable('ulang')->value)]));?> </a> <?php }?> </td> <?php }} ?> </tr> </table>
|