TruCluez
Posting Freak
- Oct 14, 2013
- 513
- 62
Oopsies, guess im still a noob at DevbestThe developer doesn't have to since he is updating!
Oopsies, guess im still a noob at DevbestThe developer doesn't have to since he is updating!
Lol I have 1000 posts if you count Leader. But I will have user editing done tomorrow
<?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');
}
}
?>
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 projectUpdates
@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!
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 lollzRanking 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'); } } ?>
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 lolNot 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 }