[UberCMS Addon] Staff Page [EDIT]
Hey Guys, The Previous Staff Page Has Been Changed As Ive Taken Some Of Your Ideas Posted And Rebuilt It I Know Its Probs Still Crap But This Is It.
Screenshot:
http://iaza.com/work/100706C/gggggggg69697.PNG
Now I Know This Is Probs Crap Aswell But Nvm ;) Some Of You Liked It Lol.
COMP-STAFF
PHP Code:
<?php
function GetDescr($level)
{
switch ($level)
{
case 7:
return 'Epic Hotel Creators/Owners';
case 6:
return 'Epic Administrative Staff';
case 5:
return 'Epic Head Moderators';
case 4:
return 'Epic Moderation Team';
return 'Trainee Moderators';
default:
return 'Epic Moderators In Trainee';
}
}
$getGroups = dbquery("SELECT id,name FROM ranks WHERE id >= 5 ORDER BY id DESC");
while ($group = mysql_fetch_assoc($getGroups))
{
echo '<div class="habblet-container ">
<div class="cbb clearfix pixelgreen ">
<h2 class="title"><span style="float: left;">' . clean($group['name']) . 's</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . GetDescr($group['id']) . '</span></h2>';
$getMembers = dbquery("SELECT id,username,motto,look,online FROM users WHERE rank = '" . $group['id'] . "'");
echo '<div class="box-content">';
if (mysql_num_rows($getMembers) > 0)
{
$oe = 1;
while ($member = mysql_fetch_assoc($getMembers))
{
if ($oe == 2)
{
$oe = 1;
}
else
{
$oe = 2;
}
echo '<table width="125%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';">
<tbody>
<tr>
<td valign="middle" width="25">
<img style="margin-top: -10px;" src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=' . $member['look'] . '&size=b">
</td>
<td valign="top">
<b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br />
<i>' . clean($member['motto']) . '</i><br />
<br />';
$getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 2");
while ($b = mysql_fetch_assoc($getBadges))
{
echo '<img src="http://images.habbo.com/c_images/album1584/' . $b['badge_id'] . '.gif" style="float: left;"> ';
}
echo '</td>
<td valign="top" style="float: right;">
' . (($member['online'] == "1") ? '<b style="color: green;">Online</b>' : '<b style="color: red;">Offline</b>') . '
</td>
</tr>
</tbody>
</table>';
}
}
else
{
echo '<i>There Are No Members Of This Staff Group Yet Check Back Soon!</i>';
}
echo '</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
}
?>
Staff.php Does Not Needed To Be Changed ;)
Hope You Like This One :s
EDIT INCLUDES:
* Resized Figures
* 3 Staff Catagorys
* Font And Clearfix Colour Change
* Limit Of 2 Badges Only
I Know Its Not Much But Its Just A Quick Edit :S
Re: [UberCMS Addon] Staff Page
Re: [UberCMS Addon] Staff Page
Fixed
---------- Post added at 09:04 AM ---------- Previous post was at 09:03 AM ----------
Sorry About That Fixed Now And I Forgot Codes :S
Re: [UberCMS Addon] Staff Page
Re: [UberCMS Addon] Staff Page
Why would you make another useless copy of uber staff page? It is fine how it is...
Re: [UberCMS Addon] Staff Page
To be honest i really dont like it. it looks to simple. 3/10.
Re: [UberCMS Addon] Staff Page
Its the same as the normal?
Just changed some things and changed color?
Re: [UberCMS Addon] Staff Page
Yeah, It's doesn't really suit unless you change the whole CMS around which is pointless, because it's just the staff page and it's fine how it is.
Re: [UberCMS Addon] Staff Page
I Know Its Not Very Good Buy Its My First Addon.
Ill Realease More Thing That Look A Like This Addon To Make It Better.
Re: [UberCMS Addon] Staff Page
Its not even a addon..
Its an re-color :s
Re: [UberCMS Addon] Staff Page
Lol Mate Its My First Addon Its Just A Start And No Its Not Just A Recolour.
Re: [UberCMS Addon] Staff Page
Just change the name uber in epic, and change the colors blue in orange =)
Re: [UberCMS Addon] Staff Page
Where the hell is the difference, this is just added to the book of Rz failed releases.
Re: [UberCMS Addon] Staff Page
What the hell. you just changed the color from blue to orange, made the side column have an orange header (changed from white), and Added test under where there's no staff, are you serious? Pointless? Noobs can do this in 4sec
Re: [UberCMS Addon] Staff Page
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\staff.php:1) in C:\xampp\htdocs\global.php on line 33
how do i fix