SWF stile Habbo

« Older   Newer »
  Share  
LucaRHCP
icon11  CAT_IMG Posted on 16/2/2012, 19:13     +1   -1




Salve a tutti, navigando su Kekomundo ho trovato un pack di SWF stile habbo e un client.php molto interessanti, eccoli
Client.php
<?php
/*=======================================================================
| SilverCMS © 2012 - 2013 By AlexJoan10
/*=======================================================================
| Para uso privado de algunas personas
\======================================================================*/

define('HIDE_FEEDBACK', true);

require_once "global.php";
require_once "inc/class.rooms.php";

if (!LOGGED_IN)
{
header("Location: " . WWW. "/login_popup");
exit;
}

$forwardType = 0;
$forwardId = 0;

// ****** BADGES & IP UPDATE FOR PHOENIX
// ****** CODED BY JONTYCAT

dbquery("UPDATE users SET ip_last = '" . $_SERVER['REMOTE_ADDR'] . "' WHERE username = '" . USER_NAME . "'");
if($users->hasFuse(USER_ID, 'isvip'))
{
$getId = mysql_query("SELECT id FROM users WHERE username = '" . USER_NAME ."'");
while($id = mysql_fetch_assoc($getId))
{
dbquery("INSERT into user_badges (user_id, badge_id, badge_slot) VALUES ('".$id['id']."', 'VIP', '0')");
}
}
if($users->hasFuse(USER_ID, 'fuse_housekeeping_login'))
{
$adminId = mysql_query("SELECT id FROM users WHERE username = '" .USER_NAME ."'");
while($aId = mysql_fetch_assoc($adminId))
{
dbquery("INSERT into user_badges (user_id, badge_id, badge_slot) VALUES ('".$aId['id']."', 'ADM', '0')");
}
}

// END
if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');

switch (intval($_GET['createRoom']))
{
default:
case 0:

RoomManager::PaintRoom($roomId, '1701', '601');
break;

case 1:

RoomManager::PaintRoom($roomId, '607', '111');
break;

case 2:

RoomManager::PaintRoom($roomId, '1901', '301');
break;

case 3:

RoomManager::PaintRoom($roomId, '1801', '110');
break;

case 4:

RoomManager::PaintRoom($roomId, '503', '104');
break;

case 5:

RoomManager::PaintRoom($roomId, '804', '107');
break;
}

//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");

//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);

if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}

if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
{
header("Location: " . WWW . "/account/policy-verify");
exit;
}

$users->CheckSSO(USER_ID);

$tpl->Init();

$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('default');
$tpl->AddIncludeFile(new IncludeFile('text/css', '%­www%/web-gallery/v2/styles/habboclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css', '%­www%/web-gallery/v2/styles/habboflashclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', '%­www%/web-gallery/static/js/habboflashclient.js'));

$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-bottom');

$client = new Template('page-client');

if($_SERVER["HTTP_HOST"] == "127.0.0.1")
{
$client->SetParam('connection_info_host', '127.0.0.1');
$client->SetParam('external_variables_txt','http://127.0.0.1/r63/external_variables_local.txt');
}
else
{
$client->SetParam('connection_info_host', '78.46.13.173');
$client->SetParam('external_variables_txt','http://zaphotel.net/externals.php?id=external_variables'); // OLD externals.php?id=external_variables
}

$client->SetParam('page_title', ' ');
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('flash_base', 'http://images.habbo.com/gordon/RELEASE47-25298-25289-201003111232_95572236204420188d53c5fb779d43f4/');
$client->SetParam('flash_client_url', 'http://images.habbo.com/dcr/r47_none_74f18727eeee7d2cd329f9c7c9078061/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' users online now!');
$client->SetParam('forwardType', $forwardType);
$client->SetParam('forwardId', $forwardId);

if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}

$tpl->AddTemplate($client);

$tpl->Output();

?>

SWF:
"external.variables. txt" : "http://hotelsilverprivat.co.de/gamedata/variables.txt",
"external.texts.txt" : "http://hotelsilverprivat.co.de/gamedata/texts.txt",
"productdata.load.ur l" : "http://hotelsilverprivat.co.de/gamedata/productdata.txt",
"furnidata.load.url" : "http://hotelsilverprivat.co.de/gamedata/furnidata.txt",
"flash.client.url" : "http://hotelsilverprivat.co.de/gordon/R63/",
"base" : "http://hotelsilverprivat.co.de/gordon/R63/",
var clientUrl = "http://hotelsilverprivat.co.de/gordon/R63/Habbo.swf";
Screen:

Fonte: Kekomundo
Screen: Kekomundo
 
Top
DestructionHack
CAT_IMG Posted on 16/2/2012, 19:20     +1   -1




Bravo per aver postato,se qualcuno mi chede Swf lo fanno registrare qua,e gli do link di questo Topic.
Come al solito sei bravissimo nei Retro ^_^
 
Top
_p0six_
CAT_IMG Posted on 17/2/2012, 16:07     +1   -1




Bello, Grazie!!!! Vai Destruction, almeno ci fai venire utenza
 
Top
2 replies since 16/2/2012, 19:13   138 views
  Share