Most visitors online was 12487 , on 27 Apr 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!This is as the title says, a Habbo theme for RevCMS! To use it you will need to use the custom index.php included in the file. I've also put the MangoCMS theme inside as well, as the old one will not work with the new index.php!
![]()
![]()
![]()
![]()
![]()
![]()
Download:You must be registered to see links
It's on my Mediafire drive.Anyone got a mirror?
Hejula.net appears to be down![]()
Could you post your class.html.php?Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampp\htdocs\app\tpl\class.html.php on line 27
<?php
namespace Revolution;
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
class html implements iHTML
{
private $html;
final public function get($file)
{
global $template, $_CONFIG;
if($file != null && ctype_alnum($file))
{
if(file_exists('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php'))
{
ob_start();
include('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php');
$this->html .= ob_get_contents();
ob_end_clean();
$this->setHTML();
}
else
{
$this->get('404');
}
}
else
{
header('Location: '.$_CONFIG['hotel']['url'].'/index');
exit;
}
}
final public function getHK($file)
{
global $template, $_CONFIG;
if($file != null)
{
if(file_exists('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php'))
{
ob_start();
require_once('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php');
$this->html .= ob_get_contents();
ob_end_clean();
$this->setHTML();
}
else
{
$this->getHK('404');
}
}
else
{
$this->getHK('dash');
}
}
final public function setHTML()
{
global $template;
$template->tpl .= $this->html;
unset($this->html);
}
}
?>
Ah, line 27 is this: "$this->get('404');" which is the file for when a page isn't found. As I didn't put a 404 file in this theme it times out. What page are you trying to access?here
Code:<?php namespace Revolution; if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } class html implements iHTML { private $html; final public function get($file) { global $template, $_CONFIG; if($file != null && ctype_alnum($file)) { if(file_exists('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php')) { ob_start(); include('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php'); $this->html .= ob_get_contents(); ob_end_clean(); $this->setHTML(); } else { $this->get('404'); } } else { header('Location: '.$_CONFIG['hotel']['url'].'/index'); exit; } } final public function getHK($file) { global $template, $_CONFIG; if($file != null) { if(file_exists('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php')) { ob_start(); require_once('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php'); $this->html .= ob_get_contents(); ob_end_clean(); $this->setHTML(); } else { $this->getHK('404'); } } else { $this->getHK('dash'); } } final public function setHTML() { global $template; $template->tpl .= $this->html; unset($this->html); } } ?>