Viewing file: ece32e160a72b8bba77674c78fc5b5c9e16233d5.file.themes-panel.tpl.php (3.3 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/forum/themes-panel.tpl" */ ?> <?php /*%%SmartyHeaderCode:18014796204f7417cf84d4b5-18987280%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'ece32e160a72b8bba77674c78fc5b5c9e16233d5' => array ( 0 => 'user/templates/forum/themes-panel.tpl', 1 => 1333008114, ), ), 'nocache_hash' => '18014796204f7417cf84d4b5-18987280', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="forum"> <?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){ ?> <div class="theme"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><div class="name"><a href="/forum/<?php echo $_smarty_tpl->tpl_vars['row']->value['theme_id'];?> "><?php echo $_smarty_tpl->tpl_vars['row']->value["theme_name_".($_smarty_tpl->getVariable('ulang')->value)];?> </a></div></td> <td width="42" rowspan="2" style="cursor: pointer;"> <?php if (!empty($_smarty_tpl->tpl_vars['row']->value['last'])){?> <div onclick="javascript:location.href='/forum/<?php echo $_smarty_tpl->tpl_vars['row']->value['theme_id'];?> ?last'"> <?php if (file_exists("data/users/photos/z_".($_smarty_tpl->tpl_vars['row']->value['last']['user']['user_photo']))){?> <img src="/data/users/photos/z_<?php echo $_smarty_tpl->tpl_vars['row']->value['last']['user']['user_photo'];?> " width="30" /><br /> <?php }else{ ?> <img src="/data/users/photos/z_question.jpg" width="30" /> <?php }?> </div> <?php }?> <td width="170" rowspan="2" style="cursor: pointer;" valign="middle"> <?php if (!empty($_smarty_tpl->tpl_vars['row']->value['last'])){?> <div class="author" onclick="javascript:location.href='/forum/<?php echo $_smarty_tpl->tpl_vars['row']->value['theme_id'];?> ?pageNum=<?php echo $_smarty_tpl->tpl_vars['row']->value['max_page'];?> #comment<?php echo $_smarty_tpl->tpl_vars['row']->value['last']['comment_id'];?> '"><strong><?php echo $_smarty_tpl->tpl_vars['row']->value['last']['user']['user_name'];?> <?php echo $_smarty_tpl->tpl_vars['row']->value['last']['user']['user_surname'];?> </strong><br /> <?php echo SimpleDateEcho($_smarty_tpl->tpl_vars['row']->value['last']['comment_date']);?> </div> <?php }?> </td> </tr> <tr> <td style="height: 30px;"><div class="mcounter"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['messages'][0];?> : <strong><?php echo $_smarty_tpl->tpl_vars['row']->value['comments_count'];?> </strong></div> <span class="theme-navigator"><?php echo $_smarty_tpl->tpl_vars['row']->value['navigator'];?> </span></td> </tr> </table> <hr class="dashed" /> </div> <?php }} ?> </div> <div style="text-align: right;"><a href="/forum"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['GoToDiscussions'];?> </a></div>
|