alexxz alexxz  • 02.12.16 13:34

[AJUDA]Remover Anuncio no Client.php Empty [AJUDA]Remover Anuncio no Client.php 02.12.16 13:34


Olá amigos do Power Pixel, estou com um problema. Me ajudem?
O meu problema é o seguinte:

Ola, eu uso o HabbeCMS. Postada no forum. se alguem puder me ajudar, eu agradeço.

Será que é fácil resolver este erro?
Veja minhas configurações, poderá ajudar!
Meu emulador é o
Plus Emulador
Minha CMS é a
 Habbe CMS
Meu hotel está no
 Xampp
Como sei que uma imagem vale mais que mil palavras, olhe o print:
http://prnt.sc/deie2x

Desde já obrigado. Aguardarei respostas!
                 

xNectar xNectar  • 02.12.16 13:37

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 02.12.16 13:37

Poderia hospedar sua client.php no Pastebin para que eu possa corrigir?

pedxz pedxz  • 02.12.16 13:38

Super administradorMembro da Equipa

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 02.12.16 13:38

Vê se no client.php tem lá um ads ou um ( <?php inclusive ) , não sei numa usei essa CMS :/

nadi0s nadi0s  • 02.12.16 14:08

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 02.12.16 14:08

Me manda sua client.

alexxz alexxz  • 02.12.16 14:43

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 02.12.16 14:43

Sem problemas.

Código:
<?php
/* #################################################################### \
||                                                                    ||
|| TwinkieCMS - Use of this software is strictly prohibited.          *#
|| # Copyright (C) 2014 lD@vidl.                                      *#
||---------------------------------------------------------------------*#
||---------------------------------------------------------------------*#
|| Script pensado para la gestión de retroservers Habbo.              *#
|| Tanto el script como los autores del mismo no tienen ningún tipo    *#
|| de asociación con Habbo y/o Sulake Oy Corp. Por lo tanto, estos no  *#
|| se hacen responsables del uso que el usuario le dé.                *#
||                                                                    ||
\ ################################################################### */
ob_start();
   require_once 'inc/core.php';
   $user->logged('yes');
   
   if($user->Get("rank") >= RANKMIN && $_SESSION['CLIENT_PIN_NOW'] !== false){
      header("LOCATION: ". PATH ."/client.php");
      exit;
   }else{
      unset($_SESSION['CLIENT_PIN_NOW']);
      $myid = $user->Get('id');
      $my_id = $myid;
   }

   $_config['client'] = array(
      'host'                => 'pene y me pica la verga.com',
      'port'                => 'lol',
      'external_variables'    => 'http://images.isummer.nl/gamedata/external_variables.txt',
      'external_flash_texts'    => 'http://images.isummer.nl/gamedata/external_flash_texts.txt',
      'productdata'          => 'http://images.isummer.nl/gamedata/productdata.txt',
      'furnidata'          => 'http://images.isummer.nl/gamedata/furnidata.txt',
      'hotelview_banner'       => 'http://images.isummer.nl/gamedata/supersecret.php',   
      'flash_client_url'       => 'http://images.isummer.nl/gordon/RELEASE63-201407071423-597603138/',
      'habbo_swf'          => 'HabboS.swf'
   );
   $myusername = $user->Get('username');
   $ticket = $user->GenerateTicket();   
   $ip = USER_IP;
    $query = $db->query("UPDATE users SET auth_ticket = '{$ticket}', ip_last = '" . USER_IP . "', last_used = '". time() ."' WHERE id = '" . $myid . "'");
   $rvip = $db->query("UPDATE users SET rank = 2 WHERE rank = 1");//Pa rango 2 a todos los users PD:David plp
?>
<!DOCTYPE html>
<html lang="es_ES">
    <head>
      <title><?php echo SHORTNAME; ?> - Cliente / Te gusta jugar?</title>
      <link rel="shortcut icon" href="<?php echo CDN; ?>/images/favicon.ico" type="image/vnd.microsoft.icon" />
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
        <meta name="description" content="Diversión al limite!" />
        <script type="text/javascript" src="/libs2.js"></script>
        <style type="text/css">
            * { margin: 0; padding: 0; }
            html, #flash-container { height: 100%; text-align: left; background-color: black; }
            #flash-container { position: absolute; overflow: hidden; left: 0; top: 0; right: 0; bottom: 0; }
        </style>
        <script type="text/javascript">
        var flashvars = {
            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "<?php echo $_config['client']['host']; ?>",
            "connection.info.port" : "<?php echo $_config['client']['port']; ?>",
            "site.url" : "<?php echo PATH; ?>",
            "url.prefix" : "<?php echo PATH; ?>",
            "client.reload.url" : "<?php echo PATH; ?>/client.php",
            "client.fatal.error.url" : "<?php echo PATH; ?>/client.php",
            "client.connection.failed.url" : "<?php echo PATH; ?>/client.php",
            "logout.url" : "<?php echo PATH; ?>/client.php",
            "logout.disconnect.url" : "<?php echo PATH; ?>/client.php",
            "external.variables.txt" : "<?php echo $_config['client']['external_variables']; ?>",
            "external.texts.txt" : "<?php echo $_config['client']['external_flash_texts']; ?>",
            "productdata.load.url" : "<?php echo $_config['client']['productdata']; ?>",
            "furnidata.load.url" : "<?php echo $_config['client']['furnidata']; ?>",
            "hotelview.banner.url" : "<?php echo $_config['client']['hotelview_banner']; ?>",
            "sso.ticket": "<?php echo $ticket; ?>",
            "processlog.enabled" : "1",
            "account_id" : "<?php echo $user->Get('username'); ?>",
            "client.starting" : "Por favor, espera! <?php echo $myrow['username']; ?> se esta cargando",
            "flash.client.url" : "<?php echo $_config['client']['flash_client_url']; ?>",
            "user.hash" : "5690170255dbf26e0275377f436614c91d1a810d",
            "has.identity" : "1",
            "flash.client.origin" : "popup",
            "nux.lobbies.enabled" : "false",
            "country_code" : "DO"
        };

        var params = {
            "base" : "<?php echo $_config['client']['flash_client_url']; ?>",
            "allowScriptAccess" : "always",
            "menu" : "true"
        };

        swfobject.embedSWF("<?php echo $_config['client']['flash_client_url'] . $_config['client']['habbo_swf']; ?>?s", "flash-container", "100%", "100%", "10.1.0", "http://cdn.uber.meth0d.org/expressInstall.swf", flashvars, params, null);
        </script>

    </head>
    <body>
        <div id="flash-container">
        </div>
      
<div id="content" class="client-content"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var time = 30;
var timerun = true;
 
function closeTheBanner1() {
    $(".roomenterad-habblet-container1").animate({
                top: -$(".roomenterad-habblet-container1").height() + "px"
        }, 1000);
        timerun = false
}
 
setInterval(function () {
    if (timerun) {
        $(".roomenterad-closing1").text("Se Cierra En " + time +" segundos");
        time--;
        if (time < 0) {
                        closeTheBanner1();
        }
    }
}, 1000);
 
setInterval(function () {
    var htmlz = $(".roomenterad-habblet-thead1").html();
    $(".roomenterad-habblet-thead1").text("");
    $(".roomenterad-habblet-container1").animate({
                top: "0px"
        }, 1000);
    $(".roomenterad-habblet-thead1").html(htmlz);
    time = 10;
    timerun = true
}, 3600000);
</script>

</head>
<div class="roomenterad-habblet-container1" style="display: inline-block; left: 50%; margin-left: -370px; margin-top: -30px; position: fixed; height: 195px; width: 740px; background-image: url(http://i.imgur.com/mXk0Qhn.png); background-repeat: no-repeat no-repeat; boder:: 99999;">
<div style="position: absolute; right: 22px; top: 76px; color: #ffffff; font-weight: bold; font-size: 10px; font-family: Verdana, sans-serif;">Cerrar Ahora</div>
<div style="position: absolute; left: 6px; top: 76px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;" class="roomenterad-closing1">Se Cierra En 30 segundos</div>
<div style="position: absolute; right: 9px; top: 75px;cursor:pointer"><img onclick="closeTheBanner1();" src="http://www.ssj-upload.lucasabade.com/images/VuLhUw2.png"></div>
<div style="position: absolute; left: 6px; top: 91px" class="roomenterad-habblet-thead1">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal largo -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-8546276907774396"
    data-ad-slot="4424363866"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<style type="text/css">.roomenterad-habblet-container{bottom:0px;display:inline-block;left:50%;margin-left:-370px;margin-bottom:-30px;position:fixed;height:195px;width:740px;background-image:url(http://i.imgur.com/0slJtiA.png);background-repeat:no-repeat no-repeat;boder::99999;}</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var summer = {
   timerAd : {
      timeLeft : 30,
      timer : null,
      runTimer : function(){
         summer.timerAd.timeLeft = 30;
         summer.timerAd.timer = window.setInterval(summer.timerAd.runRoutine, 2000);
         window.setTimeout(summer.timerAd.runTimer, 300000);
         $(".roomenterad-habblet-container").animate({
                bottom: "0px"
           }, 2000);
      },
      runRoutine : function(){
         if(summer.timerAd.timeLeft > 0)
         {
            --summer.timerAd.timeLeft;
            $(".roomenterad-closing").text("Anuncio Se Cierra En " + summer.timerAd.timeLeft +" segundos");
         }
         else
         {
            summer.timerAd.closeBanner();
         }
      },
      closeBanner : function(){
         window.clearInterval(summer.timerAd.timer);
         $(".roomenterad-habblet-container").animate({
                bottom: -$(".roomenterad-habblet-container").height() + "px"
           }, 2000);
      }
   }
};
summer.timerAd.runTimer();
</script>
<div class="roomenterad-habblet-container">
<div style="position: absolute; left: 6px; bottom: 80px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;" class="roomenterad-closing">Anuncio Se Cierra En 30 segundos</div>
<div style="position: absolute; right: 9px; bottom: 80px;color: #ffffff; font-weight: bold; font-size: 10px; font-family: Verdana, sans-serif; cursor: pointer" onclick="javascript:summer.timerAd.closeBanner();"> Cerrar <img src="http://lucasabade.com/ssj-upload/images/roomenterad_close.png"></div>
<div style="position: absolute; left: 6px; bottom: 95px" class="roomenterad-habblet-thead">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal largo -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-8546276907774396"
    data-ad-slot="4424363866"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
    </body>
</html>
<?php ob_end_flush(); ?>

Luan Martins Luan Martins  • 04.12.16 6:26

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 04.12.16 6:26

Para acabar com essas propagandas na sua client é so ir em todo codigo que está entre
as tags

<script></script>

verifique se tem o metodo SetInterval

todo lugar que tive apague inteiro o javascript

setinterval significa que vai rodar a tanto tempo, por isso ela fica aparecendo toda hora.

pedxz pedxz  • 04.12.16 7:32

Super administradorMembro da Equipa

[AJUDA]Remover Anuncio no Client.php Empty ajudei? dá um obrigado + curtida ;D 04.12.16 7:32

Tira isto
Código:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var time = 30;
var timerun = true;

function closeTheBanner1() {
   $(".roomenterad-habblet-container1").animate({
               top: -$(".roomenterad-habblet-container1").height() + "px"
       }, 1000);
       timerun = false
}

setInterval(function () {
   if (timerun) {
       $(".roomenterad-closing1").text("Se Cierra En " + time +" segundos");
       time--;
       if (time < 0) {
                       closeTheBanner1();
       }
   }
}, 1000);

setInterval(function () {
   var htmlz = $(".roomenterad-habblet-thead1").html();
   $(".roomenterad-habblet-thead1").text("");
   $(".roomenterad-habblet-container1").animate({
               top: "0px"
       }, 1000);
   $(".roomenterad-habblet-thead1").html(htmlz);
   time = 10;
   timerun = true
}, 3600000);
</script>

Mais isto
Código:

<div class="roomenterad-habblet-container1" style="display: inline-block; left: 50%; margin-left: -370px; margin-top: -30px; position: fixed; height: 195px; width: 740px; background-image: url(http://i.imgur.com/mXk0Qhn.png); background-repeat: no-repeat no-repeat; boder:: 99999;">
<div style="position: absolute; right: 22px; top: 76px; color: #ffffff; font-weight: bold; font-size: 10px; font-family: Verdana, sans-serif;">Cerrar Ahora</div>
<div style="position: absolute; left: 6px; top: 76px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;" class="roomenterad-closing1">Se Cierra En 30 segundos</div>
<div style="position: absolute; right: 9px; top: 75px;cursor:pointer"><img onclick="closeTheBanner1();" src="http://www.ssj-upload.lucasabade.com/images/VuLhUw2.png"></div>
<div style="position: absolute; left: 6px; top: 91px" class="roomenterad-habblet-thead1">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal largo -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-8546276907774396"
    data-ad-slot="4424363866"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<style type="text/css">.roomenterad-habblet-container{bottom:0px;display:inline-block;left:50%;margin-left:-370px;margin-bottom:-30px;position:fixed;height:195px;width:740px;background-image:url(http://i.imgur.com/0slJtiA.png);background-repeat:no-repeat no-repeat;boder::99999;}</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
var summer = {
   timerAd : {
      timeLeft : 30,
      timer : null,
      runTimer : function(){
         summer.timerAd.timeLeft = 30;
         summer.timerAd.timer = window.setInterval(summer.timerAd.runRoutine, 2000);
         window.setTimeout(summer.timerAd.runTimer, 300000);
         $(".roomenterad-habblet-container").animate({
                bottom: "0px"
           }, 2000);
      },
      runRoutine : function(){
         if(summer.timerAd.timeLeft > 0)
         {
            --summer.timerAd.timeLeft;
            $(".roomenterad-closing").text("Anuncio Se Cierra En " + summer.timerAd.timeLeft +" segundos");
         }
         else
         {
            summer.timerAd.closeBanner();
         }
      },
      closeBanner : function(){
         window.clearInterval(summer.timerAd.timer);
         $(".roomenterad-habblet-container").animate({
                bottom: -$(".roomenterad-habblet-container").height() + "px"
           }, 2000);
      }
   }
};
summer.timerAd.runTimer();
</script>
<div class="roomenterad-habblet-container">
<div style="position: absolute; left: 6px; bottom: 80px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;" class="roomenterad-closing">Anuncio Se Cierra En 30 segundos</div>
<div style="position: absolute; right: 9px; bottom: 80px;color: #ffffff; font-weight: bold; font-size: 10px; font-family: Verdana, sans-serif; cursor: pointer" onclick="javascript:summer.timerAd.closeBanner();"> Cerrar <img src="http://lucasabade.com/ssj-upload/images/roomenterad_close.png"></div>
<div style="position: absolute; left: 6px; bottom: 95px" class="roomenterad-habblet-thead">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- horizontal largo -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-8546276907774396"
    data-ad-slot="4424363866"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Luan Martins Luan Martins  • 06.12.16 8:07

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php 06.12.16 8:07

O autor tem 24 horas para dar uma posição
Satisfeito/Aguardando


@Fechado

O autor abandonou o tópico!

Conteúdo patrocinado  • 

[AJUDA]Remover Anuncio no Client.php Empty Re: [AJUDA]Remover Anuncio no Client.php

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.