Release [Intel] HabboCMS BETA R57 [Intel]

Si perchè devi disattivare la curl. Vedi tra i messaggi. Ho postato brevemente come si può disattivare ^^.
 
Questo è il topic ufficiale dell'HabboCMS basato su holo. Se dici che c'è qualche altro topic mostrami link o.o
 
come mai quando installo i cms di diverse maniere mi esce la home tutta disordinata e non mi parte il cient risp al più presto!
 
Ricordati che non è un UberCMS, è un PhpRetro modificato in BETA base holo...
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

<?php
/*================================================= ========+
|| # HabboCMS - Sistema de administración de contenido Habbo.
|+================================================ =========+
|| # Copyright © 2010 Kolesias123. All rights reserved.
|| #
Perfavore, Entra oppure Registrati per vedere i Link!

|| # Partes Copyright © 2009 Yifan Lu. All rights reserved.
|| # Yifan Lu
|| # Base Copyright © 2007-2008 Meth0d. All rights reserved.
|| # Meth0d dot org &ndash; stuff goes here
|+================================================ =========+
|| # InfoSmart 2010. The power of Proyects.
|| # Este es un Software de código libre, libre edición.
|+================================================ =========+
|| # Todas las imagenes, scripts y temas
|| # Copyright (C) 2010 Sulake Ltd. All rights reserved.
|+================================================ =========*/

define("IN_HOLOCMS", TRUE);
session_start();
$crelease = "REL28BTA1HB3KNP";
require_once('../includes/version.php');

function HoloHash($password){
@include('./includes/config.php');
@include('../includes/config.php');
if($pass_hash == true){
$string = sha1(sha1($password.infohabcms.strtolower($passwor d)));
}elseif($enption == false){
$string = $password;
}else{
echo "<br><font size='2' face='Tahoma'><b>Oops!</b><br>An error has

occurred with enption!</font>";
exit;
}
return $string;
}

function GenerateTicket($type = "sso", $length = 0){

switch($type){
case "sso":
$data =

GenerateTicket("random",8)."-".GenerateTicket("random",4)."-".GenerateTicket("rando

m",4)."-".GenerateTicket("random",4)."-".GenerateTicket("random",12);
return $data;
break; case "app_key":
$data =

strtoupper(GenerateTicket("random",32)).".resin-fe-".GenerateTicket("random_number"

,1);
return $data;
break; case "random":
$data = "";
$possible = "0123456789abcdef";
$i = 0;
while ($i < $length) {
$char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
$data .= $char;
$i++;
}
return $data;
break; case "random_number":
$data = "";
$possible = "0123456789";
$i = 0;
while ($i < $length) {
$char = substr($possible, mt_rand(0, strlen($possible)-1), 1);
$data .= $char;
$i++;
}
return $data;
break;
}
}

$H = date('H');
$i = date('i');
$s = date('s');
$m = date('m');
$d = date('d');
$Y = date('Y');

$date_full = date('d-m-Y H:i:s',mktime($H,$i,$s,$m,$d,$Y));
$date_normal = date('d-m-Y',mktime($m,$d,$Y));

function dbquery($query) {
$result = @mYsQL_query($query);
if (!$result) {
echo mysql_error();
return false;
} else {
return $result;
}
}

function writeconfig($host, $username, $password, $db, $path_base, $path_subase,

$enption, $charset, $languaje){
$config = "<?php
################################################## ###################
#||||| HabboGO - Content Management System Habbo |||||#
#||||| Created by Kolesias123 - HTML, PHP, CSS & KERNEL/CORE |||||#
# ----------------------------------------------------------------- #
#||||| © Copyright 2010. InfoSmart 2010 - Open Source Software |||||#
#||||| © Copyright 2010. Kolesias123 - Kernel/Core Structure |||||#
#||||| © Copyright 2010. Sulake Corporation - Habbo Archives |||||#
# ----------------------------------------------------------------- #
#||||| HabboGO is a free edition software is not protected. |||||#
#||||| Kernel files are protected by InfoSmart. |||||#
################################################## ###################

########## DATA ACCESS TO THE DATABASE ##########
// Set the data for connection to the database.
// In this order: Host, Username, Password, Name of the DB.

"."$"."dbhost = \"localhost".$host."\";
"."$"."dbuser = \"root".$username."\";
"."$"."dbpass = \"bobba123".$password."\";
"."$"."dbname = \"nuovo_db".$db."\";

########## UBICACIÓN DEL SOFTWARE ##########
// Set the variable \"path\" placing the URL to get to your Hotel.
// Set the variable \"subpath\" placing if there is a subdirectory and put his

name. Sin (/) at the beginning.
// It must be the address without (\"http://\") at the beginning and sin () at the

end.
// Set the variable \"hpath\" put the name where the administration stands

(Housekeeping)

"."$"."path = \"http://galaxyhotel.hoptrg/".$path_base."\";
"."$"."subpath = \"".$path_subase."\";
"."$"."hpath = \"housekeeping\";
"."$"."force_local = false;

########## LOCATION OF THE PLATES AND STYLES ##########
// Set the variable \"badge_path\" as the location for the official badges.
// Set the variable \"styles_path\" as the location for Habbo styles.
// Set the variable \"auto_styles\" if you want the styles of the variable

\"styles_path\"

"."$"."badge_path = \"http://localhost/c_images/album1584/\";
"."$"."styles_path =

\"http://images.habbo.com/habboweb/54_321ed6a04ad8e30309c4821c9f3e0949/10//web-gall

ery\";
"."$"."auto_styles = false;

########## Password enption ##########
// Set the variable \"pass_hash\" a 'true' if you want to enpt passwords.
// If not adjust it to 'false'.

"."$"."pass_hash = true;

########## OUTSIDE OF FLASH CLIENT VARIABLES ##########
// These are the data to obtain Flash Client properly.
// Set it in the version you use.

"."$"."flash_client_url =

\"http://images.habbo.com/dcr/r49_none_81fe7a2068e0c3abfa3d081776b673b8/\";
"."$"."flash_base =

\"http://images.habbo.com/gordon/RELEASE49-25888-25872-201004071550_ee7d731b67981b1

14b620fbdb9a264b9/\";

########## Manager ID ##########
// Please set the ID for your username within the Hotel.
// This will allow you to have total access to the hotel.

"."$"."sysadmin = \"1\";

########## OTROS ##########
// Set the variable \"charsetm\" to the appropriate character encoding.
// Set the variable \"language\" 2-letter language to optimize the search.
// Set the variable \"debug_array\" if you want to see a list of web DEBUG.

"."$"."charsetm = \"".$charset."\";
"."$"."language = \"".$languaje."\";
//"."$"."debug = false;

?>";
$temp = fopen("../includes/config.php","w");

if (!fwrite($temp, $config)) {
fclose($temp);
return false;
} else {
fclose($temp);
return true;
}
}

$step = $_GET['step'];

if($step < 0 || $step > 3 || !is_numeric($step) || !isset($step)){ $step = 0; }

if($step == '0'){
$step_text = "Introduction";
}else if($step == '1'){
$step_text = "Information";
}else if($step == '2'){
$step_text = "Configuration";
}else if($step == '3'){
$step_text = "Preparing Hotel";
}
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Installing HabboCMS - EN</title>
<link rel="shortcut icon" href="../web-gallery/v2/favicon.ico"

type="image/vnd.microsoft.icon" />

<script src="../web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="../web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="../web-gallery/static/js/fullcontent.js"

type="text/javascript"></script>
<script src="../web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="../web-gallery/static/js/visual.js" type="text/javascript"></script>
<link rel="stylesheet" href="../web-gallery/v2/styles/embeddedregistration.css"

type="text/css">
<link rel="stylesheet" href="../web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="../web-gallery/v2/styles/buttons.css" type="text/css"

/>
<link rel="stylesheet" href="../web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="../web-gallery/v2/styles/tooltips.css" type="text/css"

/>
<link rel="stylesheet" href="../web-gallery/v2/styles/process.css" type="text/css"

/>

<style type="text/css">
#header h1 a {
float: left;
width: 210px;
height: 42px;
border: 0;
background-repeat: no-repeat;
background-image: url(../housekeeping/images/habbocms-logo.png);
}

select {
border: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background-color: #EAEAEA;
width: 180px;
}
</style>

<!--[if IE 8]>
<link rel="stylesheet" href="../web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="../web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="../web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="../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(../web-gallery/js/csshover.htc); }
</style>
<![endif]-->
</head>

<body id="landing" class="process-template">

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

<div id="container">
<div class="cbb process-template-box clearfix">
<div id="content">
<div id="header" class="clearfix">
<h1><a href="http://infosmart.com.mx/habbocms/"

target="_blank"></a></h1>
<ul class="stats">
<li class="stats-online"><span class="stats-fig">Installing

HabboCMS - EN</span></li>

<li class="stats-visited"><span class="stats-fig"><?php echo $step; ?>/3 - <?php

echo $step_text; ?></span></li>
</ul>
</div>

<div id="process-content">

<?php if($step == 0){ ?>
<div id="column1" class="column">

<div class="habblet-container " id="create-habbo">



<div id="create-habbo"

class="layout-static">
<div id="create-habbo-nonflash" style="background-image:

url(http://images.habbohotel.es/c_images/abtesting/pixel.gif)">
<div class="landing-text-1"><span>Welcome to HabboCMS!</span></div>
<div class="landing-text-2"><span>Do you want a Hotel?</span></div>
<div class="landing-text-3"><span>You are in the right place!</span></div>
<div id="landing-register-text"><a

href="./english_install?step=1"><span>Continue</span></a></div>
<div id="landing-promotional-text"><span>HabboCMS the best Free Software

for the creation of a hotel.</span></div>
</div>
</div>
</div>
</div>


<div id="column2" class="column">
<div class="habblet-container ">
<p><b>Installing HabboCMS</b></p>
<p>You are about to install HabboCMS, a free PHP

software for creating and emulating a Habbo Hotel.</p>
<p>Here's a summary of the version you

installed:</p>
<p>Versión:<br /><b>HabboCMS <?php echo

$holocms['version']; ?></b>
<br />Technical Version:<br /><b><?php echo

$holocms['update']; ?></b></p>
<p>Servers emulation:<br /><b><?php echo

$server['type']; ?> r<?php echo $holocms['server_version']; ?></b></p>


</div>
</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>

<?php } else if($step == 1){ ?>

<div id="terms" class="box-content">
<div class="tos-header"><b>ABOUT HABBOCMS</b></div>
<div class="tos-item"> <br> To install HabboCMS is necessary that you have the

following requirements: <br /> <br />
<b>
* PC with Internet access or hosting of pay (including dedicated and VPS) <br />
* Windows, Linux or MAC operating systems. <br />
* Xampp 1.7.2 or 1.7.3. <br />
* Module mod_rewrite enabled. <br />
* Module curl enabled. <br />
* Permits 777 folders. <br />
* Mercury PHP_MAIL or activated. <br />
* Database in phpMyAdmin. <br />
* UberEmu r58
</b>
<br /> <br /> <div class="tos-item">HabboCMS is a software that violates the

copyright of Sulake Corporation Oy which is illegal in various countries.

Installing HabboCMS agree that the responsibility for creating a hotel is no longer

in your hands and InfoSmart 2010 can not be meddling in your legal issues with it.

</div>
<div class="tos-item"><br />For more information: <br /> <br /> <b> InfoSmart 2010

</ b>: <a href="http://infosmart.com.mx/"target

="_blank">http://infosmart.com.mx/</a><br /><b>HabboCMS</b>: <a

href="http://infosmart.com.mx/habbocms/"target="_blank

">http://infosmart.com.mx/habbocms/</a><br/><b>Terms of Use</b>: <a

href="http://infosmart.com.mx/system/papers/terms"target="_blank">
Perfavore, Entra oppure Registrati per vedere i Link!
.

com.mx/system/papers/terms</a></div>
</div>


</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<a id="save-button" class="new-button green-button save-icon"

href="./english_install?step=2"><b><span></span>Ready</b><i></i></a>

<?php } else if($step == 2){

if(isset($_POST['name'])){
$write = writeconfig($_POST['host'], $_POST['username'], $_POST['pass'],

$_POST['name'], addslashes($_POST['path_base']), $_POST['path_subase'],

$_POST['enption'], $_POST['charset'], $_POST['languaje']);

if(!$write){
$message = "There was an error when trying to create the file.

Please make sure the folder 'includes' contains 777 permits";
} else {
$db_connect = @mYsQL_connect($_POST['host'], $_POST['username'],

$_POST['pass']);
$db_select = @mYsQL_select_db($_POST['name']);

if (!$db_connect) {
$message = "Sorry, but was unable to connect to the

database.";
} elseif (!$db_select) {
$message = "Sorry, but it was not possible to connect to

the table in the database.";
} else {
$hideform = true;
}
}
}

if(empty($_POST['name'])){ $_POST['name'] = "infodb"; }
if(empty($_POST['username'])){ $_POST['username'] = "root"; }
if(empty($_POST['host'])){ $_POST['host'] = "localhost"; }
if(empty($_POST['path_base'])){ $_POST['path_base'] = "".$_SERVER['HTTP_HOST']."";

}
if(empty($_POST['path_subase'])){ $_POST['path_subase'] = "habbocms"; }
if(empty($_POST['languaje'])){ $_POST['languaje'] = "en"; }

if($hideform !== true){
if(isset($message)){
echo "\n<div class=\"action-error flash-message\">\n <div

class=\"rounded\">\n <ul>\n <li>" . $message . "</li>\n </ul>\n

</div>\n</div>\n";
}
?>
<form method="post" action="./english_install?step=2&key=submit">

<div id="process-content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="box-content">

<div class="rounded rounded-pixellightblue clearfix">
<table class="form-table">
<tr>
<th scope="row">Database</th>
<td><input name="name" type="text" size="35" value="<?php

echo $_POST['name'] ?>" /></td>

</tr>
<tr>
<th scope="row">User</th>
<td><input name="username" type="text" size="35"

value="<?php echo $_POST['username'] ?>" /></td>

</tr>
<tr>
<th scope="row">Password</th>
<td><input name="pass" type="password" size="35"

value="<?php echo $_POST['pass'] ?>" /></td>

</tr>
<tr>
<th scope="row">Host</th>
<td><input name="host" type="text" size="35" value="<?php

echo $_POST['host'] ?>" /></td>

</tr>
<tr>
<th scope="row">Base Url</th>
<td><input name="path_base" type="text" size="35"

value="<?php echo $_POST['path_base'] ?>" /></td>

</tr>
<tr>
<th scope="row">Sub-Base Url</th>
<td><input name="path_subase" type="text" size="35"

value="<?php echo $_POST['path_subase'] ?>" /></td>

</tr>
<tr>
<th scope="row">Encriptación</th>
<td>
<select name="enption">
<option value="verysecure">Encriptación muy alta</option>
<option value="secure">Encriptación alta</option>
<option value="secure">Encriptación baja</option>
<option value="secure">Encriptación muy baja</option>
<option value="verybad">Sin Encriptación ¡Peligro!</option>


</select>
</td>
</tr>
<tr>
<th scope="row">Charset</th>
<td>
<select name="charset">
<option value="utf-8">UTF-8</option>
<option value="iso-8859-1">ISO-8859-1</option>


</select>
</td>
</tr>
<tr>
<th scope="row">Web Language</th>
<td><input name="languaje" type="text" size="3"

value="<?php echo $_POST['languaje'] ?>" /></td>

</tr>
</table>
</div>
</div>
</div>
</div>

<div id="column2" class="column">
<div class="habblet-container ">
<p><strong>HabboCMS Settings</strong></p>
<p>This configuration HabboCMS teacher, these data will be stored

in a file and may be edited from a text editor in the file 'config.php'.</p>
<p>Please insert the data according to your preferences:<br /><br

/>
<b>Base Url</b>: Indicates the URL (without directories) of where

the Software. <b>(No / at end)</b><br /><br />
<b>Sub-Base Url</b>: Indicates the directories (if any) where you

installed the Software. <b>(No / at the beginning)</b><br /><br />
<b>Enption</b>: Indicates data enption and passwords, the

higher the better.<br /><br />
<b>Charset</b>: Indicates the character encoding, if there are

problems displaying some letters select 'ISO-8859-1'<br /><br />
<b>Web Language</b>: Indicates the first letters of Web language,

improves the recognition by robots like Google.</p>
</div>
<h2 class="step">
<input type="submit" value="Following" class="submit" style="float:left">
</h2>
</div>
</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</form>
<?php } else { ?>
<p><strong>Connecting and setting exists in the

database.</strong></p>
<p>It has successfully created the master configuration file and

also has managed to connect to the database without problems.</p>
<p>You can continue with the installation or you can change any

data.</p>
<p><a href="./english_install?step=3" class="new-button

green-button"><b>Continue</b><i></i></a>
<?php
mysql_query("UPDATE cms_system SET language = 'english', text_client = 'Enter

Hotel' LIMIT 1") or die(mysql_error());
?>
<a href="./english_install?step=2" class="new-button

green-button"><b>Change Data</b><i></i></a></p>
</div>
</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php } } elseif($step == 3){

require_once('../includes/config.php');
require_once('./mysql.php');

if(isset($_POST['username'])){
$name = $_POST['username'];
$password = $_POST['password'];
$password2 = $_POST['password-retyped'];
$email = $_POST['email'];
$namehotel = $_POST['namehotel'];
$shorthotel = $_POST['shorthotel'];
$image_logo = $_POST['image_logo'];
$startcredits = $_POST['startcredits'];
$startpixels = $_POST['startpixels'];
$client = $_POST['client'];
$roomsfree = $_POST['roomsfree'];
$easystyle = $_POST['easystyle'];
$index = $_POST['index'];
$hotel_view = $_POST['hotel_view'];
$extras = $_POST['extras'];
$register = $_POST['register'];
$hc_type = $_POST['hc_type'];
$hc_months = $_POST['hc_months'];
$figure = $_SESSION['figure'];
$gender = $_SESSION['gender'];

$filter = preg_replace("/[^a-z\d]/i", "", $name);
$email_check =

preg_match("/^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i", $email);
$email_exist = mysql_query("SELECT * FROM users WHERE mail =

'".$email."' LIMIT 1") or die(mysql_error());

if($password !== $password2){
$fail = true;
$error = "Your passwords do not match";
} else if(strlen($password) < 6){
$fail = true;
$error = "The password is too short";
} else if(strlen($email) < 6){
$fail = true;
$error = "Please type your email address";
} elseif($email_check !== 1){
$fail = true;
$error = "Please type a valid email";
} elseif(mysql_num_rows($email_exist) > 0){
$fail = true;
$error = "The email is already registered. Please type

another.";
} elseif($filter !== $name){
$fail = true;
$error = "Habbo Name This is not appropriate. Try another";
} else {
$sql = mysql_query("SELECT id FROM users WHERE username =

'".addslashes($name)."' LIMIT 1") or die(mysql_error());
$already_exists = mysql_num_rows($sql);
if($already_exists > 0){
$fail = true;
$error = "The name ".$name." already registered";
} else {
$password = HoloHash($password);
$scredits = 50000;
$spixels = 80000;
$dob = "1-1-1990";
$figure = $_SESSION['figure'];
$gender = $_SESSION['gender'];
$habboid = GenerateTicket("random_number", 10);

mysql_query("INSERT INTO users

(username,password,mail,birth,look,gender,rank,acc ount_created,ip_last,credits,acti

vity_points,last_online,newsletter,rpxid) VALUES

('".$name."','".$password."','".$email."','".$do b. "','".$figure."','".strtoupper($g

ender)."','7','".$date_normal."','".$_SERVER[REMOTE_ADDR]."','".$scredits."','".$sp

ixels."','--','1','".$habboid."')") or die(mysql_error());

$check = mysql_query("SELECT id FROM users WHERE

username = '".$name."' ORDER BY id ASC LIMIT 1") or die(mysql_error());
$row = mysql_fetch_assoc($check);
$userid = $row['id'];

mysql_query("INSERT INTO

user_info(user_id,bans,cautions,reg_timestamp,logi n_timestamp,cfhs,cfhs_abusive)

VALUES ('".$userid."','0','0','".time()."','".time()."' ,' 0','0')") or

die(mysql_error());

mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin) VALUES

('".$userid."','2','1','445','22','7','defaultsk in ')") or die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin,data) VALUES

('".$userid."','3','0','138','40','13','noteitsk in ','¡¡Atención!\rPublicar

información personal sobre ti mismo o tus amigos, como direcciones, teléfonos o

e-mails, o utilizar cualquier contenido que vaya en contra de la Manera Habbo,

tendrá una consecuencia inmediata: ¡tu nota será borrada para siempre!')") or

die(mysql_error());
//mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin) VALUES

('".$userid."','1','0','119','21','16','needle_3 ') ") or die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin,data) VALUES

('".$userid."','3','0','65','239','20','speechbu bb leskin','¡Bienvenido a tu nueva y

flamante Habbo Home!\rAquí podrás dejar tu huella con un sinfín de curiosas

etiquetas y de notas llenas de color. Para comenzar a crear tu Habbo Home, pulsa en

el botón \'Editar\'.')") or die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin,data) VALUES

('".$userid."','1','0','287','354','23','','stic ke r_spaceduck')") or

die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin,data) VALUES

('".$userid."','3','0','105','417','31','notepad sk in','¡Ehhh!, ¿y mis amigos?\rPara

añadir tu lista de conocidos a la Habbo Home, echa un vistazo a los elementos de tu

Inventario. Una vez la coloques en la página, podrás arrastrarla para situarla

donde más te guste, e incluso podrás cambiarle el \'look\'. ¡Haz l')") or

die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin,data) VALUES

('".$userid."','1','0','180','382','40','','pape r_ clip_1')") or die(mysql_error());
mysql_query("INSERT INTO cms_homes_stickers

(userid,type,subtype,x,y,z,skin) VALUES

('".$userid."','2','3','433','331','47','default sk in')") or die(mysql_error());

mysql_query("INSERT INTO cms_transactions

(userid,date,amount,descr) VALUES

('".$userid."','".$date_full."','".$scredits."', 'I nstalar HabboCMS')") or

die(mysql_error());
mysql_query("UPDATE cms_system SET sitename =

'".$namehotel."', shortname = '".$shorthotel."', start_credits =

'".$startcredits."', start_pixels = '".$startpixels."', free_rooms =

'".$roomsfree."', type_index = '".$index."', hotel_view = '".$hotel_view."',

show_extras = '".$extras."', register_enabled = '".$register."', image_logo =

'".$image_logo."', hc_months = '".$hc_months."', hc_type = '".$hc_type."',

easy_style = '".$easystyle."', client = '".$client."' LIMIT 1") or

die(mysql_error());

$fail = false;
}
}
} else if($_GET['do'] == "skip"){
$fail = false;
}

if(!isset($_POST['username'])){ $_POST['username'] = "admin"; }
if(!isset($_POST['email'])){ $_POST['email'] =

"infosmart@Infosmart.com.mx"; }
if(!isset($_POST['namehotel'])){ $_POST['namehotel'] = "Habbo Hotel"; }
if(!isset($_POST['shorthotel'])){ $_POST['shorthotel'] = "Habbo"; }
if(!isset($_POST['startcredits'])){ $_POST['startcredits'] = "10000"; }
if(!isset($_POST['startpixels'])){ $_POST['startpixels'] = "15000"; }
if(!isset($_POST['image_logo'])){ $_POST['image_logo'] =

"http://".$path_base."/".$path_subase."/web-gallery/v2/images/habbo.png"; }


if(!isset($fail) || $fail == true || isset($error)){

if(isset($error)){
echo "\n<div class=\"action-error flash-message\">\n <div

class=\"rounded\">\n <ul>\n <li>" . $error . "</li>\n </ul>\n

</div>\n</div>\n";
}
$_SESSION['figure'] =

"he-1607-.sh-730-62.ch-824-110.lg-695-110.hd-600-2.hr-836-42.ca-1813-";
$_SESSION['gender'] = "F";
?>
<form method='post' action='./english_install?step=3&do=submit'>
<div id="process-content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="box-content">
<div class="rounded rounded-pixellightblue clearfix">
<table class="form-table">
<font color="white"><b>Account Manager</b></font>
<tr>
<th scope="row">Habbo Name</th>
<td><input name="username" type="text" size="35"

value="<?php echo $_POST['username'] ?>" /></td>

</tr>
<tr>
<th scope="row">Password</th>
<td><input name="password" type="password" size="35"

value="" /></td>

</tr>
<tr>
<th scope="row">Confirm Password</th>
<td><input name="password-retyped" type="password"

size="35" value="" /></td>

</tr>
<tr>
<th scope="row">E-mail</th>
<td><input name="email" type="text" size="35" value="<?php

echo $_POST['email'] ?>" /></td>

</tr>
<tr>
<th scope="row">Figure</th>
<td>
<div id="selected-avatar">
<img

src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=he-1607-.sh-730-62.ch-

824-110.lg-695-110.hd-600-2.hr-836-42.ca-1813-&size=b&direction=4&head_direction=4&

gesture=sml" width="64" height="110" id="image-avatar"/>
<center><a href="#"

onClick="window.open('./newFigure.php','','width=390,height=350,left=0,top =0,resiza

ble=no,menubar=no,location=no,status=no,scrollbars =no');">¡Otro más!</a></center>
</div>
</td>

</tr>
<script type="text/javascript">
function setFigure(Figure){
document.getElementById('image-avatar').src =

'http://www.habbo.co.uk/habbo-imaging/avatarimage?figure=' + Figure +

'&size=b&direction=4&head_direction=4&gesture=sm l' ;
}
</script>
</table><br />

<table class="form-table">
<font color="white"><b>Settings</b></font>
<tr>
<th scope="row">Site Name</th>
<td><input name="namehotel" type="text" size="35"

value="<?php echo $_POST['namehotel'] ?>" /></td>

</tr>
<tr>
<th scope="row">Name for Users</th>
<td><input name="shorthotel" type="text" size="35"

value="<?php echo $_POST['shorthotel'] ?>" /></td>

</tr>

</tr>
<tr>
<th scope="row">Logo Image</th>
<td><input name="image_logo" type="text" size="35"

value="<?php echo $_POST['image_logo'] ?>" /></td>

</tr>
<tr>
<th scope="row">Initial credits</th>
<td><input name="startcredits" type="text" size="35"

value="<?php echo $_POST['startcredits'] ?>" /></td>

</tr>
<tr>
<th scope="row">Initial Pixels</th>
<td><input name="startpixels" type="text" size="35"

value="<?php echo $_POST['startpixels'] ?>" /></td>

</tr>

</tr>

<tr>
<th scope="row">Customer Release</th>
<td>
<select name="client">
<option value="SWF">SWF (v40+)</option>
</select>
</td>

</tr>

<tr>
<th scope="row">Free Rooms</th>
<td>
<select name="roomsfree">
<option value="1">Activated</option>
<option value="0">Off</option>
</select>
</td>

</tr>
</table><br />

<table class="form-table">
<font color="white"><b>Easy-Style</b></font>
<tr>
<th scope="row">Easy-Style</th>
<td>
<select name="easystyle">
<option value='normal'>Normal</option>
<option value='black_out'>Black out</option>
<option value='light_blue'>Light blue</option>
<option value='purple_dark'>Dark purple</option>
<option value='pink_fun'>Rosa fun</option>
<option value='tck_hotel'>Tck Hotel</option>
</select>
</td>

</tr>


<tr>
<th scope="row">Extras</th>
<td>
<select name="extras">
<option value="1">Show</option>
<option value="0">No Show</option>
</select>
</td>

</tr>

<tr>
<th scope="row">Register</th>
<td>
<select name='register' class='dropdown'>
<option value='1'>Activated</option>
<option value='0'>Off</option>
</select>
</td>
</tr>

<tr>
<th scope="row">Initial Subscription</th>
<td>
<select name='hc_type' class='dropdown'>
<option value='HC'>Habbo Club</option>
<option value='VIP'>Habbo Club VIP</option>
</select>

<select name='hc_moths' class='dropdown'>
<option value='0'>0 months</option>
<option value='1'>1 month</option>
<option value='3'>3 months</option>
<option value='6'>6 months</option>
<option value='12'>12 months</option>
<option value='24'>24 months</option>
<option value='50'>50 months</option>
</select>
</td>
</tr>
</table><br />

<table class="form-table">
<font color="white"><b>Facebook Connect</b></font>
<tr>
</tr>
</table>
</div></div></div></div>

<div id="column2" class="column">
<div class="habblet-container ">
<p><strong>Preparation of Hotel</strong></p>

<p>Perfect almost done! Now we just need to prepare your Hotel with

the initial configurations, please select your settings to make your hotel

unique.</p>
<p>Remember that these settings may be changed later from the

administration or housekeeping.</p>
<p>If you do not want to set this now please <a

href="./english_install?step=3&do=skip">skip</a> step.</p>
</div>
<h2 class="step">
<input type="submit" value="Following" class="submit" style="float:left">
</h2>
</div>
</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</form>

<?php } else if($fail == false){ ?>

<div class="action-confirmation flash-message"><div

class="rounded"><ul><li><b>Installation completed

successfully!</b></li></ul></div></div>
<p>HabboCMS is ready to enter user has successfully completed the

installation and now you can start enjoying all the benefits of it.</p>
<p>As a security method is recommended to try to eliminate HabboCMS

Directory <b>setup/</b></p>
<p><a href="http://www.sciax2.it/forum/?do=delete_installation" class="new-button

green-button"><b>Delete directory</b><i></i></a> <a href="<?php echo

$path_base.$path_subase; ?>" class="new-button green-button"><b>Go to your

Hotel</b><i></i></a></p>
</div>
</div>
<script type="text/javascript">if

(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<?php } }
include('../templates/login_footer.php');
?>
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

Niente affatto teo... Non centra nulla... Devi andare semplicemente in "link/setup" :-).
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

mi puoi aiutare a configurarlo attraverso team oppure mi dici cm si configura da qua
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

Grazie Mille.
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

Miracolo! L'ho installato! Faccio una guida
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

Non serve a niente la guida visto che tutti ormai lo sapranno solamente devono fare la guida per il client!
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

:emoji_smiley: grazieee mi è servito molto ora il mio retro è bellissimo :P
 
Riferimento: [Intel] HabboCMS BETA R57 [Intel]

ottimo cms bravo per aver postato 7.5/10 ^^
 
Ultima modifica: