Viewing file: d80a8940566569cb53bedf1386fd86c40d692727.file.users-list.tpl.php (5.02 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-09-26 13:06:12 compiled from "user/templates/users/users-list.tpl" */ ?> <?php /*%%SmartyHeaderCode:11504680985062d394059e65-86951804%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'd80a8940566569cb53bedf1386fd86c40d692727' => array ( 0 => 'user/templates/users/users-list.tpl', 1 => 1333008116, ), ), 'nocache_hash' => '11504680985062d394059e65-86951804', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <h1 class="second x<?php echo $_smarty_tpl->getVariable('ulang')->value;?> users-online"><?php echo $_smarty_tpl->getVariable('header2')->value;?> </h1> <table width="100%"> <tr> <td align="left"> <div class="counter"> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_core']['Total'];?> <?php echo $_smarty_tpl->getVariable('count')->value;?> <?php echo AssumeNumber($_smarty_tpl->getVariable('count')->value,$_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['users']);?> <?php if (isset($_GET['online'])){?> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['online'];?> <?php }?>. </div> </td> <td> </td> <td align="right"><div style="text-align: right"><?php echo $_smarty_tpl->getVariable('nav')->value;?> </div></td> </tr> </table> <?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="user-block" style="overflow:hidden;"> <?php if (file_exists("data/users/photos/x_".($_smarty_tpl->tpl_vars['row']->value['user_photo']))){?> <a href="/id<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?> "><span class="avatar"><img src="/data/users/photos/x_<?php echo $_smarty_tpl->tpl_vars['row']->value['user_photo'];?> " /></span></a> <?php }else{ ?> <a href="/id<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?> "><span class="avatar"><img src="/data/users/photos/x_question.jpg" /></span></a> <?php }?>
<?php if (isset($_SESSION['user_id'])){?> <div class="admin-users-links"> <?php $_template = new Smarty_Internal_Template('admin-users-links.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);?> </div> <?php }?>
<div class="name"><a href="/id<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?> "><?php echo $_smarty_tpl->tpl_vars['row']->value['user_name'];?> <?php echo $_smarty_tpl->tpl_vars['row']->value['user_nick'];?> <?php echo $_smarty_tpl->tpl_vars['row']->value['user_surname'];?> </a></div> <div class="user-date-of-birth user-info-field"><label><?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersDateOfBirth'];?> :</label> <?php echo $_smarty_tpl->tpl_vars['row']->value['user_birth_day'];?> .<?php echo $_smarty_tpl->tpl_vars['row']->value['user_birth_month'];?> .<?php echo $_smarty_tpl->tpl_vars['row']->value['user_birth_year'];?> </div> <div class="user-city user-info-field"><label><?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersCity'];?> :</label> <?php echo $_smarty_tpl->getVariable('this')->value->GetCityName($_smarty_tpl->tpl_vars['row']->value['user_city'],$_smarty_tpl->getVariable('ulang')->value);?> </div> <br /> <div class="user-city user-info-field"> <?php if ($_smarty_tpl->tpl_vars['row']->value['user_date_lastaccess']!="0000-00-00 00:00:00"){?> <?php if (!$_smarty_tpl->tpl_vars['row']->value['online']){?> <label><?php echo Gender($_smarty_tpl->tpl_vars['row']->value['user_sex'],$_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Was']);?> </label> <?php echo GetUsefulDate($_smarty_tpl->tpl_vars['row']->value['user_date_lastaccess']);?>
<?php }else{ ?> <label> </label> <span class="online"><?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersUserOnline'];?> </span> <?php }?> <?php }?> </div> <?php if ($_smarty_tpl->tpl_vars['row']->value['user_ban']>0){?> <div class="banned"><?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersUserBannedTo'];?> <?php echo GetUsefulDate($_smarty_tpl->tpl_vars['row']->value['user_ban_date_end'],true,false);?> , <?php echo GetUsefulDate($_smarty_tpl->tpl_vars['row']->value['user_ban_date_end'],false,true);?> </div> <?php }?> <?php if (IsUserBlacklisted($_smarty_tpl->tpl_vars['row']->value['user_id'])){?> <div class="banned"><?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['InSiteBlacklist'];?> </div> <?php }?> <div class="buttons"></div> <div></div> </div> <?php }} ?> <div id="dialog"></div> <div style="text-align: right"><?php echo $_smarty_tpl->getVariable('nav')->value;?> </div>
|