Viewing file: bad086ba918604ecb9ae298023fdd8656e79450d.file.theme.tpl.php (4.46 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-03-11 23:16:48 compiled from "user/templates/forum/theme.tpl" */ ?> <?php /*%%SmartyHeaderCode:2089014934f5d1640362a43-73006359%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'bad086ba918604ecb9ae298023fdd8656e79450d' => array ( 0 => 'user/templates/forum/theme.tpl', 1 => 1331500309, ), ), 'nocache_hash' => '2089014934f5d1640362a43-73006359', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="template-page theme-view forum"> <table width="100%"> <tr> <td valign="top"><div class="name"><?php echo $_smarty_tpl->getVariable('row')->value["theme_name_".($_smarty_tpl->getVariable('ulang')->value)];?> </div></td> <td valign="top" align="right"> <div class="manage-panel"> <ul> <?php if (($_SESSION['user']['user_access']['admin']=='Y')||($_SESSION['user']['user_access']['forum']=='Y')){?> <li style="position:relative;"><a href="javascript: return false;" class="submenu"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['ThemeEdit'];?> </a> <ul class="submenu"> <li><a href="/forum/<?php echo $_smarty_tpl->getVariable('row')->value['theme_id'];?> /edit"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['ThemeChangeTitle'];?> </a></li> <?php if ($_smarty_tpl->getVariable('row')->value['theme_status']==1){?> <li><a href="/forum/<?php echo $_smarty_tpl->getVariable('row')->value['theme_id'];?> /close"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['ThemeClose'];?> </a></li> <?php }?> <?php if ($_smarty_tpl->getVariable('row')->value['theme_status']==2){?> <li><a href="/forum/<?php echo $_smarty_tpl->getVariable('row')->value['theme_id'];?> /open"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['ThemeOpen'];?> </a></li> <?php }?> <li><a href="/forum/<?php echo $_smarty_tpl->getVariable('row')->value['theme_id'];?> /delete"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['ThemeDelete'];?> </a></li> </ul> </li> <li class="delimiter">|</li> <?php }?> <li><a href="/forum"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['AllThemesList'];?> </a></li> </ul> </div> </td> </tr> </table> <div style="float:right; z-index:1; position: relative;"><?php echo $_smarty_tpl->getVariable('navigator')->value;?> </div> <div class="counter"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['InList'];?> <?php echo Comments::GetCommentsCount(($_smarty_tpl->getVariable('mod')->value),"forum",($_smarty_tpl->getVariable('row')->value['theme_id']));?>
<?php echo AssumeNumber(Comments::GetCommentsCount(($_smarty_tpl->getVariable('mod')->value),"forum",($_smarty_tpl->getVariable('row')->value['theme_id'])),$_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['messages']);?> . </div> <hr /> <div class="comments"> <?php if ((abs($_smarty_tpl->getVariable('row')->value['theme_status'])>0)){?> <?php echo $_smarty_tpl->getVariable('comments')->value;?>
<?php }?> <div style="float:right; z-index:1; position: relative;"><?php echo $_smarty_tpl->getVariable('navigator')->value;?> </div> <?php if ((abs($_smarty_tpl->getVariable('row')->value['theme_status'])==1)&&isset($_SESSION['user'])){?> <?php echo Comments::GetNewCommentBlock(($_smarty_tpl->getVariable('mod')->value),"forum",($_smarty_tpl->getVariable('row')->value['theme_id']));?>
<?php }?> <?php if (!isset($_SESSION['user'])){?> <div style="clear:both;"></div> <div style="border-radius: 5px; border: 1px dashed #DDD; padding: 20px 7px; text-align: center; "> <a name="newcomment"></a> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_forum']['UnregisteredMessage'];?>
</div> <?php }?> </div> <?php $_template = new Smarty_Internal_Template('../photochapter/amviewer.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|