Aller au contenu

Dimitriiii

Membre
  • Compteur de contenus

    74
  • Inscription

  • Dernière visite

Information de profil

  • Sexe:
    Femme

Suivez-moi

  • Discord
    Heade#0704

Visiteurs récents du profil

Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.

Le palmarès de Dimitriiii !

Membre avancé

Membre avancé (3/8)

2

Réputation sur la communauté

  1. BobbaHotel est un rétro-serveur ayant ouvert ses portes en 2011. Ce serveur avait à l'époque fait plus de 1000 connectés. Aujourd'hui, Bobba tourne à 100 connectés mais l'équipe principale, autant que secondaire est plus que motivée à remonter la pente. Mais notre objectif primordial est de faire vibrer les joueurs par les événements que propose Cendre, un gérant hors pair qui gère plusieurs postes à la fois. En résumé BobbaHotel c'est une animation complètement folle que vous ne retrouvez nul part ailleurs. Des événements innovants ainsi qu'une sécurité optimale assurée par les modérateurs. Des jeux automatiques et systèmes wireds exceptionnels créés par Dissolve. Des casinos pour des mises sécurisées; et oui, nous avons des bluffeurs. Des développeurs compétents qui sont aptes à nous offrir de nombreuses nouveautés qui ravissent l'ensemble de la communauté ! Rejoins-nous dès maintenant en cliquant sur ce lien : https://www.bobbahotel.eu
  2. J'utilise le habbo-imaging de Symbiosis qui l'a partagé il n'y a pas longtemps sur H-dev Le problème c'est que le badge s'affiche en rond noir. A cause de la version PHP. Aurais-tu un pack qui va avec une version PHP 7.1 ?
  3. Bonjour, j'aimerai savoir par hasard si vous n'aurez pas un habbo-imaging compatible avec la version 7.1 à me donner car je rencontre un bug j'ai testé avec plusieurs habbo-imaging, rien ne fonctionne, merci beaucoup à celui qui prendra le temps de m'aider. -Dimitri
  4. Moi j'ai une erreur au niveau de mes badges (ils se mettent noir) dû à la version PHP 7.1 que j'ai, aurez-tu une page badge.php en version PHP 7.1 qui vont avec ton pack? Merci gros
  5. Dimitriiii

    Problème CMS

    Problème résolu, il suffisait de mettre en première key et de le mettre en auto incrément (sur Navicat)
  6. Dimitriiii

    Problème CMS

    Hmm, avec ce code ça marche pas CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(125) CHARACTER SET latin1 NOT NULL, `password` varchar(255) CHARACTER SET latin1 NOT NULL, `auth_ticket` varchar(60) CHARACTER SET latin1 NOT NULL, `rank` int(11) UNSIGNED NOT NULL DEFAULT '1', `vip_points` int(11) NOT NULL DEFAULT '30', `credits` int(11) NOT NULL DEFAULT '0', `activity_points` int(11) NOT NULL DEFAULT '0', `look` varchar(160) CHARACTER SET latin1 NOT NULL DEFAULT 'sh-290-1222.hr-100-1045.hd-180-1.ch-210-1201.lg-275-97', `gender` enum('M','F') CHARACTER SET latin1 NOT NULL DEFAULT 'M', `motto` varchar(50) CHARACTER SET latin1 NOT NULL DEFAULT '', `mail` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT 'undefined', `account_created` double(50,0) NOT NULL DEFAULT '0', `last_online` int(11) NOT NULL DEFAULT '0', `online` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `ip_last` varchar(120) CHARACTER SET latin1 NOT NULL DEFAULT '', `ip_reg` varchar(120) CHARACTER SET latin1 NOT NULL DEFAULT '', `home_room` int(10) UNSIGNED DEFAULT '674', `newbie_status` int(11) NOT NULL DEFAULT '1', `is_muted` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `mutant_penalty` enum('0','1','2') CHARACTER SET latin1 NOT NULL DEFAULT '0', `mutant_penalty_expire` int(11) NOT NULL DEFAULT '0', `trade_lock` enum('0','1') NOT NULL DEFAULT '0', `trade_lock_expire` int(11) NOT NULL DEFAULT '0', `block_newfriends` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `hide_online` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `hide_inroom` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `vip` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `vip_expire` timestamp NOT NULL DEFAULT '2014-05-13 12:29:36', `birth` varchar(100) CHARACTER SET latin1 NOT NULL DEFAULT '', `last_name_change` int(11) NOT NULL DEFAULT '0', `client_volume` varchar(255) NOT NULL DEFAULT '100,100,100', `nux_passed` enum('0','1') NOT NULL DEFAULT '0', `fundom` varchar(255) NOT NULL DEFAULT '#43AC6A', `facebook_id` varchar(50) DEFAULT NULL, `facebook_mail` varchar(255) DEFAULT NULL, `facebook_name` varchar(255) DEFAULT NULL, `pin` varchar(50) DEFAULT '0000', `client_pin` varchar(255) NOT NULL DEFAULT '1212', `facebook_change` varchar(50) DEFAULT '0', `facebook` enum('0','1') DEFAULT '0', `country_cf` varchar(50) DEFAULT 'US', `refer_count` varchar(50) DEFAULT '0', `radio` varchar(255) NOT NULL DEFAULT 'autoplay', `change_name` int(1) NOT NULL DEFAULT '0', `home_active` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_security` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_badges` enum('0','1') NOT NULL DEFAULT '1', `home_active_rooms` enum('0','1') NOT NULL DEFAULT '1', `home_active_friends` enum('0','1') NOT NULL DEFAULT '1', `home_active_fb` varchar(500) NOT NULL, `home_active_twitter` varchar(500) NOT NULL, `home_active_instagram` varchar(500) NOT NULL, `home_active_redes` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_diamonds` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_duckets` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_gotw` enum('0','1','2') NOT NULL DEFAULT '1', `home_active_color` varchar(500) NOT NULL DEFAULT '#e6c873', `home_active_colorc` varchar(500) NOT NULL DEFAULT '#806f40', `allow_pull` enum('0','1') NOT NULL DEFAULT '0', `country` varchar(255) NOT NULL DEFAULT 'Unknown', `rank_vip` int(1) DEFAULT '3', `volume` varchar(15) NOT NULL DEFAULT '100,100,100', `last_change` int(20) NOT NULL DEFAULT '0', `machine_id` varchar(125) CHARACTER SET latin1 DEFAULT NULL, `focus_preference` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `chat_preference` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `pets_muted` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `bots_muted` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `advertising_report_blocked` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `gotw_points` int(11) DEFAULT '0', `ignore_invites` enum('0','1') CHARACTER SET latin1 DEFAULT '0', `time_muted` double DEFAULT '0', `allow_gifts` enum('0','1') CHARACTER SET latin1 DEFAULT '1', `trading_locked` double DEFAULT '0', `friend_bar_state` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '1', `disable_forced_effects` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0', `allow_mimic` enum('1','0') CHARACTER SET latin1 NOT NULL DEFAULT '1', `cms_signature` text, `forum_color` varchar(6) NOT NULL DEFAULT '666666', `cms_currency` int(99) NOT NULL, `bot_frank` varchar(500) NOT NULL DEFAULT '0', `nux_user` enum('true','false') NOT NULL DEFAULT 'true', `is_nuevo` enum('0','1') NOT NULL DEFAULT '0', `name_color` varchar(666) NOT NULL, `prefix_name` varchar(666) NOT NULL, `prefix_name_color` varchar(699) NOT NULL, `bubble_color` varchar(666) NOT NULL, `bubble_id` int(11) NOT NULL DEFAULT '0', `publi` enum('0','1','2','3') NOT NULL DEFAULT '0', `guia` enum('0','1','2','3','4') NOT NULL DEFAULT '0', `builder` enum('0','1') NOT NULL, `croupier` enum('1','0') NOT NULL DEFAULT '0', `user_points` int(99) NOT NULL DEFAULT '0', `pumpkins` int(11) NOT NULL DEFAULT '0', `talent_status` enum('citizenship','helper') NOT NULL DEFAULT 'citizenship', `staff_ocult` enum('0','1') NOT NULL DEFAULT '0', `work` text NOT NULL, `targeted_buy` int(11) NOT NULL DEFAULT '0', `frank_gift_count` int(11) NOT NULL DEFAULT '0', `bonus_points` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=119 ;
  7. Dimitriiii

    Problème CMS

    Bonjour, j'ai un problème, je m'explique, quand je crée un joueur, l'id se met automatiquement à 0, comment faire pour que les ID se suivent ? Merci à ceux qui m'aideront!
  8. Dimitriiii

    Problème CMS

    Tu pourrais test et me dire si ça fonctionne pr toi ?
  9. Dimitriiii

    Problème CMS

    En tout cas merci de me répondre aussi rapidement c'est gentil
  10. Dimitriiii

    Problème CMS

    Perso, je pencherais plus sur une erreur tout court, puis même je dois supprimer aussi jetons pour que register fonctionne car je ne l'ai pas dans ma db puis c'est déjà fais tout ça
  11. Dimitriiii

    Problème CMS

    Voici le code de l'index <?php $page = "home"; require_once('global.php'); if(isset($_SESSION['id'])) { die(header('Location: '.lien.'/profil/')); } else { // ESPACE CONNEXION \\ if(isset($_POST['sub1'])) { if(!empty($_POST['pseudo1']) AND !empty($_POST['password'])) { $pseudo1 = htmlspecialchars($_POST['pseudo1']); $R3 = $bdd->prepare('SELECT * FROM users WHERE username = ?'); $R3->execute(array($pseudo1)); if($R3->rowCount() == 1) { $DR3 = $R3->fetch(PDO::FETCH_OBJ); if(password_verify($_POST['password'], $DR3->password)) { if($DR1->maintenance == 1) { if($DR3->rank >= 7) { $_SESSION['id'] = intval($DR3->id); $R4 = $bdd->prepare('UPDATE users SET last_online = ? WHERE id = ?'); $R4->execute(array(time(), $_SESSION['id'])); die(header('Location: '.lien.'/profil/')); } else { $resultat = "Une maintenance est en cours, impossible de se connecter."; } } else { $_SESSION['id'] = intval($DR3->id); $R4 = $bdd->prepare('UPDATE users SET last_online = ? WHERE id = ?'); $R4->execute(array(time(), $_SESSION['id'])); die(header('Location: '.lien.'/profil/')); } } else { $resultat = "Ton mot de passe est incorrect."; } } else { $resultat = "Ce pseudo n'existe pas."; } } else { $resultat = "Merci de remplir tous les champs."; } } // ESPACE INSCRIPTION \\ if(isset($_POST['sub2'])) { if($DR1->maintenance == 0) { if(!empty($_POST['pseudo2']) AND !empty($_POST['mail2']) AND !empty($_POST['password1']) AND !empty($_POST['password2']) AND !empty($_POST['captcha']) AND !empty($_POST['captcha_code'])) { $pseudo2 = htmlspecialchars($_POST['pseudo2']); $mail2 = htmlspecialchars($_POST['mail2']); $password1 = password_hash($_POST['password1'], PASSWORD_BCRYPT); $captcha = htmlspecialchars($_POST['captcha']); $R5 = $bdd->prepare('SELECT * FROM users WHERE username = ?'); $R5->execute(array($pseudo2)); if($R5->rowCount() == 0) { if(ctype_alnum($_POST['pseudo2'])) { if(strlen($_POST['pseudo2']) >= 2 AND strlen($_POST['pseudo2']) <= 15) { $R6 = $bdd->prepare('SELECT * FROM users WHERE mail = ?'); $R6->execute(array($mail2)); if($R6->rowCount() == 0) { if(filter_var($_POST['mail2'], FILTER_VALIDATE_EMAIL)) { if(strlen($_POST['mail2']) >= 5) { if($_POST['password1'] == $_POST['password2']) { if(strlen($_POST['password1']) >= 12 AND strlen($_POST['password2']) >= 12) { if(strlen($_POST['captcha']) == 8 AND strlen($_POST['captcha_code']) == 8) { if($_POST['captcha'] == $_POST['captcha_code']) { $R7 = $bdd->prepare('INSERT INTO users (username, password, mail, rank, look, account_created, last_online, ip_reg) VALUES (?, ?, ?, ?, ?, ?, ?, ?)'); $R7->execute(array($pseudo2, $password1, $mail2, "1", "hr-100-61.hd-180-2.sh-290-91.ch-210-66.lg-270-82", time(), time(), $_SERVER['REMOTE_ADDR'], "0")); $R8 = $bdd->query('SELECT * FROM users ORDER BY id DESC LIMIT 0,1')->fetch(PDO::FETCH_OBJ); $_SESSION['id'] = intval($R8->id); die(header('Location: '.lien.'/profil/')); } else { $resultat = "Le captcha est incorrect."; } } else { $resultat = "Le captcha doit faire 8 caractères maximum."; } } else { $resultat = "Ton mot de passe doit faire 12 caractères."; } } else { $resultat = "Les mots de passe ne correspondent pas."; } } else { $resultat = "Ton adresse e-mail doit faire plus de 5 caractères."; } } else { $resultat = "Ton adresse e-mail contient des caractères non-autorisées."; } } else { $resultat = "Cette adresse e-mail est déjà utilisée."; } } else { $resultat = "Ton pseudo doit faire entre 2 et 15 caractères."; } } else { $resultat = "Ton pseudo contient des caractères non-autorisés."; } } else { $resultat = "Ce pseudo est déjà utilisé."; } } else { $resultat = "Merci de remplir tous les champs."; } } else { $resultat = "Une maintenance est en cours, les inscriptions sont suspendu."; } } } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title><?= nom ?>: Un endroit fun à portée de clic !</title> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css"> <link rel="stylesheet" type="text/css" href="<?= lien ?>/assets/css/theme.css"> <link rel="shortcut icon" href="<?= lien ?>/assets/img/favicon.png"> <meta property="og:site_name" content="HabboWorld"/> <meta property="og:url" content="<?= lien ?>"/> <meta property="og:image" content="<?= lien ?>/assets/img/img.png"/> <meta property="og:locale" content="fr_FR"/> </head> <body> <noscript> <div style="height: 40px;width: 100%;background: #d01f1f;line-height: 40px;text-align: center;color: white;box-shadow: 0px 0px 2px rgba(0,0,0,0.43);font-size: 15px;"> Merci d'activer Javascript pour accéder à toutes nos fonctionnalités. </div> </noscript> <?php if($DR1->maintenance == 1) { ?> <div style="height: 40px;width: 100%;background: #d01f1f;line-height: 40px;text-align: center;color: white;box-shadow: 0px 0px 2px rgba(0,0,0,0.43);font-size: 15px;">Une maintenance est en cours, seule l'équipe du site peut se connecter.</div> <?php } ?> <?php if(isset($resultat)) { ?> <div style="height: 40px;width: 100%;background: #d01f1f;line-height: 40px;text-align: center;color: white;box-shadow: 0px 0px 2px rgba(0,0,0,0.43);font-size: 15px;"><?= $resultat ?></div> <?php } ?> <?php if(isset($_SESSION['logout']) AND $_SESSION['logout'] == 1) { ?> <div style="height: 40px;width: 100%;background: #6c9c14;line-height: 40px;text-align: center;color: white;box-shadow: 0px 0px 2px rgba(0,0,0,0.43);font-size: 15px;">Tu as bien été déconnecté, à bientôt !</div> <?php unset($_SESSION['logout']) ?> <?php } ?> <style type="text/css"> .content { width: 835px; } .btn { width: 45px;float: right;height: 45px;border: 2px solid #6B84CD;background: #3A589B;cursor: pointer;border-radius: 100%;line-height: 0px;text-align: center;color: #fff;text-shadow: 0 1px 2px rgba(0,0,0,0.2);margin-top: 5px; } .btn.fb:before { font: normal normal normal 14px/1 'Material-Design-Iconic-Font';font-size: 30px;content: '\f343';position: relative;top: 8px;left: 0;right: 0;text-align: center; } </style> <div style="background: #bce0ee url(<?= lien ?>/assets/img/header.png) no-repeat top center;width: 100%;height: 175px;padding-top: 25px;color: #fff;margin-bottom: 5px;"> <center> <img src="<?= lien ?>/assets/img/logo.gif"> </center> </div> <div style="background-color: rgba(68, 68, 68, 0.35);margin-top: -65px;margin-bottom: 5px;height: 60px;line-height: 60px;box-shadow: 0 0 10px #949494;"> <div class="content"> <form method="post" style="margin-left: 5px;margin-right: 5px;"> <input type="text" name="pseudo1" style="padding: 11px;border: none;border-radius: 3px;width: 255px;margin-right: 10px;font-size: 16px;box-shadow: 0 3px 0 1px rgba(0, 0, 0, 0.3);" placeholder="Pseudo"> <input type="password" name="password" style="padding: 11px;border: none;border-radius: 3px;width: 255px;margin-right: 10px;font-size: 16px;box-shadow: 0 3px 0 1px rgba(0, 0, 0, 0.3);" placeholder="Mot de passe"> <button type="submit" name="sub1" style="text-shadow: 0 1px 2px rgba(0,0,0,0.2);padding: 11px;border: none;border-radius: 3px;width: 185px;margin-right: 10px;font-size: 15px;background: #6c9c14;cursor: pointer;color: white;box-shadow: 0 3px 0 1px rgba(0, 0, 0, 0.3);">SE CONNECTER</button> <a href="<?= htmlspecialchars($DR1->facebook_site) ?>"><div class="btn fb"></div></a> </form> </div> </div> <div class="content"> <div class="pare" style="width: 455px;"> <div class="title">INSCRIS-TOI GRATUITEMENT</div> <form method="post"> <input type="text" name="pseudo2" placeholder="Entre ton pseudo" style="width: calc(100% - 40px);margin-left: 10px;margin-top: 5px;margin-bottom: 5px;height: 34px;padding: 3px 10px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;"> <input type="mail" name="mail2" placeholder="Entre ton adresse mail" style="width: calc(100% - 40px);margin-left: 10px;margin-top: 5px;margin-bottom: 5px;height: 34px;padding: 3px 10px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;"> <input type="password" name="password1" placeholder="Entre ton mot de passe" style="width: calc(100% - 40px);margin-left: 10px;margin-top: 5px;margin-bottom: 5px;height: 34px;padding: 3px 10px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;"> <input type="password" name="password2" placeholder="Retape ton mot de passe" style="width: calc(100% - 40px);margin-left: 10px;margin-top: 5px;margin-bottom: 5px;height: 34px;padding: 3px 10px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;"> <?php require_once('app/PHP/fonctions.php'); $captcha = random(8); ?> <label style="margin-left: 12px;">Captcha : <b><?= $captcha ?></b></label> <input type="text" name="captcha" placeholder="Recopie le captcha ci-dessus." style="width: calc(100% - 40px);margin-left: 10px;margin-top: 5px;margin-bottom: 5px;height: 34px;padding: 3px 10px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;"> <input type="hidden" name="captcha_code" value="<?= $captcha ?>"> <button type="submit" name="sub2" style="text-shadow: 0 1px 2px rgba(0,0,0,0.2);width: calc(100% - 18px);margin-top: 5px;padding: 13px;border: none;border-radius: 3px;margin-left: 10px;font-size: 14px;background: #6c9c14;cursor: pointer;color: white;">CONFIRMER L'INSCRIPTION</button> </form> </div> <div class="pare" style="width: 320px;"> <div class="title">LES 4 DERNIÈRES NEWS</div> <div style="margin-left: 10px;margin-right: 10px;margin-top: 10px;"> <?php if($R9->rowCount() == 0) { echo '<div style="text-align:center;"><b>Il n\'y a pas de récente news pour l\'instant.</b></div>'; } else { while($DR9 = $R9->fetch(PDO::FETCH_OBJ)) { ?> <a href="<?= lien ?>/articles/<?= intval($DR9->id) ?>" style="text-decoration: none;color: #555"> <div style="float: left;width: 55px;height: 55px;background: url('<?= htmlspecialchars($DR9->image) ?>');background-position: 10% 10%;"></div> <div style="float: left;margin-left: 10px;margin-top: 5px;word-wrap: break-word;height: 50px;overflow: hidden;width: 230px;"> <?= htmlspecialchars($DR9->titre) ?><br/><small><?= htmlspecialchars($DR9->description) ?></small> </div> </a> <br clear="both"> <div style="height: 1px;background: #dedede;margin-top: 9.5px;margin-bottom: 9.5px;"></div> <?php }} ?> </div> </div> <div class="pare" style="width: 805px;"> <div class="title">LES NOUVEAUX INSCRITS</div> <?php if($R10->rowCount() == 0) { echo '<div style="text-align:center;"><b>Il n\'y a pas de nouveau inscrit pour l\'instant.</b></div>'; } else { while($DR10 = $R10->fetch(PDO::FETCH_OBJ)) { ?> <div class="hint--top" aria-label="<?= htmlspecialchars($DR10->username) ?>" style="float:left;padding: 10px;border-radius: 3px;background: url('<?= lien ?>/assets/img/topbg.png');height: 90px;width: 90px;margin-right: 12.1px;margin-left: 10px;border: 1px solid #ccc;margin-top: 10px;"> <div style="background: url('<?= avatar ?><?= htmlspecialchars($DR10->look) ?>&size=l&gesture=sml&head_direction=3&direction=3');-webkit-filter: drop-shadow(2px 0 0 #ffffff) drop-shadow(-2px 0 0 #ffffff) drop-shadow(0 -2px 0 #ffffff);width: 100px;margin-left: -20px;margin-top: -45px;height: 145px"></div> </div> <?php }} ?> </div> <?php require_once('app/foot.php'); ?> </div> </body> </html>
  12. Dimitriiii

    Problème CMS

    A chaque connexion, j'ai une erreur avec le password_verify, ce n'est pas la version car je l'ai monté, marche toujours pas
  13. Dimitriiii

    Problème CMS

    Une erreur est réglé me reste plus que la vérification lors de la connexion, ah bon ça vient de la version ?
×
×
  • Créer...