13 resultados encontrados para 000000



Procurar em : Tópicos Encerrados
Tópico : 「AjudaHB」Mudar a logo da client
Respostas : 6
Vistos : 1261

「AjudaHB」Mudar a logo da client em 13.09.19 16:00

skorpian69 escreveu:Olá, penso que isso seja na client pois é na client que mostra, não estou em casa mas quando tiver confirmo isso para tentar ajudar voce

Certo, ficarei no aguardo!
Enquanto isso foi deixar disponivel minha client aqui.
Lembrando que apenas aqui eu coloquei "Meu Site", lá no xampp a client está com meu ip.

<?php
require_once("inc/core.god.php");

if ($myrow['ip_reg'] == $ip) {
       
    $verifica = mysql_query("SELECT * FROM users WHERE ip_last = '".$myrow['ip_last']."' AND online = '1'");
    $executa = mysql_num_rows($verifica);
                          
    if($executa > 2){
        header('Location: way.php');
    } else {
       
    }
}
   
if(Loged == FALSE)
{
    header("Location: /");
    exit;
}

if(mysql_num_rows($chb) > 0)
{
    header("Location: banned");
    exit;
}

if($_GET['action'] == 'logout') {
    session_destroy();
    header("Location: /");
    exit;
}

if(MANTENIMIENTO == '1')
{
    header("Location: mantenimiento");
    exit;
}

$_config['client'] = array(
    'host'                              => 'localhost',
    'port'                              => '30000',
    'client_starting'                   => 'Por favor aguarde! O '.$Holo['name'].' est\u00E1 carregando...',
    'client_starting_revolviing'         => 'Quando voc\u00EA menos esperar...terminaremos de carregar...\/Carregando mensagem divertida! Por favor espere.\/Voc\u00EA quer batatas fritas para acompanhar?\/Siga o pato amarelo.\/O tempo \u00E9 apenas uma ilus\u00E3o.\/J\u00E1 chegamos?!\/Eu gosto da sua camiseta.\/Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!\/N\u00E3o \u00E9 voc\u00EA, sou eu.\/Shhh! Estou tentando pensar aqui.\/Carregando o universo de pixels.',
    'external_variables'                => 'http://MEU SITE/swf/gamedata/external_variables.txt',
    'external_variables_override'       => 'http://MEU SITE/swf/gamedata/override/external_override_variables.txt',
    'external_flash_texts'              => 'http://MEU SITE/swf/gamedata/external_flash_texts.txt',
    'external_flash_texts_override'     => 'http://MEU SITE/swf/gamedata/override/external_flash_override_texts.txt',
    'productdata'                       => 'http://MEU SITE/gamedata/productdata_br.txt',
    'furnidata'                         => 'http://MEU SITE/swf/gamedata/furnidata.xml',
    'external_figurepartlist'           => 'http://MEU SITE/swf/gordon/PRODUCTION-201607262204-86871104/figuredata.xml',
    'flash.dynamic.avatar.download.configuration'           => 'http://MEU SITE/swf/gordon/PRODUCTION-201607262204-86871104/figuremap.xml', 
    'flash_client_url'                  => 'http://MEU SITE/swf/gordon/PRODUCTION-201607262204-86871104/',
    'habbo_swf'                         => 'habbo.swf'
);

$ticket = time().sha1(rand(10000,99999));
$gay = "RS-" . substr(hash('sha256', time()) . $rand1 . "-" . $rand2 . $rand3 . "-" . $rand4 . $rand5 . "-RSA-" . $rand6, 0, 33) . "/" . $rand1;
       
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".$gay."', ip_last = '', ip_last = '".$ip."' WHERE id = '".$myrow['id']."'") or die(mysql_error());
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$myrow['id']."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
?>   
<html lang="pt-br">
    <head>
        <?php require_once("inc/core.god.php");?>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title><?php echo $Holo['name']; ?> Hotel - Client</title>
        <link rel="shortcut icon" href="<?php echo $Holo['url']; ?>/wawu/img/icone.png">
        <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/wawu/css/wulles.css">
        <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/wawu/css/clientd.css">
        <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/wawu/css/novaclienta.css">
        <script src="<?php echo $Holo['url']; ?>/wawu/js/jquery-latest.js" type="text/javascript"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/jquery-ui.js" type="text/javascript"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/jquery-4.1.1.js" type="text/javascript"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/flashclient.js"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/flash_detect_min.js"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/browse.js"></script>
        <script src="<?php echo $Holo['url']; ?>/wawu/js/client.js" type="text/javascript"></script>
        <link rel="stylesheet" href="<?php echo $Holo['url']; ?>/wawu/css/no-flash.css" type="text/css">
        <script src="<?php echo $Holo['url']; ?>/wawu/js/welcome.js?21" type="text/javascript"></script>
        <script type="text/javascript" src="http://MEU SITE/wawu/jQuery/jquery-latest.min.js"></script>
        <script type="text/javascript" src="http://MEU SITE/wawu/jQuery/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="http://MEU SITE/wawu/jQuery/jquery-latest.js"></script> 
        <link rel="stylesheet" href="http://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
 
    </head>
<?php $newuser = mysql_query("SELECT * FROM users WHERE id = '".$myrow['id']."' AND accept_rules = '0'");
while($newuse = mysql_fetch_assoc($newuser)){
header("Location: /way"); die();?><?php } ?>
<body onselectstart='return false' ondragstart='return false' style="overflow:hidden; background-color:#000000;">


         <center><div class="client" id="client"></div>
        
         <div class="hb-container" id="area-container">
         <h1 class="text" id="client-title"></h1>
           
         <div id="no-flash" style="display: none;">
             <div id="info-allow"></div>
             <div id="info-allow-button" style="display: none; text-align: center;">
                 <a href="http://get.adobe.com/nl/flashplayer/" target="_blank" id="allow-flash-button-extern" class="client-reload__button" style="display: none;">Hotel</a>
                 <button id="allow-flash-button-more" class="client-reload__button" style="display: none; background-color: #f44336;border-color: #d66d66;color: #fff;">Sem sucesso?</button>
             </div>
             <p id="info-flash">It is possible that there is no flash installed on your computer, phone or tablet. Unfortunately, you do need this to play Dabbzo! Fortunately, there is a solution for thi<br><br>Try the steps below:<br><br><b style="font-weight: bold;">Are you on your laptop or PC?</b></p>

             <div id="info-flash-extra">
                 <ul>
                     <li>Download <a href="http://get.adobe.com/nl/flashplayer/">Adobe Flash Player</a> Free</li>
                 </ul>
                 <br />
                 <b style="font-weight: bold;">Enable Flash Player on your browser</b>
                 <ul>
                     <li>See Enable Flash Player for <a target="_blank" href="http://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-chrome.html">Google Chrome</a> for information; </li>
                     <li>See Enable Flash Player for <a target="_blank" href="http://helpx.adobe.com/nl/flash-player/kb/install-flash-player-windows.html">Internet Explorer</a> for information; </li>
                     <li>See Enable Flash Player for <a target="_blank" href="http://helpx.adobe.com/flash-player/kb/flash-player-issues-windows-10-edge.html">Microsoft Edge</a> for information; </li>
                     <li>See Enable Flash Player for <a target="_blank" href="http://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-firefox.html">Firefox</a> for information; </li>
                     <li>See Enable Flash Player for <a target="_blank" href="http://helpx.adobe.com/nl/flash-player/kb/enabling-flash-player-safari.html">Apple Safari</a> for information; </li>
                 </ul>
             </div>
         </div>
           
         </div>

        

         <script type="text/javascript">
         var Client = new SWFObject("<?php echo $_config['client']['flash_client_url'] . $_config['client']['habbo_swf']; ?>?id=5", "client", "100%", "100%", "10.0.0");
         Client.addVariable("client.allow.cross.domain", "0");
         Client.addVariable("client.notify.cross.domain", "1");
         Client.addVariable("connection.info.host", "<?php echo $_config['client']['host']; ?>");
         Client.addVariable("connection.info.port", "<?php echo $_config['client']['port']; ?>");
         Client.addVariable("site.url", "<?php echo $Holo['url']; ?>");
         Client.addVariable("url.prefix", "<?php echo $Holo['url']; ?>");
         Client.addVariable("client.reload.url", "<?php echo $Holo['url']; ?>/hotel");
         Client.addVariable("client.fatal.error.url", "<?php echo $Holo['url']; ?>/hotel");
         Client.addVariable("client.connection.failed.url", "<?php echo $Holo['url']; ?>/hotel");
         Client.addVariable("external.override.texts.txt", "<?php echo $_config['client']['external_flash_texts_override']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("external.override.variables.txt", "<?php echo $_config['client']['external_variables_override']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("external.variables.txt", "<?php echo $_config['client']['external_variables']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("external.texts.txt", "<?php echo $_config['client']['external_flash_texts']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("external.figurepartlist.txt", "<?php echo $_config['client']['external_figurepartlist']; ?>");
         Client.addVariable("avatareditor.promohabbos", "<?php echo $_config['client']['avatareditor_promohabbos']; ?>");
         Client.addVariable("productdata.load.url", "<?php echo $_config['client']['productdata']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("furnidata.load.url", "<?php echo $_config['client']['furnidata']; ?><?php echo '?rand='.rand(1, 99999);?>");
         Client.addVariable("use.sso.ticket", "1");
         Client.addVariable("spaweb", "1");
         Client.addVariable("has.identity", "1");
         Client.addVariable("sso.ticket", "<?php echo $ticketrow['auth_ticket']; ?>");
         Client.addVariable("processlog.enabled", "1");
         Client.addVariable("client.starting", "Por favor aguarde! O Hotel está carregando...");
         Client.addVariable("flash.client.url", "<?php echo $_config['client']['flash_client_url']; ?>");
         Client.addVariable("flash.client.origin", "popup");
         Client.addVariable("nux.lobbies.enabled", "false");
         Client.addVariable("ads.domain", "");
         Client.addParam('base', '<?php echo $_config['client']['flash_client_url']; ?>');
         Client.addParam('allowScriptAccess', 'always');
         Client.addParam('wmode', "opaque");
         Client.write('client');
         $(document).ready(function() {
         if (bowser.puffin) {
             document.getElementById("loader-wrapper").style.display = "block";
        } else {
         if (!FlashDetect.installed) {
         $("#hide-message,#client-support, #no-flash").show();
         $("#client").hide();
         $("#menuzin").hide();
         if (bowser.chrome) {
             $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();
             $("#client-title").html('VOCÊ ESTÁ QUASE LÁ!');
             $("#info-allow").html('Clique no botão "HOTEL" abaixo e, em seguida, clique em "executar flash" quando solicitado, assim você poderá jogar <?php echo $Holo['name']; ?> tranquilamente!<br><br>Nos vemos no Hotel!<br><br>');
             $("#info-allow-button, #allow-flash-button-extern").show();
         } else if (bowser.msedge) {
             $("#client-reload, #hide-message, #client-support, #info-flash, #info-flash-extra").hide();
             $("#client-title").html('VOCÊ ESTÁ QUASE LÁ!');
             $("#info-allow").html('Clique no botão "HOTEL" abaixo e, em seguida, clique em "executar flash" quando solicitado, assim você poderá jogar <?php echo $Holo['name']; ?> tranquilamente!<br><br>Nos vemos no Hotel!<br><br>');
             $("#info-allow-button, #allow-flash-button-extern").show();
         }
         $("#flash-wrapper").remove();
         $(".roomenterad-habblet-container").hide();
         connection = false;
         }
         else {document.getElementById("loader-wrapper").style.display = "block";}
         }});
        
         $('#allow-flash-button-extern').click(function(event){
         if(bowser.chrome){
         $("#info-allow").html('Você recebera uma notificação do navegador.<br><br><b>Aperte em &quot;Permitir&quot; para aceitar.</b><br><br>');
         event.stopPropagation();
         }
         if(bowser.msedge){
         $("#info-allow").html('Você recebera uma notificação do navegador.<br><br><b>Aperte em &quot;Permitir&quot; para aceitar.</b><br><br>');
         event.stopPropagation();
         }
         $("#allow-flash-button-extern").hide();
         $("#allow-flash-button-more").show();
         });
         $('#allow-flash-button-more').click(function(){
         if(bowser.chrome){
         location.href="http://get.adobe.com/nl/flashplayer/";
         }
       });
         </script>
         </center>

     <div id="loader-wrapper" style="display:none;">
        <div id="loader">0%</div>
        <div class="loader-section section-left"></div>
        <div class="loader-section section-right"></div>
     </div>

     <div id="content"></div>


     <style>
    .music {
    position: absolute;
    top: 17px;
    left: 1060px;
    **** 100;
    }
    .music img {
    width: 102px;
    height: 35px;
    }
    </style>

    <div class="music">
        <img src="img/radio.png" alt="">
    </div>
   
    <script src="wawu/js/memphis.js"></script>
   
     <script>
     $(document).ready(function(){
      $('[data-toggle="tooltip"]').tooltip();  
     });
     </script>
    
     <div class="disconnected_filter" id="disconnected">
        <div class="disconnected_window">
           <div class="disconnected_text">Ops... Você foi Desconectado!</div>
           <div class="disconnected_button" onClick="window.location.reload()">Recarregar</div>
        </div>
     </div>
   
    <script src="http://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="http://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="http://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>


Procurar em : Layouts e CMS
Tópico : [HEART ANIMATE] Pure CSS [CSS/HTML]
Respostas : 4
Vistos : 1134

[HEART ANIMATE] Pure CSS [CSS/HTML] em 30.04.18 17:11

Olá meus caros jovens, venho aqui hoje trazer um modelo de animação do famoso "Gostei/Like" para você implementar nos seus projetos 

Lembrando que para funcionar você deve criar a estrutura básica de um Documento HTML


Demo:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]


Código CSS:




Código HTML:



 Comente para visualizar 


Procurar em : Layouts e CMS
Tópico : Template DvHabbo BLOGGER
Respostas : 27
Vistos : 2313

Template DvHabbo BLOGGER em 11.04.18 17:28

Oi pessoal do Power-Pixel Fórum!
Hoje estarei trazendo um template que eu tinha faz tempo, e nunca usei. Decidi editá-lo e postá-lo aqui para vocês. O Template em si é muito simples mas muito bonito que pode ser usado em diversas áreas.
Edite como quiser e desfrute o template do seu jeito, apenas não retire os créditos!

AvisosO template não contém postagem, mas existe a CSS, portanto para você postar alguma notícia/etc só programando.
Créditos: O template foi criado pelo Daniel Macedo, o famoso iDanDesign, então todos os créditos ao mesmo. Eu apenas editei e adicionei mais algumas coisas.

Demonstração: Sem print's e imagem, veja você mesmo:
Demo:

Download: Não vou hospedar em nada, deixarei o código abaixo para vocês:

**COMENTE PARA BAIXAR**


Procurar em : Tutoriais Oficiais
Tópico : [TUTORIAL] Logo para Habbo no Photoshop
Respostas : 5
Vistos : 3213

[TUTORIAL] Logo para Habbo no Photoshop em 25.05.17 18:06

Resolvi fazer este tutorial porque infelizmente não existem muitos tutoriais como este para photoshop. A maioria usa programas como GIMP, Photofiltre, Paint ou Fireworks. Espero que gostem. Caso tenham dúvidas, sintam-se a vontade para perguntar.

Obs* Uso a versão CS6 do Photoshop e em inglês.

1 - Abra um novo documento (atalho ctrl + N) com o tamanho que preferir. Não se esqueça de trocar o fundo para transparente. Para os propósitos deste tutorial, criei um documento no tamanho 450x210

[Tens de ter [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] e [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] para poderes visualizar esta imagem]
Link

2 - Com a ferramenta de texto ([Tens de ter [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] e [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] para poderes visualizar esta imagem] atalho T) escreva o texto desejado usando a font, cor e tamanho que desejar. Para os propósitos deste tutorial, usei a font Rakoon, no tamanho 72 e na cor [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]. IMPORTANTE: em Anti aliasing (Menu inicial, ao lado do tamanho da fonte), marque a opção NONE/Nenhum

Link


3 - Ao terminar, duplique a camada de texto (atalho Ctrl + J) e arraste a camada da cópia para baixo da camada original de texto. 

Link

4 - Na camada de baixo, altere a cor da font para uma mais escura, no meu caso, usei a cor [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]. Feito isto, arraste a camada de baixo 2px para direita e 2px para baixo, para isso, use as teclas de seta do seu teclado (aperte duas vezes a seta direita e duas vezes a seta para baixo [Antes disso, certifique-se de que a ferramenta de movimento esta selecionada, atalho V])

Link

5 - Feito isto, junte as camadas (Atalho ctrl + E). Clique duas vezes na camada da sua logo para abrir a janela de Layer Style. Nesta janela iremos adicionar o stroke e o inner shadow. Veja o print abaixo para ver as configurações usadas.

Configurações do STROKE
Cor usada no stroke: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] 


Configurações Inner Shadow
Cor usada no inner shadow [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]


Resultado a pós a plicação do stroke e inner shadow

6 - Duplique a camada novamente (atalho ctrl +J) e as junte mais uma vez (Ctrl + E). Novamente clique duas vezes na camada para a abrir o Layer Style. Novamente iremos adicionar o Sttroke (Contorno) e o Drop Shadow (Sombra externa). Os prints abaixo mostram as configurações usadas. 


Configuração STROKE
Cor usada no STROKE: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]


Configurações Drop Shadow
Cor usada: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

7 - Adicione enfeite de acordo com o seu tema e gosto e salve em PNG ou GIF.

Resultado final

Fonte usada: Rakoon
PNG Usado para enfeite: Núvens
Paleta de cores usadas: 




IMPORTANTE:
Tutorial exclusivo do PPF. Como dito, vocês devem escolher a font, as cores e os enfeites que preferirem. Devem fazer as alterações que julgarem necessárias. O intuito deste tutorial é mostrar que o photoshop também serve pra esse tipo de trabalho, já que não existem muitos tutoriais que ensinem a fazer esse tipo de coisa usando o photoshop. 


Procurar em : Tópicos Encerrados
Tópico : [AJUDA]Client Preta
Respostas : 6
Vistos : 1053

[AJUDA]Client Preta em 15.03.17 14:02

Sunsey escreveu:Hm... Client Preta né... Ela carrega, da algum sinal de vida, ou só fica preta desde que você a abre?

Andei dando uma Mechida aqui e agora carrega ate os 76%

<?php
include "includes/ban.php";
?>
<!DOCTYPE html>
<html>
<head>
    <style>
        body {
            margin: 0;
            padding: 0;
            font: 12px 'Lucida Grande', Arial, sans-serif;
            background-color: #000000;
        }
    </style>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>{hotelName} - Client</title>
    <link rel="shortcut icon" type="img/png" href="/content/skin/Gold/assets/img/icons/gold.png">
    <link rel="stylesheet" href="http://localhost/app/tpl/skins/{skin}/style/client.css" type="text/css">

    <script type="text/javascript" src="http://localhost/app/tpl/skins/{skin}/js/swfobject.js"></script>
    <script type="text/javascript">
        var BaseUrl = "{swf_folder}";
        var flashvars =
        {
            "client.allow.cross.domain": "1",
            "client.notify.cross.domain": "0",
            "connection.info.BHServer ~ Serviços Virtuais": "localhost",
            "connection.info.port": "90",
            "site.url": "http://localhost",
            "url.prefix": "http://localhost",
            "client.reload.url": "http://localhost/client",
            "client.fatal.error.url": "http://localhost/disconnected",
            "logout.url": "http://localhost/disconnected",
            "logout.disconnect.url": "http://localhost/disconnected",
            "client.connection.failed.url": "http://localhost/disconnected",
            "external.variables.txt": "http://localhost/swf/gamedata/external_variables.txt",
            "external.texts.txt": "http://localhost/swf/gamedata/external_flash_texts.txt",
            "productdata.load.url": "http://localhost/swf/gamedata/productdata.txt",
            "furnidata.load.url": "http://localhost/swf/gamedata/furnidata.xml",
            "use.sso.ticket": "1",
            "sso.ticket": "{sso}",
            "processlog.enabled": "1",
            "client.starting": "Olá {username}, {hotelName} esta carregando...",
            "client.starting.revolving": "Quando você menos esperar...terminaremos de carregar.../Carregando mensagem divertida! Por favor espere./Você quer batatas fritas para acompanhar?/Siga o pato amarelo./O tempo é apenas uma ilusão./Já chegamos?!/Eu gosto da sua camiseta./Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!/Não é você, sou eu./Shhh! Estou tentando pensar aqui./Carregando o universo de pixels.",
            "flash.client.url": BaseUrl,
            "flash.client.origin": "popup"
        };
        var params =
        {
            "base": BaseUrl "/",
            "allowScriptAccess": "always",
            "menu": "false"
        };
        swfobject.embedSWF(BaseUrl "/{habbo_swf}", "client", "100%", "100%", "10.0.0", "http://localhost/swf/gordon/PRODUCTION-201607262204-86871104/habbo.swf", flashvars, params, null);
    </script>
</head>
<body>
<div id="client"></div>
<!-- ANUNCIO -->

<script src="https://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"
        }, 2000);
        timerun = false
    }

    setInterval(function () {
        if (timerun) {
            $(".roomenterad-closing1").text("Fechando em " time " segundos");
            time--;
            if (time < 0) {
                closeTheBanner1();
            }
        }
    }, 2000);

    setInterval(function () {
        var htmlz = $(".roomenterad-habblet-thead1").html();
        $(".roomenterad-habblet-thead1").text("");
        $(".roomenterad-habblet-container1").animate({
            top: "0px"
        }, 2000);
        $(".roomenterad-habblet-thead1").html(htmlz);
        time = 30;
        timerun = true
    }, 300000);
</script>
<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(https://i.imgur.com/H2CeyfP.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;">
        Fechar agora
    </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">Fechando em 30 segundos
    </div>
    <div style="position: absolute; right: 9px; top: 75px;"><img onclick="closeTheBanner1();"
                                                                 src="https://i.imgur.com/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>
        <!-- Bananada -->
        <ins class="adsbygoogle"
             style="display:inline-block;width:728px;height:90px"
             data-ad-client="ca-pub-3716724879003548"
             data-ad-slot="6660938710"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>

    </div>
</div>
<!-- ANUNCIO -->
</body>
</html>


Procurar em : Tópicos Encerrados
Tópico : [AJUDA]Client Preta
Respostas : 6
Vistos : 1053

[AJUDA]Client Preta em 15.03.17 13:42

##Repost (Bugo)

<?php
include "includes/ban.php";
?>
<!DOCTYPE html>
<html>
<head>
    <style>
        body {
            margin: 0;
            padding: 0;
            font: 12px 'Lucida Grande', Arial, sans-serif;
            background-color: #000000;
        }
    </style>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>{hotelName} - Client</title>
    <link rel="shortcut icon" type="img/png" href="/content/skin/Gold/assets/img/icons/gold.png">
    <link rel="stylesheet" href="http://localhost/",/app/tpl/skins/{skin}/style/client.css" type="text/css">

    <script type="text/javascript" src="http://localhost/",/app/tpl/skins/{skin}/js/swfobject.js"></script>
    <script type="text/javascript">
        var BaseUrl = "{swf_folder}";
        var flashvars =
        {
            "client.allow.cross.domain": "1",
            "client.notify.cross.domain": "0",
            "connection.info.BHServer ~ Serviços Virtuais": "localhost",
            "connection.info.port": "90",
            "site.url": "http://localhost/",",
            "url.prefix": "http://localhost/",",
            "client.reload.url": "http://localhost/client",
            "client.fatal.error.url": "http://localhost/disconnected",
            "logout.url": "http://localhost/",/disconnected",
            "logout.disconnect.url": "http://localhost/disconnected",
            "client.connection.failed.url": "http://localhost/disconnected",
            "external.variables.txt": "http://localhost/swf/gamedata/external_variables.txt",
            "external.texts.txt": "http://localhost/swf/gamedata/external_flash_texts.txt",
            "productdata.load.url": "http://localhost/swf/gamedata/productdata.txt",
            "furnidata.load.url": "http://localhost/swf/gamedata/furnidata.xml",
            "use.sso.ticket": "1",
            "sso.ticket": "{sso}",
            "processlog.enabled": "0",
            "client.starting": "Olá {username}, {hotelName} esta carregando...",
            "client.starting.revolving": "Quando você menos esperar...terminaremos de carregar.../Carregando mensagem divertida! Por favor espere./Você quer batatas fritas para acompanhar?/Siga o pato amarelo./O tempo é apenas uma ilusão./Já chegamos?!/Eu gosto da sua camiseta./Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!/Não é você, sou eu./Shhh! Estou tentando pensar aqui./Carregando o universo de pixels.",
            "flash.client.url": BaseUrl,
            "flash.client.origin": "popup"
        };
        var params =
        {
            "base": BaseUrl "/",
            "allowScriptAccess": "always",
            "menu": "false"
        };
        swfobject.embedSWF(BaseUrl "/{habbo_swf}", "client", "100%", "100%", "10.0.0", "http://localhost/swf/gordon/HABBUST/expressInstall.swf", flashvars, params, null);
    </script>
</head>
<body>
<div id="client"></div>
<!-- ANUNCIO -->

<script src="https://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"
        }, 2000);
        timerun = false
    }

    setInterval(function () {
        if (timerun) {
            $(".roomenterad-closing1").text("Fechando em " time " segundos");
            time--;
            if (time < 0) {
                closeTheBanner1();
            }
        }
    }, 2000);

    setInterval(function () {
        var htmlz = $(".roomenterad-habblet-thead1").html();
        $(".roomenterad-habblet-thead1").text("");
        $(".roomenterad-habblet-container1").animate({
            top: "0px"
        }, 2000);
        $(".roomenterad-habblet-thead1").html(htmlz);
        time = 30;
        timerun = true
    }, 300000);
</script>
<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(https://i.imgur.com/H2CeyfP.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;">
        Fechar agora
    </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">Fechando em 30 segundos
    </div>
    <div style="position: absolute; right: 9px; top: 75px;"><img onclick="closeTheBanner1();"
                                                                 src="https://i.imgur.com/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>
        <!-- Bananada -->
        <ins class="adsbygoogle"
             style="display:inline-block;width:728px;height:90px"
             data-ad-client="ca-pub-3716724879003548"
             data-ad-slot="6660938710"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>

    </div>
</div>
<!-- ANUNCIO -->
</body>
</html>


Procurar em : Tutoriais & Códigos
Tópico : [Source Php] Email Com Anexao
Respostas : 1
Vistos : 630

[Source Php] Email Com Anexao em 13.05.16 1:16

Irei disponibilizar para vocês um Source em PHP com a função de Anexar imagens e documentos


Form/Fomulário:



Source/Config:


Procurar em : Tutoriais & Códigos
Tópico : Precisa De Um Gerador De Nicks Legais?
Respostas : 2
Vistos : 723

Precisa De Um Gerador De Nicks Legais? em 26.04.16 8:39

Gerador de Nick:



Procurar em : Tópicos Encerrados
Tópico : Erro de acentos (articles)
Respostas : 4
Vistos : 1271

Erro de acentos (articles) em 02.07.15 1:39

Não é erro de acento de "Ã;" e sim de "?".
Minha articles:

Spoiler:


Procurar em : Tópicos Encerrados
Tópico : Erro de acentos
Respostas : 3
Vistos : 1429

Erro de acentos em 01.07.15 6:03

Print de meu erro: http://prntscr.com/6mofvf

Qual é meu erro: Erro de acentos

CMS Que estou utilizando: HabbluzCMS

SWF que estou utilizando: -

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: -

Comentários adicionais: Gente, tô tendo um novo erro de acentos que quando eu digito algo com acento, ao invés de ficar no acento fica com "?" e eu não sei arrumar!

Minha /articles.php:
Spoiler:


Procurar em : Tópicos Encerrados
Tópico : Articles.php
Respostas : 5
Vistos : 4262

Articles.php em 06.05.15 15:31

Utilize essa articles aqui, só não está funcionando o autor, pois o resto eu deixei tudo 100%
Articles:


Execute esse sql aqui:
Sql:


Procurar em : Tópicos Encerrados
Tópico : Erro
Respostas : 7
Vistos : 4676

Erro em 23.04.15 1:15

1 - Troque a sua articles.php por essa aqui


articles.php:


2 - Crie um arquivo com o nome imager.php e coloque isso 

imager.php:



Depois de colocar lá, CONFIGURE ( o nome da db, ip, senha) esse arquivo é  um imager.php e ele gera o avatar dos usuários do hotel, apenas com ele que desbuga o avatar do staff nas notícias. salve e de F5 na página de notícias e veja se funcionou :)


Procurar em : Tópicos Encerrados
Tópico : Erro
Respostas : 7
Vistos : 4676

Erro em 22.04.15 21:32

[quote=Marcelo_2012]Poderia mandar o arquivo articles.php da sua cms?[/quote]
<?php

require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');

$body_id = "news";
$pageid = "11";

$news_id = FilterText($_GET['web-articles-id']);
$main_sql = mysql_query("SELECT * FROM cms_news WHERE id = '".$news_id."'") or die(mysql_error());
$article_exists = mysql_num_rows($main_sql);

if($article_exists == "1"){
$news = mysql_fetch_assoc($main_sql);
$pagename = "Noticias - ".HoloText($news['title'])."";
} else {
$main_sql = mysql_query("SELECT * FROM cms_news ORDER BY ID DESC") or die(mysql_error());
$news = mysql_fetch_assoc($main_sql);
$news_id = $news['id'];
$pagename = "Noticias - ".HoloText($news['title'])."";
}

//SISTEMA DE VOTAÇÃO INICIA AQUI 
if(isset($_GET['vote']) || FilterText($_GET['vote']) == "like" || FilterText($_GET['vote']) == "unlike"){
$vote = FilterText($_GET['vote']);

$usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'") or die(mysql_error());
if(mysql_num_rows($usercheck) < 1){

if($vote == "like"){
mysql_query("INSERT INTO `cms_news_vote` (id_user,id_news,vote_like,vote_unlike) VALUES ('".$my_id."','".$news_id."','1','0')") or die(mysql_error());
} else {
mysql_query("INSERT INTO `cms_news_vote` (id_user,id_news,vote_like,vote_unlike) VALUES ('".$my_id."','".$news_id."','0','1')") or die(mysql_error());
}

header("location: $path/articles/".$news_id."");
} else {
$msg = "<script>alert(\"Você já votou nesta notícia!\");</script>";
}
}

$images = explode(",",$news['images']);

if(isset($_GET['vote']) || FilterText($_GET['vote']) == "like" || FilterText($_GET['vote']) == "unlike"){
$vote = FilterText($_GET['vote']);

$usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'") or die(mysql_error());
if(mysql_num_rows($usercheck) < 1){

if($vote == "like"){
mysql_query("INSERT INTO `cms_news_vote` (id_user,id_news,vote_like,vote_unlike) VALUES ('".$my_id."','".$news_id."','1','0')") or die(mysql_error());
} else {
mysql_query("INSERT INTO `cms_news_vote` (id_user,id_news,vote_like,vote_unlike) VALUES ('".$my_id."','".$news_id."','0','1')") or die(mysql_error());
}

header("location: $path/articles/".$news_id."");
} else {
$msg = "<script>alert(\"Você já votou nesta notícia!\");</script>";
}
}

// TERMINA AQUI //
require_once('./templates/community_subheader.php');
require_once('./templates/community_header.php');

?>


<div id="container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix orange">
<h2 class="title">Noticias</h2>
<div id="article-archive">


<?php

if ($news_id > 0)
{
for ($i = 0; $i < 7; $i++)
{
$sectionName = "";
$sectionCutoffMax = 0;
$sectionCutoffMin = 0;

switch ($i)
{
case 0:

$sectionName = "Hoje";
$sectionCutoffMax = time();
$sectionCutoffMin = time() - 86400;
break;

case 1:

$sectionName = "Ontem";
$sectionCutoffMax = time() - 86400;
$sectionCutoffMin = time() - 172800;
break;

case 2: 

$sectionName = "Essa semana";
$sectionCutoffMax = time() - 172800;
$sectionCutoffMin = time() - 604800;
break;

case 3:

$sectionName = "Semana passada";
$sectionCutoffMax = time() - 604800;
$sectionCutoffMin = time() - 1209600;
break;

case 4:

$sectionName = "Esse mês";
$sectionCutoffMax = time() - 1209600;
$sectionCutoffMin = time() - 2592000;
break;

case 5:

$sectionName = "Mês passado";
$sectionCutoffMax = time() - 2592000;
$sectionCutoffMin = time() - 5184000;
break;
               

                         /*case 6:

$sectionName = "Meses anteriores";
$sectionCutoffMax = time();
$sectionCutoffMin = time();
break;*/

}

$sql = mysql_query("SELECT * FROM cms_news WHERE published >= " . $sectionCutoffMin . " AND published <= " . $sectionCutoffMax .  " ORDER BY published DESC"); 
if(mysql_num_rows($sql) > 0){
?>

<?php echo "<h2>"; echo $sectionName; echo "</h2><ul>"; ?>
<?php while($row = mysql_fetch_assoc($sql)){ ?>
<li><?php if($news_id !== $row['id']){ echo"<a href=\"".$path."/articles/".$row['id']."\">"; } ?>
<?php echo $row['title']; ?> »</a> 
<?php if($news_id !== $row['id']){ echo"</a>"; } ?></li>

<?php } ?>

</ul>

<?php } } } ?>

<ul>
<li>
<a href="<?php echo $path; ?>/articles" class="article">Mais notícias »</a>
<ul>

</ul>
</div>
<?php
$votecheck = mysql_query("SELECT * FROM cms_news_vote WHERE id_news = '".$news_id."'");
$votecount = mysql_num_rows($votecheck);
if($votecount < 1){
$percentlike = "50";
$percentunlike = "50";
$like = "0";
$unlike = "0";
} else {
$percentlike = 100 / $votecount * mysql_evaluate("SELECT COUNT(*) FROM cms_news_vote WHERE id_news = '".$news_id."' AND vote_like = '1'");
$percentunlike = 100 / $votecount * mysql_evaluate("SELECT COUNT(*) FROM cms_news_vote WHERE id_news = '".$news_id."' AND vote_unlike = '1'");
$like = mysql_evaluate("SELECT COUNT(*) FROM cms_news_vote WHERE id_news = '".$news_id."' AND vote_like = '1'");
$unlike = mysql_evaluate("SELECT COUNT(*) FROM cms_news_vote WHERE id_news = '".$news_id."' AND vote_unlike = '1'");
}
?>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>

<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix notitle ">

<div id="article-wrapper">
<img src="http://hybbo.net/<?php echo HoloText($news['infor']); ?>.gif" style="float:right;" align="right"/>
<h2>
<?php echo HoloText($news['title']); ?></h2>
<div class="article-meta">Postado na categoria
<a href="/articles/category/40"><?php echo HoloText($news['campaign']); ?></a></div>
<p class="summary"><?php echo (HoloText($news['longstory'])); ?></p>
<div class="article-body">
<p><?php echo (HoloText($news['shortstory'], true)); ?>
<?php if(mysql_num_rows($usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'")) < 1){ ?>
<?php } ?>
<?php if(mysql_num_rows($usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'")) < 1){ ?>

<?php } ?>
<div style="width:125px; height:60px; float:right; margin-right:4px; margin-top:6px;">
<a onclick="avaliar_noticias('<?php echo $news['id']; ?>','positivo','','<?php echo $news['author']; ?>')" href="<?php echo $path; ?>/articles/<?php echo $news_id; ?>&vote=like"><div style="width:56px; height:56px; float:left; border-radius: 2px; border:1px solid #666; cursor:pointer; background: url(https://i.imgur.com/a5ZswXh.png) center no-repeat;"></div></a>
<a onclick="avaliar_noticias('<?php echo $news['id']; ?>','negativo','','<?php echo $news['author']; ?>')" href="<?php echo $path; ?>/articles/<?php echo $news_id; ?>&vote=unlike"><div style="width:56px; height:56px; float:left; border-radius: 2px; border:1px solid #666; margin-left:5px; cursor:pointer; background: url(https://i.imgur.com/VAO3Csz.png) center no-repeat;"></div></a>
 
 

</div>
<script type="text/javascript" language="Javascript">
document.observe("dom:loaded", function() {
$$('.article-images a').each(function(a) {
Event.observe(a, 'click', function(e) {
Event.stop(e);
Overlay.lightbox(a.href, "http://www.habbid.com.br/images/carregando.gif");
});
});

$$('a.article-5222').each(function(a) {
a.replace(a.innerHTML);
});
});
</script>
 
<style>#infos{background-color:#EEE;border:1px solid #CCC;border-radius:5px;padding:5px;width:530px;}#positivo{width:auto;text-decoration:none;height:15px;padding-top:5px;padding-bottom:4px;padding-left:5px;padding-right:25px;border:1px solid #007900;float:left;color:#FFFFFF;font-weight:bold;font-size:11px;margin:2px;background:url() right no-repeat #00AA00;border-radius:2px;}#negativo{width:auto;height:15px;padding-top:5px;padding-bottom:4px;padding-left:5px;padding-right:25px;border:1px solid #C81E15;float:left;color:#FFFFFF;font-weight:bold;font-size:11px;margin:2px;background:url() right no-repeat #E8372E;border-radius:2px;}</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
var $a = jQuery.noConflict()
function avaliar_noticias(id, avaliar, eleitor, autor){
$a("#avaliar_noticias").html('<img style="margin-right:30px" src="http://www.habbid.com.br/images/carregando.gif" />');
$a("#avaliar_noticias").load("/noticias_avaliacao.php?id="+id+"&nota="+avaliar+"&eleitor="+eleitor+"&autor="+autor);
}
</script>
<div id="infos" style="margin-left:-6px">

<div style="width:40px; height:60px; background: url(https://i.imgur.com/6eIXCaW.png); margin-top:6px; margin-left:6px; float:left;"><div style="background: url(http://hybbo.net/imager.php?user=<?php echo $news['author']; ?>) -12px -20px; width:40px; height:60px;"></div></div>
<div style="width:205px; height:56px; margin-top:5px; float:left; margin-left:10px; font-size:10px; color:#666666;">
<div style="margin-top:2px;">Autor: <b><a href="hall/<?php echo $news['author']; ?>"><?php echo $news['author']; ?></a></b><br></div>
<div style="margin-top:2px;">Visualizações: <b><?php require_once('./contador2.php'); ?>
 </b><br></div>
<div style="margin-top:2px;">Link: <b><a href="articles/<?php echo $news['id']; ?>">Clicando aqui</a></b><br></div>
<div style="margin-top:2px;">Postado em <b><?php echo date('d-m-Y H:i:s', $news['published']); echo""; ?></b></div>
</div>
<div style="width:1px; height:45px; background:#CCCCCC; float:left; margin-top:12px;"></div>
<div style="width:129px; height:10px; margin-top:5px; float:left; margin-left:10px; font-size:10px; color:#666666;">
<br>
<b><span style="color: #008000; font-size:10px;"><?php echo $like; ?><span style="color: #000000;"></b> votaram positivo.<br>
<b><span style="color: #ff0000; font-size:10px;"><?php echo $unlike; ?></b> votaram negativo.<br>
<b>Já deu seu voto?!</b> 
<div style="width:125px; height:55px; float:right; margin-right:4px; margin-top:6px;">
</a>
</div>
</div>
<div style="width:530px; height:5px;"></div>
<div style="width:530px; height:auto; overflow:hidden; padding:5px 0px 5px 7px" id="avaliar_noticias">
<!-- SISTEMA DE CURTIDAS -->


<?php if(mysql_num_rows($usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'")) < 1){ ?>
<?php } ?>
<?php if(mysql_num_rows($usercheck = mysql_query("SELECT id_user FROM cms_news_vote WHERE id_user = '".$my_id."' AND id_news = '".$news_id."'")) < 1){ ?>

<?php } ?>



<!-- FIM SISTEMA DE CURTIDAS -->
</div>
</div>
</div>
 





</div>
</div>
</div>
</div>
<?php require_once('./templates/community_footer.php'); ?>

Ir para:

BH Servers

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