Viewing file: fbd60ceb1c94e717958b884cc0bb030d0e4c767a.file.user-profile-panel.tpl.php (4.02 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-12 16:10:43 compiled from "user/templates/users/user-profile-panel.tpl" */ ?> <?php /*%%SmartyHeaderCode:10372069094f86d453b8d888-98332082%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'fbd60ceb1c94e717958b884cc0bb030d0e4c767a' => array ( 0 => 'user/templates/users/user-profile-panel.tpl', 1 => 1333008116, ), ), 'nocache_hash' => '10372069094f86d453b8d888-98332082', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="profile"> <div style="text-align:center; "> <?php if (file_exists("data/users/photos/x_".($_SESSION['user']['user_photo']))){?> <img src="/data/users/photos/x_<?php echo $_SESSION['user']['user_photo'];?> " width="100" style="padding:5px;"/><br /> <?php }else{ ?> <img src="/data/users/photos/x_question.jpg" width="100" style="padding:5px;" /> <?php }?> </div> <div class="user_name"><?php echo $_SESSION['user']['user_name'];?> <?php echo $_SESSION['user']['user_surname'];?> </div> <ul class="menu"> <li><a href="/user/inbox"><img src="/user/icons/messages.png" align="absmiddle" width="24" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Messages'];?> <span class="new-messages" id="count-of-new-messages"><?php echo $_smarty_tpl->getVariable('newmessages')->value;?> </span></a></li> <?php if ($_SESSION['user']['user_blacklisted']!=1){?> <li><a href="/user/contacts"><img src="/user/icons/contacts.png" align="absmiddle" width="24" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Contacts'];?> </a></li> <?php }?> <?php if ($_SESSION['user']['user_ban']!=1&&$_SESSION['user']['user_blacklisted']!=1){?> <li><a href="/id<?php echo $_SESSION['user_id'];?> "><img src="/user/icons/profile.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersConfig'];?> </a></li> <?php }?> <li><a href="/user/logout"><img src="/user/icons/exit.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['UsersExit'];?> </a></li> <?php if (($_SESSION['user']['user_access']['admin']=='Y')||($_SESSION['user']['user_access']['ban']=='Y')||($_SESSION['user']['user_access']['warning']=='Y')||($_SESSION['user']['user_access']['black']=='Y')||($_SESSION['user']['user_access']['claims']=='Y')){?> <li><hr /></li> <li><a href="/id<?php echo $_SESSION['user_id'];?> "><img src="/user/icons/administrate.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Administrate'];?> </a></li> <?php if ($_SESSION['user']['user_access']['admin']=='Y'||$_SESSION['user']['user_access']['black']=='Y'){?> <li><a href="/user/blacklistsite"><img src="/user/icons/blacklist.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['SiteBlacklist'];?> </a></li> <?php }?> <?php if ($_SESSION['user']['user_access']['admin']=='Y'||$_SESSION['user']['user_access']['ban']=='Y'){?> <li><a href="/user/ban"><img src="/user/icons/ban.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Ban'];?> </a></li> <?php }?> <?php if ($_SESSION['user']['user_access']['admin']=='Y'||$_SESSION['user']['user_access']['warning']=='Y'){?> <li><a href="/user/warnings"><img src="/user/icons/warnings.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Warnings'];?> </a></li> <?php }?> <?php if ($_SESSION['user']['user_access']['admin']=='Y'||$_SESSION['user']['user_access']['claims']=='Y'){?> <li><a href="/user/warnings"><img src="/user/icons/claims.png" width="24" align="absmiddle" /> <?php echo $_smarty_tpl->getVariable('ULANG')->value['AMCMS_users']['Claims'];?> </a></li> <?php }?> <?php }?> </ul> </div>
|