Welcome!

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!

RevCMS Habbo Template

Status
Not open for further replies.
Skilled Illusionist
Joined
May 7, 2011
Messages
342
Reaction score
25
Thanks for the Release, this Verry nice, and the index also.
 
Newbie Spellweaver
Joined
Feb 20, 2012
Messages
9
Reaction score
1
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!


Hejula - RevCMS Habbo Template - RaGEZONE Forums

Hejula - RevCMS Habbo Template - RaGEZONE Forums

Hejula - RevCMS Habbo Template - RaGEZONE Forums

Hejula - RevCMS Habbo Template - RaGEZONE Forums

Hejula - RevCMS Habbo Template - RaGEZONE Forums

Hejula - RevCMS Habbo Template - RaGEZONE Forums



Download:

Anyone got a mirror?
Hejula.net appears to be down :(
 
The one and only!
Loyal Member
Joined
Nov 24, 2008
Messages
2,529
Reaction score
1,435
Anyone got a mirror?
Hejula.net appears to be down :(
It's on my Mediafire drive.

I have terminated my hosting for hejula.net, so it will not work :p
 
Experienced Elementalist
Joined
Jul 29, 2012
Messages
240
Reaction score
25
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
 
The one and only!
Loyal Member
Joined
Nov 24, 2008
Messages
2,529
Reaction score
1,435
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
Could you post your class.html.php?
 
Experienced Elementalist
Joined
Jul 29, 2012
Messages
240
Reaction score
25
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);
	}


}
?>
 
The one and only!
Loyal Member
Joined
Nov 24, 2008
Messages
2,529
Reaction score
1,435
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);
    }


}
?>
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?
 
Newbie Spellweaver
Joined
Oct 20, 2012
Messages
10
Reaction score
1
Unknown column 'seckey' in 'field list' why am i keep getting this ? can any pm please and help me ?
 
The one and only!
Loyal Member
Joined
Nov 24, 2008
Messages
2,529
Reaction score
1,435
I'm no longer supporting this release.

The final download link: (working as of 14/11/2012).

/thread.
 
Status
Not open for further replies.
Back
Top