Welkom gast! Aanmelden Registreren


Waardering:
  • 0 stemmen - gemiddelde waardering is 0
  • 1
  • 2
  • 3
  • 4
  • 5
Homepremium CMS Client fix
#1
Hey Rn,
Ik had op Joey al deze FIX staan maar die is Door staff verwijderd

DUS: HIER OPNIEUW

Kopieer de volgende CODES naar het opgegeven bestand:
Client.php (client/index.php)
[hide]
Code:
<?php
define('USERNAME_REQUIRED', FALSE);
define('ACCOUNT_REQUIRED', FALSE);
include('../global.php');
?>
<?php
$webbuild = $core->SetWebBuild();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{

   $username = $_GET['username'];
   $ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET home_room = '161' ");
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   <title><?php echo $sitename." - Client"; ?></title>

<link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel: RSS" href="http://www.habbo.nl/articles/rss.xml" />
<meta name="csrf-token" content="67227055e0"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/common.css" type="text/css" />

<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/landing.js" type="text/javascript"></script>


<script type="text/javascript">

var ad_keywords = "";

var ad_key_value = "";

</script>

<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $_SESSION['username']; ?>";
var facebookUser = false;
var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery";
var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") {
    HabboClient.windowName = "ClientWndw";
    HabboClient.maximizeWindow = true;
}


</script>

<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>



<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<script src="../HHNewLoader/Loader.js" type="text/javascript"></script>
<script src="..//HHNewLoader/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",
            "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
            "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client",
            "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
            "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
            "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
            "external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php echo $ticket ?>",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Onze piccolo sleept je koffers naar Zengo!",
            "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
         "token" : "<?php echo $ticket ?>"
    };
    var params = {
        "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
        "allowScriptAccess" : "always",
        "menu" : "false",  
      "bgcolor" : "#000",
      "wmode" : "transparent"            
    };

        params["wmode"] = "opaque";

    FlashExternalInterface.signoutUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/logout.php";

    var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/flash/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);

    window.onbeforeunload = unloading;
    function unloading() {
        var clientObject;
        if (navigator.appName.indexOf("Microsoft") != -1) {
            clientObject = window["flash-container"];
        } else {
            clientObject = document["flash-container"];
        }
        try {
            clientObject.unloading();
        } catch (e) {}
    }
    window.onresize = function() {
        HabboClient.storeWindowSize();
    }.debounce(0.5);
</script>



<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="63-BUILD695 - 31.08.2011 11:16 - nl" />
</head>
<body id="client" class="flashclient">



<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<link rel="stylesheet" type="text/css" href="../Public/Styles/Default/CSS/main.css">
<?php if($users->UserInfo($username, 'header_client') == "0"){ ?>
<style type="text/css">
#user_avatar {
height: 65px;
width: 64px;
float: left;
margin-top: -16px;

}
.avatar_placement {
background: url(http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $users->UserInfo($username, 'look'); ?>&action=wav&gesture=sml);
}
</style>
<div id="top">
<div id="topbar">
<img src="../Public/Styles/Default/Images/logo_mini.png" style="float:left; padding-left:5px; padding-top: 12px;">
<p id="text">&nbsp;&nbsp;Ingelogt als, <?php echo $users->UserInfo($username, 'username'); ?>

<div id="user_avatar" class="avatar_placement"></div>

</p>

<div id="right" style="margin-top: -24px;">
<table width="350" border="0">
<tbody><tr>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><span id="users">  

<?php
         $userq_tellup = mysql_query("SELECT * FROM users WHERE online = '1' ORDER BY id ASC");
         $user_tellup = mysql_num_rows($userq_tellup);
            ?>

<?php if($user_tellup == 0){ ?>Er zijn geen gebruikers Online
<?php }elseif($user_tellup == 1){ ?>Er is 1 gebruiker Online
<?php }elseif($user_tellup > 1){ ?>Er zijn <?php echo $user_tellup; ?> gebruikers Online<?php } ?>
</span>
</td>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><a href="../vip.php" target="_new">Koop VIP</a></td>
<td></td>
<td></td>
</tr>
</tbody></table>
<div style="clear:both;"></div>
</div>
</div>
</div>
<?php } ?>

<div id="overlay"></div>

<div id="client-ui" style=" <?php if($users->UserInfo($username, 'header_client') == "0"){ ?>height: 94.9%;<?php } ?>position: bottom;">



    <div id="flash-wrapper">
    <div id="flash-container">
        <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
    <h2 class="title">Installeer alsjeblieft de meest recente versie van de Adobe Flash Player</h2>
    <div class="box-content">
            <p>Je hebt de Adobe Flash Player nodig om de Beta te testen. Je kan deze vanaf de volgende link downloaden en installeren: <br><br>

<a target ="blank"href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>.<br><br>

Klik op 'Agree and install now' om de installatie te starten. Op deze <a target="blank" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">pagina</a> vind je een Engelse instructie voor bij de installatie.</p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
</div>
        </div>
        <script type="text/javascript">
            $('content').show();
        </script>
        <noscript>
            <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
                <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
   <!--div id="content" class="client-content"></div-->            
</div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && window.opener.location.href == "/") {
            window.opener.location.replace("/me");
        }
        $(document.body).addClassName("js");
          HabboClient.startPingListener();
        Pinger.start(true);
        HabboClient.resizeToFitScreenIfNeeded();
    </script>  

        <script language="JavaScript" type="text/javascript">
            getFingerprint();
        </script>

<script type="text/javascript">
    HabboView.run();
</script>
<script type="text/javascript">
jjLoader.init('client', 6, '../Public/Styles/Default/Images/logo2.gif', '../Public/Styles/Default/Images/home_hotel_vieuw.png');
</script>
</body>
</html>
[/hide]

class_core (inc/class_core.php
[hide]
Code:
<?php
class Core
{
   public static function EscapeString($string = '')
   {
      return mysql_real_escape_string(stripslashes(trim(htmlspecialchars($string))));
   }
  
   public static function EscapeStringHK($string = '')
   {
      return mysql_real_escape_string(stripslashes(trim($string)));
   }
  
   public static function UsersOnline()
   {
      $data = mysql_fetch_array(mysql_query("SELECT users_online FROM server_status;"));
      return intval($data['users_online']);
   }
  
   public static function CmsSetting($row = '')
   {
      $data = mysql_fetch_array(mysql_query("SELECT value FROM cms_settings WHERE variable = '".$row."' LIMIT 1;"));
      return $data['value'];
   }
  
   public static function ServerSetting($row = '')
   {
      $data = mysql_fetch_array(mysql_query("SELECT ".$row." FROM server_settings LIMIT 1;"));
      return $data[$row];
   }
  
   public static function CheckColumns($table = '', $column = '')
   {
      return (mysql_num_rows(mysql_query("SHOW COLUMNS FROM ".$table." LIKE '".$column."';")) == 1);
   }
  
   public function MUS($command, $data = '')
   {
      $MUSdata = $command . chr(1) . $data;
      $socket = @socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
      @socket_connect($socket, $this->CmsSetting('client_ip'), $this->CmsSetting('client_mus'));
      @socket_send($socket, $MUSdata, strlen($MUSdata), MSG_DONTROUTE);  
      @socket_close($socket);
   }
  
   public function AddBan($type, $value, $reason, $expiretime, $mod)
   {
      mysql_query("INSERT INTO bans (id,bantype,value,reason,expire,added_by,added_date,appeal_state) VALUES (NULL,'" . $type . "','" . $value . "','" . $reason . "','" . $expiretime . "','" . $mod . "','" . date('d/m/Y H:i') . "','0');");
   }
  
   public function Maintenance()
   {
      return ($this->CmsSetting('maintenance') == 'true');
   }
  
   public function SetWebBuild()
{
    $link = file_get_contents('http://www.habbo.com/community');

    $build = explode('<link rel="shortcut icon" href="http://images.habbo.com/habboweb/', $link);

    $build = trim($build[0]);

    return $build;
}
}


?>
[/hide]

Alsjeblieft mensen!

Nog steeds problemen?

PM NIET MIJ MAAR JOEY!
msn: [hide]joey_molhoek@hotmail.com[/hide]


CREDITS:
Joey
Voor alles 100%



Werkt hij niet?
Update de gamedata die webbase ofzzo iets die cijfers! R63 enzo
 
#2
Snap niet echt
 
#3
Bedankt voor deze "tutorial".
Haal hides weg, die werken niet.

EDIT: Nu wel


 
#4

Mooie tuts, dankje dat je het met ons deelt Happysmile

 
#5
Test zo eens. Alvast bedankt!
 
#6
Dankjewel voor de tut.
 
#7
(25-10-2012, 19:31)Joey schreef: Hey ;kuchel;,
Ik had op Joey al deze FIX staan maar die is Door staff verwijderd

DUS: HIER OPNIEUW

Kopieer de volgende CODES naar het opgegeven bestand:
Client.php (client/index.php)
[hide]
Code:
<?php
define('USERNAME_REQUIRED', FALSE);
define('ACCOUNT_REQUIRED', FALSE);
include('../global.php');
?>
<?php
$webbuild = $core->SetWebBuild();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{

   $username = $_GET['username'];
   $ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET home_room = '161' ");
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   <title><?php echo $sitename." - Client"; ?></title>

<link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel: RSS" href="http://www.habbo.nl/articles/rss.xml" />
<meta name="csrf-token" content="67227055e0"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/common.css" type="text/css" />

<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/landing.js" type="text/javascript"></script>


<script type="text/javascript">

var ad_keywords = "";

var ad_key_value = "";

</script>

<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $_SESSION['username']; ?>";
var facebookUser = false;
var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery";
var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") {
    HabboClient.windowName = "ClientWndw";
    HabboClient.maximizeWindow = true;
}


</script>

<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>



<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<script src="../HHNewLoader/Loader.js" type="text/javascript"></script>
<script src="..//HHNewLoader/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",
            "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
            "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client",
            "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
            "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
            "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
            "external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php echo $ticket ?>",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Onze piccolo sleept je koffers naar Zengo!",
            "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
         "token" : "<?php echo $ticket ?>"
    };
    var params = {
        "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
        "allowScriptAccess" : "always",
        "menu" : "false",  
      "bgcolor" : "#000",
      "wmode" : "transparent"            
    };

        params["wmode"] = "opaque";

    FlashExternalInterface.signoutUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/logout.php";

    var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/flash/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);

    window.onbeforeunload = unloading;
    function unloading() {
        var clientObject;
        if (navigator.appName.indexOf("Microsoft") != -1) {
            clientObject = window["flash-container"];
        } else {
            clientObject = document["flash-container"];
        }
        try {
            clientObject.unloading();
        } catch (e) {}
    }
    window.onresize = function() {
        HabboClient.storeWindowSize();
    }.debounce(0.5);
</script>



<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="63-BUILD695 - 31.08.2011 11:16 - nl" />
</head>
<body id="client" class="flashclient">



<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<link rel="stylesheet" type="text/css" href="../Public/Styles/Default/CSS/main.css">
<?php if($users->UserInfo($username, 'header_client') == "0"){ ?>
<style type="text/css">
#user_avatar {
height: 65px;
width: 64px;
float: left;
margin-top: -16px;

}
.avatar_placement {
background: url(http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $users->UserInfo($username, 'look'); ?>&action=wav&gesture=sml);
}
</style>
<div id="top">
<div id="topbar">
<img src="../Public/Styles/Default/Images/logo_mini.png" style="float:left; padding-left:5px; padding-top: 12px;">
<p id="text">&nbsp;&nbsp;Ingelogt als, <?php echo $users->UserInfo($username, 'username'); ?>

<div id="user_avatar" class="avatar_placement"></div>

</p>

<div id="right" style="margin-top: -24px;">
<table width="350" border="0">
<tbody><tr>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><span id="users">  

<?php
         $userq_tellup = mysql_query("SELECT * FROM users WHERE online = '1' ORDER BY id ASC");
         $user_tellup = mysql_num_rows($userq_tellup);
            ?>

<?php if($user_tellup == 0){ ?>Er zijn geen gebruikers Online
<?php }elseif($user_tellup == 1){ ?>Er is 1 gebruiker Online
<?php }elseif($user_tellup > 1){ ?>Er zijn <?php echo $user_tellup; ?> gebruikers Online<?php } ?>
</span>
</td>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><a href="../vip.php" target="_new">Koop VIP</a></td>
<td></td>
<td></td>
</tr>
</tbody></table>
<div style="clear:both;"></div>
</div>
</div>
</div>
<?php } ?>

<div id="overlay"></div>

<div id="client-ui" style=" <?php if($users->UserInfo($username, 'header_client') == "0"){ ?>height: 94.9%;<?php } ?>position: bottom;">



    <div id="flash-wrapper">
    <div id="flash-container">
        <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
    <h2 class="title">Installeer alsjeblieft de meest recente versie van de Adobe Flash Player</h2>
    <div class="box-content">
            <p>Je hebt de Adobe Flash Player nodig om de Beta te testen. Je kan deze vanaf de volgende link downloaden en installeren: <br><br>

<a target ="blank"href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>.<br><br>

Klik op 'Agree and install now' om de installatie te starten. Op deze <a target="blank" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">pagina</a> vind je een Engelse instructie voor bij de installatie.</p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1183/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
</div>
        </div>
        <script type="text/javascript">
            $('content').show();
        </script>
        <noscript>
            <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
                <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
    </div>
   <!--div id="content" class="client-content"></div-->            
</div>
    <script type="text/javascript">
        RightClick.init("flash-wrapper", "flash-container");
        if (window.opener && window.opener != window && window.opener.location.href == "/") {
            window.opener.location.replace("/me");
        }
        $(document.body).addClassName("js");
          HabboClient.startPingListener();
        Pinger.start(true);
        HabboClient.resizeToFitScreenIfNeeded();
    </script>  

        <script language="JavaScript" type="text/javascript">
            getFingerprint();
        </script>

<script type="text/javascript">
    HabboView.run();
</script>
<script type="text/javascript">
jjLoader.init('client', 6, '../Public/Styles/Default/Images/logo2.gif', '../Public/Styles/Default/Images/home_hotel_vieuw.png');
</script>
</body>
</html>
[/hide]

class_core (inc/class_core.php
[hide]
Code:
<?php
class Core
{
   public static function EscapeString($string = '')
   {
      return mysql_real_escape_string(stripslashes(trim(htmlspecialchars($string))));
   }
  
   public static function EscapeStringHK($string = '')
   {
      return mysql_real_escape_string(stripslashes(trim($string)));
   }
  
   public static function UsersOnline()
   {
      $data = mysql_fetch_array(mysql_query("SELECT users_online FROM server_status;"));
      return intval($data['users_online']);
   }
  
   public static function CmsSetting($row = '')
   {
      $data = mysql_fetch_array(mysql_query("SELECT value FROM cms_settings WHERE variable = '".$row."' LIMIT 1;"));
      return $data['value'];
   }
  
   public static function ServerSetting($row = '')
   {
      $data = mysql_fetch_array(mysql_query("SELECT ".$row." FROM server_settings LIMIT 1;"));
      return $data[$row];
   }
  
   public static function CheckColumns($table = '', $column = '')
   {
      return (mysql_num_rows(mysql_query("SHOW COLUMNS FROM ".$table." LIKE '".$column."';")) == 1);
   }
  
   public function MUS($command, $data = '')
   {
      $MUSdata = $command . chr(1) . $data;
      $socket = @socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
      @socket_connect($socket, $this->CmsSetting('client_ip'), $this->CmsSetting('client_mus'));
      @socket_send($socket, $MUSdata, strlen($MUSdata), MSG_DONTROUTE);  
      @socket_close($socket);
   }
  
   public function AddBan($type, $value, $reason, $expiretime, $mod)
   {
      mysql_query("INSERT INTO bans (id,bantype,value,reason,expire,added_by,added_date,appeal_state) VALUES (NULL,'" . $type . "','" . $value . "','" . $reason . "','" . $expiretime . "','" . $mod . "','" . date('d/m/Y H:i') . "','0');");
   }
  
   public function Maintenance()
   {
      return ($this->CmsSetting('maintenance') == 'true');
   }
  
   public function SetWebBuild()
{
    $link = file_get_contents('http://www.habbo.com/community');

    $build = explode('<link rel="shortcut icon" href="http://images.habbo.com/habboweb/', $link);

    $build = trim($build[0]);

    return $build;
}
}


?>
[/hide]

Alsjeblieft mensen!

Nog steeds problemen?

PM NIET MIJ MAAR JOEY!
msn: [hide]joey_molhoek@hotmail.com[/hide]


CREDITS:
Joey
Voor alles 100%

Helaas zijn de credits niet helemaal naar jou..
Jij hebt Homepremium CMS niet gemaakt.. Waarschijnlijk heb jij alleen de client fix gedaan.
Of jij hem homepremium opnieuw opgebouwt op je eigen pc,
 
#8

Ty ik val eens proberen ;P Ben namelijk de CMS aan het editten/ exploit free maken + radio pagina aan het maken Duss, maybe komt er ook een release uit met mijn CMs met joun fix haha Tounge

Cheerz!

Rico, What else?! c:
 
#9
Hide doet het niet.
 
#10
dankje !!!!!!!!!!!!!!!!!11
 
  




Leden die dit momenteel bekijken: 1 gast(en)