<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<? include("config.php"); ?>
<script src="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/static/js/domready.js" type="text/javascript"></script>
<script src="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/tooltips.css" type="text/css" />
<script src="http://habbo.co.uk/js/local/uk.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/process.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/client.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbohotel.co.uk/habboweb/19_893f5b1b323d5c8b3767d50e5f5988a6/14/web-gallery/v2/styles/habboclient.css" type="text/css" />
<script type="text/javascript" language="javascript">
var habboClient = true;
HabboClientUtils.init();
</script>
<meta name="description" value="<? echo "$name"; ?> is a virtual world where you can meet and make friends." />
<meta name="keywords" value="<? echo "$name"; ?>,virtual world,play games,enter competitions,make friends" />
<head><?
// HABLOG WEB 2.0
$mysession = getenv( REMOTE_ADDR );
$langfile = file_get_contents("$database/logged/lang/$mysession.txt");
include("locales/$langfile.php");
// HABLOG WEB 2.0
?>
<?
// Hablog Situations
$a = chr(60);
$b = chr(62);
// Maintenance?
if ($maintenance == "1") {
include("maintenance.php");
exit;
}
else {
}
// Maintenance?
// Logged in?
$mysession = getenv( REMOTE_ADDR );
$user = "$database/logged/$mysession.txt";
if (file_exists($user)) {
}
else {
include("relogin.php");
exit;
}
// Logged in?
// Hablog Situations
?>
<meta name="build" content="7.0.18 - 20071011153905 - uk" />
</head>
<body id="client">
<div id="client-topbar" style="display:none">
<div class="logo"><img src="popup_topbar_hablog_logo.gif" alt="" align="middle"/></div>
<div class="habbocount"><div id="habboCountUpdateTarget">
<?
$echo = file_get_contents("$database\onlines.txt");
echo "$echo";
?> <? echo "$membersonline"; ?>
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<div class="logout"><a href="logout.php">logout</a></div>
</div>
<html><body bgcolor="#000000"><head>
<title><? echo $name; ?> ~ Client</title>
</head>
<script type="text/javascript" language="javascript">
window.onload = resizeWin;
window.onerror = function() { return true; };
window.onunload = clearOpener;
ensureOpenerIsLoggedIn();
addClientUnloadHook();
Event.observe(document, "keypress", function(e) { if (e.keyCode == Event.KEY_BACKSPACE) { Event.stop(e); } });
</script>
<?
//HabLog Home by Hebbo
//HabLog Home by Hebbo
$myusername=$_GET[username];
$mypassword=$_GET[password];
$rand1=mt_rand(100000,999999) ;
$rand2=mt_rand(10000,99999) ;
$rand3=mt_rand(10000,99999) ;
$rand4=mt_rand(10000,99999) ;
$rand5=mt_rand(10000,99999) ;
$rand6=mt_rand(0,9) ;
if (!file_exists("$database/habbos/$myusername/pass.txt")) {
}
else {
$realpass = file_get_contents("$database/habbos/$myusername/pass.txt");
}
$ticket="ST-".$rand1."-".$rand2.$rand3.$rand4.$rand5."-es-fe".$rand6 ;
if($mypassword == "$realpass") {
$myFile = "$database/tickets/$ticket.txt";
}
{
$filename = "$database/tickets/$ticket.txt";
}
// hard code the variable from flash
$somecontent = "$myusername";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}
// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
echo "Connection failed!";
exit;
}
// close the file
fclose($handle);
// Print Sex
//{
$mysession = getenv( REMOTE_ADDR );
//$filename = "$database/logged/$mysession.txt";
//}
// hard code the variable from flash
//$somecontent = "$myusername";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
//if (!$handle = fopen($filename, 'w')) {
// exit;
//}
//
// Write $somecontent to the opened file.
//if (fwrite($handle, $somecontent) === FALSE) {
// exit;
//}
// close the file
//fclose($handle);
// Print Sex
$datum = getdate();
$current = date("dmYHis");
$fileas = "$database/bans/user_bans/$myusername.txt";
if (file_exists($fileas)) {
$unbandate = file_get_contents("$database/bans/user_bans/$myusername.txt");
$unbandate = str_replace(" ", "", $unbandate);
$unbandate = str_replace(":", "", $unbandate);
$unbandate = str_replace("-", "", $unbandate);
$unbandate = str_replace(".", "", $unbandate);
//echo "$unbandate - $current";
if ($unbandate > $current) {
//$unban="$database/bans/user_bans/$myusername.txt";
//unlink($unban);
//$reason="$database/bans/user_bans/$myusername.reason";
//unlink($reason);
}
else {
}
}
else {
}
if (file_exists($fileas)) {
$reason = file_get_contents("$database/bans/user_bans/$myusername.reason");
$unbandate = file_get_contents("$database/bans/user_bans/$myusername.txt");
$ban = file_get_contents("ban.php");
$ban = str_replace("%REASON%", "$reason", $ban);
$ban = str_replace("%UNBANDATE%", "$unbandate", $ban);
//echo "$ban";
//exit;
}
else {
}
//$host = sprintf('Location: %s', $_SERVER['HTTP_HOST']);
if($mypassword == "$realpass") {
//http://images.habbohotel.$lang/dcr/r19_20080108_0302_3880c_893f5b1b323d5c8b3767d50e5f5988a6/habbo.dcr
echo "</script><div align='center'><object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0' id='habbo' width='720' height='540'><param name='src' value='http://images.habbohotel.$lang/dcr/r20_20080207_0332_4109_7c04546c82da9ce33b1eeeec08ad80c9/habbo.dcr'> <param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '> <param name='swStretchStyle' value='none'> <param name='swText' value=''> <param name='bgColor' value='#000000'> <param name='sw6' value='use.sso.ticket=1;sso.ticket=$ticket'> <param name='sw2' value='connection.info.host=$host;connection.info.port=$port'> <param name='sw4' value='connection.mus.host=$host;connection.mus.port=62'> <param name='sw3' value='client.reload.url=logout.php'> <param name='sw1' value='site.url=http://$web/community/;url.prefix=http://$web/community/'><param name='sw5'value='external.variables.txt=http://www.habbohotel.$lang/gamedata/external?id=external_variables;external.texts.txt=http://www.habbohotel.$lang/gamedata/external?id=external_texts'><embed src='http://images.habbohotel.$lang/dcr/r20_20080207_0332_4109_7c04546c82da9ce33b1eeeec08ad80c9/habbo.dcr' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director' pluginspage='http://www.macromedia.com/shockwave/download/'sw6='use.sso.ticket=1;sso.ticket=$ticket'sw2='connection.info.host=$host;connection.info.port=$port' sw4='connection.mus.host=$host;connection.mus.port=62'sw3='client.reload.url=logout.php' sw1='site.url=http://$web/community/;url.prefix=http://$web/community/'sw5='external.variables.txt=http://www.habbohotel.$lang/gamedata/external?id=external_variables;external.texts.txt=http://www.habbohotel.$lang/gamedata/external?id=external_texts'></embed> </object></div>";
}
else {
}
?>
<?
//Create Files (/usehost.txt)
{
$host = sprintf('%s', $_SERVER['HTTP_HOST']);
$mysession = getenv( REMOTE_ADDR );
$filename = "$database/habbos/$myusername/usehost.txt";
}
// hard code the variable from flash
$somecontent = "$host";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}
// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
exit;
}
// close the file
fclose($handle);
//Create Files (/usehost.txt)
?>
<?php
$ip = $_SERVER['REMOTE_ADDR'];
//Create Files (/mac.txt)
{
$host = sprintf('%s', $_SERVER['HTTP_HOST']);
$mysession = getenv( REMOTE_ADDR );
$filename = "$database/habbos/$myusername/mac.txt";
}
// hard code the variable from flash
$somecontent = gethostbyaddr($ip);
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}
// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
exit;
}
// close the file
fclose($handle);
//Create Files (/mac.txt)
//Create Files (/agent.txt)
{
$agent = $_SERVER["HTTP_USER_AGENT"];
$mysession = getenv( REMOTE_ADDR );
$filename = "$database/habbos/$myusername/agent.txt";
}
// hard code the variable from flash
$somecontent = "$agent";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}
// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
exit;
}
// close the file
fclose($handle);
//Create Files (/agent.txt)
?>