[UberCMS Addon] Staff Page [EDIT]

Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    cool [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;">&nbsp;';
                        }
                            
                        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
    Last edited by Papercup; 05-07-10 at 08:16 PM.


  2. #2
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: [UberCMS Addon] Staff Page

    screenshot is down

  3. #3
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    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

  4. #4
    Proficient Member bokeoke12 is offline
    MemberRank
    Jul 2009 Join Date
    161Posts

    Re: [UberCMS Addon] Staff Page

    Looks nice!

  5. #5
    hi academic is offline
    MemberRank
    Jun 2010 Join Date
    AustraliaLocation
    484Posts

    Re: [UberCMS Addon] Staff Page

    Why would you make another useless copy of uber staff page? It is fine how it is...

  6. #6
    yerro Adde is offline
    MemberRank
    Feb 2010 Join Date
    none ur bizzLocation
    2,731Posts

    Re: [UberCMS Addon] Staff Page

    To be honest i really dont like it. it looks to simple. 3/10.

  7. #7
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: [UberCMS Addon] Staff Page

    Its the same as the normal?

    Just changed some things and changed color?

  8. #8
    hi academic is offline
    MemberRank
    Jun 2010 Join Date
    AustraliaLocation
    484Posts

    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.

  9. #9
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    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.

  10. #10
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: [UberCMS Addon] Staff Page

    Its not even a addon..

    Its an re-color :s

  11. #11
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    Re: [UberCMS Addon] Staff Page

    Lol Mate Its My First Addon Its Just A Start And No Its Not Just A Recolour.

  12. #12
    Proficient Member superdaan44 is offline
    MemberRank
    Jan 2009 Join Date
    in a chest.Location
    182Posts

    Re: [UberCMS Addon] Staff Page

    Just change the name uber in epic, and change the colors blue in orange =)

  13. #13
    Account Upgraded | Title Enabled! iJakey is offline
    MemberRank
    May 2010 Join Date
    355Posts

    Re: [UberCMS Addon] Staff Page

    Where the hell is the difference, this is just added to the book of Rz failed releases.

  14. #14
    Proficient Member owot is offline
    MemberRank
    Jun 2010 Join Date
    185Posts

    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

  15. #15
    Brad Bradshly is offline
    MemberRank
    Aug 2007 Join Date
    Ragezone :DLocation
    611Posts

    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



Page 1 of 3 123 LastLast

Advertisement