AdvanCMS 1.0

Status
Not open for further replies.

HIGHEST

Member
Mar 25, 2012
71
3
Screen Shots:
You must be registered for see images attach
You must be registered for see images attach
You must be registered for see images attach
 

Attachments

  • Community.png
    Community.png
    175.9 KB · Views: 222
  • Index.png
    Index.png
    228.3 KB · Views: 254
  • News.png
    News.png
    162.1 KB · Views: 231
  • Register.png
    Register.png
    177.8 KB · Views: 223

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Omg.. you really really fail at renaming a cms. I downloaded it. Its a revcms rename. Proof:
Code:
<?php
 
namespace Revolution;
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
class core implements iCore
{
 
    final public function getOnline()
    {
        global $engine;
        return $engine->result("SELECT users_online FROM server_status");
    }
   
    final public function getStatus()
    {
        global $engine;
        return $engine->result("SELECT status FROM server_status");
    }
   
    final public function systemError($who, $txt)
    {
        die('<b>' . $who . ' - RevCMS: </b><br /> <center>' . $txt . '</center>');
    }
   
    final public function handleCall($k)
    {
        global $users, $template, $_CONFIG;
       
        if($_CONFIG['hotel']['in_maint'] == false)
        {
            if(!isset($_SESSION['user']['id']))
            {
                switch($k)
                {
                    case "index":
                    case null:
                    case "login":
                        $users->login();
                    break;
                   
                    case "register":
                    $users->register();
                    break;
                   
                    case "forgot":
                        $users->forgotten();
                    break;
                   
                    case "maintenance":
                    case "ToS":
                        //
                    break;
               
                    case "me":
                    case "account":
                    case "news":
                        header('Location: '.$_CONFIG['hotel']['url'].'/index');
                        exit;
                    break;
                   
                    default:
                        //Nothing
                    break;
                }
            }
            else
            {
                if($_SESSION['user']['ip_last'] != $_SERVER['REMOTE_ADDR'])
                {
                    header('Location: '.$_CONFIG['hotel']['url'].'/logout');
                }
               
                switch($k)
                {
                    case "index":
                    case null:
                        header('Location: '.$_CONFIG['hotel']['url'].'/me');
                    exit;
                    break;
                   
                    case "register":
                    header('Location: '.$_CONFIG['hotel']['url'].'/me');
                    exit;
                    break;
                   
                    case "forgot":
                        header('Location: '.$_CONFIG['hotel']['url'].'/me');
                        exit;
                    break;
                   
                    case "client":
                        $users->createSSO($_SESSION['user']['id']);
                        $users->updateUser($_SESSION['user']['id'], 'ip_last', $_SERVER['REMOTE_ADDR']);
                        $template->setParams('sso', $users->getInfo($_SESSION['user']['id'], 'auth_ticket'));
                    break;
                       
                    case "help":
                        $users->help();
                    break;
               
                    case "account":
                        $users->updateAccount();
                    break;
                   
                    default:
                        //nothing
                    break;
                }
            }
        }
        elseif($_GET['url'] != 'maintenance')
        {
            header('Location: '.$_CONFIG['hotel']['url'].'/maintenance');
            exit;
        }
    }
   
    final public function handleCallHK($k)
    {
        global $users, $engine, $_CONFIG;
       
        if($_SESSION["in_hk"] != true)
        {
            if(isset($_SESSION['user']['id']))
            {
                if($k == 'login')
                {
                    $users->loginHK();
                }
                else
                {
                    header("Location:".$_CONFIG['hotel']['url']."/ase/index.php?url=login");
                    exit;
                }
            }
            else
            {
                header("Location:".$_CONFIG['hotel']['url']."/index");
                exit;
            }
        }
        else
        {
            if(!isset($k))
            {
                header("Location:".$_CONFIG['hotel']['url']."/ase/index.php?url=dash");
                exit;
            }
            else
            {
                if($k == 'banlist')
                {
                       
                    if(isset($_GET["unban"]))
                    {
                        $user = $engine->secure($_GET["unban"]);
                        $engine->query("DELETE FROM bans WHERE id = '" . $user . "'");
                        header("Location: ".$_CONFIG['hotel']['url']."/ase/index.php?url=banlist");
                        exit;
                    }   
                }
            }
        }
    }
   
    final public function hashed($password)
    {
        return md5($password);
    }
}
?>
And a screen shot:
 

HIGHEST

Member
Mar 25, 2012
71
3
Hhm, It is a RevCMS but Meth0d helped me with some coding so he changed it to Advan Hotel. But the Housekeeping is from GrapeASE.
 

Sean

‫‫‫‫‫‫  ‫  Don't Worry, Be Happy
Dec 12, 2011
1,121
405
Meth0d done no such thing. you just re-released revCMS with a new name :mad:
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Matter of fact, i dont even think r0y mess's with retros anymore..
But yes, this is a complete re-named revcms with a new paypal thing..
 

GarettM

Posting Freak
Aug 5, 2010
833
136
First of all if ur gonna steal RevCMS atleast Rename it so it doesnt say revCMS u fcking tard >:[
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Hhm, It is a RevCMS but Meth0d helped me with some coding so he changed it to Advan Hotel. But the Housekeeping is from GrapeASE.

23959833.jpg
 
Status
Not open for further replies.

Users who are viewing this thread

Top