- Joined
- Feb 18, 2012
- Messages
- 779
- Reaction score
- 247
What is Project Nevada?
Project Nevada is a content managment system for habbo hotel private servers, written & developed by myself and MerijnZ.
Features:
- Avatar oriented (multiple avatars)
- In-depth account settings
- Huge in-depth housekeeping
- Housekeeping catalogue creator
- Profiles
- Groups
- Facebook API
- Forgot password function
- Private messaging system
- Online chat API
- Page creator with site editor in HK
- Unique user-system
- Multiple Skins / Templates
- Full CMS Installer on http://
- Webshop
- Paypal IPN + PayGol
- Multi Language (.lang files with variables around site)
- Cloudflare class + API
- Addons (Badgeshop etc)
- Group forums
- Database oriented pages + Menu
- BCStorm + Phoenix Compatibility
- More then 10+ skins
- Dutch + English
- External texts (.txt file for changing error text etc)
- Housekeeping pin code
- Editable permissions
These are some pictures of a base design of what we are going to do. There will of course be the basic habbo theme + possibly other CMS themes so you can switch over.
I have the .psd's for all of these files, I'l share when we release the CMS!
Snippets
Please not that these are just snippets, or base code and will be changed.
Router.Class
Router.Class
PHP:
<?php
/*
. . .
|\ | |
| \ | .-.. ._.-. .-.| .-.
| \|(.-' \ / ( )( |( ) Content Management System
' ' `--' `' `-'`-`-'`-`-'`- version 1.0 beta
-----------------------------------------------
Copyrights (c) 2013 Project Nevada
This project is developed to imitate Habbo Hotel. All rights
reserved to the developers of Nevada CMS
This project is licensed under the MIT license. This means that you may
redistribute and edit with leaving the copyrights to the developers.
Developers:
- Merijn K
- Jayden C
*/
namespace Nevada\Mvc;
class Router
{
public $pageParam;
public function __construct()
{
/**
* Navigates the webpage. First, we need to
* explode the page render url and then we are going
* to navigate each web page.
*/
$this->pageParam = $_GET['url'];
/**
* If no page requested, just go to the index.
* Nothing better todo, right?
*/
if(!isset($this->pageParam))
{
echo 'Welkom op de index';
}
/**
* If the page that you requested don't exists,
* give it a 404 Error
*/
((file_exists(BASE . '/controller/' . $this->pageParam . '.php')) ?: die('404 error.'));
}
}
?>
[B]Nevada.php[/B]
PHP:
<?php
/*
. . .
|\ | |
| \ | .-.. ._.-. .-.| .-.
| \|(.-' \ / ( )( |( ) Content Management System
' ' `--' `' `-'`-`-'`-`-'`- version 1.0 beta
-----------------------------------------------
Copyrights (c) 2013 Project Nevada
This project is developed to imitate Habbo Hotel. All rights
reserved to the developers of Nevada CMS
This project is licensed under the MIT license. This means that you may
redistribute and edit with leaving the copyrights to the developers.
Developers:
- Merijn K
- Jayden C
*/
namespace Nevada\Mvc;
class _Nevada
{
static $getLibs;
/**
* Here we gonna define the class names into
* a variable
*
*/
static $core, $router, $request, $response;
public function __construct($checkInstaller = true)
{
if($checkInstaller === true)
{
if(file_exists(BASE . '/install/installer.php'))
{
header('Location: '. BASE .'/install/installer.php');
exit;
}
}
/**
* We need libraries to load, before we can do anything..
* So we gonna load libs.
*/
self::$getLibs = array('management', 'libs');
foreach(self::$getLibs as $row)
{
/**
* Does every directory exists? If it doesnt
* just give a die to the system.
*/
((is_dir(BASE . '/' . $row)) ?: die('The directory <b> ' . $row . ' </b> does not exists.'));
foreach(glob(BASE . '/'.$row.'/*.php') as $includedFile)
{
require $includedFile;
}
}
/**
* Require the necessery classes.
*/
self::$core = new Core();
self::$router = new Router();
}
}
?>
Demo
You must be registered to see links
GitHub
You must be registered to see links
We are going to take this development slow, but for sure it will be finished, perfectly.
I'l have a basic demo up soon when we get a theme going & finish the classes.
Note: We wanted to start the development really early so we could post the updates for the next month ongoing. Thanks.
Attachments
You must be registered for see attachments list
Last edited: