Viewing file: fe5fd53f5421fe45e735e681f2f7e336a5ae56ab.file.user-row.tpl.php (6.34 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/actual/user-row.tpl" */ ?> <?php /*%%SmartyHeaderCode:7697468744f7417cf12db66-14510108%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'fe5fd53f5421fe45e735e681f2f7e336a5ae56ab' => array ( 0 => 'user/templates/actual/user-row.tpl', 1 => 1333008113, ), ), 'nocache_hash' => '7697468744f7417cf12db66-14510108', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <table style="width:100%"> <tr valign="middle"> <td> <div class="counter"> <?php if (($_smarty_tpl->getVariable('search')->value)){?> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['NewsFound'];?> <?php echo $_smarty_tpl->getVariable('count')->value;?> <?php echo AssumeNumber($_smarty_tpl->getVariable('count')->value,$_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['news']);?> .
<?php }else{ ?> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['Total'];?> <?php echo $_smarty_tpl->getVariable('count')->value;?> <?php echo AssumeNumber($_smarty_tpl->getVariable('count')->value,$_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['news']);?> . <?php }?> </div> </td> <td align="center"> <div class="search-panel"> <form method="get"> <input name="text" type="text" class="search" val="<?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['SearchDefaultText'];?> " value="<?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['SearchDefaultText'];?> " style="color:gray;" size="16" /> <input type="image" src="/user/icons/search-icon.gif" title="<?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['SearchIconClickTitle'];?> " align="absmiddle" /> </form> </div> </td> <td align="right"> <div style="float:right;"><?php if (($_SESSION['user']['user_access']['admin']=='Y')||($_SESSION['user']['user_access']['news']=='Y')){?> <div style=" font-size:11px;"><button onclick="javascript: location.href='/news/add';"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_news']['AddNews'];?> </button></div> <?php }?> <a href="/actual/comments">Комментарии статей</a></div> </td> </tr> </table> <hr class="dashed"/> <?php $_smarty_tpl->tpl_vars["photo_title"] = new Smarty_variable("photo_title_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <?php $_smarty_tpl->tpl_vars["actual_title"] = new Smarty_variable("actual_title_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <?php $_smarty_tpl->tpl_vars["actual_short_text"] = new Smarty_variable("actual_short_text_".($_smarty_tpl->getVariable('ulang')->value), null, null);?> <?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){ ?> <?php ob_start();?><?php echo $_smarty_tpl->getVariable('mod')->value;?> <?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["actual_main_photo"] = new Smarty_variable($_smarty_tpl->getVariable('Photomanager')->value->GetMainPhoto($_tmp1,"actual_id=".($_smarty_tpl->tpl_vars['row']->value['actual_id'])), null, null);?> <div class="row" style="overflow: hidden;"> <div style="overflow:hidden"> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_title']=='Y'){?> <div class="title"> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_read_more_link']=='Y'){?> <a href="/actual/<?php echo $_smarty_tpl->tpl_vars['row']->value['actual_id'];?> "><?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('actual_title')->value];?> </a> <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('actual_title')->value];?>
<?php }?> </div> <?php }?> <div class="short-text"> <?php if (file_exists($_smarty_tpl->getVariable('actual_main_photo')->value['photo_filename'])==1){?> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_read_more_link']=='Y'){?> <a href="/actual/<?php echo $_smarty_tpl->tpl_vars['row']->value['actual_id'];?> "> <img src="/<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value['photo_filename'];?> " class="photo" alt="<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value[$_smarty_tpl->getVariable('photo_title')->value];?> " title="<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value[$_smarty_tpl->getVariable('photo_title')->value];?> " /> </a> <?php }else{ ?> <img src="/<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value['photo_filename'];?> " class="photo" alt="<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value[$_smarty_tpl->getVariable('photo_title')->value];?> " title="<?php echo $_smarty_tpl->getVariable('actual_main_photo')->value[$_smarty_tpl->getVariable('photo_title')->value];?> " /> <?php }?> <?php }?> <?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('actual_short_text')->value];?>
</div> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_date']=='2'){?> <div class="actual date">Дата публикации: <?php echo GetUsefulDate($_smarty_tpl->tpl_vars['row']->value['actual_date'],true,true);?> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_date']=='1'){?> <div class="actual date">Дата публикации: <?php echo GetUsefulDate($_smarty_tpl->tpl_vars['row']->value['actual_date'],true,false);?> </div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['row']->value['actual_show_read_more_link']=='Y'){?> <div class="readmore"><a href="/actual/<?php echo $_smarty_tpl->tpl_vars['row']->value['actual_id'];?> "><?php echo $_smarty_tpl->getVariable('ULANG')->value['CoreReadMore'];?> </a></div> <?php }?> </div> <div class="delimiter"></div> </div> <?php }} ?>
|