2013-04-10, 09:51 AM
(2013-04-08, 03:23 PM)Leefish Wrote: [ -> ]Please post the template code that you are having issues with.
<div class="player-name"><if $timenow < 11 then><span title="{$lang->welcome_current_time}" style="cursor: help;">Good morning</span><elseif ($timenow >11 && $timenow < 18) then><span title="{$lang->welcome_current_time}" style="cursor: help;">Good afternoon</span></else><elseif ($timenow >18 && $timenow < 20) then><span title="{$lang->welcome_current_time}" style="cursor: help;">Good evening</span></else><else><span title="{$lang->welcome_current_time}" style="cursor: help;">Good night</span></if>, <a id="panel_{$mybb->user['uid']}" href="javascript:;">{$mybb->user['username']}</a>
</div> <!-- /end player-name -->
<div id="panel_{$mybb->user['uid']}_popup" class="panel_menu" style="display: none;">
<div class="panel_item_container"><a href="{$mybb->settings['bburl']}/usercp.php" class="panel_item">{$lang->welcome_usercp}</a></div>
<div class="panel_item_container">{$modcplink}</div>
<div class="panel_item_container">{$admincplink}</div>
<div class="panel_item_container"><a href="{$mybb->settings['bburl']}/private.php" class="panel_item">{$lang->welcome_pms}</a></div>
</div>
<script language="javascript" type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{ new PopupMenu("panel_{$mybb->user['uid']}"); }
// -->
</script>