<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

define('TAB_ID', 5);
define('PAGE_ID', 7);

require_once "global.php";

$tpl->Init();

$tpl->AddGeneric('head-init');

$tpl->AddIncludeSet('generic');
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://htest.sytes.net:8090/web-gallery/v2/styles/rooms.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://htest.sytes.net:8090/web-gallery/static/js/rooms.js'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://htest.sytes.net:8090/web-gallery/static/js/moredata.js'));
$tpl->WriteIncludeFiles();

$tpl->AddGeneric('head-overrides-generic');
$tpl->AddGeneric('head-bottom');
$tpl->AddGeneric('generic-top');
	
$tpl->Write('<div style="float: right; margin-right: 160px;" id="column1" class="column">');
$tpl->AddGeneric('comp-randomhabbos');
$tpl->AddGeneric('comp-hotrooms');
$tpl->Write('</div>');

$tpl->Write('<div id="column2" class="column">');
$tpl->AddGeneric('comp-news');
$tpl->Write('<div class="habblet-container "><div class="cbb clearfix green "><h2 class="title">Tags</h2><div class="habblet box-content">');
$tpl->AddGeneric('habblet-tagcloud');			
$tpl->Write('</div></div></div><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ');
//$tpl->AddGeneric('comp-twitter');								
$tpl->Write('</div>');

$tpl->AddGeneric('generic-column3');
$tpl->AddGeneric('footer');

$tpl->SetParam('page_title', 'Community');
$tpl->SetParam('body_id', 'home');

$tpl->Output();

?>