Loada is a powerful and open-sourced cms(content managment system)
that is being developed and executed in
PHP OOP(Object oriented programming), MySQLi, CSS, HTML and JavaScript. And the shortcut to all of that is LoadaCMS.
The main developer of LoadaCMS is me Eymen Plaiterentire. However other developers can be involved in this project.
Developers who continues on developing this project are highly appreciated. Loada has nothing to do with
sulakes habbo swf files or emulator-servers! users are responsible for any illegal acts that breaks
against the copyright law. Loada is being developed for educational purpose and are totally free!
you can allways download the latest version for free, and if you are a developer that continues
developing loada and are planning to sell it, it's all on your responsibility. The config file is powerful and you can manage stuff like defualt motto, credits, pixels and you can also turn of the register page. This will be done and released within the next moth. A language file will also be included in the configuration map, you just have to rewrite the titles to translate easy! this is alot easier than opening the damn page in notepad and translating everything -.- agh..
Here are some code snippets from register/login/registeroff objects:
[UPDATES] some image of design:
index:
Register:
Home:
that is being developed and executed in
PHP OOP(Object oriented programming), MySQLi, CSS, HTML and JavaScript. And the shortcut to all of that is LoadaCMS.
The main developer of LoadaCMS is me Eymen Plaiterentire. However other developers can be involved in this project.
Developers who continues on developing this project are highly appreciated. Loada has nothing to do with
sulakes habbo swf files or emulator-servers! users are responsible for any illegal acts that breaks
against the copyright law. Loada is being developed for educational purpose and are totally free!
you can allways download the latest version for free, and if you are a developer that continues
developing loada and are planning to sell it, it's all on your responsibility. The config file is powerful and you can manage stuff like defualt motto, credits, pixels and you can also turn of the register page. This will be done and released within the next moth. A language file will also be included in the configuration map, you just have to rewrite the titles to translate easy! this is alot easier than opening the damn page in notepad and translating everything -.- agh..
Here are some code snippets from register/login/registeroff objects:
PHP:
class inreg{
public function Create_user(){
include "Configuration/Language.php";
if(isset($_POST['create'])){
if(empty($_POST['username']) or empty($_POST['password']) or empty($_POST['c_password']) or empty($_POST['email'])){
echo "<div class='error'>".$convert['reg_empty']."</div>";
}else{
include "Configuration/Config.php";
$mysqli = new mysqli($localhost,$root,$password,$database);
$username = $mysqli->real_escape_string(strip_tags($_POST['username']));
$password = $mysqli->real_escape_string(strip_tags($_POST['password']));
$email = $mysqli->real_escape_string(strip_tags($_POST['email']));
$check_username = $mysqli->query("SELECT * From users WHERE username='$username'");
$check_email = $mysqli->query("SELECT * From users WHERE mail='$email'");
if(mysqli_num_rows($check_username) > 0){
echo "<div class='error'>".$convert['username_busy']."</div>";
}elseif(mysqli_num_rows($check_email) > 0){
echo "<div class='error'>".$convert['email_busy']."</div>";
}elseif(strlen($username) > 15){
echo "<div class='error'>".$convert['username_long']."</div>";
}elseif(strlen($username) < 3){
echo "<div class='error'>".$convert['username_short']."</div>";
}elseif(strlen($password) < 6){
echo "<div class='error'>".$convert['password_short']."</div>";
}elseif( preg_match('/\s/',$username)){
echo "<div class='error'>".$convert['username_whitespace']."</div>";
}else{
if($password == $_POST['c_password']){
$password = $mysqli->real_escape_string(strip_tags(md5(sha1($_POST['password']))));
$mysqli->query("INSERT INTO users (username,password,mail,activity_points,motto,credits,look) VALUES ('$username','$password','$email','$pixels','$motto','$credits','$look')");
$mysqli->query("UPDATE users SET online='1' WHERE username='$username'");
$_SESSION['user'] = $username;
header("location: home.php");
}else{
echo "<div class='error'>".$convert['password_nomatch']."</div>";
}
}
}
}
}
Public function Login_user(){
include "Configuration/Language.php";
include "Configuration/Config.php";
If(isset($_POST['login'])){
#Checking for empty fields
if( empty($_POST['username']) && empty($_POST['password']) ){
echo "<div class='error'>".$convert['error_emptyall']."</div>";
}elseif(empty($_POST['username']) && $_POST['password']){
echo "<div class='error'>".$convert['error_emptyusername']."</div>";
}elseif(empty($_POST['password']) && $_POST['username']){
echo "<div class='error'>".$convert['error_emptypassword']."</div>";
}else{
$mysqli = new mysqli($localhost,$root,$password,$database);
$username = $mysqli->real_escape_string(htmlspecialchars($_POST['username']));
$password = $mysqli->real_escape_string(htmlspecialchars(md5(sha1($_POST['password']))));
$catchUser = $mysqli->query("SELECT * From users WHERE username='$username' AND password='$password'");
if(mysqli_num_rows($catchUser) > 0){
$_SESSION['user'] = $username;
$mysqli->query("UPDATE users SET online='1' WHERE username='$username'");
header("location: home.php");
}else{
echo "<div class='error'>".$convert['error_incorrect']."</div>";
}
}
}
if(isset($_POST['register'])){
if($registration == false){
echo "<div class='error'>".$convert['register_off']."</div>";
}elseif($registration == true){
$_SESSION['reg'] = true;
header("location: register.php");
}
}
}
}
[UPDATES] some image of design:
index:
Register:
Home:
Last edited: