Looks neat, your doing way better than amirz and thats a good sign :)
This is a discussion on Project Juliet - Source Code [PHP, MySQL] within the Habbo Releases forums, part of the Habbo Hotel category; Introduction (from the development thread) Project Juliet began about 30minutes ago. For the last 3 - 5 months I have ...

Introduction (from the development thread)
Project Juliet began about 30minutes ago. For the last 3 - 5 months I have been learning PHP so I can be as good as some of you. I have read some posts and a few of you said that doing stuff like this is a great way to advance PHP knowledge. I have been on my iPod reading a massive book about PHP, no way near finished it yet, and been on many websites all so that I can improve.
Project Juliet is not designed for live hotel use. THIS IS NOT FINISHED, IT IS ONLY A PREVIEW OF WHAT I HAVE DONE SO FAR.
Download: http://jokohost.com/nobrain/PrjJuliet-[UNFINISHED].rar
Sorry if the documents in 'Docs' and 'tpl' offend you, I was just in a silly mood.
Feel free to comment on what I can improve and shit.
All the best,
nobrain
Last edited by ησвяαιη; 23-01-12 at 07:22 PM.
Looks neat, your doing way better than amirz and thats a good sign :)
His PHP is a lot better than mine but does he have different themes in 1 cms?
Promising... You should release an update everytime something big is coded so then we can push you on improving it... Nice work man.
Nice release, will look through the source to see what you've done
For a project like this, I recommend you use GitHub for good workflow control and stuff
Posted via Mobile Device
I like the support for CloudFlare, rest looks good aswell :)
Looks 'alright'. Good-luck Ash.
Here's my new Core.
:)
PHP Code:<?php
/*---------------------------------------------*
* MACRO CMS REVISION 2 - CODE NAMED: ANSI *
*----------------------------------------------*
* AUTHOR: LIVAR SHEKHANI (POWAHALERT) *
*----------------------------------------------*
* COMPATIBLE FOR PHOENIX EMULATOR (OTAKU) *
*----------------------------------------------*/
class Core
{
function Hash($input)
{
$salt = "FDFSDGDD[OF0386WH'#]SPHGYR";
return sha1($input . $salt);
}
function Filter($input)
{
return mysql_real_escape_string($input);
}
function Trunk()
{
return "MacroCMS Revision 2 - CODE NAMED: ANSI";
}
function UI($username, $row)
{
$query = @mysql_result(mysql_query("SELECT $row FROM users WHERE username = '$username' LIMIT 1"), 0);
return $query;
}
function UO()
{
$query = @mysql_result(mysql_query("SELECT users_online FROM server_status LIMIT 1"), 0);
echo $query;
}
function CheckLogin()
{
if(isset($_SESSION['M_USER']))
{
return true;
}
else
{
return false;
}
}
function Login()
{
$username = $this->Filter($_POST['username']);
$password = $this->Hash($_POST['password']);
$correct = $this->UI($username, 'password');
if(empty($username))
{
echo "Enter a username";
exit;
}
if($password == $correct)
{
// User's Password is correct!
$_SESSION['M_USER'] = $username;
$_SESSION['M_PASS'] = $password;
Header("Location: me.php");
}
elseif(mysql_num_rows(mysql_query("SELECT * FROM users WHERE username='$username'")) == 0)
{
echo "That user does not exist!";
exit;
}
elseif($password != $correct)
{
echo "Password is incorrect!";
exit;
}
}
}
?>