Cmon stop spamming people
I've got a r63 that's stored via .ini already ^^
Also any new updates Alex?
Posted via Mobile Device
Cmon stop spamming people
I've got a r63 that's stored via .ini already ^^
Also any new updates Alex?
Posted via Mobile Device
Last edited by Quackster; 13-04-11 at 11:46 PM.
Why would you limit this emulator by using MySQL? I suggest before you get too into this using MySQL that you switch to SQL server. Reason being, there are a lot more features that you can play around with.
Just my opinion, but hey. Who am I? Clearly a nobody.
Very Nice Update :) You are very quick :P
alex, updates?
Seems to be a very nice and usefull emulator!
Keep up da fucking goodie work :D
I have spoken to Alex, and he is currently not working on it due to his personal life - he'll be continuing soon though.
It is no longer named 'aleedaCMS' - i've renamed it to KibboCMS, and development is coming along nicely. KibboCMS is coded to work with: aleedaEmulator, uberEmulator and Phoenix Emulator. I've been keeping the development 'hush-hush' as at the time I was going through a great deal of stress in real life. I will get my thread re-opened shortly, and all the details/information will be updated.
Also, did I mention that there is a new and improved look to KibboCMS?
Now, back to the topic of 'aleedaEmulator'.
Quackster, have you completed the catalogue yet?
I didn't know you left, I haven't seen any fucking images of this crappy KibboCMS, your such a troll so it's a good thing you left.
Anyway.. here is what is for aleedaCMS already
- - News is from Database
- - Login
- - Register
- - Shows users activity points and credits
- - SQL Injections patched.
Would you like to contribute? sure be a project member at: https://code.google.com/p/aleeda-cms/ (feel free to browse the code as well)
I have stripped down the database only for the cms :)
![]()
Last edited by Quackster; 08-05-11 at 01:09 AM.
There's a lot of room for improvement, the code is sloppy IMHO. It could also use a simple template system, etc. Things can be done better and different.
Last edited by rice; 08-07-11 at 08:40 AM.
Ok it's a start. I would rather work on the Emulator then the CMS.
HoloCMS and PHPRetro don't have a template system ^_^
Also sorry guys, functions alone are not OOP ^^
---------- Post added at 09:14 AM ---------- Previous post was at 09:06 AM ----------
Anyway, is this sloppy code (In my opinion it isn't)? https://code.google.com/p/aleeda-cms.../functions.php
Last edited by Quackster; 08-05-11 at 01:32 AM.
Example:
this:
should be(and still can be so much better, just an example):PHP Code:function loginStartSession($username, $password)
{
$user = mysql_real_escape_string($username);
$pass = sha1(mysql_real_escape_string($password));
$query = mysql_query("SELECT * FROM users WHERE username = '".$user."'") or die("");
$query = mysql_fetch_array($query);
if($pass != $query['password'] || $user != $query['username'])
{
echo "Wrong details, please <a href='index.php'>try again</a>";
}
elseif($pass == "")
{
echo "Wrong details, please <a href='index.php'>try again</a>.";
}
elseif($user == "")
{
echo "Wrong details, please <a href='index.php'>try again</a>.";
}
else
{
$_SESSION['name'] = $user;
header("Location: me");
}
return $query;
}
PHP Code:function secure($var)
{
return htmlspecialchars(addslahes(mysql_real_escape_string($var)));
}
function loginStartSession($username, $password)
{
$user = secure($username);
$pass = sha1(secure($password));
$query = mysql_query("SELECT * FROM users WHERE username = '".$user."'") or die("");
$query = mysql_fetch_array($query);
if($pass != "" && $user != "")
{
if($pass == $query['password'] && $user == $query['username'])
{
//Set $user variable to something like $user->name instead of a session.
}
else
{
$class->error = "Wrong details."
}
}
else
{
$class->error = "Please fill in all fields";
}
}
Last edited by Kryptos; 08-05-11 at 02:01 AM.
Last edited by Quackster; 08-05-11 at 01:58 AM.