Well I'll be honest. He really is helping out alot. He's already finished part of the unfinished template system, and the whole installer. Plus the motivation.I think this CMS is going to be better, sinceYou must be registered for see linkshas joined. Good luck.
Pictures please.sorry for the lack of updates i have been bizzy XD so has cookie Monster :3
CMS is 75% done, right know were cleaning up code .. :3
Pictures please.
Well I'll be honest. He really is helping out alot. He's already finished part of the unfinished template system, and the whole installer. Plus the motivation.
Anyhow, finished the register for that new Habbo theme.
Are you going to update your Github repo soon?Nothing new with the template it self. Just code cleaning.
Yes.Are you going to update your Github repo soon?
class API {
public function run($function, $data) {
if(file_exists( _api_ . "$function.php" )) {
include_once( _api_ . "$function.php" );
$apifunction = "$function";
if(defined('API_ACCESS')) {
return $$apifunction($data);
} else {
echo $function, " API system was denied access";
}
} else {
echo $function, " API Doesnt exists!!";
}
}
}
<?php
############################[]
##
## HybridCMS (0.1.7)
##
############################[]
class config {
protected $data = array(), $information = array(
'build' => '0.1.7',
'author' => 'GarettMcCarty',
'copyright' => 'Copyright © 2013');
public function __construct() {
/** Mysql Config **/
// Mysql Host e.g. Localhost
$this->set('sql.host', 'localhost');
// Mysql User e.g. Root
$this->set('sql.user', 'root');
// Mysql User Password
$this->set('sql.pass', 'password1');
// Mysql Database For CMS
$this->set('sql.data', 'habbo?');
}
protected function set($ref, $value) {
if(isset($this->data[$ref][1])) {
printf("$ref already exists"); exit;
}
$this->data[$ref] = "$value";
}
public function retrieve($ref) {
if(!isset($this->data[$ref][1])) {
printf("$ref Doesnt exists"); exit;
}
return $this->data[$ref];
}
public function info($str) {
if(isset($this->information[$str][1])) {
return $this->information[$str];
}
return '*_*';
}
}
?>
I'll merge the code for Build 1.2.0Hello Hybrid Thread Viewers !!
HybridProject (Unofficial Build 0.1.7 )Features added:
Information:
- Small API System,
- Configuration inside a secure class ( Installer Creates This File )
- Custom Template System
- New Habbo Layout?! ( fully customized for clients choice )
- Everything is Secure
This Build is not supported by The HybridProject Team, This Build Focus on Security and Having a API system for Plugins and Theme Support.
Sadly this Build is not ready for release intell Friday ( Feb 1ST )
Snipits:
API System 10% done
API system works by including a file in the /plugin/ [plugin name] .php
and using the $[plugin name] anonymous function. This API system isnt very secure but will work for small Things !! like cron jobs and more
PHP:class API { public function run($function, $data) { if(file_exists( _api_ . "$function.php" )) { include_once( _api_ . "$function.php" ); $apifunction = "$function"; if(defined('API_ACCESS')) { return $$apifunction($data); } else { echo $function, " API system was denied access"; } } else { echo $function, " API Doesnt exists!!"; } } }