Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.87 KB | None | 0 0
  1. <?php
  2. header("Content-Type: text/html; charset=ISO-8859-1",true);
  3.  
  4. require_once('./data_classes/server-data.php_data_classes-core.php.php');
  5.  
  6. $userrecomendacaoSQL1 = mysql_query("SELECT * FROM cms_comment WHERE type = 'recomendacao' AND ativo='1'");
  7.  
  8. $userrecomendacao1 = mysql_fetch_array($userrecomendacaoSQL1);
  9.  
  10. $userrecomendacaoSQL = mysql_query("SELECT * FROM users WHERE id = '" . $userrecomendacao1['nome'] . "'");
  11.  
  12. $userrecomendacao = mysql_fetch_array($userrecomendacaoSQL);
  13.  
  14. $resposta = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6LcL_hMUAAAAAOEwTaRuoHS8YYKT8iV9wBZ_eeDU=".$captcha_data."&remoteip=".$_SERVER['REMOTE_ADDR']);
  15.  
  16. if($maintenance2 == '1' && $useradmin['rank'] < 5){
  17.  
  18. header("Location: manutencao");
  19.  
  20. }
  21.  
  22. if (isset($_SESSION['username'])) {
  23.  
  24. header("location: $path/principal");
  25.  
  26. }
  27.  
  28. if (isset($_POST['g-recaptcha-response'])) {
  29.  
  30. $captcha_data = $_POST['g-recaptcha-response'];
  31.  
  32. }
  33.  
  34. $ip_check2 = mysql_query("SELECT ip_reg,username,id FROM users WHERE ip_reg = '".$remote_ip."'");
  35.  
  36. $ip_check = mysql_fetch_array($ip_check2);
  37.  
  38. $ip_checkNUM = mysql_num_rows($ip_check2);
  39.  
  40. // USERNAME
  41.  
  42. if(empty($_POST['registrationBean_username']))
  43.  
  44. {
  45.  
  46.  
  47.  
  48. }
  49.  
  50. else if($ip_checkNUM > 4454556){
  51.  
  52. $registrationErrors = "Só é permitido 4 contas em seu computador!";
  53.  
  54. }
  55.  
  56. else if(mysql_num_rows(mysql_query("SELECT id FROM users WHERE username = '".HoloText($_POST['registrationBean_username'])."' LIMIT 1")) == 1)
  57.  
  58. {
  59.  
  60.  
  61.  
  62. $registrationErrors = "Este nome já é utilizado por outro usuário.";
  63.  
  64.  
  65.  
  66.  
  67.  
  68. }else if(empty($_POST['registrationBean_email']))
  69.  
  70. {
  71.  
  72.  
  73.  
  74. $registrationErrors = "Digite o seu endereço de e-mail.";
  75.  
  76. }
  77.  
  78. else if(!preg_match("/^[A-Z0-9._-]{2,}+@[A-Z0-9._-]{2,}\.[A-Z0-9._-]{2,}$/i", $_POST['registrationBean_email']))
  79.  
  80. {
  81.  
  82.  
  83.  
  84. $registrationErrors = "Por favor, insira um endereço de e-mail válido.";
  85.  
  86. }else if(empty($_POST['registrationBean_password']))
  87.  
  88. {
  89.  
  90.  
  91.  
  92. $registrationErrors = "Digite a sua senha.";
  93.  
  94. }
  95.  
  96. else if(strlen($_POST['registrationBean_password']) < 6)
  97.  
  98. {
  99.  
  100.  
  101.  
  102. $registrationErrors = "A sua senha deve ter pelo menos 6 caracteres";
  103.  
  104. }
  105.  
  106.  
  107.  
  108. else if($_POST['registrationBean_password'] != $_POST['registrationBean_password2'])
  109.  
  110. {
  111.  
  112.  
  113.  
  114. $registrationErrors = "As senhas não coincidem.";
  115.  
  116. }else if(empty($_POST['registrationBean_password2']))
  117.  
  118. {
  119.  
  120.  
  121.  
  122. $registrationErrors = "Por favor, reescreva a senha.";
  123.  
  124. }
  125.  
  126. else if(strlen($_POST['registrationBean_password2']) < 6)
  127.  
  128. {
  129.  
  130.  
  131.  
  132. $registrationErrors = "A sua senha deve ter pelo menos 6 caracteres";
  133.  
  134. }
  135.  
  136.  
  137.  
  138. else if($_POST['registrationBean_password2'] != $_POST['registrationBean_password'])
  139.  
  140. {
  141.  
  142.  
  143.  
  144. $registrationErrors = "As senhas não coincidem.";
  145.  
  146.  
  147.  
  148. } else if($_POST['quarto'] == ""){
  149.  
  150. $registrationErrors = "Por favor, escolha um quarto.";
  151.  
  152. }else{
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. $username = HoloText($_POST['registrationBean_username']);
  161.  
  162. $email = HoloText($_POST['registrationBean_email']);
  163.  
  164. $password = HoloText($_POST['registrationBean_password']);
  165.  
  166. $password2 = HoloText($_POST['registrationBean_password2']);
  167.  
  168. $nlook = HoloText($_POST['look']);
  169.  
  170.  
  171.  
  172. mysql_query("INSERT INTO users (online,vip_points,vip,username,password,mail,LalaConf,auth_ticket,rank,look,gender,motto,last_online,account_created,ip_last,ip_reg)
  173.  
  174. VALUES ('0','0','0','".$username."',MD5(SHA1(MD5('".$password."'))),'".$email."','1','','1','sh-290-1222.hr-100-1045.hd-180-1.ch-210-1201.lg-275-97','M','I <3 HRetro','".time()."','".time()."','".$remote_ip."','".$remote_ip."')") or die(mysql_error());
  175.  
  176.  
  177.  
  178. $postsaasdSQL= mysql_query("SELECT * FROM users WHERE username='" . $username . "'");
  179.  
  180. $postsaasd = mysql_fetch_array($postsaasdSQL);
  181.  
  182.  
  183.  
  184. if($_POST['quarto'] == "masculino"){
  185.  
  186.  
  187.  
  188. mysql_query("INSRT INTO roms (roomtype, caption, owner, description, category, state, users_now, users_max, model_name, score, tags, password, wallpaper, floor, landscape, allow_pets, allow_pets_eat, room_blocking_disabled, allow_hidewall, wallthick, floorthick, group_id, mute_settings, ban_settings, kick_settings, chat_mode, chat_size, chat_speed, chat_extra_flood, chat_hearing_distance, trade_settings, beijar_enabled, matar_enabled, bater_enabled, sexo_enabled, roubar_enabled, fumar_enabled, push_enabled, pull_enabled, enables_enabled, respect_notifications_enabled, pet_morphs_allowed, spull_enabled, spush_enabled) VALUES
  189.  
  190. ('private', 'Quarto do " . $postsaasd['username'] . "', '" . $postsaasd['id'] . "', '', 29, 'open', 0, 10, 'model_h', 0, '', '', '215', '110', '0.0', '0', '0', '0', '0', 0, 0, 0, '0', '1', '1', 0, 0, 0, 0, 0, 0, '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1')");
  191.  
  192.  
  193.  
  194. $quartoSQL= mysql_query("SELECT * FROM rooms WHERE owner='" . $postsaasd['id'] . "'");
  195.  
  196. $quarto = mysql_fetch_array($quartoSQL);
  197.  
  198. mysql_query("UPDATE users SET home_room = '" . $quarto['id'] . "' WHERE id='" . $postsaasd['id'] . "'");
  199.  
  200.  
  201.  
  202. mysql_query("INSERT INTO items (user_id, room_id, base_item, extra_data, x, y, z, rot, wall_pos, limited_number, limited_stack) VALUES
  203.  
  204. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 1704, '', 0, 0, 0, 0, ':w=9,1 l=29,62 r', 0, 0),
  205.  
  206. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 17, '', 5, 4, 1, 0, '', 0, 0),
  207.  
  208. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99957, '', 3, 12, 0, 2, '', 0, 0),
  209.  
  210. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99972, '1', 0, 0, 0, 0, ':w=5,1 l=16,24 r', 0, 0),
  211.  
  212. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99983, '2', 0, 0, 0, 0, ':w=4,6 l=25,43 l', 0, 0),
  213.  
  214. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99979, '', 0, 0, 0, 0, ':w=7,1 l=21,74 r', 0, 0),
  215.  
  216. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99968, '1', 3, 9, 0, 0, '', 0, 0),
  217.  
  218. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99958, '', 9, 11, 0, 0, '', 0, 0),
  219.  
  220. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99955, '', 5, 6, 1, 2, '', 0, 0),
  221.  
  222. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99948, '1', 8, 2, 1, 0, '', 0, 0),
  223.  
  224. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99978, '1', 0, 0, 0, 0, ':w=2,11 l=25,71 l', 0, 0),
  225.  
  226. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99959, '', 9, 10, 0, 4, '', 0, 0),
  227.  
  228. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99959, '', 10, 10, 0, 4, '', 0, 0),
  229.  
  230. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99959, '', 8, 11, 0, 2, '', 0, 0),
  231.  
  232. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99959, '', 8, 12, 0, 2, '', 0, 0),
  233.  
  234. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99945, '', 3, 10, 0, 2, '', 0, 0),
  235.  
  236. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99955, '', 5, 5, 1, 2, '', 0, 0),
  237.  
  238. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 900396, '', 9, 11, 0.7, 0, '', 0, 0),
  239.  
  240. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 900396, '', 9, 12, 0.7, 0, '', 0, 0);");
  241.  
  242.  
  243.  
  244.  
  245.  
  246. }else{
  247.  
  248.  
  249.  
  250. mysql_query("INRT INTO roms (roomtype, caption, owner, description, category, state, users_now, users_max, model_name, score, tags, password, wallpaper, floor, landscape, allow_pets, allow_pets_eat, room_blocking_disabled, allow_hidewall, wallthick, floorthick, group_id, mute_settings, ban_settings, kick_settings, chat_mode, chat_size, chat_speed, chat_extra_flood, chat_hearing_distance, trade_settings, beijar_enabled, matar_enabled, bater_enabled, sexo_enabled, roubar_enabled, fumar_enabled, push_enabled, pull_enabled, enables_enabled, respect_notifications_enabled, pet_morphs_allowed, spull_enabled, spush_enabled) VALUES
  251.  
  252. ('private', 'Quarto da " . $postsaasd['username'] . "', '" . $postsaasd['id'] . "', '', 36, 'open', 0, 10, 'model_h', 0, '', '', '608', '110', '0.0', '0', '0', '0', '0', 0, 0, 0, '0', '1', '1', 0, 0, 0, 0, 0, 0, '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1');");
  253.  
  254.  
  255.  
  256. $quartoSQL= mysql_query("SELECT * FROM rooms WHERE owner='" . $postsaasd['id'] . "'");
  257.  
  258. $quarto = mysql_fetch_array($quartoSQL);
  259.  
  260.  
  261.  
  262. mysql_query("UPDATE users SET home_room = '" . $quarto['id'] . "' WHERE id='" . $postsaasd['id'] . "'");
  263.  
  264.  
  265.  
  266. mysql_query("INSERT INTO items (user_id, room_id, base_item, extra_data, x, y, z, rot, wall_pos, limited_number, limited_stack) VALUES
  267.  
  268. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 17, '', 5, 4, 1, 0, '', 0, 0),
  269.  
  270. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99967, '', 3, 12, 0, 2, '', 0, 0),
  271.  
  272. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99963, '1', 3, 10, 0, 2, '', 0, 0),
  273.  
  274. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99973, '1', 0, 0, 0, 0, ':w=2,11 l=19,59 l', 0, 0),
  275.  
  276. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99974, '1', 0, 0, 0, 0, ':w=5,1 l=17,28 r', 0, 0),
  277.  
  278. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99977, '', 0, 0, 0, 0, ':w=7,1 l=13,57 r', 0, 0),
  279.  
  280. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99960, '', 5, 5, 1, 2, '', 0, 0),
  281.  
  282. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99960, '', 5, 6, 1, 2, '', 0, 0),
  283.  
  284. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99947, '1', 3, 9, 0, 0, '', 0, 0),
  285.  
  286. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99952, '1', 8, 2, 1, 0, '', 0, 0),
  287.  
  288. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99971, '', 10, 10, 0, 4, '', 0, 0),
  289.  
  290. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99971, '', 9, 10, 0, 4, '', 0, 0),
  291.  
  292. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99971, '', 8, 11, 0, 2, '', 0, 0),
  293.  
  294. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99971, '', 8, 12, 0, 2, '', 0, 0),
  295.  
  296. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99981, '2', 0, 0, 0, 0, ':w=4,6 l=16,50 l', 0, 0),
  297.  
  298. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 99953, '0', 9, 11, 0, 0, '', 0, 0),
  299.  
  300. ('" . $postsaasd['id'] . "', '" . $quarto['id'] . "', 1704, '', 0, 0, 0, 0, ':w=9,1 l=30,62 r', 0, 0);
  301.  
  302. ");
  303.  
  304.  
  305.  
  306. }
  307.  
  308.  
  309.  
  310.  
  311.  
  312. if(isset($_SESSION['referido'])){
  313.  
  314. mysql_query("UPDATE users SET referidos=referidos+1 WHERE username = '".$_SESSION['userreferido']."';");
  315.  
  316. mysql_query("INSERT INTO users_referidos (id, usuario, ip_referida, fecha) VALUES (null, '".$_SESSION['userreferido']."', '".$remote_ip."', '" . TIME() . "');");
  317.  
  318. $userreferido1sql= mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['userreferido'] . "'");
  319.  
  320. $userreferido1 = mysql_fetch_array($userreferido1sql);
  321.  
  322.  
  323.  
  324.  
  325.  
  326. mysql_query("INSERT INTO notificacao (criador,recebedor,url,data,texto) VALUES ('" . $postsaasd['id'] . "','" . $userreferido1['id'] . "','#','" . time() . "','Entrou com seu link de referidos')");
  327.  
  328. @session_start();
  329.  
  330. session_destroy();
  331.  
  332. }
  333.  
  334.  
  335.  
  336. $userdata2 = mysql_query("SELECT * FROM users WHERE username = '".$username."'");
  337.  
  338. $userdata = mysql_fetch_assoc($userdata2);
  339.  
  340. mysql_query("INSERT INTO `user_info` (user_id,reg_timestamp) VALUES ('".$userdata['id']."','".time()."')");
  341.  
  342. mysql_query("INSERT INTO `user_stats` (id,DailyRespectPoints,DailyPetRespectPoints) VALUES ('".$userdata['id']."','3','3')");
  343.  
  344.  
  345.  
  346. $_SESSION['confirmacao'] = "AGUARDANDO";
  347.  
  348.  
  349.  
  350. header("location: $path/index");
  351.  
  352. }
  353.  
  354. include_once('Pagina/Head.php');
  355.  
  356. ?>
  357.  
  358. <html ng-app="app" lang="en-us">
  359.  
  360. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  361. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  362.  
  363. <head>
  364.  
  365.  
  366.  
  367. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  368. <meta name="description" content="Habbz agora com função de beijar na boca, Efeito tirar roupa, Raros Limitados, Eventos diariamente e promoções, 99999 Créditos e Topázios."/>
  369.  
  370. <meta name="keywords" content="habbo hotel, hotel, Habbzhotel, Habbz, habblet, jogos online, habbo"/>
  371.  
  372. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
  373.  
  374. <link rel="shortcut icon" href="/favicon.ico">
  375.  
  376. <title><?php echo $Hotelname; ?> ~ O melhor dos melhores</title>
  377.  
  378. <!-- CSS DA CMS -->
  379.  
  380. <link rel="stylesheet" href="Lala/Lalacss/index.css?t=1500919943"/>
  381.  
  382. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  383.  
  384. <link rel="stylesheet" href="/Externos/css/me/index.css" type="text/css"/>
  385.  
  386. <link href="/Externos/css/bootstrap.css" rel="stylesheet" type="text/css" />
  387.  
  388. <link href="/Externos/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  389.  
  390. <link href="/Externos/css/me/bootstrap.min.css" rel="stylesheet" type="text/css"/>
  391.  
  392. <link href="/Externos/css/me/bootstrap.theme.min.css?14" rel="stylesheet" type="text/css"/>
  393.  
  394. <link href="/Externos/css/me/bootstrap-notifications.min.css" rel="stylesheet" type="text/css"/>
  395.  
  396. <link href="/Externos/css/me/font-awesome.min.css" rel="stylesheet" type="text/css"/>
  397.  
  398. <!-- JS DA CMS -->
  399.  
  400. <script type="text/javascript" src="//code.jquery.com/jquery-2.1.3.min.js"></script>
  401.  
  402. <script type="text/javascript" src="Lala/Lalajs/global.js"></script>
  403.  
  404. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
  405.  
  406. <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  407.  
  408. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/script"></script>
  409.  
  410. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js" type="text/script"></script>
  411.  
  412. <?php require_once('Thiago/licencia.php'); ?>
  413.  
  414. <style type="text/css">
  415.  
  416. body {
  417.  
  418. padding:0;
  419.  
  420. margin:0px;
  421.  
  422. background: url(/Externos/img/bg-site.png);
  423.  
  424. }
  425.  
  426.  
  427.  
  428. .container {
  429.  
  430. max-width: 1024px;
  431.  
  432. }
  433.  
  434.  
  435.  
  436. .titleNews {
  437.  
  438. margin-top:10px;
  439.  
  440. margin-left:10px;
  441.  
  442. color: #fff;
  443.  
  444. text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
  445.  
  446. }
  447.  
  448.  
  449.  
  450. .panel {
  451.  
  452. margin-top:0px;
  453.  
  454. margin-bottom:15px;
  455.  
  456. }
  457.  
  458.  
  459.  
  460.  
  461.  
  462. .onlineUsersNumber {
  463.  
  464. font-size:22px;
  465.  
  466. font-weight:bold;
  467.  
  468. color:#474747;
  469.  
  470. font-family:sans-serif;
  471.  
  472.  
  473.  
  474. -webkit-animation: change-color 4s linear 0s infinite normal ;
  475.  
  476. animation: change-color 4s linear 0s infinite normal ;
  477.  
  478. }
  479.  
  480.  
  481.  
  482.  
  483.  
  484. @-webkit-keyframes change-color {
  485.  
  486. 0%{
  487.  
  488. color:#474747;
  489.  
  490. }
  491.  
  492. 52%{
  493.  
  494. color:#d6d6d6;
  495.  
  496. }
  497.  
  498. 100%{
  499.  
  500. color:#474747;
  501.  
  502. }
  503.  
  504. }
  505.  
  506.  
  507.  
  508. @keyframes change-color {
  509.  
  510. 0%{
  511.  
  512. color:#474747;
  513.  
  514. }
  515.  
  516. 52%{
  517.  
  518. color:#d6d6d6;
  519.  
  520. }
  521.  
  522. 100%{
  523.  
  524. color:#474747;
  525.  
  526. }
  527.  
  528. }
  529.  
  530.  
  531.  
  532. .panel {
  533.  
  534. margin:3px;
  535.  
  536. margin-bottom:10px;
  537.  
  538. border-left:0px;
  539.  
  540. border-right:0px;
  541.  
  542. }
  543.  
  544.  
  545.  
  546. .my-column {
  547.  
  548. padding: 0px;
  549.  
  550. }
  551.  
  552. .my-column:first-child {
  553.  
  554. padding-left:0px;
  555.  
  556. }
  557.  
  558. .my-column:last-child {
  559.  
  560. padding-right:0px;
  561.  
  562. }
  563.  
  564.  
  565.  
  566.  
  567.  
  568. </style>
  569.  
  570. <style>
  571.  
  572. @-webkit-keyframes header_color {
  573.  
  574. 0% { background-color: #a94c4c; }
  575.  
  576. 12% { background-color: #a97e4c; }
  577.  
  578. 24% { background-color: #a9a84c; }
  579.  
  580. 36% { background-color: #69a94c; }
  581.  
  582. 48% { background-color: #4ca978; }
  583.  
  584. 60% { background-color: #4ca2a9; }
  585.  
  586. 72% { background-color: #4c5ea9; }
  587.  
  588. 84% { background-color: #764ca9; }
  589.  
  590. 96% { background-color: #a94c93; }
  591.  
  592. 100% { background-color: #a94c4c; }
  593.  
  594. }
  595.  
  596. @keyframes header_color {
  597.  
  598. 0% { background-color: #a94c4c; }
  599.  
  600. 12% { background-color: #a97e4c; }
  601.  
  602. 24% { background-color: #a9a84c; }
  603.  
  604. 36% { background-color: #69a94c; }
  605.  
  606. 48% { background-color: #4ca978; }
  607.  
  608. 60% { background-color: #4ca2a9; }
  609.  
  610. 72% { background-color: #4c5ea9; }
  611.  
  612. 84% { background-color: #764ca9; }
  613.  
  614. 96% { background-color: #a94c93; }
  615.  
  616. 100% { background-color: #a94c4c; }
  617.  
  618. }
  619.  
  620.  
  621.  
  622. /* Ocultar botón radio */
  623.  
  624. input[id^="spoiler"] {
  625.  
  626. display: none;
  627.  
  628. }
  629.  
  630. /* Estilo botón clicable */
  631.  
  632. input[id^="spoiler"] + label {
  633.  
  634. display: block;
  635.  
  636. width: 200px;
  637.  
  638. margin: 0 auto;
  639.  
  640. padding: 5px 20px;
  641.  
  642. background: #e1a;
  643.  
  644. cursor: pointer;
  645.  
  646. }
  647.  
  648. /* Estilo botón cuando su INPUT está seleccionado */
  649.  
  650. input[id^="spoiler"]:checked + label {
  651.  
  652. color: #333;
  653.  
  654. background: #ccc;
  655.  
  656. }
  657.  
  658. /* Estilo caja SPOILER (inicialmente oculto) */
  659.  
  660. input[id^="spoiler"] ~ .spoiler {
  661.  
  662. width: 90%;
  663.  
  664. height: 0;
  665.  
  666. overflow: hidden;
  667.  
  668. opacity: 0;
  669.  
  670. margin: 10px auto 0;
  671.  
  672. }
  673.  
  674. /* Estilo caja SPOILER cuando su INPUT está seleccionado */
  675.  
  676. input[id^="spoiler"]:checked + label + .spoiler {
  677.  
  678. height: auto;
  679.  
  680. opacity: 1;
  681.  
  682. }
  683.  
  684. </style>
  685.  
  686. </head>
  687.  
  688.  
  689. <nav class="navbar navbar-default navbar-static-top">
  690.  
  691. <div class="container">
  692.  
  693. <div class="navbar-header">
  694.  
  695. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  696.  
  697. <span class="icon-bar"></span>
  698.  
  699. <span class="icon-bar"></span>
  700.  
  701. <span class="icon-bar"></span>
  702.  
  703. </button>
  704.  
  705. </div>
  706.  
  707. <div id="navbar" class="navbar-collapse collapse">
  708.  
  709. <ul class="nav navbar-nav">
  710.  
  711. <li><a href="/index"><span class="glyphicon glyphicon-home"></span> &nbsp;Página Inicial</a></li>
  712.  
  713. <li><a href="/register"><span class="glyphicon glyphicon-home"></span> &nbsp;Registro</a></li>
  714.  
  715. </ul>
  716.  
  717. <ul class="nav navbar-nav navbar-right">
  718.  
  719. <li></li>
  720.  
  721. </ul>
  722.  
  723. </div>
  724.  
  725. </div>
  726.  
  727. </nav>
  728. <center><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  729. <!-- HRETRO -->
  730. <ins class="adsbygoogle"
  731. style="display:inline-block;width:987px;height:90px"
  732. data-ad-client="ca-pub-8810210474888156"
  733. data-ad-slot="3343808289"></ins>
  734. <script>
  735. (adsbygoogle = window.adsbygoogle || []).push({});
  736. </script></center>
  737.  
  738. <div class="container">
  739.  
  740. <div class="row">
  741.  
  742. <div class="col-md-4">
  743.  
  744. <div class="panel panel-primary">
  745.  
  746. <div class="panel-heading">Crie uma nova conta<div style="" class="pull-right" id="statusname"></div></div>
  747.  
  748. <div class="panel-body">
  749.  
  750. <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
  751.  
  752. <script type="text/javascript">
  753.  
  754. $(function(){
  755.  
  756. $("input[name='verificar']").on('click', function(){
  757.  
  758. var registrationBean_username = $("input[name='registrationBean_username']").val();
  759.  
  760. $.get('usuario.php?registrationBean_username=' + registrationBean_username,function(data){
  761.  
  762. $('#resultado').html(data);
  763.  
  764. });
  765.  
  766. });
  767.  
  768. });
  769.  
  770. </script>
  771.  
  772. <script type="text/javascript">
  773.  
  774. $(function(){
  775.  
  776. $(document).ready(function(){
  777.  
  778. $("input[name='registrationBean_username']").blur( function(){
  779.  
  780. var registrationBean_username = $( this ).val();
  781.  
  782. $.get('usuario.php?registrationBean_username=' + registrationBean_username,function(data){
  783.  
  784. $('#resultado').html(data);
  785.  
  786. });
  787.  
  788. });
  789.  
  790. });
  791.  
  792. });
  793.  
  794. </script>
  795.  
  796. <form method="post" action="">
  797.  
  798. <div id="error-messages-container"></div>
  799.  
  800. <div id="resultado"></div>
  801.  
  802. <?php
  803.  
  804. if(isset($registrationErrors))
  805.  
  806. echo "<div class='alert alert-danger fade in'>
  807.  
  808. <a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a>
  809.  
  810. <strong>Erro!</strong> $registrationErrors
  811.  
  812. </div>";
  813.  
  814. ?>
  815.  
  816. <div class="form-group form-inline has-feedback" id="name-field-container">
  817.  
  818. <div class="field field-habbo-name">
  819.  
  820. <label for="habbo-name"><b>Nome de Usuario &nbsp;</b></label> <br>
  821.  
  822. <input type="text" onKeypress="if (event.keyCode == 32) event.returnValue = false;" onblur="javascript:function();" class="form-control" id="registrationBean_username" style="width:204px; " size="20" value="" name="registrationBean_username" class="text-field" maxlength="15" required>
  823.  
  824. <input type="button" class="btn btn-primary" name="verificar" id="verificar" value="TENTAR">
  825.  
  826. </div>
  827.  
  828. </div>
  829.  
  830. <div class="form-group">
  831.  
  832. <label for="password"><b>Senha &nbsp;</b></label>
  833.  
  834. <input type="password" class="form-control" id="password" size="35" name="registrationBean_password" value="" class="password-field" maxlength="32" required>
  835.  
  836. </div>
  837.  
  838. <div class="form-group">
  839.  
  840. <label for="password"><b>Confirme a senha &nbsp;</b></label>
  841.  
  842. <input type="password" class="form-control" id="password" size="35" name="registrationBean_password2" value="" class="password-field" maxlength="32" required>
  843.  
  844. </div>
  845.  
  846. <div class="form-group ">
  847.  
  848. <label for="email"><b>E-mail &nbsp;</b></label>
  849.  
  850. <input type="email" id="email" class="form-control" size="35" name="registrationBean_email" value="" class="text-field" maxlength="48" required>
  851.  
  852. <br>
  853.  
  854. </div>
  855.  
  856. <div class="form-group">
  857.  
  858. <input type="submit" value="Registrar" name="register" id="doregister" class="btn btn-success" >
  859.  
  860. <input type="button" value="Cancelar" class="btn btn-danger" onclick="location.href = '/index'" style="float:right;margin-right:12px;">
  861.  
  862. <input type="hidden" id="formulario" size="35" name="formulario" value="registro">
  863.  
  864. </div>
  865.  
  866. </div>
  867.  
  868. </div>
  869.  
  870. </div>
  871.  
  872. <div class="col-md-8">
  873.  
  874. <div class="panel panel-default">
  875.  
  876. <div class="panel-heading">Escolha seu quarto!</div>
  877.  
  878. <div class="panel-body">
  879.  
  880. <div class="panel-body" style="">
  881.  
  882. <center>
  883.  
  884. <h5><b>QUARTO MASCULINO</b></h5>
  885.  
  886. <img width="180" src="_images/quarto-masculino.png"/></br>
  887.  
  888. <input type="radio" name="quarto" value="masculino" checked>
  889.  
  890. <h5><b>QUARTO FEMININO</b></h5>
  891.  
  892. <img width="180" src="_images/quarto-feminino.png"/></br>
  893.  
  894. <input type="radio" name="quarto" value="feminino"></center>
  895.  
  896. </form>
  897.  
  898. </div>
  899.  
  900. </div>
  901.  
  902. </div>
  903.  
  904. </div>
  905.  
  906. </div>
  907.  
  908. </form>
  909. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  910. 2.
  911. alert ("ATENCAO: Voce iniciara com 0 moedas, mas todas as mobilias e items do HRetro Hotel sao totalmente gratuitos, aproveite!")
  912. 3.
  913. </SCRIPT>
  914.  
  915. </body>
  916.  
  917. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement