Project OmegaASE [Multi-CMS] [Multi-Database] [Secure] [Variety Of Features] [Free]

Status
Not open for further replies.

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Lol I have 1000 posts if you count Leader. But I will have user editing done tomorrow
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Updates
@Obodiah is now a member of the development team! [Secondary Designer]
@DrPepper23 is now a member of the development team! [Main Developer/Security]
---------------------
We also need donations to get a live demo and what not up!
 

Jeffrey

Devbest Indian Tech Support
FindRetros Moderator
Feb 5, 2013
1,180
412
Omega will be a great project once you see more into it, Hopefully it will be finished :)
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Ranking System Done (Very basic)
PHP:
<?php
/*
    _      _____          _          _      ____                                  _     
  /\| |/\  |  __ \        (_)        | |    / __ \                              /\| |/\   
  \ ` ' /  | |__) | __ ___  _  ___  ___| |_  | |  | |_ __ ___  ___  __ _  __ _  \ ` ' /   
|_    _| |  ___/ '__/ _ \| |/ _ \/ __| __| | |  | | '_ ` _ \ / _ \/ _` |/ _` | |_    _| 
  / , . \  | |  | | | (_) | |  __/ (__| |_  | |__| | | | | | |  __/ (_| | (_| |  / , . \   
  \/|_|\/  |_|  |_|  \___/| |\___|\___|\__|  \____/|_| |_| |_|\___|\__, |\__,_|  \/|_|\/   
                          _/ |                                      __/ |                 
  ______ ______ ______ __|__/ ______ ______ ______ ______ ______ ___|___/_____ ______ ______
|______|______|______|______|______|______|______|______|______|______|______|______|______|
Project Started On December 12, 2013 By Chris Pettyjohn
---------------------------------------------------------
Project Omega will bring the retro world of administration to its knees begging for mercy.  Loaded with dozens of ways to moderate, or administer your habbo retro Project Omega is by far the most advanced administration panel ever before seen on the retro world!  With no limits, you can see how far Omega will take you! 
===========================================================================================================================================================================
File's Current Version : 2.0
*/

// Check Rank And Redirect Pending On Rank
$rank = $_SESSION['user']['rank']; // Gets the rank of your user
if($rank <= '6')
{
include('storage/reporter/'.$page.'/final.php');
}
else
{
if($rank <= '7')
{
include('storage/moderator/'.$page.'/final.php');
}
if($rank <= '8')
{
include('storage/administrator/'.$page.'/final.php');
}
if($rank <= '9')
{
include('storage/technician/'.$page.'/final.php');
}
}
?>
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
S6cn3d8.png

Of course thats the Technician panel.
A more advanced description on how the ranking system works.
Basically it checks your rank, starting at 6. 6 is a reporter, 7 is a moderator, 8 is an administrator, and 9 is a technician. Now that's in the header. The page is already declared before that is, so it goes to your rank folder to for instance (/administrator) than (/page) so here its (/technician/dash) than it gets from final.php which has basically what is in it. So (include('left/updates.php') and what not. It also declares some other things. But that is how it works. Simple and Organized
(Got First-Time Done)
 

GarettM

Posting Freak
Aug 5, 2010
833
136
Updates
@Obodiah is now a member of the development team! [Secondary Designer]
@DrPepper23 is now a member of the development team! [Main Developer/Security]
---------------------
We also need donations to get a live demo and what not up!
STOP PUTTING MY NAME IN THIS LEADER! -_- dude i told u i am not helping with omega u didnt even let me help on the last project
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Project being on pause for a while to make some time for my own life.
 

GarettM

Posting Freak
Aug 5, 2010
833
136
Ranking System Done (Very basic)
PHP:
<?php
/*
    _      _____          _          _      ____                                  _    
  /\| |/\  |  __ \        (_)        | |    / __ \                              /\| |/\  
  \ ` ' /  | |__) | __ ___  _  ___  ___| |_  | |  | |_ __ ___  ___  __ _  __ _  \ ` ' /  
|_    _| |  ___/ '__/ _ \| |/ _ \/ __| __| | |  | | '_ ` _ \ / _ \/ _` |/ _` | |_    _|
  / , . \  | |  | | | (_) | |  __/ (__| |_  | |__| | | | | | |  __/ (_| | (_| |  / , . \  
  \/|_|\/  |_|  |_|  \___/| |\___|\___|\__|  \____/|_| |_| |_|\___|\__, |\__,_|  \/|_|\/  
                          _/ |                                      __/ |                
  ______ ______ ______ __|__/ ______ ______ ______ ______ ______ ___|___/_____ ______ ______
|______|______|______|______|______|______|______|______|______|______|______|______|______|
Project Started On December 12, 2013 By Chris Pettyjohn
---------------------------------------------------------
Project Omega will bring the retro world of administration to its knees begging for mercy.  Loaded with dozens of ways to moderate, or administer your habbo retro Project Omega is by far the most advanced administration panel ever before seen on the retro world!  With no limits, you can see how far Omega will take you!
===========================================================================================================================================================================
File's Current Version : 2.0
*/

// Check Rank And Redirect Pending On Rank
$rank = $_SESSION['user']['rank']; // Gets the rank of your user
if($rank <= '6')
{
include('storage/reporter/'.$page.'/final.php');
}
else
{
if($rank <= '7')
{
include('storage/moderator/'.$page.'/final.php');
}
if($rank <= '8')
{
include('storage/administrator/'.$page.'/final.php');
}
if($rank <= '9')
{
include('storage/technician/'.$page.'/final.php');
}
}
?>
Not sure if this will work but try this its cleaner and human readable remember if even you can't read it its bad php programming lollz
PHP:
    if(isset($_SESSION['user']['rank'])) {
        $rank = $_SESSION['user']['rank'];
       
        switch($rank) {
            case 7:
                $view = 'Owner';
            break;
            case 6:
            case 5:
                $view = 'Administrator';
            break;
            case 4:
            case 3:
                $view = 'Moderator';
            break;
            case 2:
            case 1:
            default:
                $view = 'User';
            break;
        }
       
        if($view != 'User') {
            require('storage/view/' . $view . '/home.php');
        }
    } else {
        // Show or Redirect Accounts back to hotel
    }
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Not sure if this will work but try this its cleaner and human readable remember if even you can't read it its bad php programming lollz
PHP:
    if(isset($_SESSION['user']['rank'])) {
        $rank = $_SESSION['user']['rank'];
      
        switch($rank) {
            case 7:
                $view = 'Owner';
            break;
            case 6:
            case 5:
                $view = 'Administrator';
            break;
            case 4:
            case 3:
                $view = 'Moderator';
            break;
            case 2:
            case 1:
            default:
                $view = 'User';
            break;
        }
      
        if($view != 'User') {
            require('storage/view/' . $view . '/home.php');
        }
    } else {
        // Show or Redirect Accounts back to hotel
    }
kk will test later ,3 This is why I have you here lol
 

LeChris

John 15:18
Sep 30, 2013
2,786
1,395
Can a mod please close the thread.
Reason: Development Paused For A While (A long while)
@Legion
 
Status
Not open for further replies.

Users who are viewing this thread

Top