Javasex
On Instagram str8 Flexin
- Dec 21, 2013
- 128
- 24
I Have came to the conclusion that it is the PHP missing on the index.php but im not fully sure
Problem?
The Register dosent create user just reloads page..
Register Does not show errors..
See i had to rip this index from Habbo because Jack was being a Jackass and wouldn't share that tiny fucking page with me.. Like What?
This is why We dont get so far in the community like we used to ^ i.e of Successful CMS' PHPRetro and HoloCMS
On Topic:
Heres a snippet kk (Ill post Tpl if needed or you can just view source on Haboh.us)
Thanks mates!
Problem?
The Register dosent create user just reloads page..
Register Does not show errors..
See i had to rip this index from Habbo because Jack was being a Jackass and wouldn't share that tiny fucking page with me.. Like What?
This is why We dont get so far in the community like we used to ^ i.e of Successful CMS' PHPRetro and HoloCMS
On Topic:
Heres a snippet kk (Ill post Tpl if needed or you can just view source on Haboh.us)
PHP:
<?php
/*
_____ _ _ _
|_ _| | | (_)
| | | | |_ _ _ __ ___ _ _ __ __ _
| | | | | | | | '_ ` _ \| | '_ \ / _` |
_| |_| | | |_| | | | | | | | | | | (_| |
|_____|_|_|\__,_|_| |_| |_|_|_| |_|\__,_|
Illumina CMS by Jonteh (http://zaphotel.net/)
***** Thread for updates & help: http://forum.*****.com/f353/rel-illumina-cms-php-oop-917506/
*/
require_once "required.php";
if(!isset($_GET["novote"]) && $light->thehabbos_enabled && $light->isVotingOnline()) {
$vote_uri = str_replace('/', '!', WWW);
header ("Location: http://votingapi.com/vote.php?username=" . $light->thehabbos_username . "&api=" . $vote_uri . "!?novote");
exit;
}
$tpl->assign('loginError', null);
$tpl->assign('title', 'Welcome to the best Retro on the web');
if ($users->isLogged()) {
header ("Location: /me");
exit;
}
if (isset($_POST["credentials_username"]) && isset($_POST["credentials_password"])) {
$u = $db->real_escape_string($_POST["credentials_username"]);
$p = $users->userHash($_POST["credentials_password"], $u);
if ($users->validCredentials($u, $p)) {
$_SESSION["Username"] = $users->userVar($u, 'username');
$_SESSION["HashedPassword"] = $p;
header ("Location: " . WWW . "/me");
exit;
}
else {
$tpl->assign('LoginError', 'Invalid username or password.');
}
}
// Initialize HTML Output
$tpl->draw('index-top');
$tpl->draw('index');
$tpl->draw('alert');
$tpl->draw('index-footer');
?>