free software: you can redistribute it and/or modify| it under the terms of the GNU General Public License as published by| the Free Software Foundation, either version 3 of the License, or| (at your option) any later version.| #######################################################################| This program is distributed in the hope that it will be useful,| but WITHOUT ANY WARRANTY; without even the implied warranty of| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the| GNU General Public License for more details.\======================================================================*/class MySQL{private $connected = false;private $hostname = "localhost";private $username = "root";private $password = "vertrigo";private $database = "habbodb";private $link;public function MySQL($host, $user, $pass, $db){$this->connected = false; $this->hostname = $host;$this->username = $user;$this->password = $pass;$this->database = $db;}public function IsConnected(){if ($this->connected){return true;}return false;}public function Connect(){$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());mysql_select_db($this->database, $this->link) or $this->error(mysql_error());$this->connected = true;}public function Disconnect(){if($this->connected){@mysql_close($this->link) or $this->error("could not close conn");$this->connected = false;}}public function DoQuery($query){$resultset = @mysql_query($query, $this->link) or $this->error(mysql_error());return $resultset;}public function Evaluate($resultset){return @mysql_result($resultset, 0);}public function Error($errorString){global $core;$core->systemError('Database Error', $errorString);}public function __destruct(){$this->disconnect();}}?>------------------------------------------------------------------------------------------------------------feche e salve------------------------------------------------------------------------------------------------------------9o va em tpl e depois em page client , apague o que estive la e cole isso:var habboDefaultClientPopupUrl = "%www%/client";FlashExternalInterface.loginLogEnabled = true;FlashExternalInterface.logLoginStep("web.view.start");if (top == self) {FlashHabboClient.cacheCheck();}var flashvars = {"client.allow.cross.domain" : "1","client.notify.cross.domain" : "0","connection.info.host" : "seu ip do No-Ip","connection.info.port" : "30000","site.url" : "%www%","url.prefix" : "%www%","client.reload.url" : "%www%/account/reauthenticate?page=/flash_client","client.fatal.error.url" : "%www%/flash_client_error","client.connection.failed.url" : "%www%/client_connection_failed","external.hash" : "","external.variables.txt" : "http://www.swfs.host.crazzy.com.br/swf/r61/gamedata/external_variables.txt?","external.texts.txt" : "http://www.swfs.host.crazzy.com.br/swf/r61/gamedata/external_flash_texts.txt?","use.sso.ticket" : "1",if ($forwardType > 0){echo ' "forward.type" : "' . $forwardType . '",' . LB;echo ' "forward.id" : "' . $forwardId . '",' . LB;}?>"sso.ticket" : "%sso_ticket%","processlog.enabled" : "0","account_id" : "0","client.starting" : "Por favor Aquarde o Habbo esta carregando...","flash.client.url" : "%flash_client_url%","user.hash" : "","facebook.user" : "0","has.identity" : "0","flash.client.origin" : "popup"};var params = {"base" : "%flash_base%","allowScriptAccess" : "always","menu" : "false"};if (!(HabbletLoader.needsFlashKbWorkaround())) {params["wmode"] = "opaque";}var clientUrl = "%flash_base%Habbo10.swf";try {if (swfobject.getFlashPlayerVersion().major <= 9) {clientUrl = "%flash_base%Habbo.swf";}} catch(e) {}swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);$('content').show();If you are not automatically redirected, please [Voce precisa estar registrado e conectado para ver este link.]RightClick.init("flash-wrapper", "flash-container");------------------------------------------------------------------------------------------------------------feche e salve------------------------------------------------------------------------------------------------------------10o va em page-clientbr fica do lado do page-client , apague tudo e cole isso:var habboDefaultClientPopupUrl = "%www%/client";FlashExternalInterface.loginLogEnabled = true;FlashExternalInterface.logLoginStep("web.view.start");if (top == self) {FlashHabboClient.cacheCheck();}var flashvars = {"client.allow.cross.domain" : "1","client.notify.cross.domain" : "0","connection.info.host" : "ip do no ip","connection.info.port" : "25","site.url" : "%www%","url.prefix" : "%www%","client.reload.url" : "%www%/account/reauthenticate?page=/flash_client","client.fatal.error.url" : "%www%/flash_client_error","client.connection.failed.url" : "%www%/client_connection_failed","external.hash" : "","external.variables.txt" : "http://swfs.host.crazzy.com.br/swf/r58/gamedata/external_variables.txt?","external.texts.txt" : "http://swfs.host.crazzy.com.br/swf/r57/gamedata/text.txt?","use.sso.ticket" : "1",if ($forwardType > 0){echo ' "forward.type" : "' . $forwardType . '",' . LB;echo ' "forward.id" : "' . $forwardId . '",' . LB;}?>"sso.ticket" : "%sso_ticket%","processlog.enabled" : "0","account_id" : "0","client.starting" : "O Hotel, esta carregando","flash.client.url" :"%flash_base%","user.hash" : "","facebook.user" : "0","has.identity" : "0","flash.client.origin" : "popup"};var params = {"base" : "%flash_base%","allowScriptAccess" : "always","menu" : "false"};if (!(HabbletLoader.needsFlashKbWorkaround())) {params["wmode"] = "opaque";}var clientUrl = "%flash_base%Habbo10.swf";try {if (swfobject.getFlashPlayerVersion().major <= 9) {clientUrl = "%flash_base%Habbo.swf";}} catch(e) {}swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);$('content').show();If you are not automatically redirected, please [Voce precisa estar registrado e conectado para ver este link.]RightClick.init("flash-wrapper", "flash-container");------------------------------------------------------------------------------------------------------------feche e salve.------------------------------------------------------------------------------------------------------------11o Pronto a sua cms foi editada vamos para o emulador.va na area de trabalho e clique em emulador ai tera um livrinho escrito fire emu ai voce extrai ele para o pipoca cms editada.Entre no pipoca cms e clique em fire emu e depois em confing apague o que