echo ($userdata['user_avatar'] ? "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' alt='Avatar' /></a>" : "<a href='".BASEDIR."profi[mail][/mail]le.php?lookup=".$userdata['user_id']."'><img src='".THEME."images/no_avatar.gif' border='0' /></a>");
if ($userdata['user_avatar'] && file_exists(IMAGES."avatars/".$data['user_avatar'])) {
echo "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='100px' height='100px'></center>";
}else{ echo "<center><img src='".IMAGES."main/noavatar.png' width='100px' height='100px'></center>";
}
openside("name");
echo " <script>
var today = new Date()
var hour = today.getHours()
if (hour > 17) {document.write('<strong>Good Evening</strong>')}
if (hour >= 6 && hour <= 11) {document.write('<strong>Good Morning</strong>')}
if (hour >= 12 && hour <= 17) {document.write('<strong>Good Afternoon</strong>')}
if (hour >= 0 && hour <6) {document.write('<strong>Good Morning</strong>')}
</script> <strong><font class='greeting'>".(iMEMBER ? $userdata['user_name'] : "Guest")."</font> <br>Welcome to Fangree Space! <br>
";
closeside();
openside("name");
if ($userdata['user_avatar']) {
echo "<center><img src='images/avatars/".$userdata['user_avatar']."' width='100px' height='100px'></center>";
}else{ echo "<center><img src='images/avatars/noavatar.png' width='100px' height='100px'></center>";
}
";
echo " <script>
var today = new Date()
var hour = today.getHours()
if (hour > 17) {document.write('<strong>Good Evening</strong>')}
if (hour >= 6 && hour <= 11) {document.write('<strong>Good Morning</strong>')}
if (hour >= 12 && hour <= 17) {document.write('<strong>Good Afternoon</strong>')}
if (hour >= 0 && hour <6) {document.write('<strong>Good Morning</strong>')}
</script> <strong><font class='greeting'>".(iMEMBER ? $userdata['user_name'] : "Guest")."</font> <br>Welcome to Fangree Space! <br>
";
closeside();
openside("name");
echo "<div style='font-weight:bold;'>";
echo " <script type='text/javascript'>
var today = new Date()
var hour = today.getHours()
if (hour > 17) {document.write('Good Evening ')}
if (hour >= 6 && hour <= 11) {document.write('Good Morning ')}
if (hour >= 12 && hour <= 17) {document.write('Good Afternoon ')}
if (hour >= 0 && hour <6) {document.write('Good Morning ')}
</script>".(iMEMBER ? $userdata['user_name'] : "Guest")."<br />Welcome to Fangree Space! <br />";
echo "</div>";
if (iMEMBER){
echo "<p style='text-align:center;'>";
echo ($userdata['user_avatar'] ? "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".IMAGES."avatars/".$userdata['user_avatar']."' border='0' alt='Avatar' /></a>" : "<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'><img src='".THEME."images/no_avatar.gif' border='0' /></a>");
echo "</p>";
}
closeside();
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions