SHARE
TWEET

Untitled

a guest Sep 21st, 2016 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. require_once ('heliocms/core.php');
  3. if ($_GET['unlock'] == "$w") {
  4. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-success" style="display: table;"><div class="toast-message">Conta desbloqueada!</div></div></div>';
  5. }
  6. $emailorusername_class = 'form__input login-form__input ng-pristine ng-untouched ng-invalid ng-invalid-required ng-valid-email';
  7. $password_class = 'form__input login-form__input ng-pristine ng-untouched ng-invalid ng-invalid-required';
  8. if (isset($_POST['login'])) {
  9. $emailorusername = $_POST['emailorusername'];
  10. $password = $_POST['password'];
  11. $user_verify = mysql_query("SELECT * FROM users WHERE mail='$emailorusername' or username='$emailorusername' && password='".MD5($password)."' LIMIT 1");
  12. $user_fetch = mysql_fetch_assoc($user_verify);
  13. if (mysql_num_rows($user_verify) == 0) {
  14. $error = '1';
  15. $emailorusername_class = 'form__input login-form__input ng-valid ng-dirty ng-valid-parse ng-touched ng-invalid';
  16. $password_class = 'form__input login-form__input ng-valid ng-dirty ng-valid-parse ng-touched ng-invalid';
  17. }else{
  18. $ban_check = mysql_query("SELECT * FROM bans WHERE value='$user_fetch[username]'");
  19. if(mysql_num_rows($ban_check) == 1){
  20. $ban = mysql_fetch_assoc($ban_check);
  21. $message = '<div id="toast-container" class="toast-top-center toast-sticky" aria-live="polite" role="alert"><div class="toast toast-error" style="display: block;"><div class="toast-progress"></div><div class="toast-title">Você foi banido.</div><div class="toast-message">Você foi banido permanentemente por: <b>'.$ban['reason'].'</b>.<button id="toast-close" class="toast-button">OK</button></div></div></div>';
  22. }else{
  23. $user_safety_a = mysql_query("SELECT * FROM heliocms_safetyquestions WHERE email='$user_fetch[mail]'");
  24. $user_safety_q = mysql_fetch_assoc($user_safety_a);
  25. $_SESSION['id'] = $user_fetch['id'];
  26. if ($user_safety_q['trusted_ip'] <> $ip) {
  27. mysql_query("UPDATE heliocms_safetyquestions SET active='1' WHERE email='$user_fetch[mail]'");
  28. }
  29. mysql_query("UPDATE users SET ip_last='$ip' WHERE mail='$user_fetch[mail]'");
  30. mysql_query("INSERT INTO heliocms_sessions (last,user_id) VALUES ('".time()."','$user_fetch[id]')");
  31. header ("Location: $site");
  32. }}}
  33. if (isset($_POST['forgotten_submit'])) {
  34. $email_forgotten = $_POST['emailAddress'];
  35. if (empty($email_forgotten)) {
  36. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-error" style="display: table;"><div class="toast-message">Você deixou o campo "email" vazio.</div></div></div>';
  37. }else{
  38. if (!preg_match("/^[A-Z0-9._-]{2,}+@[A-Z0-9._-]{2,}\.[A-Z0-9._-]{2,}$/i", $email_forgotten)) {
  39. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-error" style="display: table;"><div class="toast-message">Você inseriu um email inválido!</div></div></div>';
  40. }else{
  41. mysql_query("INSERT INTO heliocms_forgotten (email) VALUES ('$email_forgotten')");
  42. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-success" style="display: table;"><div class="toast-message">Em breve enviaremos um e-mail de recuperação de senha para o email <b>'.$email_forgotten.'</b>.</div></div></div>';
  43. }}}
  44. if (isset($_GET['badge_id'])) {
  45. $badge_a = mysql_query("SELECT * FROM heliocms_badgestore WHERE code='$_GET[badge_id]'");
  46. $badge_q = mysql_fetch_assoc($badge_a);
  47. if (isset($_SESSION['id'])) {
  48. if ($user_q['credits'] - $badge_q['price'] <= '0') {
  49. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-error" style="display: table;"><div class="toast-message">Você não tem moedas suficientes para este emblema.</div></div></div>';
  50. }else{
  51. if ($_GET['badge_id'] <> $badge_q['code']) {
  52. }else{
  53. $badge_already_a = mysql_query("SELECT * FROM user_badges WHERE badge_id='$_GET[badge_id]' AND user_id='$user_q[id]'");
  54. if (mysql_num_rows($badge_already_a) == '0') {
  55. $message = '<div id="toast_container_s" class="toast-top-center" aria-live="polite" role="alert"><div class="toast toast-success" style="display: table;"><div class="toast-message">Emblema comprado com sucesso!</div></div></div>';
  56. mysql_query("INSERT INTO user_badges (user_id,badge_id) VALUES ('$user_q[id]','$_GET[badge_id]')");
  57. mysql_query("UPDATE users SET credits = credits - $badge_q[price] WHERE id='$user_q[id]'");
  58. }}}}}
  59. ?>
  60. <!DOCTYPE html>
  61. <html ng-app="app" lang="pt-br">
  62.  
  63. <head>
  64.     <meta charset="utf-8">
  65.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  66.     <meta name="robots" content="NOODP">
  67.     <title><?php echo $sitename; ?> - Virtual World, Avatar Chat, and Pixel Art</title>
  68.     <!--[if (lte IE 9)|(IEMobile)]><script>window.location = '<?php echo $site; ?>/br/upgrade/';</script>
  69.         <!--<![endif]-->
  70.     <meta name="description" content="Faça o seu check-in no maior Hotel virtual do mundo DE GRAÇA! Você poderá fazer novos amigos, jogar e criar seus próprios jogos, bater papo, construir seus quartos e muito mais!">
  71.     <meta property="og:type" content="website">
  72.     <meta property="og:site_name" content="<?php echo $sitename; ?>">
  73.     <meta property="og:title" content="Virtual World, Avatar Chat, and Pixel Art">
  74.     <meta property="og:description" content="Faça o seu check-in no maior Hotel virtual do mundo DE GRAÇA! Você poderá fazer novos amigos, jogar e criar seus próprios jogos, bater papo, construir seus quartos e muito mais!">
  75.     <meta property="og:url" content="<?php echo $site; ?>/" head-url="content">
  76.     <meta property="og:image" content="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_summary_image-1200x628.png">
  77.     <meta property="og:image:height" content="628">
  78.     <meta property="og:image:width" content="1200">
  79.     <meta name="twitter:card" content="summary_large_image">
  80.     <meta name="twitter:title" content="Faça amigos, divirta-se e seja famoso!">
  81.     <meta name="twitter:description" content="Faça o seu check-in no maior Hotel virtual do mundo DE GRAÇA! Você poderá fazer novos amigos, jogar e criar seus próprios jogos, bater papo, construir seus quartos e muito mais!">
  82.     <meta name="twitter:image" content="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_summary_image-1200x628.png">
  83.     <meta name="twitter:site" content="@<?php echo $sitename; ?>PTBR">
  84.     <meta itemprop="name" content="Faça amigos, divirta-se e seja famoso!">
  85.     <meta itemprop="description" content="Faça o seu check-in no maior Hotel virtual do mundo DE GRAÇA! Você poderá fazer novos amigos, jogar e criar seus próprios jogos, bater papo, construir seus quartos e muito mais!">
  86.     <meta itemprop="image" content="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_summary_image-1200x628.png">
  87.     <meta name="apple-itunes-app" content="app-id=794866182">
  88.     <meta name="fragment" content="!">
  89.     <meta name="revision" content="d1a83d6">
  90.     <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
  91.     <meta name="prerender-status-code" prerender-status-code="" content="200">
  92.     <meta name="prerender-header" prerender-header="" content="Location: <?php echo $site; ?><?php echo $og; ?>">
  93.     <link rel="stylesheet" href="<?php echo $aka; ?>/habbo-web/america/pt/app.css">
  94.     <link rel="canonical" href="<?php echo $site; ?>/" head-url="href">
  95.     <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:regular,bold|Ubuntu+Condensed:regular">
  96.     <link rel="shortcut icon" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/favicon.ico">
  97.     <link rel="icon" sizes="196x196" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_icon-196x196.png">
  98.     <link rel="apple-touch-icon" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_icon-60x60-precomposed.png">
  99.     <link rel="apple-touch-icon" sizes="76x76" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_icon-76x76-precomposed.png">
  100.     <link rel="apple-touch-icon" sizes="120x120" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_icon-120x120-precomposed.png">
  101.     <link rel="apple-touch-icon" sizes="152x152" href="<?php echo $aka; ?>/habbo-web/america/pt/assets/images/app_icon-152x152-precomposed.png">
  102.     <link rel="alternate" type="application/rss+xml" href="<?php echo $site; ?>/rss.xml" title="<?php echo $sitename; ?> News">
  103.     <script src="//pagead2.googlesyndication.com/pagead/expansion_embed.js?source=safeframe"></script>
  104.     <script src="https://d29usylhdk1xyu.cloudfront.net/manifest/login?version=1.110.0_widgets_497" type="text/javascript"></script>
  105.     <script src="https://d29usylhdk1xyu.cloudfront.net/translations/login/pt-BR" type="text/javascript"></script>
  106.     <script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/api2/r20160119135516/recaptcha__pt_br.js"></script>
  107.     <script type="text/javascript" async="" src="https://www.google-analytics.com/plugins/ua/linkid.js"></script>
  108.     <script type="text/javascript" async="" src="https://www.google-analytics.com/plugins/ua/ecommerce.js"></script>
  109.     <script async="" type="text/javascript" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
  110.     <script async="" src="//www.google-analytics.com/analytics.js"></script>
  111.     <script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js" data-apikey="1492699e4b5e2ef6b25d19d4e1b9e64e" data-appversion="d1a83d6" data-releasestage="hhbr"></script>
  112.     <script src="https://partner.googleadservices.com/gpt/pubads_impl_79.js" async=""></script>
  113.     <link rel="stylesheet" href="https://d3hmp0045zy3cs.cloudfront.net/2.2.21/providers.css" type="text/css">
  114.     <script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/osd.js"></script>
  115. </head>
  116. <?php echo $message; ?>
  117. <body client-disable-scrollbars="" class="">
  118.     <section class="content">
  119.         <!-- uiView: undefined -->
  120.         <ui-view class="">
  121.             <!-- ngIf: !hasHeaderLarge() -->
  122.             <?php if (isset($_SESSION['id'])) { ?>
  123.             <div ng-if="!hasHeaderLarge()" class="">
  124.     <div class="header header--small" active="home">
  125.         <div class="header__background">
  126.             <div class="header__hotel"></div>
  127.             <header class="header__wrapper wrapper"><a href="/" class="header__habbo__logo"><h1 class="header__habbo__name" id="ga-linkid-habbo"><?php echo $sitename; ?></h1></a>
  128.                 <!-- requireSession:  -->
  129.                 <div require-session="" class="header__aside header__aside--user-menu">
  130.                     <div false-on-outside-click="toggle" class="user-menu">
  131.                         <div class="user-menu__header">
  132.                             <a id="ul-click" ng-click="click()">
  133.                                 <div class="user-menu__avatar__wrapper"><img width="54" height="62" class="user-menu__avatar imager" figure="<?php echo $user_q['look']; ?>" size="bighead" alt="<?php echo $user_q['username']; ?>" src="<?php echo $avatarimage; ?>/habbo-imaging/avatarimage?figure=<?php echo $user_q['look']; ?>&headonly=1&size=b&gesture=sml&direction=2&head_direction=2&action=std"></div>
  134.                                 <div class="user-menu__name__wrapper">
  135.                                     <div id="ul-toggle" class="user-menu__name" ng-class="{ 'user-menu__name--open': toggle }">
  136.                                         <div class="user-menu__name__container"><?php echo $user_q['username']; ?></div>
  137.                                     </div>
  138.                                 </div>
  139.                             </a>
  140.                         </div>
  141.                         <ul ng-hide="!toggle" id="ul-hide" style="display: none" class="user-menu__list">
  142.                             <li class="user-menu__item"><a ng-href="/profile/<?php echo $user_q['username']; ?>" ng-class="{ 'user-menu__link--active': isMyProfileActive() }" class="user-menu__link user-menu__link--profile" translate="NAVIGATION_PROFILE" href="/profile/<?php echo $user_q['username']; ?>">View my profile</a></li>
  143.                             <li class="user-menu__item"><a href="/settings" ng-class="{ 'user-menu__link--active': isSettingsActive() }" class="user-menu__link user-menu__link--settings" translate="NAVIGATION_SETTINGS">Settings</a></li>
  144.                             <li class="user-menu__item"><a ng-href="/api/public/help?returnTo=https://help.habbo.com.br" class="user-menu__link user-menu__link--help" target="_blank" translate="NAVIGATION_HELP" href="/api/public/help?returnTo=https://help.habbo.com.br">Help</a></li>
  145.                             <li class="user-menu__item"><a onclick="logout()" ng-click="logout()" class="user-menu__link user-menu__link--logout" translate="NAVIGATION_LOGOUT">Desconectar</a></li>
  146.                         </ul>
  147.                     </div>
  148.                 </div>
  149.                 <!-- end ngIf: function (){return t.hasSession()} -->
  150.             </header>
  151.             <?php if (isset($_SESSION['id'])) { ?>
  152.             <nav class="navigation" active="home">
  153.                 <ul class="navigation__menu">
  154.                     <li class="navigation__item"><a href="/" ng-class="{ 'navigation__link--active': isActive('home') }" class="navigation__link navigation__link--home navigation__link--active" translate="NAVIGATION_HOME" id="ga-linkid-home">Home</a></li>
  155.                     <li class="navigation__item"><a href="/community" ng-class="{ 'navigation__link--active': isActive('community') }" class="navigation__link navigation__link--community" translate="NAVIGATION_COMMUNITY" id="ga-linkid-community">Community</a></li>
  156.                     <li class="navigation__item"><a href="/playing-habbo" ng-class="{ 'navigation__link--active': isActive('playing<?php echo $sitename; ?>') }" class="navigation__link navigation__link--playing-habbo" translate="NAVIGATION_PLAYING_HABBO" id="ga-linkid-playing-habbo">Playing Habbo</a></li>
  157.                     <!-- requireSession:  -->
  158.                     <li require-session="" class="navigation__item navigation__item--aside navigation__item--hotel">
  159.                         <!-- requireFlash:  --><a require-flash="" href="/hotel" class="hotel-button" id="ga-linkid-hotel"><span class="hotel-button__text" translate="NAVIGATION_HOTEL">Hotel</span></a>
  160.                         <!-- end ngIf: function (){return a.isEnabled()||!t.test(e.navigator.userAgent)} -->
  161.                     </li>
  162.                     <!-- end ngIf: function (){return e.hasSession()} -->
  163.                 </ul>
  164.             </nav>
  165.             <?php } ?>
  166.             <div class="wrapper" ng-transclude=""></div>
  167.         </div>
  168.     </div>
  169. </div>
  170. <?php }else{ ?>
  171.             <!-- ngIf: hasHeaderLarge() -->
  172.             <div ng-if="hasHeaderLarge()">
  173.                 <div class="header" active="home">
  174.                     <div class="header__background">
  175.                         <div class="header__top sticky-header sticky-header--top" sticky-header="">
  176.                             <div class="wrapper">
  177.                                 <div class="header__top__content">
  178.                                     <div ng-init="toggle = false">
  179.                                         <button id="mobile_login" ng-click="toggle = true" ng-disabled="toggle" ng-hide="toggle" class="header__top__toggle">Login</button>
  180.                                         <div id="mobile_form" ng-show="toggle" class="header__login-form ng-hide">
  181.                                             <div class="login-form">
  182. <form <?php if ($error == '1') { ?>id="red_form"<?php } ?> method="post" ng-submit="login()" name="loginForm" novalidate="" shake="" class="login-form__form ng-pristine ng-invalid ng-invalid-required ng-valid-email">
  183.                                                     <fieldset class="form__fieldset login-form__fieldset">
  184.                                                         <div class="form__field">
  185.                                                             <input value="<?php echo $emailorusername; ?>" name="emailorusername" type="text" ng-model="email" ng-model-options="{ updateOn: 'default blur', debounce: { default: 500, blur: 0 } }" required="" email="" remote-data="'credentials'" autofocus="" placeholder="Username or E-mail" class="<?php echo $emailorusername_class; ?>">
  186.                                                         </div>
  187.                                                     </fieldset>
  188.                                                     <fieldset class="form__fieldset login-form__fieldset">
  189.                                                         <div class="form__field">
  190.                                                             <input value="<?php echo $password; ?>" name="password" type="password" ng-model="password" ng-model-options="{ updateOn: 'default blur', debounce: { default: 500, blur: 0 } }" required="" remote-data="'credentials'" placeholder="Password" class="<?php echo $password_class; ?>">
  191.                                                         </div><small class="form__helper login-form__helper"><a data-toggle="modal" data-target="#forgotten" ng-click="openModal()" translate="LOGIN_FORGOT_LABEL">I've forgotten my password</a></small></fieldset>
  192.                                                     <button name="login" type="submit" ng-disabled="loginInProgress" class="login-form__button" translate="LOGIN_BUTTON">LET'S GO!</button>
  193.                                                 </form>
  194.                                                 <div class="login-form__register"><a href="/registration" translate="LOGIN_REGISTER">Ainda não tem uma conta? Entre já!</a></div>
  195.                                             </div>
  196.                                         </div>
  197.                                     </div>
  198.                                 </div>
  199.                             </div>
  200.                         </div>
  201.                         <div class="header__content" ng-transclude="">
  202.                             <section class="register-banner">
  203.                                 <div class="register-banner__hotel"></div>
  204.                                 <div class="register-banner__wrapper">
  205.                                     <div class="register-banner__register">
  206.                                         <h1 class="register-banner__logo"><?php echo $sitename; ?></h1>
  207.                                         <h2 class="register-banner__title" translate="HEADER_TITLE">MAKE FRIENDS & CHAT WITH MILLIONS IN A VIRTUAL WORLD</h2><a href="/registration" class="register-banner__button" translate="REGISTER_PROMPT">JOIN FOR FREE!</a></div>
  208.                                 </div>
  209.                             </section>
  210.                         </div>
  211.                         <header class="header__wrapper wrapper"><a href="/" class="header__habbo__logo"><h1 class="header__habbo__name" id="ga-linkid-habbo-large"><?php echo $sitename; ?></h1></a></header>
  212.                         <nav class="navigation" active="home">
  213.                             <ul class="navigation__menu">
  214.                                 <li class="navigation__item"><a href="/" ng-class="{ 'navigation__link--active': isActive('home') }" class="navigation__link navigation__link--home navigation__link--active" translate="NAVIGATION_HOME" id="ga-linkid-home">Home</a></li>
  215.                                 <li class="navigation__item"><a href="/community" ng-class="{ 'navigation__link--active': isActive('community') }" class="navigation__link navigation__link--community" translate="NAVIGATION_COMMUNITY" id="ga-linkid-community">Community</a></li>
  216.                                 <li class="navigation__item"><a href="/playing-habbo" ng-class="{ 'navigation__link--active': isActive('playing<?php echo $sitename; ?>') }" class="navigation__link navigation__link--playing-habbo" translate="NAVIGATION_PLAYING_HABBO" id="ga-linkid-playing-habbo">Playing Habbo</a></li>
  217.                                 <!-- requireSession:  -->
  218.                             </ul>
  219.                         </nav>
  220.                     </div>
  221.                 </div>
  222.             </div>
  223. <?php } ?>
  224. <?php if (isset($_SESSION['id'])) { ?>
  225.             <!-- end ngIf: hasHeaderLarge() -->
  226. <nav ng-hide="tabs.length < 2" false-on-outside-click="isOpen" class="tabs" style="">
  227.     <div class="tabs__wrapper">
  228.         <!-- ngIf: titleKey -->
  229.         <div id="tab-click" ng-click="isOpen = !isOpen" class="tabs__toggle">
  230.             <div id="tab-arrow" ng-class="{'tabs__toggle__title--active': isOpen}" class="tabs__toggle__title" translate="HOME_NEWS_TAB">What's new</div>
  231.         </div>
  232.         <ul id="tab-hide" class="tabs__menu ng-hide" ng-hide="!isOpen" ng-transclude="">
  233.             <li class="tabs__item" path="/" strict-path="true" translation-key="HOME_NEWS_TAB"><a ng-href="/" ng-class="{ 'tabs__link--active': isActive }" class="tabs__link tabs__link--active" translate="HOME_NEWS_TAB" href="/">What's new</a></li>
  234.             <!-- requireSession:  -->
  235.             <li class="tabs__item" require-session="" path="/messaging" translation-key="HOME_MESSAGING_TAB"><a ng-href="/messaging" ng-class="{ 'tabs__link--active': isActive }" class="tabs__link" translate="HOME_MESSAGING_TAB" href="/messaging">Messaging</a></li>
  236.             <li class="tabs__item" require-session="" path="" translation-key="HOME_BADGES_TAB"><a ng-class="{ 'tabs__link--active': isActive }" class="tabs__link" translate="HOME_BADGES_TAB" data-toggle="modal" data-target="#badgestore">Badge Shop</a></li>
  237.             <!-- end ngIf: function (){return e.hasSession()} -->
  238.         </ul>
  239.     </div>
  240. </nav>
  241. <?php } ?>
  242.             <!-- uiView:  -->
  243. <section class="wrapper wrapper--content" ui-view="">
  244.     <!-- requireSession:  -->
  245.     <section require-session="" class="">
  246.         <div>
  247.             <!-- ngIf: moderations.length > 0 -->
  248.         </div>
  249.     </section>
  250.     <!-- end ngIf: function (){return e.hasSession()} -->
  251.     <!-- requireSession:  -->
  252.     <section require-session="" class="">
  253.         <div>
  254.             <!-- ngIf: items.length > 0 -->
  255.         </div>
  256.     </section>
  257.     <!-- end ngIf: function (){return e.hasSession()} -->
  258.     <section>
  259.         <h1 translate="NEWS_TITLE">Latest News</h1>
  260.         <div class="row">
  261.             <div class="main main--fixed">
  262.                 <section>
  263.                 <?php $news_a = mysql_query("SELECT * FROM heliocms_news ORDER BY ID DESC"); ?>
  264.                 <?php $i = 0; while($news_q = mysql_fetch_assoc($news_a)){ $i++;
  265.                 $news_category_a = mysql_query("SELECT * FROM heliocms_news_categories WHERE id='$news_q[category]'");
  266.                 $news_category = mysql_fetch_assoc($news_category_a);
  267.                 ?>
  268.                                        <article class="news-header news-header--column">
  269.                         <a <?php if ($news_q['kind'] == '2') { ?><?php if (!isset($_SESSION['id'])) { ?> data-toggle="modal" data-target="#login"<?php }else{ ?>href="/hotel"<?php }}else{ ?> href="/community/article/<?php echo $news_q['id']; ?>"<?php } ?> class="news-header__link news-header__banner">
  270.                             <figure class="news-header__viewport">
  271.                                 <img src="<?php echo $news_q['image_url']; ?>" alt="<?php echo $news_q['title']; ?>" class="news-header__image news-header__image--featured">
  272.                                 <img src="<?php echo $news_q['image_url_thumb']; ?>" alt="<?php echo $news_q['title']; ?>" class="news-header__image news-header__image--thumbnail">
  273.                             </figure>
  274.                         </a>
  275.                         <a <?php if ($news_q['kind'] == '2') { ?><?php if (!isset($_SESSION['id'])) { ?> data-toggle="modal" data-target="#login"<?php }else{ ?>href="/hotel"<?php }}else{ ?> href="/community/article/<?php echo $news_q['id']; ?>"<?php } ?> class="news-header__link news-header__wrapper">
  276.                             <h2 class="news-header__title"><?php echo $news_q['title']; ?></h2>
  277.                         </a>
  278.                         <aside class="news-header__wrapper news-header__info">
  279.                             <time class="news-header__date"><?php echo date('d', $news_q['time']); ?> de <?php echo utf8_encode(strftime('%b', $news_q['time'])) ?> de <?php echo date('Y', $news_q['time']); ?></time>
  280.                             <ul class="news-header__categories">
  281.                                 <li class="news-header__category">
  282.                                     <a href="/community/category/<?php echo $news_category['code']; ?>" class="news-header__category__link" translate="NEWS_CATEGORY"><?php echo $news_category['name']; ?></a>
  283.                                 </li>
  284.                             </ul>
  285.                         </aside>
  286.                         <p class="news-header__wrapper news-header__summary"><?php echo $news_q['stext']; ?></p>
  287.                     </article>
  288.                 <?php } ?>
  289.                 </section>
  290.                 <div class="news__navigation"><a href="/community/category/all" class="news__more" translate="NEWS_MORE">More News</a></div>
  291.             </div>
  292.             <article class="aside aside--box aside--fixed static-content" ng-show="show" key="common/box_learn_how_to_stay_safe" style="">
  293.                 <h3>Safety Tips</h3>
  294.                 <p>Protect yourself with awareness! Learn how to <a href="/playing-habbo/safety">stay safe on the internet</a>.</p>
  295.             </article>
  296.             <article class="aside aside--box aside--fixed static-content" ng-show="show" key="common/box_parents_guide">
  297.                 <h3>Parents' Guide</h3>
  298.                 <p>Curious about the effective tools that ensure our users can have fun in a safe environment? See our <a target="_blank" ng-href="/api/public/help?returnTo=https://help.habbo.com.br/forums/311751-Informa%C3%A7%C3%B5es-para-os-Pais" href="/api/public/help?returnTo=https://help.habbo.com.br/forums/311751-Informa%C3%A7%C3%B5es-para-os-Pais">Parents' Guide on the Customer Support & Helpdesk </a>pages.</p>
  299.             </article>
  300.         </div>
  301.     </section>
  302. </section>
  303.         </ui-view>
  304.     </section>
  305. <?php
  306. require_once ('includes/footer.php');
  307. ?>
  308.     <!-- requireSession:  -->
  309.     <!-- requireNoSession:  -->
  310.     <div require-no-session="">
  311.         <div ng-show="show" class="eu-cookie-banner ng-hide">
  312.             <div class="wrapper"><span translate="EU_COOKIE_BANNER">O <?php echo $sitename; ?> Hotel utilizes cookies to provide the best user experience, by agreeing you agree to our cookie policy.</span> <a ng-href="https://help.habbo.com.br/entries/93874096-Pol%C3%ADtica-de-Cookies" translate="EU_COOKIE_BANNER_READ_MORE" target="_blank" href="https://help.habbo.com.br/entries/93874096-Pol%C3%ADtica-de-Cookies">Saiba mais.</a></div><i ng-click="close()" class="eu-cookie-banner__close icon--close"></i></div>
  313.     </div>
  314.     <!-- end ngIf: function (){return!e.hasSession()} -->
  315.     <script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js" data-apikey="1492699e4b5e2ef6b25d19d4e1b9e64e" data-appversion="20e33e2" data-releasestage="hhbr"></script>
  316.     <script>
  317.         ! function() {
  318.             var h = Date.now();
  319.             window.Bugsnag && (window.Bugsnag.notifyReleaseStages = ["hhde", "hhus", "hhes", "hhfi", "hhfr", "hhit", "hhnl", "hhbr", "hhtr"], window.Bugsnag.beforeNotify = function(e) {
  320.                 return e.metaData.secondsSincePageLoad = (Date.now() - h) / 1e3, /habbo\./.test(e.url)
  321.             })
  322.         }();
  323.     </script>
  324.     <script src="<?php echo $aka; ?>/habbo-web/america/pt/scripts.js" defer="defer"></script>
  325.     <script>
  326.         ! function(e, n, a, o, t, r, i) {
  327.             e.GoogleAnalyticsObject = t, e[t] = e[t] || function() {
  328.                 (e[t].q = e[t].q || []).push(arguments)
  329.             }, e[t].l = 1 * new Date, r = n.createElement(a), i = n.getElementsByTagName(a)[0], r.async = 1, r.src = o, i.parentNode.insertBefore(r, i)
  330.         }(window, document, "script", "//www.google-analytics.com/analytics.js", "ga"), ga("create", "UA-448325-57", "auto"), ga("require", "ecommerce"), ga("require", "linkid", "linkid.js"), window.partnerCodeInfo && (ga("set", "campaignName", window.partnerCodeInfo.campaign), ga("set", "campaignSource", window.partnerCodeInfo.theme || window.partnerCodeInfo.partner), ga("set", "campaignMedium", window.partnerCodeInfo.media));
  331.     </script>
  332.     <div id="fb-root" class=" fb_reset">
  333.         <div style="position: absolute; top: -10000px; height: 0px; width: 0px;">
  334.             <div>
  335.                 <iframe name="fb_xdm_frame_https" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="Facebook Cross Domain Communication Frame" aria-hidden="true" tabindex="-1" id="fb_xdm_frame_https" src="https://staticxx.facebook.com/connect/xd_arbiter.php?version=42#channel=f135291044&amp;origin=https%3A%2F%2Fwww.habbo.com.br" style="border: none;"></iframe>
  336.             </div>
  337.         </div>
  338.         <div style="position: absolute; top: -10000px; height: 0px; width: 0px;">
  339.             <div></div>
  340.         </div>
  341.     </div>
  342.     <script id="facebook-jssdk" async="" src="//connect.facebook.net/pt_BR/sdk.js"></script>
  343.     <script id="janrainAuthWidget" src="https://rpxnow.com/js/lib/login.habbo.com/engage.js"></script>
  344.     <iframe src="https://tpc.googlesyndication.com/safeframe/1-0-2/html/container.html" style="visibility: hidden; display: none;"></iframe>
  345.     <div id="janrainModalOverlay" style="left: 0px; top: 0px; bottom: 0px; right: 0px; position: fixed; opacity: 0.4; display: none; z-index: 1000; background-color: rgb(0, 0, 0);"></div>
  346.     <div id="janrainModal" style="width: 392px; height: 143px; position: absolute; padding: 4px; border-radius: 3px; z-index: 1000; display: none; background-color: rgba(0, 0, 0, 0.6);"><img src="https://docj27ko03fnu.cloudfront.net/rel/img/17c96fc4b9c8464d1c95cd785dd3120b.png" style="position: absolute; cursor: pointer; z-index: 1000; right: -6px; top: -7px; height: 31px; width: 28px;">
  347.         <div class="janrainContent" style="width: 380px; height: 141px; padding-left: 5px; padding-right: 5px; box-sizing: content-box; border: 1px solid rgb(226, 226, 226); border-radius: 0px; overflow: hidden; position: absolute; background-color: rgb(226, 226, 226);">
  348.             <div id="janrainView">
  349.                 <div class="janrainHeader" style="font-size: 18px; color: rgb(51, 51, 51); position: relative; height: 20px; left: -5px; padding: 5px 5px 0px; white-space: nowrap; width: 380px; z-index: 100; border-radius: 0px; text-align: left; background-color: rgb(226, 226, 226);">
  350.                     <div style="padding-left: 1px; font-family: 'lucida grande', Helvetica, Verdana, sans-serif;">Entre através da sua conta no</div>
  351.                 </div>
  352.                 <div id="janrainProviderPages" style="padding-top: 5px; left: 5px; position: absolute;">
  353.                     <div class="janrainPage" pageindex="0">
  354.                         <ul class="providers" id="janrainProviders_0" style="float: left; list-style-type: none; margin: 0px; padding: 0px;">
  355.                             <li id="janrain-googleplus" role="button" style="list-style: none; height: 30px; width: 185px; margin-top: 0px; margin-right: 5px; margin-bottom: 5px; position: relative; border: 1px solid rgb(199, 199, 199); border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; background-image: -webkit-linear-gradient(bottom, rgb(238, 238, 238), rgb(255, 255, 255));"><a tabindex="1" href="javascript:void(0);" style="font-family: Helvetica, 'lucida grande', Verdana, sans-serif; font-size: 12px; line-height: 14px; margin-left: auto; margin-right: auto; text-decoration: none; display: block; padding-left: 5px; padding-right: 5px; text-align: left; width: auto;"><span class="janrain-provider-icon-24 janrain-provider-icon-googleplus" style="margin-top: 3px; background-color: transparent;"></span><span class="janrain-provider-text-color-googleplus" style="font-family: 'lucida grande', Helvetica, Verdana, sans-serif; cursor: pointer; margin-left: 7px; text-align: left; margin-top: 9px; vertical-align: top; display: inline-block;">Google</span></a></li>
  356.                             <li id="janrain-twitter" role="button" style="list-style: none; height: 30px; width: 185px; margin-top: 0px; margin-right: 5px; margin-bottom: 5px; position: relative; border: 1px solid rgb(199, 199, 199); border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; background-image: -webkit-linear-gradient(bottom, rgb(238, 238, 238), rgb(255, 255, 255));"><a tabindex="3" href="javascript:void(0);" style="font-family: Helvetica, 'lucida grande', Verdana, sans-serif; font-size: 12px; line-height: 14px; margin-left: auto; margin-right: auto; text-decoration: none; display: block; padding-left: 5px; padding-right: 5px; text-align: left; width: auto;"><span class="janrain-provider-icon-24 janrain-provider-icon-twitter" style="margin-top: 3px; background-color: transparent;"></span><span class="janrain-provider-text-color-twitter" style="font-family: 'lucida grande', Helvetica, Verdana, sans-serif; cursor: pointer; margin-left: 7px; text-align: left; margin-top: 9px; vertical-align: top; display: inline-block;">Twitter</span></a></li>
  357.                         </ul>
  358.                         <ul class="providers" id="janrainProviders_1" style="float: left; list-style-type: none; margin: 0px; padding: 0px;">
  359.                             <li id="janrain-yahoo" role="button" style="list-style: none; height: 30px; width: 185px; margin-top: 0px; margin-right: 5px; margin-bottom: 5px; position: relative; border: 1px solid rgb(199, 199, 199); border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; background-image: -webkit-linear-gradient(bottom, rgb(238, 238, 238), rgb(255, 255, 255));"><a tabindex="2" href="javascript:void(0);" style="font-family: Helvetica, 'lucida grande', Verdana, sans-serif; font-size: 12px; line-height: 14px; margin-left: auto; margin-right: auto; text-decoration: none; display: block; padding-left: 5px; padding-right: 5px; text-align: left; width: auto;"><span class="janrain-provider-icon-24 janrain-provider-icon-yahoo" style="margin-top: 3px; background-color: transparent;"></span><span class="janrain-provider-text-color-yahoo" style="font-family: 'lucida grande', Helvetica, Verdana, sans-serif; cursor: pointer; margin-left: 7px; text-align: left; margin-top: 9px; vertical-align: top; display: inline-block;">Yahoo!</span></a></li>
  360.                             <li id="janrain-live_id" role="button" style="list-style: none; height: 30px; width: 185px; margin-top: 0px; margin-right: 5px; margin-bottom: 5px; position: relative; border: 1px solid rgb(199, 199, 199); border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; background-image: -webkit-linear-gradient(bottom, rgb(238, 238, 238), rgb(255, 255, 255));"><a tabindex="4" href="javascript:void(0);" style="font-family: Helvetica, 'lucida grande', Verdana, sans-serif; font-size: 12px; line-height: 14px; margin-left: auto; margin-right: auto; text-decoration: none; display: block; padding-left: 5px; padding-right: 5px; text-align: left; width: auto;"><span class="janrain-provider-icon-24 janrain-provider-icon-live_id" style="margin-top: 3px; background-color: transparent;"></span><span class="janrain-provider-text-color-live_id" style="font-family: 'lucida grande', Helvetica, Verdana, sans-serif; cursor: pointer; margin-left: 7px; text-align: left; margin-top: 9px; vertical-align: top; display: inline-block;">Microsoft Account</span></a></li>
  361.                         </ul>
  362.                     </div>
  363.                 </div>
  364.             </div>
  365.         </div>
  366.     </div>
  367.     <iframe id="google_osd_static_frame_9355908208526" name="google_osd_static_frame" style="display: none; width: 0px; height: 0px;"></iframe>
  368. </body>
  369.  
  370. </html>
  371. <?php
  372. if (!isset($_SESSION['id'])) {
  373. require_once ('includes/modal_forgotten.php');
  374. require_once ('includes/modal_login.php');
  375. }else{
  376. require_once ('includes/modal_badgestore.php');
  377. }
  378. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top