Results 1 to 10 of 22
Hybrid View
-
16th Sep 2009, 10:08 AM #1OPMemberWebsite's:
litewarez.net litewarez.com triniwarez.commy system is all coded by myself lol, WCDDL is good but its just for average warez sites and thats not my idea, and the registry class is a piece of piss to do and the best thing is you just globalize in your constructs like
function __construct(){
global $registry;
$this->registry = $regsitry;
}
and i have an object file to load all objects like this
PHP Code:<?php
if(!defined('IN_SITE')){die('Hacking Attempt!');}
//Error Handling Ssytem
//Instantate Registry objects
$registry = new registry(); // Core Registry
//Instantate all other objects into the registry
$registry->put('database', new $dbType()); // Database
$registry->get('database')->connect(); // Run the connection
$registry->put('session', new session); // Session
$registry->put('input', new input); // Input
$registry->put('output', new output); // Output handler
$registry->put('helpers', new helpers); // Helpers
$registry->put('user_tracker', new user_tracker); // users_online + ip tracking etc
$registry->put('smarty', new Smarty); // Smarty Tempalte Engine
$registry->put('litewarez', new Litewarez); // Litewarez Core
$registry->put('tagcloud', new tagcloud); // Litewarez Tag Cloud Links
$registry->put('breadcrumb', new breadcrumb); // Breadcrumbs
?>litewarez Reviewed by litewarez on . See real OOP (Snippet from Litewarez V2) Webmasters CP class xxxxxx{ //Handle Registration function handle_registration(){ $this->username = $this->registry->get('input')->POST; $this->password = $this->registry->get('input')->POST; $this->password2 = $this->registry->get('input')->POST; $this->alias = $this->registry->get('input')->POST; $this->website = $this->registry->get('input')->POST; $this->email = $this->registry->get('input')->POST; $this->sitename = $this->registry->get('input')->POST; Rating: 5Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Snippet of the Day
By SplitIce in forum Web Development AreaReplies: 41Last Post: 26th Aug 2012, 06:09 PM -
Litewarez Feture list (Reason why your site belongs on Litewarez)
By litewarez in forum Webmaster DiscussionReplies: 42Last Post: 15th May 2010, 05:58 PM -
Litewarez Webmasters Notification system
By litewarez in forum Forum and DDL DiscussionReplies: 15Last Post: 24th Dec 2009, 01:52 PM -
Help required with Litewarez V2 Webmasters
By litewarez in forum Forum and DDL DiscussionReplies: 5Last Post: 26th Oct 2009, 05:13 AM -
Litewarez Webmasters, Screen Shot? What you think?
By litewarez in forum Site ReviewsReplies: 4Last Post: 27th Dec 2008, 03:32 AM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...