POP PHP
Compatible with Phoenix Emulator (3.11.0)
About:
POP PHP started on March 26th 2013, it was first started to be developed when I decided to release a login page from Wabbo (release can be foundYou must be registered for see links). Since that date I have been putting a lot of time and effort into finishing this CMS for it to be released for public use. This CMS will be released upon it being stable and the recommended version for this CMS would be version 3.11.0 (phoenix) as that's the database I'm working on for this development.
Features:
- Powered by mySQLi
- Uses it own framework (splits HTML from PHP (easily customizable))
- Every page is loaded from index.php (improves security)
- User-Friendly (edit (resources/php/config/config.php) to set everything up)
Screen dump:
Source dump:
PHP:<?php define('DH_PAGES', true); require_once ('resources/php/config/config.php'); require_once ('resources/php/classes/class.mysqli.php'); require_once ('resources/php/classes/class.template.php'); require_once ('resources/php/classes/class.user.php'); $db = new db_mysqli('localhost', $config['user'], $config['pass'], $config['tble']); $tmp = new template1(); $usr = new user(); session_start(); if (isset($_SESSION['username']) && isset($_SESSION['password'])) { if ($usr->UserSecure($_SESSION['username'], $_SESSION['password'])) { if ($usr->UserSecure($_SESSION['username']) || $usr->UserSecure($_SERVER['REMOTE_ADDR'])) { define('DH_LOGGED', false); unset($_SESSION['username']); unset($_SESSION['password']); header('Location: '.$config['path'].'?p=login'); exit; } else { define('DH_LOGGED', true); } } else { define('DH_LOGGED', false); } } else { define('DH_LOGGED', false); } $page = NULL; if (isset($_POST['p'])) { $page = strtolower($db->real_escape_string(htmlspecialchars($_POST['p']))); } if (isset($_GET['p'])) { $page = strtolower($db->real_escape_string($_GET['p'])); } if ($page == NULL) { $initial = NULL; if (DH_LOGGED) { $initial = 'me'; } else { $initial = 'login'; } header('Location: '.$config['path'].'?p='.$initial); exit; } if ($page == 'login' || $page == 'register') { if (DH_LOGGED) { header('Location: '.$config['path'].'?p=me'); exit; } } else { if (!DH_LOGGED) { header('Location: '.$config['path'].'?p=login'); exit; } } switch($page) { case 'logout': unset($_SESSION['username']); unset($_SESSION['password']); header('Location: '.$config['path'].'?p=login'); exit; break; default: if (file_exists('resources/php/templates/'.$page.'.php')) { require_once ('resources/php/templates/'.$page.'.php'); } else { require_once ('resources/php/templates/error.php'); } break; } ?>
FAQs:
Did you RIP this from Wabbo?
I did, I ripped the design by using various screen shots and using Wabbo's image directory to code the HTML, CSS and PHP.
What pages does this consist of?
When will this be released?
- Login Page
- Register Page
- Me (personal page)
- My Page (home)
- My Profile (account settings)
- Community Page
- Staff Page
- Forums (links up with news articles)
- Tags Page
- Credits Page
- Pixels Page
- Client Page
- TheHabbos API will be integrated into the client as a separate release (addon)
When its at a stable version upon being released as a public version. A premium version will also be up for grabs upon donations being given.
Can I donate to the project?
Anyone can donate to the project (pm), donating means it will give me more motivation to finish this off, secondly upon donation you'll be the first to BETA test the CMS before public release and will possibly receive the premium version which won't be officially released by me. (You're free to release the premium version as it'll be open source).