FatalytRap FatalytRap  • 22.03.15 10:41

Implementar anuncios na client Empty Implementar anuncios na client 22.03.15 10:41

Print de meu erro: Imagem de seu erro

Qual é meu erro: Implementar anuncios na client

CMS Que estou utilizando: Axdr 2.0

SWF que estou utilizando: Axdr

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: Texto aqui

Comentários adicionais: Olá, eu gostaria de implentar aqueles anuncios na client que demora 15 min e ele aparece o x para fechar.
Aquele que aparece por uma plaquinha dentro do jogo.

FatalytRap FatalytRap  • 22.03.15 10:43

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 10:43

Codigo da minha client:

Código da minha client:

Waxy Waxy  • 22.03.15 10:46

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 10:46

Olá se você se cadastrou no Google Adsense, eles lhe deram algum código ? se sim deixe abaixo.

lin0s lin0s  • 22.03.15 11:09

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 11:09

Bom se cadastre no Google Adsense recebera um código e coloque ele na sua client

Waxy Waxy  • 22.03.15 11:20

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 11:20

Olá, bom aqui vou deixar um exemplo de client com anuncio utilizarei a client e um código exemplo, dai é só substituir pelo seu.


------------------------------------------------------------------------------------------------

<?php
$cClient = CACHE::GetAIOConfig('Client');
$sSettings = CACHE::GetAIOConfig('Server');

if($cClient['client.new.user.reception'] && !USER::$Row['ReceptionPased'])
$_NewUser = true;

if(!isset($_SESSION['adflyC']))
$_SESSION['adflyC'] = 0;
if(!empty($SiteSettings['adf.ly']) && $_SESSION['adflyC'] < 3 && (!isset($_SERVER['HTTP_REFERER']) || $SiteSettings['adf.ly'] !== $_SERVER['HTTP_REFERER'])):
header ('Location: ' . $SiteSettings['adf.ly']); exit;
endif;

$_SESSION['adflyC']++;
?>
<!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" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $charsetm; ?>" />
<title><?php echo $hotelName; ?>:  </title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="<?php echo webgallery; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $hotelName; ?>: RSS" href="http://www.habbo.es/articles/rss.xml" />
<meta name="csrf-token" content="0557681f1e"/>
<link rel="stylesheet" href="<?php echo webgallery; ?>/static/styles/common.css" type="text/css" />
<script src="<?php echo webgallery; ?>/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo webgallery; ?>/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo webgallery; ?>/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo webgallery; ?>/static/js/common.js" type="text/javascript"></script>

<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo USER::$Data['Name']; ?>";
var habboId = <?php echo USER::$Data['ID'] ; ?>;
var facebookUser = <?php echo (USER::$LOGGED) ? 'true' : 'false'; ?>;
var habboReqPath = "";
var habboStaticFilePath = "<?php echo webgallery; ?>/";
var habboImagerUrl = "<?php echo PATH; ?>/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo PATH; ?>/client";
window.name = "<?php echo USER::$Row['client_token']; ?>";
if (typeof HabboClient != "undefined") {
    HabboClient.windowName = "<?php echo USER::$Row['client_token']; ?>";
    HabboClient.maximizeWindow = true;
}


</script>

<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />

<meta property="fb:app_id" content="<?php echo $_Facebook['App']['ID']; ?>" />

<meta property="og:site_name" content="<?php echo $hotelName; ?> Hotel" />
<meta property="og:title" content="<?php echo $hotelName; ?>: " />
<meta property="og:url" content="<?php echo PATH; ?>" />
<meta property="og:image" content="<?php echo PATH; ?>/images/facebook/app_habbo_hotel_image.gif" />
<meta property="og:locale" content="es_ES" />

<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<meta http-equiv="Pragma" content="no-cache, no-store" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache, no-store" />
<meta name="google" content="notranslate" />


<link rel="stylesheet" href="<?php echo webgallery; ?>/static/styles/habboflashclient.css" type="text/css" />
<script src="<?php echo webgallery; ?>/static/js/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
    
    FlashExternalInterface.logLoginStep("web.view.start");
    
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "0", 
            "client.notify.cross.domain" : "1", 
            "connection.info.host" : "<?php echo METHOD::TAGS($sSettings['TCP']['Server']); ?>", 
            "connection.info.port" : "<?php echo $sSettings['TCP']['Port']; ?>", 
            "site.url" : "<?php echo PATH; ?>", 
            "url.prefix" : "<?php echo PATH; ?>", 
            "client.reload.url" : "<?php echo PATH; ?>/client", 
            "client.fatal.error.url" : "<?php echo PATH; ?>/client", 
            "client.connection.failed.url" : "<?php echo PATH; ?>/client", 
            "external.variables.txt" : "<?php echo METHOD::TAGS($cClient['Txts']['external.variables.txt']); ?>", 
            <?php if(!empty($cClient['Txts']['external.texts.txt'])): ?>"external.texts.txt" : "<?php echo METHOD::TAGS($cClient['Txts']['external.texts.txt']); ?>", 
<?php endif; ?>
            <?php if(!empty($cClient['Txts']['safechat.list.txt'])): ?>"safechat.list.txt" : "<?php echo METHOD::TAGS($cClient['Txts']['safechat.list.txt']); ?>",  
<?php endif; ?>
<?php if($cClient['managed.override']): ?>
"external.override.texts.txt" : "<?php echo PATH; ?>/managed-gamedata/override/external_flash_override_texts/<?php echo $cClient['managed.override.token']; ?>", 
"external.override.variables.txt" : "<?php echo PATH; ?>/managed-gamedata/override/external_override_variables/<?php echo $cClient['managed.override.token']; ?>", 
<?php else: if(!empty($cClient['Txts']['external.override.texts.txt'])): ?>"external.override.texts.txt" : "<?php echo METHOD::TAGS($cClient['Txts']['external.override.texts.txt']); ?>",  
<?php endif; ?>
            <?php if(!empty($cClient['Txts']['external.override.variables.txt'])): ?>"external.override.variables.txt" : "<?php echo METHOD::TAGS($cClient['Txts']['external.override.variables.txt']); ?>",  
<?php endif; endif; ?>
            <?php if(!empty($cClient['Txts']['productdata.load.url'])): ?>"productdata.load.url" : "<?php echo METHOD::TAGS($cClient['Txts']['productdata.load.url']); ?>",  
<?php endif; ?>
            <?php if(!empty($cClient['Txts']['furnidata.load.url'])): ?>"furnidata.load.url" : "<?php echo METHOD::TAGS($cClient['Txts']['furnidata.load.url']); ?>",  
<?php endif; ?>
"use.sso.ticket" : "1", 
            "sso.ticket" : "<?php echo USER::GenerateAuthToken(USER::$Data['ID']); ?>", 
            <?php if(isset($_GET['forwardId'])): ?>"forward.type" : "<?php echo $_GET['forwardId'] ?>", 
<?php endif; ?>
            <?php if(isset($_GET['roomId'])): ?>"forward.id" : "<?php echo $_GET['roomId'] ?>", 
<?php endif; ?>
            "processlog.enabled" : "1", 
            "account_id" : "<?php echo USER::$Data['ID']; ?>", 
"hotelview.banner.url" : "<?php echo METHOD::TAGS($cClient['Txts']['hotelview.banner.url']); ?>", 
            "client.starting" : "<?php echo METHOD::TAGS($cClient['client.starting']); ?>",<?php if(isset($_NewUser)): ?>
            "new.identity" : "1", 
<?php endif; ?>

            "flash.client.url" : "<?php echo METHOD::TAGS($cClient['Folders']['flash.client.url']); ?>", 
            "user.hash" : "<?php echo USER::$Data['ID'] . sha1(USER::$Data['ID']); ?>", 
<?php if(USER::$IsFB): ?>"facebook.user" : "1", 
<?php endif; ?>

            "has.identity" : "1", 
            "flash.client.origin" : "popup",
            "nux.lobbies.enabled" : "false", 
            "country_code" : "ES",<?php if(isset($_NewUser)): ?> 
            "new.user.flow.enabled" : "true", 
            "new.user.onboarding.hc.flow.enabled" : "true", 
            "new.user.flow.name" : "<?php echo USER::$Data['Name']; ?>", 
            "new.user.reception.rename.title" : "Elige un nombre para tú avatar", 
            "new.user.reception.rename.submit" : "Aceptar y continuar", 
            "new.user.reception.tile.click.popup" : "Clica en el botón para ir al mostrador.", 
            "new.user.reception.gender.female" : "Mulher", 
            "new.user.reception.gender.male" : "Homem", 
            "new.user.reception.receptionist.welcome.submit" : "¡Hagamos esto!", 
            "new.user.reception.rename.skip" : "Siguiente", 
            "new.user.reception.receptionist.start.title" : "¡Bien!", 
            "new.user.reception.rename.subtitle" : "Eres como un copo de nieve, único y bonito.", 
            "new.user.reception.rename.error.taken" : "OOPS! ESE NOMBRE YA ESTÁ SIENDO USADO", 
            "new.user.reception.rename.accepted" : "ACEPTAMOS LETRAS Y NÚMEROS. NO TARJETAS VISAS Y MASTERCARD", 
            "new.user.reception.rename.error.chars" : "OOPS! SOLO LETRAS Y NÚMEROS, PORFA", 
            "new.user.reception.receptionist.welcome.subtitle" : "Bienvenido a <?php echo $hotelName; ?> Hotel.", 
            "new.user.reception.rename.error.too_short" : "OOPS! TÚ NOMBRE ES DEMASIADO CORTO PARA PRONUNCIAR", 
            "new.user.reception.rename.description" : "En <?php echo $hotelName; ?> todos nos registramos usando un nombre único, así que, adelante y pon el tuyo. No tienes que poner tú nombre verdadero, un apodo vale.", 
            "new.user.reception.receptionist.welcome.title" : "¡Buen Trabajo!", 
            "new.user.reception.rename.warning" : "Una vez que has elegido un nombre para tú avatar no lo puedes cambiar, así que por favor presta un poco de atención al nombre elegido.", 
            "new.user.reception.receptionist.welcome.text" : "Ahora que has llegado hagamos el check-in. Es muy fácil, divertido, y no te llevará más de un par de minutos.", 
            "new.user.reception.receptionist.start.text" : "¡Pasa para hacer el check-in!", 
            "new.user.reception.rename.error.too_long" : "OOPS! TÚ NOMBRE ES DEMASIADO LARGO DE RECORDAR", 
            "new.user.reception.rename.error.words" : "OOPS! PIENSA UN POCO MÁS - ESE NOMBRE NO ES BONITO", 
            "new.user.flow.bodyparts" : "Cuerpo del texto", 
            "new.user.flow.save" : "¡Me pondré esto!", 
            "new.user.flow.rename.skip" : "Dejarlo para otro momento", 
            "new.user.flow.rename.subtitle" : "Se aceptan entre 4-15 caracteres, letras y números", 
            "new.user.flow.gender.girl" : "Mientras preparamos tu acceso, puedes ir eligiendo tu primer look:", 
            "new.user.flow.intro2" : "¡Nos gusta tu estilo! Ahora tienes que escoger un nombre para tu <?php echo $hotelName; ?> (o puedes saltarte este paso y elegirlo más tarde)", 
            "new.user.flow.room.name.11" : "Ático Penumbra", 
            "new.user.flow.intro3" : "¡Sólo una cosa más! Dinos con que tipo de sala te gustaría empezar. ¡No es una decisión para toda la vida, así que no te lo pienses demasiado!", 
            "new.user.flow.room.name.12" : "Sala Soleada", 
            "new.user.flow.onboarding.get.hc.button" : "¡Hazte de <?php echo $hotelName; ?> Club!", 
            "new.user.flow.onboarding.button.select.room" : "Quiero esta sala", 
            "new.user.flow.room.name.10" : "Hogar Reluciente Hogar", 
            "new.user.flow.title" : "Vídeo anterior.", 
            "new.user.flow.room.description.11" : "¡No hay nada como la Fiesta Penumbra!", 
            "new.user.flow.rename.warning" : "Consejo:cada día se crean cientos de <?php echo $hotelName; ?>s, y tu nombre tiene que ser único, ¡así que intenta ser creativo! Sólo se pueden usar los siguientes caracteres:  _-", 
            "new.user.flow.room.description.10" : "Para aquellos <?php echo $hotelName; ?>s a quienes les gustan las cosas brillantes", 
            "new.user.flow.room.description.12" : "Incluye Lámpara Brillante Lava de ambiente retro. ", 
            "new.user.flow.note.title" : "Gracias", 
            "new.user.flow.gender" : "Chica", 
            "new.user.flow.loader.waiting" : "¡Cargando!", 
            "new.user.flow.figure.error" : "Género", 
            "new.user.flow.rename.title" : "Pon un nombre a tu <?php echo $hotelName; ?>", 
            "new.user.flow.onboarding.button.ready" : "Estou pronto", 
            "new.user.flow.onboarding.hint.hc" : "NOTA: Alguna de las opciones seleccionadas solo están disponibles para <?php echo $hotelName; ?> Club  -  Necesitas comprar <?php echo $hotelName; ?> Club o cambiar tu look para continuar.", 
            "new.user.flow.rename.submit" : "Hecho", 
            "new.user.flow.room.select" : "Vamos la!", 
            "new.user.flow.clothes" : "¿Quieres tener más Créditos, Raros y <?php echo $hotelName; ?> Club?", 
            "new.user.flow.loader" : "Cargando...", 
            "new.user.flow.colors" : "Podrás ganar un Punto de Fidelidad por cada crédito que compres.  Por cada 120 Créditos que compres durante el mismo mes, tendrás un bonus de 120 Puntos. Intercambia tus puntos por créditos extras, raros y <?php echo $hotelName; ?> Club. Haz clik sobre el link Puntos de Fidelidad para obtener más información y comprobar tu balance.", 
            "new.user.flow.onboarding.choose.your.style" : "Escolha um visual", 
            "new.user.flow.onboarding.choose.your.name" : "Elige un nombre ", 
            "new.user.flow.onboarding.characters.tip" : "CONSEJO:  De 4 a 15 caracteres, puedes utilizar letras, números y algunos signos de puntuación como los guiones.",   
"new.user.flow.header" : "¡Estás genial! Próximo paso, elegir un nombre para tu <?php echo $hotelName; ?>. (Si no se te ocurre nada, no te agobies, deja esta opción para más tarde)", 
            "new.user.flow.intro" : "Mientras preparamos tu registro, puedes ir eligiendo el primer look de tu avatar:", 
            "new.user.flow.gender.boy" : "¡Elige tu <?php echo $hotelName; ?>!", 
            "new.user.flow.onboarding.choose.your.room" : "Escolha qualquer sala e vamos la!", 
            "new.user.flow.onboarding.button.skip" : "Saltar", 
            "new.user.flow.note.header" : "¡Por elegir <?php echo $hotelName; ?>!", 
            "new.user.flow.figure.ok" : "Chico", 
            "new.user.reception.minLength" : "2", 
            "new.user.reception.maxLength" : "15", 
            "new.user.flow.roomTypes" : "10,11,12", 
            "new.user.flow.galleryUrl" : "\//images.habbo.com/c_images/nux/"
<?php endif; ?>
    };
    var params = {
        "base" : "<?php echo METHOD::TAGS($cClient['Folders']['params..base']); ?>",
        "allowScriptAccess" : "always",
        "menu" : "false"                
    };

        if (!(HabbletLoader.needsFlashKbWorkaround())) {
            params['wmode'] = "opaque";
        }

    FlashExternalInterface.signoutUrl = "<?php echo SPATH; ?>/account/logout?token=<?php echo USER::$Row['token']; ?>";

    var clientUrl = "<?php echo METHOD::TAGS($cClient['clientUrl']); ?>";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.1.0", "<?php echo webgallery; ?>/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>

<meta name="description" content="<?php echo $hotelName; ?> Hotel: haz amig@s, ??e a la diversi?? date a conocer." />
<meta name="keywords" content="<?php echo strtolower($hotelName); ?> hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, dise??e salas, compartir, expresi??placas, pasar el rato, m??a, celebridad, visitas de famosos, celebridades, juegos en l?a, juegos multijugador, multijugador masivo" />

<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo webgallery; ?>/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo webgallery; ?>/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo webgallery; ?>/static/styles/ie6.css" type="text/css" />
<script src="<?php echo webgallery; ?>/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="<?php echo $_XDRBuild; ?>" />
</head>

<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo webgallery; ?>/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<div id="overlay"></div>
<div id="client-ui" >
    <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">Please update your Flash Player to the latest version.</h2>
    <div class="box-content">
            <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo webgallery; ?>/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>
    <iframe id="game-content" class="hidden" allowtransparency="true" frameBorder="0" src="about:blank"></iframe>
    <iframe id="page-content" class="hidden" allowtransparency="true" frameBorder="0" src="about:blank"></iframe>
</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>
<div id="fb-root"></div>
<script type="text/javascript">
    window.fbAsyncInit = function() {
        Cookie.erase("fbsr_<?php echo $_Facebook['App']['ID']; ?>");
        FB.init({
            appId: '<?php echo $_Facebook['App']['ID']; ?>',
            channelUrl : '/fbchannel',
            status: true,
            cookie: true,
            xfbml: true
        });

        FB.getLoginStatus(function (oSession) {
            if (typeof comufy_storeUser != 'undefined') {
                if (oSession.status !== 'connected') {
                    FB.Event.subscribe('auth.login', function (oSession) {
                        if (oSession.status == "connected") {
                            comufy_storeUser(oSession, {});
                        }
                    });
                } else {
                    comufy_storeUser(oSession, {});
                }
            }
        });

        if (window.habboPageInitQueue) {
            // jquery might not be loaded yet
            habboPageInitQueue.push(function() {
                $(document).trigger("fbevents:scriptLoaded");
            });
        } else {
            $(document).fire("fbevents:scriptLoaded");
        }

    };
    window.assistedLogin = function(FBobject, optresponse) {
        
        Cookie.erase("fbsr_<?php echo $_Facebook['App']['ID']; ?>");
        FBobject.init({
            appId: '<?php echo $_Facebook['App']['ID']; ?>',
            channelUrl : '/fbchannel',
            status: true,
            cookie: true,
            xfbml: true
        });

        permissions = 'user_birthday,email,user_likes';
        defaultAction = function(response) {
            if (response.authResponse) {
                fbConnectUrl = "/facebook?connect=true";
                Cookie.erase("fbhb_val_<?php echo $_Facebook['App']['ID']; ?>");
                Cookie.set("fbhb_val_<?php echo $_Facebook['App']['ID']; ?>", response.authResponse.accessToken);
                Cookie.erase("fbhb_expr_<?php echo $_Facebook['App']['ID']; ?>");
                Cookie.set("fbhb_expr_<?php echo $_Facebook['App']['ID']; ?>", response.authResponse.expiresIn);
                window.location.replace(fbConnectUrl);
            }
        };

        if (typeof optresponse == 'undefined')
            FBobject.login(defaultAction, {scope:permissions});
        else
            FBobject.login(optresponse, {scope:permissions});

    };

    (function() {
        var e = document.createElement('script');
        e.async = true;
        e.src = 'https://connect.facebook.net/es_ES/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

<iframe id="conversion-tracking" src="about:blank" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe>

<script type="text/javascript">

    /* stub firebug console methods in case Firebug is not present */
    if (!("console" in window) || !("firebug" in console))
    {
        var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
            "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];

        window.console = {};
        for (var i = 0; i < names.length; ++i)
            window.console[names[i]] = function() {}
    }
</script>

<?php if(USER::$IsFB): ?>
    <div id="FB_HiddenIFrameContainer" style="display:none; position:absolute; left:-100px; top:-100px; width:0px; height: 0px;"></div>
    <script type="text/javascript">
        FacebookIntegration.apiKey = "<?php echo $_Facebook['App']['ID']; ?>";
        FacebookIntegration.applicationId = "<?php echo $_Facebook['App']['ID']; ?>";
        FacebookIntegration.applicationName = "<?php echo $_Facebook['App']['Name']; ?>";
        FacebookIntegration.badgeImagePath = "http://www.habbo.es/habbo-imaging/decorate/001";
        FacebookIntegration.viralPresentImagePath = "http://www.habbo.es/habbo-imaging/decorate/005";
        FacebookIntegration.viralPartnerCode = "FBVIR";
        FacebookIntegration.fbAppRequestUserFilter = "all";
        L10N.put("facebook.story.actionlink.text", "Logra puntos extra");
        L10N.put("facebook.story.name", "?oticias Frescas de <?php echo $hotelName; ?> Hotel!");
        L10N.put("facebook.story.registration.name", "Bienvenido a <?php echo $hotelName; ?> Hotel");
        L10N.put("facebook.story.registration.description", "Comienza una nueva vida como <?php echo $hotelName; ?> en <?php echo $hotelName; ?> Hotel.");
        L10N.put("facebook.story.registration.prompt", "Ahora eres un <?php echo $hotelName; ?>. ?u?pinas?");
        L10N.put("facebook.story.achievement.prompt", "Deja un comentario a tus amig@s");
        L10N.put("facebook.story.registration.caption", "?} acaba de entrar al Hotel!");
        L10N.put("facebook.story.achievement.caption", "{0} ha logrado una Placa de Recompensa en <?php echo $hotelName; ?>.");
        L10N.put("facebook.story.xmasviral.actionlink.text", "Abrir el paquete");
        L10N.put("facebook.story.xmasviral.prompt", "¡Diles a tus amigos que necesitas su ayuda!");
        L10N.put("facebook.request.content.text", "He encontrado un paquete de regalo hecho a base de hojas y que contiene algo que croa. ?r favor, ay??e a abrirlo!");
        L10N.put("title.fb_app_request", "Enviar reto croante");
        FacebookIntegration.initUI();
    </script>
<?php endif; ?>

<script type="text/javascript">
    HabboView.run();</script>
''<script type="text/javascript" src="anuncio.js"></script>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Bloco Pequeno -->
<ins class="adsbygoogle"
     style="display:inline-block;width:125px;height:125px"
     data-ad-client="ca-pub-6814961075229525"
     data-ad-slot="9176469692"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>


</body>
</html>
<?php } ?>''

Código para substituir :

''<script type="text/javascript" src="anuncio.js"></script>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Bloco Pequeno -->
<ins class="adsbygoogle"
     style="display:inline-block;width:125px;height:125px"
     data-ad-client="ca-pub-6814961075229525"
     data-ad-slot="9176469692"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>


</body>
</html>
<?php } ?> '' 


Retire as aspas.




Se ajudei de um ' + ' :)

lin0s lin0s  • 22.03.15 11:26

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 11:26

Tente colocar essa client mude o ip e a release da sua swf:

Spoiler:

FatalytRap FatalytRap  • 22.03.15 22:50

Implementar anuncios na client Empty Re: Implementar anuncios na client 22.03.15 22:50

Quando eu coloco as clients que você me deram da erro de syntax.

xjoao xjoao  • 03.04.15 16:08

Implementar anuncios na client Empty Re: Implementar anuncios na client 03.04.15 16:08

Bem coloque certo 

@Suporte
O autor possui 48 horas para informar se está satisfeito caso contrário tópico será fechado 

Conteúdo patrocinado  • 

Implementar anuncios na client Empty Re: Implementar anuncios na client

Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.