It's been a while since I coded something usefull for the Habbo section. Some people might've already downloaded my beta releases in the releases section, but you couldn't really do much with it.
What is QuickTPL?
It's a CMS/Framework with a multi-tpl system etc in it made for Habbo Retros. It's sorta like Frost 3.0, but I'm coding it from scratch and I think it may have a new name.
Why QuickTPL?
It's fast (5ms per page with mysql pconnect), has cron jobs, easy to code pages for with the use of my handler scripts:
articles.php
It has auto CSS & JS scripts just like RevCMS so you don't need to put your CSS links on top of every page.PHP Code:<body id="news">
<?php $this->inc('head'); ?>
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix default ">
<h2 class="title">Articles</h2>
<div id="article-archive">
<h2>Latest articles</h2>
<ul>
{newsList}
</ul>
</div>
</div>
</div>
</div>
<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix notitle ">
<div id="article-wrapper">
<h2>{newsTitle}</h2>
<div class="article-meta">Posted by {newsAuthor}</div>
<p class="summary">{newsShortstory}</p>
<div class="article-body">
{newsLongstory}<br/><br/>
</div>
</div>
</div>
</div>
</div>
</div><div id="footer"><?php $this->inc('footer'); ?></div></div></div>
Screenshots?
I'll make them today, look at my site:
Hablow.nl
Login with name: 'Admin', pass: 'admin' to see the housekeeping.
I've almost completed QuickTPL, I just need to finish the housekeeping functions and CSS.
QuickTPL/Configuration.php
PHP Code:<?php
if(!defined('Start')) exit('403');
class Config {
## Your QuickTPL basic settings
static $name = 'Hablow';
static $style = 'habbo';
## Your default 'Page Not Found' file
static $errorfile = 'error';
## These are your MySQL Connect Settings
static $DB = Array(
'hostname' => 'p:127.0.0.1',
'loginname' => 'root',
'password' => 'admin',
'database' => 'quicktpl',
);
static $hk_rank = Array(
'basics' => 3,
'news' => 4,
'bans' => 5,
'users' => 6,
'ranks' => 6,
'site' => 7
);
## The time your login-cookies will stay valid
static $cookie_time = 216000;
## Your password hash
static $hash_function = 'md5(sha1($input))';
## This is for hard-blocking any ip (For DoSers)
static $blocked_ips = Array(
'someip',
'anotherip',
'thirdip',
'moreips',
'etc'
);
## Your twitter account
static $twitter = '_AmirZ_';
}
?>


![[PHP, MySQLi, OOP] QuickTPL 1.0 - New Year Release](http://ragezone.com/hyper728.png)


