Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Housekeeping
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Nutty" data-source="post: 229383" data-attributes="member: 37029"><p>[PHP]<?php</p><p></p><p> // Special Functions</p><p> </p><p> function filter($var)</p><p> {</p><p> return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));</p><p> }</p><p></p><p>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</p><p>error_reporting(E_ALL ^ E_NOTICE);</p><p></p><p>define('A', '../app/');</p><p>define('I', 'interfaces/');</p><p>define('M', 'management/');</p><p>define('T', 'tpl/');</p><p></p><p></p><p>//REVOLUTION</p><p></p><p>use Revolution as Rev;</p><p></p><p></p><p> //INTERFACES</p><p> </p><p> require_once A . I . 'interface.core.php';</p><p> </p><p> require_once A . I . 'interface.engine.php';</p><p> </p><p> require_once A . I . 'interface.users.php';</p><p> </p><p> require_once A . I . 'interface.template.php';</p><p> </p><p> //TPL</p><p> </p><p> require_once A . T . I . 'interface.forms.php';</p><p> </p><p> //HTML</p><p> </p><p> require_once A . T . I . 'interface.html.php';</p><p> </p><p> //CSS</p><p> </p><p> require_once A . T . I . 'interface.css.php';</p><p> </p><p> //JS</p><p> </p><p> require_once A . T . I . 'interface.js.php';</p><p> </p><p> </p><p> //CLASSES</p><p> </p><p> //app</p><p> </p><p> require_once A . 'class.core.php';</p><p> </p><p> require_once A . 'class.engine.php';</p><p> </p><p> require_once A . 'class.users.php';</p><p> </p><p> require_once A . 'class.template.php';</p><p> </p><p> //MANAGEMENT</p><p> </p><p> require_once A . M . 'config.php';</p><p> </p><p> require_once A . M . 'recaptchalib.php';</p><p> </p><p> //TPL</p><p> </p><p> require_once A . T . 'class.forms.php';</p><p> </p><p> //HTML</p><p> </p><p> require_once A . T . 'class.html.php';</p><p> </p><p> //CSS</p><p> </p><p> require_once A . T . 'class.css.php';</p><p> </p><p> //JS</p><p> </p><p> require_once A . T . 'class.js.php';</p><p> </p><p> </p><p> //OBJ</p><p> </p><p> $core = new Rev\core();</p><p> </p><p> $engine = new Rev\engine(); </p><p> </p><p> $users = new Rev\users();</p><p> </p><p> $template = new Rev\template();</p><p> </p><p> $template->form = new Rev\forms();</p><p> </p><p> $template->html = new Rev\html();</p><p> </p><p> $template->css = new Rev\css();</p><p> </p><p> $template->js = new Rev\js();</p><p> </p><p> //START </p><p> </p><p> session_start();</p><p> </p><p> $engine->Initiate();</p><p> </p><p> $template->Initiate();</p><p> </p><p>?>[/PHP]</p></blockquote><p></p>
[QUOTE="Nutty, post: 229383, member: 37029"] [PHP]<?php // Special Functions function filter($var) { return mysql_real_escape_string(stripslashes(htmlspecialchars($var))); } if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } error_reporting(E_ALL ^ E_NOTICE); define('A', '../app/'); define('I', 'interfaces/'); define('M', 'management/'); define('T', 'tpl/'); //REVOLUTION use Revolution as Rev; //INTERFACES require_once A . I . 'interface.core.php'; require_once A . I . 'interface.engine.php'; require_once A . I . 'interface.users.php'; require_once A . I . 'interface.template.php'; //TPL require_once A . T . I . 'interface.forms.php'; //HTML require_once A . T . I . 'interface.html.php'; //CSS require_once A . T . I . 'interface.css.php'; //JS require_once A . T . I . 'interface.js.php'; //CLASSES //app require_once A . 'class.core.php'; require_once A . 'class.engine.php'; require_once A . 'class.users.php'; require_once A . 'class.template.php'; //MANAGEMENT require_once A . M . 'config.php'; require_once A . M . 'recaptchalib.php'; //TPL require_once A . T . 'class.forms.php'; //HTML require_once A . T . 'class.html.php'; //CSS require_once A . T . 'class.css.php'; //JS require_once A . T . 'class.js.php'; //OBJ $core = new Rev\core(); $engine = new Rev\engine(); $users = new Rev\users(); $template = new Rev\template(); $template->form = new Rev\forms(); $template->html = new Rev\html(); $template->css = new Rev\css(); $template->js = new Rev\js(); //START session_start(); $engine->Initiate(); $template->Initiate(); ?>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Housekeeping
Top