Partage
  • Partager sur Facebook
  • Partager sur Twitter

Mon formualire d'inscription

mon formulaire d'inscription bug

    30 août 2006 à 22:58:28

    bonjour, voici mon formulaire d'inscription, chaque fois que je remplis tous les champs et que je valide je reviens sur la page d'origine, pourquoi ?


    <?php
    session_start();
                    if (!isset($_SESSION['id']))
                            {
                            if (isset($_POST['pseudo'], $_POST['passe'], $_POST['passe2'], $_POST['nom'], $_POST['prenom'], $_POST['age'], $_POST['loca'], $_POST['mail'], $_POST['descri'], $_FILES['photo']))
                                    {
                                    if (!empty($_POST['pseudo']) && !empty($_POST['passe']) && !empty($_POST['passe2']) && !empty($_POST['nom']) && !empty($_POST['prenom']) && !empty($_POST['age']) && !empty($_POST['loca']) && !empty($_POST['mail']) && !empty($_POST['descri']) && !empty($_FILES['photo']))
                                            {
                                            extract($_POST);
                                            if ($passe == $passe2)
                                                    {
                                                    include("mysql.php");
                                                    $rep = mysql_query("SELECT COUNT(*) As nb_rep FROM membres WHERE pseudo='".$pseudo."'");
                                                    $ar = mysql_fetch_array($rep);
                                                    mysql_close();
                                                    if ( $ar['nb_rep'] == 0 )
                                                            {
                                                            $uploaddir = 'photo/';
                                                            $vrainom = basename($_FILES['photo']['name']);
                                                            $uploadfile = $uploaddir.$vrainom;
                                                            if (move_uploaded_file($_FILES['photo']['tmp_name'], $uploadfile))
                                                            {
                                                            include("mysql.php");
                                                            $pseudo = htmlentities($pseudo);
                                                            $passe = htmlentities($passe);
                                                            $passe = md5($passe);
                                                            $passe2 = htmlentities($passe2);
                                                            $nom = htmlentities($nom);
                                                            $prenom = htmlentities($prenom);
                                                            $age = htmlentities($age);
                                                            $loca = htmlentities($loca);
                                                            $mail = htmlentities($mail);
                                                            $descri = htmlentities($descri);
                                                            $descri =nl2br($descri);
                                                            $prog = htmlentities($prog);
                                                            $logi = htmlentities($logi);
                                                            mysql_query("INSERT INTO membres VALUES('', '$pseudo', '$passe', 'user', '$nom', '$prenom', '$sexe', '$age', '$loca', '$mail', '$descri', '$prog', '$logi', '".time()."', '$vrainom')");
                                                            mysql_close();
                                                           
                                                            $source = imagecreatefromjpeg("photo/".$vrainom.""); // La photo est la source
                                                            $destination = imagecreatetruecolor(150, 100); // On crée la miniature vide

                                                            // Les fonctions imagesx et imagesy renvoient la largeur et la hauteur d'une image
                                                            $largeur_source = imagesx($source);
                                                            $hauteur_source = imagesy($source);
                                                            $largeur_destination = imagesx($destination);
                                                            $hauteur_destination = imagesy($destination);

                                                            // On crée la miniature
                                                            imagecopyresampled($destination, $source, 0, 0, 0, 0, $largeur_destination, $hauteur_destination, $largeur_source, $hauteur_source);

                                                            // On enregistre la miniature sous le nom "mini_couchersoleil.jpg"
                                                            imagejpeg($destination, "mini_".$vrainom."");
                                                            ?>
                                                            <html>
                                                            <head>
                                                            <title>Administration</title>
                                                            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                                                            <meta http-equiv="Refresh" content="4;URL=index.php">
                                                            </head>
                                                            <style type="text/css">
                                                            body{
                                                            width:800px;
                                                            padding:5px;
                                                            text-align:center;
                                                            margin:auto;
                                                            }
                                                            a{
                                                            color:#009900;
                                                            font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma;
                                                            text-decoration:underline;
                                                            }
                                                            a:hover{
                                                            text-decoration:none;
                                                            }
                                                            .retour{
                                                            color:#999999;
                                                            }
                                                            #intro{
                                                            height:90px;
                                                             width:600px;
                                                             background-image:url("images/rien.png");
                                                             margin-top:200px;
                                                             border-bottom:solid black 1px;
                                                             border-right:solid black 1px
                                                             ;border-left:solid black 1px;
                                                             margin-left:115px;
                                                             margin-bottom:0px;
                                                             background-repeat:repeat-x;
                                                             }
                                                            #img{
                                                            width:60px;
                                                            height:60px;
                                                            margin-top:20px;
                                                            float:left;
                                                            background-image:url("imgs/ok.png");
                                                            }
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:13px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}

                                                            </style>
                                                            <body>
                                                            <div id="intro"><div id="img">
                                                            </div>
                                                            <div class="text">
                                                            <p>&nbsp;</p>
                                                            <p>Vous êtes à présent inscrit sur le site !<br>
                                                            Vous allez être redirigé dans une seconde. Si la redirection ne se fait pas automatiquement,  cliquez <a href="index.php">ici</a></p>
                                                            </div></div><br />


                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    else
                                                            {
                                                            ?>
                                                            <html>
                                                            <head>
                                                            <title>Geek's Chan V4</title>
                                                            </head>
                                                            <style type="text/css">              
                                                            body {height:auto; width:980px;}

                                                            #ban{height:170px; width:983px; margin-left:4px; margin-top:7px; background-image:url("images/ban.png"); margin-bottom:7px; border:solid black 1px;}
                                                            .menurapide{margin-left:217px; margin-top:150px;}
                                                            .menurapide a{color:#0033CC; font-weight:700; text-decoration:none;}
                                                            .menurapide a:hover{color:#000000; font-weight:700; text-decoration:none;}

                                                            #menugauche{width:150px; height:auto; border:solid black 1px; margin-left:0px;}
                                                            #salon{width:150px; height:20px; background-image:url("images/salon.png"); margin-bottom:7px;}
                                                            #menusalon{width:150px; height:auto;}
                                                            #telechargements{width:150px; height:20px; background-image:url("images/telechargements.png");margin-bottom:7px; margin-top:7px;}
                                                            #menutelechargements{width:150px; height:auto;}
                                                            #membres{width:150px; height:20px; background-image:url("images/membres.png");margin-bottom:7px; margin-top:7px;}
                                                            #menumembres{width:150px; height:auto;}
                                                            #communiquer{width:150px; height:20px; background-image:url("images/communiquer.png");margin-bottom:7px; margin-top:7px;}
                                                            #menucommuniquer{width:150px; height:auto;}
                                                            #credits{width:150px; height:20px; background-image:url("images/credits.png"); margin-top:7px;}

                                                            #corps{height:auto; width:663px; border:solid black 1px; margin-left:5px;}
                                                            #corpshaut{height:15px; width:663px; background-image:url("images/corpshaut.png");}
                                                            #corpscentre{height:auto; width:663px; background-image:url("images/corpscentre.png"); background-repeat:repeat-y;}
                                                            #corpsbas{height:15px; width:663px; background-image:url("images/corpsbas.png");}

                                                            #menudroite{width:150px; height:auto; border:solid black 1px; margin-left:4px;}
                                                            #connexion{width:150px; height:20px; background-image:url("images/connexion.png"); margin-bottom:7px;}
                                                            #menuconnexion{width:150px; height:auto;}
                                                            #services{width:150px; height:20px; background-image:url("images/services.png"); margin-top:7px; margin-bottom:7px;}
                                                            #menuservices{width:150px; height:auto;}
                                                            #vide{width:150px; height:20px; background-image:url("images/vide.png"); margin-top:7px;}

                                                            #grd {height:auto; width:600px; text-align:center;}
                                                            #grdbarre {height:15px; width:600px; text-align:center; background-image:url("images/grd.png");}
                                                            #grdtext {height:auto; width:600px; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px;}

                                                            #petit {height:auto; width:297px; text-align:center;}
                                                            #petitbarre {height:15px; width:297px; text-align:center; background-image:url("images/petit.png");}
                                                            #petittext {height:auto; width:297px; text-align:center;}


                                                            .input{width:75px;}
                                                            .connexion{text-align:center; color:#000000; }
                                                            .connexion2{text-align:center; color:#000000;}
                                                            .connexion2 a{text-align:center; color:#990000;}
                                                            .menu {text-align:left; font-weight:600; text-decoration:none; margin-left:5px;}
                                                            .menu a{font-weight:600; text-decoration:none; color:#0099CC;}
                                                            .menu a:hover{font-weight:600; text-decoration:none; color:black;}

                                                            .titres{font-weight:600; text-decoration:none; color:black; text-align:center;}

                                                            .copyright{font-size:10px; margin-top:5px; color:#999999; text-align:center;}
                                                            #menu2 {width:150px; height:70px; background-image:url("images/menu.png");}
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}
                                                            .text2{color:#0066CC; text-align:center; font-family:Tahoma; font-size:12px; margin-bottom:12px;}
                                                            .text2 a{color:#FF0000; text-decoration:none; }
                                                            .arbo {color: green; font-family:"Lucida Sans Unicode"; font-size:11px; margin-left: 15px;}
                                                            .arbo a{ color:blue; text-decoration:none; }
                                                            .arbo a:hover { text-decoration:underline; }
                                                            .class1{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#003399; color:#0033CC; }
                                                            .d_news{ font:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#000000; text-align:center;}
                                                            .titre_new{ color:#0033CC; text-decoration:underline; font-size:14px; }
                                                            .post_news{ color:#006666; font-family:"Courier New", Courier, mono; font-size:11px; }
                                                            .d_news a{ color:#009900; text-decoration:underline;}
                                                            .d_news a:hover{ text-decoration:none; }
                                                            .defilant{font-size:10px;}
                                                            .compteur{ color:#333333; font-size:11px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; }
                                                            .input{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .bouton {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; }
                                                            .input1{width:120px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .input3{font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            legend{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12; color:blue; }
                                                            .input4{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; } 
                                                            .bouton2 {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; font-size:12px; }
                                                            </style>
                                                            <body>
                                                            <?php include("nav_rapide.php"); ?>
                                                            <table><tr><td valign="top"><!-- debut tableau principal -->
                                                            <?php include("menu_g.php"); ?>
                                                            </td><td valign="top"> <!-- debut case "corps" -->

                                                            <div id="corps"><!-- debut corps -->

                                                            <div id="corpshaut"></div>

                                                            <div id="corpscentre">
                                                            <?php include("arbo.php"); ?>
                                                            <div align="center">
                                                            <div id="grd">
                                                            <div id="grdtext">
                                                            <br />
                                                            <div class="d_news">
                                                            <div id="grdbarre" class="titres">.:Inscription:.</div><br>
                                                            <br><br>
                                                            Avant de vous inscrire sur le site vous devez lire et accepter <br>
                                                            les : <a href="reglement.php">Conditions d'
    utilisations</a>.<br><br>
                                                            En vous inscrivant sur le site vous vous engagez à avoir lu et à respecter ces conditions.<br>
                                                            <br><br>
                                                            * : Informations facultatives !<br>
                                                            ** : Informations connues uniquement des Administrateurs\Modérateurs !<br><br>
                                                            <br><br>
                                                            <fieldset>
                                                            <legend>Inscription</legend>
                                                            <fieldset>
                                                            <h3>Une erreur est survenue lors de/du l'envoi/redimensionnement de votre photo !</h3>
                                                            <legend>Informations de compte</legend>
                                                            <form action="insc.php" method="post" enctype="multipart/from-data">
                                                            <label>Pseudo :</label><br>
                                                            <input type="text" name="pseudo" class="input" /><br><br>
                                                            <label>Mot de Passe :</label><br>
                                                            <input type="password" name="passe" class="input" /><br><br>
                                                            <label>Retapper le Mot de Passe :</label><br>
                                                            <input type="password" name="passe2" class="input"/><br><br>
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations supplémentaires</legend>
                                                            <label>Nom** :</label><br>
                                                            <input type="text" name="nom" class="input"/><br><br>
                                                            <label>Prénom** :</label><br>
                                                            <input type="text" name="prenom" class="input"/><br><br>
                                                            <label>Âge :</label><br>
                                                            <input type="text" name="age" class="input"/><br><br>
                                                            <label>Localité :</label><br>
                                                            <input type="text" name="loca" class="input" /><br><br>
                                                            <label>Adresse e-mail** :</label><br>
                                                            <input type="text" name="mail" class="input1"/><br><br>
                                                            <label>Adresse MSN* :</label><br>
                                                            <input type="text" name="msn" class="input1"/><br><br>
                                                            <label>Description :</label><br>
                                                            <textarea name="descri" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            <label>Language(s) de programmation connu(s)* :</label><br>
                                                            <input type="text" name="prog" class="input1"/><br><br>
                                                            <label>Logiciel(s) maîtrisé* :</label><br>
                                                            <input type="text" name="logi" class="input1"/><br><br>
                                                            <label>Votre photo :</label><br>
                                                            <input type="hidden" name="MAX_FILE_SIZE" value="3145728" />
                                                            <input type="file" name="photo" class="input" />
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations facultatives</legend>
                                                            <label>Votre site web* :</label><br>
                                                            <input type="text" name="site" class="input1"/><br><br>
                                                            <label>Comment avez vous découvert Geek'
    s chan ?*</label><br>
                                                            <textarea name="comment" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            </fieldset><br>
                                                            <input type="submit" name="S'inscire" value="S'inscrire" class="bouton"/>&nbsp; &nbsp;<input type="reset" name="Recommencer" value="Recommencer" class="bouton"/>
                                                            </fieldset>
                                                            </form><br>
                                                            </div>
                                                            </div></div>
                                                            <div id="corpsbas"></div>
                                                            </div><!-- fin "corps" -->
                                                            </td><!-- fin case "corps"-->
                                                            <td valign="top"><!-- debut case "menudroite" -->
                                                            <? include("menu_d.php"); ?>
                                                            </td></tr></table><!-- Fin tableau "principal"-->
                                                            <br />
                                                            <div class="copyright">
                                                            <?php include("compteur.php"); ?>
                                                            <br>
                                                            ©2006 Geeks tous droits réservés</div>
                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    }
                                            else
                                                    {
                                                    ?>
                                                    <html>
                                                    <head>
                                                    <title>Geek's Chan V4</title>
                                                    </head>
                                                    <style type="text/css">              
                                                            body {height:auto; width:980px;}

                                                            #ban{height:170px; width:983px; margin-left:4px; margin-top:7px; background-image:url("images/ban.png"); margin-bottom:7px; border:solid black 1px;}
                                                            .menurapide{margin-left:217px; margin-top:150px;}
                                                            .menurapide a{color:#0033CC; font-weight:700; text-decoration:none;}
                                                            .menurapide a:hover{color:#000000; font-weight:700; text-decoration:none;}

                                                            #menugauche{width:150px; height:auto; border:solid black 1px; margin-left:0px;}
                                                            #salon{width:150px; height:20px; background-image:url("images/salon.png"); margin-bottom:7px;}
                                                            #menusalon{width:150px; height:auto;}
                                                            #telechargements{width:150px; height:20px; background-image:url("images/telechargements.png");margin-bottom:7px; margin-top:7px;}
                                                            #menutelechargements{width:150px; height:auto;}
                                                            #membres{width:150px; height:20px; background-image:url("images/membres.png");margin-bottom:7px; margin-top:7px;}
                                                            #menumembres{width:150px; height:auto;}
                                                            #communiquer{width:150px; height:20px; background-image:url("images/communiquer.png");margin-bottom:7px; margin-top:7px;}
                                                            #menucommuniquer{width:150px; height:auto;}
                                                            #credits{width:150px; height:20px; background-image:url("images/credits.png"); margin-top:7px;}

                                                            #corps{height:auto; width:663px; border:solid black 1px; margin-left:5px;}
                                                            #corpshaut{height:15px; width:663px; background-image:url("images/corpshaut.png");}
                                                            #corpscentre{height:auto; width:663px; background-image:url("images/corpscentre.png"); background-repeat:repeat-y;}
                                                            #corpsbas{height:15px; width:663px; background-image:url("images/corpsbas.png");}

                                                            #menudroite{width:150px; height:auto; border:solid black 1px; margin-left:4px;}
                                                            #connexion{width:150px; height:20px; background-image:url("images/connexion.png"); margin-bottom:7px;}
                                                            #menuconnexion{width:150px; height:auto;}
                                                            #services{width:150px; height:20px; background-image:url("images/services.png"); margin-top:7px; margin-bottom:7px;}
                                                            #menuservices{width:150px; height:auto;}
                                                            #vide{width:150px; height:20px; background-image:url("images/vide.png"); margin-top:7px;}

                                                            #grd {height:auto; width:600px; text-align:center;}
                                                            #grdbarre {height:15px; width:600px; text-align:center; background-image:url("images/grd.png");}
                                                            #grdtext {height:auto; width:600px; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px;}

                                                            #petit {height:auto; width:297px; text-align:center;}
                                                            #petitbarre {height:15px; width:297px; text-align:center; background-image:url("images/petit.png");}
                                                            #petittext {height:auto; width:297px; text-align:center;}


                                                            .input{width:75px;}
                                                            .connexion{text-align:center; color:#000000; }
                                                            .connexion2{text-align:center; color:#000000;}
                                                            .connexion2 a{text-align:center; color:#990000;}
                                                            .menu {text-align:left; font-weight:600; text-decoration:none; margin-left:5px;}
                                                            .menu a{font-weight:600; text-decoration:none; color:#0099CC;}
                                                            .menu a:hover{font-weight:600; text-decoration:none; color:black;}

                                                            .titres{font-weight:600; text-decoration:none; color:black; text-align:center;}

                                                            .copyright{font-size:10px; margin-top:5px; color:#999999; text-align:center;}
                                                            #menu2 {width:150px; height:70px; background-image:url("images/menu.png");}
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}
                                                            .text2{color:#0066CC; text-align:center; font-family:Tahoma; font-size:12px; margin-bottom:12px;}
                                                            .text2 a{color:#FF0000; text-decoration:none; }
                                                            .arbo {color: green; font-family:"Lucida Sans Unicode"; font-size:11px; margin-left: 15px;}
                                                            .arbo a{ color:blue; text-decoration:none; }
                                                            .arbo a:hover { text-decoration:underline; }
                                                            .class1{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#003399; color:#0033CC; }
                                                            .d_news{ font:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#000000; text-align:center;}
                                                            .titre_new{ color:#0033CC; text-decoration:underline; font-size:14px; }
                                                            .post_news{ color:#006666; font-family:"Courier New", Courier, mono; font-size:11px; }
                                                            .d_news a{ color:#009900; text-decoration:underline;}
                                                            .d_news a:hover{ text-decoration:none; }
                                                            .defilant{font-size:10px;}
                                                            .compteur{ color:#333333; font-size:11px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; }
                                                            .input{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .bouton {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; }
                                                            .input1{width:120px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .input3{font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            legend{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12; color:blue; }
                                                            .input4{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; } 
                                                            .bouton2 {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; font-size:12px; }
                                                            </style>
                                                            <body>
                                                            <?php include("nav_rapide.php"); ?>
                                                            <table><tr><td valign="top"><!-- debut tableau principal -->
                                                            <?php include("menu_g.php"); ?>
                                                            </td><td valign="top"> <!-- debut case "corps" -->

                                                            <div id="corps"><!-- debut corps -->

                                                            <div id="corpshaut"></div>

                                                            <div id="corpscentre">
                                                            <?php include("arbo.php"); ?>
                                                            <div align="center">
                                                            <div id="grd">
                                                            <div id="grdtext">
                                                            <br />
                                                            <div class="d_news">
                                                            <div id="grdbarre" class="titres">.:Inscription:.</div><br>
                                                            <br><br>
                                                            Avant de vous inscrire sur le site vous devez lire et accepter <br>
                                                            les : <a href="reglement.php">Conditions d'
    utilisations</a>.<br><br>
                                                            En vous inscrivant sur le site vous vous engagez à avoir lu et à respecter ces conditions.<br>
                                                            <br><br>
                                                            * : Informations facultatives !<br>
                                                            ** : Informations connues uniquement des Administrateurs\Modérateurs !<br><br>
                                                            <br><br>
                                                            <fieldset>
                                                            <legend>Inscription</legend>
                                                            <fieldset>
                                                            <h3>Ce pseudo est déjà utilisé </h3>
                                                            <legend>Informations de compte</legend>
                                                            <form action="insc.php" method="post" enctype="multipart/from-data">
                                                            <label>Pseudo :</label><br>
                                                            <input type="text" name="pseudo" class="input" /><br><br>
                                                            <label>Mot de Passe :</label><br>
                                                            <input type="password" name="passe" class="input" /><br><br>
                                                            <label>Retapper le Mot de Passe :</label><br>
                                                            <input type="password" name="passe2" class="input"/><br><br>
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations supplémentaires</legend>
                                                            <label>Nom** :</label><br>
                                                            <input type="text" name="nom" class="input"/><br><br>
                                                            <label>Prénom** :</label><br>
                                                            <input type="text" name="prenom" class="input"/><br><br>
                                                            <label>Âge :</label><br>
                                                            <input type="text" name="age" class="input"/><br><br>
                                                            <label>Localité :</label><br>
                                                            <input type="text" name="loca" class="input" /><br><br>
                                                            <label>Adresse e-mail** :</label><br>
                                                            <input type="text" name="mail" class="input1"/><br><br>
                                                            <label>Adresse MSN* :</label><br>
                                                            <input type="text" name="msn" class="input1"/><br><br>
                                                            <label>Description :</label><br>
                                                            <textarea name="descri" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            <label>Language(s) de programmation connu(s)* :</label><br>
                                                            <input type="text" name="prog" class="input1"/><br><br>
                                                            <label>Logiciel(s) maîtrisé* :</label><br>
                                                            <input type="text" name="logi" class="input1"/><br><br>
                                                            <label>Votre photo :</label><br>
                                                            <input type="hidden" name="MAX_FILE_SIZE" value="3145728" />
                                                            <input type="file" name="photo" class="input" />
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations facultatives</legend>
                                                            <label>Votre site web* :</label><br>
                                                            <input type="text" name="site" class="input1"/><br><br>
                                                            <label>Comment avez vous découvert Geek's chan ?*</label><br>
                                                            <textarea name="comment" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            </fieldset><br>
                                                            <input type="submit" name="S'
    inscire" value="S'inscrire" class="bouton"/>&nbsp; &nbsp;<input type="reset" name="Recommencer" value="Recommencer" class="bouton"/>
                                                            </fieldset>
                                                            </form><br>
                                                            </div>
                                                            </div></div>
                                                            <div id="corpsbas"></div>
                                                            </div><!-- fin "corps" -->
                                                            </td><!-- fin case "corps"-->
                                                            <td valign="top"><!-- debut case "menudroite" -->
                                                            <? include("menu_d.php"); ?>
                                                            </td></tr></table><!-- Fin tableau "principal"-->
                                                            <br />
                                                            <div class="copyright">
                                                            <?php include("compteur.php"); ?>
                                                            <br>
                                                            ©2006 Geeks tous droits réservés</div>
                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    }
                                            else
                                                    {
                                                    ?>
                                                            <html>
                                                            <head>
                                                            <title>Geek'
    s Chan V4</title>
                                                            </head>
                                                            <style type="text/css">              
                                                            body {height:auto; width:980px;}

                                                            #ban{height:170px; width:983px; margin-left:4px; margin-top:7px; background-image:url("images/ban.png"); margin-bottom:7px; border:solid black 1px;}
                                                            .menurapide{margin-left:217px; margin-top:150px;}
                                                            .menurapide a{color:#0033CC; font-weight:700; text-decoration:none;}
                                                            .menurapide a:hover{color:#000000; font-weight:700; text-decoration:none;}

                                                            #menugauche{width:150px; height:auto; border:solid black 1px; margin-left:0px;}
                                                            #salon{width:150px; height:20px; background-image:url("images/salon.png"); margin-bottom:7px;}
                                                            #menusalon{width:150px; height:auto;}
                                                            #telechargements{width:150px; height:20px; background-image:url("images/telechargements.png");margin-bottom:7px; margin-top:7px;}
                                                            #menutelechargements{width:150px; height:auto;}
                                                            #membres{width:150px; height:20px; background-image:url("images/membres.png");margin-bottom:7px; margin-top:7px;}
                                                            #menumembres{width:150px; height:auto;}
                                                            #communiquer{width:150px; height:20px; background-image:url("images/communiquer.png");margin-bottom:7px; margin-top:7px;}
                                                            #menucommuniquer{width:150px; height:auto;}
                                                            #credits{width:150px; height:20px; background-image:url("images/credits.png"); margin-top:7px;}

                                                            #corps{height:auto; width:663px; border:solid black 1px; margin-left:5px;}
                                                            #corpshaut{height:15px; width:663px; background-image:url("images/corpshaut.png");}
                                                            #corpscentre{height:auto; width:663px; background-image:url("images/corpscentre.png"); background-repeat:repeat-y;}
                                                            #corpsbas{height:15px; width:663px; background-image:url("images/corpsbas.png");}

                                                            #menudroite{width:150px; height:auto; border:solid black 1px; margin-left:4px;}
                                                            #connexion{width:150px; height:20px; background-image:url("images/connexion.png"); margin-bottom:7px;}
                                                            #menuconnexion{width:150px; height:auto;}
                                                            #services{width:150px; height:20px; background-image:url("images/services.png"); margin-top:7px; margin-bottom:7px;}
                                                            #menuservices{width:150px; height:auto;}
                                                            #vide{width:150px; height:20px; background-image:url("images/vide.png"); margin-top:7px;}

                                                            #grd {height:auto; width:600px; text-align:center;}
                                                            #grdbarre {height:15px; width:600px; text-align:center; background-image:url("images/grd.png");}
                                                            #grdtext {height:auto; width:600px; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px;}

                                                            #petit {height:auto; width:297px; text-align:center;}
                                                            #petitbarre {height:15px; width:297px; text-align:center; background-image:url("images/petit.png");}
                                                            #petittext {height:auto; width:297px; text-align:center;}


                                                            .input{width:75px;}
                                                            .connexion{text-align:center; color:#000000; }
                                                            .connexion2{text-align:center; color:#000000;}
                                                            .connexion2 a{text-align:center; color:#990000;}
                                                            .menu {text-align:left; font-weight:600; text-decoration:none; margin-left:5px;}
                                                            .menu a{font-weight:600; text-decoration:none; color:#0099CC;}
                                                            .menu a:hover{font-weight:600; text-decoration:none; color:black;}

                                                            .titres{font-weight:600; text-decoration:none; color:black; text-align:center;}

                                                            .copyright{font-size:10px; margin-top:5px; color:#999999; text-align:center;}
                                                            #menu2 {width:150px; height:70px; background-image:url("images/menu.png");}
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}
                                                            .text2{color:#0066CC; text-align:center; font-family:Tahoma; font-size:12px; margin-bottom:12px;}
                                                            .text2 a{color:#FF0000; text-decoration:none; }
                                                            .arbo {color: green; font-family:"Lucida Sans Unicode"; font-size:11px; margin-left: 15px;}
                                                            .arbo a{ color:blue; text-decoration:none; }
                                                            .arbo a:hover { text-decoration:underline; }
                                                            .class1{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#003399; color:#0033CC; }
                                                            .d_news{ font:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#000000; text-align:center;}
                                                            .titre_new{ color:#0033CC; text-decoration:underline; font-size:14px; }
                                                            .post_news{ color:#006666; font-family:"Courier New", Courier, mono; font-size:11px; }
                                                            .d_news a{ color:#009900; text-decoration:underline;}
                                                            .d_news a:hover{ text-decoration:none; }
                                                            .defilant{font-size:10px;}
                                                            .compteur{ color:#333333; font-size:11px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; }
                                                            .input{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .bouton {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; }
                                                            .input1{width:120px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .input3{font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            legend{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12; color:blue; }
                                                            .input4{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; } 
                                                            .bouton2 {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; font-size:12px; }
                                                            </style>
                                                            <body>
                                                            <?php include("nav_rapide.php"); ?>
                                                            <table><tr><td valign="top"><!-- debut tableau principal -->
                                                            <?php include("menu_g.php"); ?>
                                                            </td><td valign="top"> <!-- debut case "corps" -->

                                                            <div id="corps"><!-- debut corps -->

                                                            <div id="corpshaut"></div>

                                                            <div id="corpscentre">
                                                            <?php include("arbo.php"); ?>
                                                            <div align="center">
                                                            <div id="grd">
                                                            <div id="grdtext">
                                                            <br />
                                                            <div class="d_news">
                                                            <div id="grdbarre" class="titres">.:Inscription:.</div><br>
                                                            <br><br>
                                                            Avant de vous inscrire sur le site vous devez lire et accepter <br>
                                                            les : <a href="reglement.php">Conditions d'utilisations</a>.<br><br>
                                                            En vous inscrivant sur le site vous vous engagez à avoir lu et à respecter ces conditions.<br>
                                                            <br><br>
                                                            * : Informations facultatives !<br>
                                                            ** : Informations connues uniquement des Administrateurs\Modérateurs !<br><br>
                                                            <br><br>
                                                            <fieldset>
                                                            <legend>Inscription</legend>
                                                            <fieldset>
                                                            <h3>Les deux mots de passe ne correspondent pas !</h3>
                                                            <legend>Informations de compte</legend>
                                                            <form action="insc.php" method="post" enctype="multipart/from-data">
                                                            <label>Pseudo :</label><br>
                                                            <input type="text" name="pseudo" class="input" /><br><br>
                                                            <label>Mot de Passe :</label><br>
                                                            <input type="password" name="passe" class="input" /><br><br>
                                                            <label>Retapper le Mot de Passe :</label><br>
                                                            <input type="password" name="passe2" class="input"/><br><br>
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations supplémentaires</legend>
                                                            <label>Nom** :</label><br>
                                                            <input type="text" name="nom" class="input"/><br><br>
                                                            <label>Prénom** :</label><br>
                                                            <input type="text" name="prenom" class="input"/><br><br>
                                                            <label>Âge :</label><br>
                                                            <input type="text" name="age" class="input"/><br><br>
                                                            <label>Localité :</label><br>
                                                            <input type="text" name="loca" class="input" /><br><br>
                                                            <label>Adresse e-mail** :</label><br>
                                                            <input type="text" name="mail" class="input1"/><br><br>
                                                            <label>Adresse MSN* :</label><br>
                                                            <input type="text" name="msn" class="input1"/><br><br>
                                                            <label>Description :</label><br>
                                                            <textarea name="descri" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            <label>Language(s) de programmation connu(s)* :</label><br>
                                                            <input type="text" name="prog" class="input1"/><br><br>
                                                            <label>Logiciel(s) maîtrisé* :</label><br>
                                                            <input type="text" name="logi" class="input1"/><br><br>
                                                            <label>Votre photo :</label><br>
                                                            <input type="hidden" name="MAX_FILE_SIZE" value="3145728" />
                                                            <input type="file" name="photo" class="input" />
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations facultatives</legend>
                                                            <label>Votre site web* :</label><br>
                                                            <input type="text" name="site" class="input1"/><br><br>
                                                            <label>Comment avez vous découvert Geek'
    s chan ?*</label><br>
                                                            <textarea name="comment" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            </fieldset><br>
                                                            <input type="submit" name="S'inscire" value="S'inscrire" class="bouton"/>&nbsp; &nbsp;<input type="reset" name="Recommencer" value="Recommencer" class="bouton"/>
                                                            </fieldset>
                                                            </form><br>
                                                            </div>
                                                            </div></div>
                                                            <div id="corpsbas"></div>
                                                            </div><!-- fin "corps" -->
                                                            </td><!-- fin case "corps"-->
                                                            <td valign="top"><!-- debut case "menudroite" -->
                                                            <? include("menu_d.php"); ?>
                                                            </td></tr></table><!-- Fin tableau "principal"-->
                                                            <br />
                                                            <div class="copyright">
                                                            <?php include("compteur.php"); ?>
                                                            <br>
                                                            ©2006 Geeks tous droits réservés</div>
                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    }
                                            else
                                                    {
                                                    ?>
                                                            <html>
                                                            <head>
                                                            <title>Geek's Chan V4</title>
                                                            </head>
                                                            <style type="text/css">              
                                                            body {height:auto; width:980px;}

                                                            #ban{height:170px; width:983px; margin-left:4px; margin-top:7px; background-image:url("images/ban.png"); margin-bottom:7px; border:solid black 1px;}
                                                            .menurapide{margin-left:217px; margin-top:150px;}
                                                            .menurapide a{color:#0033CC; font-weight:700; text-decoration:none;}
                                                            .menurapide a:hover{color:#000000; font-weight:700; text-decoration:none;}

                                                            #menugauche{width:150px; height:auto; border:solid black 1px; margin-left:0px;}
                                                            #salon{width:150px; height:20px; background-image:url("images/salon.png"); margin-bottom:7px;}
                                                            #menusalon{width:150px; height:auto;}
                                                            #telechargements{width:150px; height:20px; background-image:url("images/telechargements.png");margin-bottom:7px; margin-top:7px;}
                                                            #menutelechargements{width:150px; height:auto;}
                                                            #membres{width:150px; height:20px; background-image:url("images/membres.png");margin-bottom:7px; margin-top:7px;}
                                                            #menumembres{width:150px; height:auto;}
                                                            #communiquer{width:150px; height:20px; background-image:url("images/communiquer.png");margin-bottom:7px; margin-top:7px;}
                                                            #menucommuniquer{width:150px; height:auto;}
                                                            #credits{width:150px; height:20px; background-image:url("images/credits.png"); margin-top:7px;}

                                                            #corps{height:auto; width:663px; border:solid black 1px; margin-left:5px;}
                                                            #corpshaut{height:15px; width:663px; background-image:url("images/corpshaut.png");}
                                                            #corpscentre{height:auto; width:663px; background-image:url("images/corpscentre.png"); background-repeat:repeat-y;}
                                                            #corpsbas{height:15px; width:663px; background-image:url("images/corpsbas.png");}

                                                            #menudroite{width:150px; height:auto; border:solid black 1px; margin-left:4px;}
                                                            #connexion{width:150px; height:20px; background-image:url("images/connexion.png"); margin-bottom:7px;}
                                                            #menuconnexion{width:150px; height:auto;}
                                                            #services{width:150px; height:20px; background-image:url("images/services.png"); margin-top:7px; margin-bottom:7px;}
                                                            #menuservices{width:150px; height:auto;}
                                                            #vide{width:150px; height:20px; background-image:url("images/vide.png"); margin-top:7px;}

                                                            #grd {height:auto; width:600px; text-align:center;}
                                                            #grdbarre {height:15px; width:600px; text-align:center; background-image:url("images/grd.png");}
                                                            #grdtext {height:auto; width:600px; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px;}

                                                            #petit {height:auto; width:297px; text-align:center;}
                                                            #petitbarre {height:15px; width:297px; text-align:center; background-image:url("images/petit.png");}
                                                            #petittext {height:auto; width:297px; text-align:center;}


                                                            .input{width:75px;}
                                                            .connexion{text-align:center; color:#000000; }
                                                            .connexion2{text-align:center; color:#000000;}
                                                            .connexion2 a{text-align:center; color:#990000;}
                                                            .menu {text-align:left; font-weight:600; text-decoration:none; margin-left:5px;}
                                                            .menu a{font-weight:600; text-decoration:none; color:#0099CC;}
                                                            .menu a:hover{font-weight:600; text-decoration:none; color:black;}

                                                            .titres{font-weight:600; text-decoration:none; color:black; text-align:center;}

                                                            .copyright{font-size:10px; margin-top:5px; color:#999999; text-align:center;}
                                                            #menu2 {width:150px; height:70px; background-image:url("images/menu.png");}
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}
                                                            .text2{color:#0066CC; text-align:center; font-family:Tahoma; font-size:12px; margin-bottom:12px;}
                                                            .text2 a{color:#FF0000; text-decoration:none; }
                                                            .arbo {color: green; font-family:"Lucida Sans Unicode"; font-size:11px; margin-left: 15px;}
                                                            .arbo a{ color:blue; text-decoration:none; }
                                                            .arbo a:hover { text-decoration:underline; }
                                                            .class1{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#003399; color:#0033CC; }
                                                            .d_news{ font:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#000000; text-align:center;}
                                                            .titre_new{ color:#0033CC; text-decoration:underline; font-size:14px; }
                                                            .post_news{ color:#006666; font-family:"Courier New", Courier, mono; font-size:11px; }
                                                            .d_news a{ color:#009900; text-decoration:underline;}
                                                            .d_news a:hover{ text-decoration:none; }
                                                            .defilant{font-size:10px;}
                                                            .compteur{ color:#333333; font-size:11px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; }
                                                            .input{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .bouton {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; }
                                                            .input1{width:120px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .input3{font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            legend{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12; color:blue; }
                                                            .input4{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; } 
                                                            .bouton2 {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; font-size:12px; }
                                                            </style>
                                                            <body>
                                                            <?php include("nav_rapide.php"); ?>
                                                            <table><tr><td valign="top"><!-- debut tableau principal -->
                                                            <?php include("menu_g.php"); ?>
                                                            </td><td valign="top"> <!-- debut case "corps" -->

                                                            <div id="corps"><!-- debut corps -->

                                                            <div id="corpshaut"></div>

                                                            <div id="corpscentre">
                                                            <?php include("arbo.php"); ?>
                                                            <div align="center">
                                                            <div id="grd">
                                                            <div id="grdtext">
                                                            <br />
                                                            <div class="d_news">
                                                            <div id="grdbarre" class="titres">.:Inscription:.</div><br>
                                                            <br><br>
                                                            Avant de vous inscrire sur le site vous devez lire et accepter <br>
                                                            les : <a href="reglement.php">Conditions d'
    utilisations</a>.<br><br>
                                                            En vous inscrivant sur le site vous vous engagez à avoir lu et à respecter ces conditions.<br>
                                                            <br><br>
                                                            * : Informations facultatives !<br>
                                                            ** : Informations connues uniquement des Administrateurs\Modérateurs !<br><br>
                                                            <br><br>
                                                            <fieldset>
                                                            <legend>Inscription</legend>
                                                            <fieldset>
                                                            <h3>Veuillez remplir tous les champs non marqué d'une "*" !</h3>
                                                            <legend>Informations de compte</legend>
                                                            <form action="insc.php" method="post" enctype="multipart/from-data">
                                                            <label>Pseudo :</label><br>
                                                            <input type="text" name="pseudo" class="input" /><br><br>
                                                            <label>Mot de Passe :</label><br>
                                                            <input type="password" name="passe" class="input" /><br><br>
                                                            <label>Retapper le Mot de Passe :</label><br>
                                                            <input type="password" name="passe2" class="input"/><br><br>
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations supplémentaires</legend>
                                                            <label>Nom** :</label><br>
                                                            <input type="text" name="nom" class="input"/><br><br>
                                                            <label>Prénom** :</label><br>
                                                            <input type="text" name="prenom" class="input"/><br><br>
                                                            <label>Âge :</label><br>
                                                            <input type="text" name="age" class="input"/><br><br>
                                                            <label>Localité :</label><br>
                                                            <input type="text" name="loca" class="input" /><br><br>
                                                            <label>Adresse e-mail** :</label><br>
                                                            <input type="text" name="mail" class="input1"/><br><br>
                                                            <label>Adresse MSN* :</label><br>
                                                            <input type="text" name="msn" class="input1"/><br><br>
                                                            <label>Description :</label><br>
                                                            <textarea name="descri" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            <label>Language(s) de programmation connu(s)* :</label><br>
                                                            <input type="text" name="prog" class="input1"/><br><br>
                                                            <label>Logiciel(s) maîtrisé* :</label><br>
                                                            <input type="text" name="logi" class="input1"/><br><br>
                                                            <label>Votre photo :</label><br>
                                                            <input type="hidden" name="MAX_FILE_SIZE" value="3145728" />
                                                            <input type="file" name="photo" class="input" />
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations facultatives</legend>
                                                            <label>Votre site web* :</label><br>
                                                            <input type="text" name="site" class="input1"/><br><br>
                                                            <label>Comment avez vous découvert Geek'
    s chan ?*</label><br>
                                                            <textarea name="comment" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            </fieldset><br>
                                                            <input type="submit" name="S'inscire" value="S'inscrire" class="bouton"/>&nbsp; &nbsp;<input type="reset" name="Recommencer" value="Recommencer" class="bouton"/>
                                                            </fieldset>
                                                            </form><br>
                                                            </div>
                                                            </div></div>
                                                            <div id="corpsbas"></div>
                                                            </div><!-- fin "corps" -->
                                                            </td><!-- fin case "corps"-->
                                                            <td valign="top"><!-- debut case "menudroite" -->
                                                            <? include("menu_d.php"); ?>
                                                            </td></tr></table><!-- Fin tableau "principal"-->
                                                            <br />
                                                            <div class="copyright">
                                                            <?php include("compteur.php"); ?>
                                                            <br>
                                                            ©2006 Geeks tous droits réservés</div>
                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    }
                                            else
                                                    {
                                                    ?>
                                                            <html>
                                                            <head>
                                                            <title>Geek's Chan V4</title>
                                                            </head>
                                                            <style type="text/css">              
                                                            body {height:auto; width:980px;}

                                                            #ban{height:170px; width:983px; margin-left:4px; margin-top:7px; background-image:url("images/ban.png"); margin-bottom:7px; border:solid black 1px;}
                                                            .menurapide{margin-left:217px; margin-top:150px;}
                                                            .menurapide a{color:#0033CC; font-weight:700; text-decoration:none;}
                                                            .menurapide a:hover{color:#000000; font-weight:700; text-decoration:none;}

                                                            #menugauche{width:150px; height:auto; border:solid black 1px; margin-left:0px;}
                                                            #salon{width:150px; height:20px; background-image:url("images/salon.png"); margin-bottom:7px;}
                                                            #menusalon{width:150px; height:auto;}
                                                            #telechargements{width:150px; height:20px; background-image:url("images/telechargements.png");margin-bottom:7px; margin-top:7px;}
                                                            #menutelechargements{width:150px; height:auto;}
                                                            #membres{width:150px; height:20px; background-image:url("images/membres.png");margin-bottom:7px; margin-top:7px;}
                                                            #menumembres{width:150px; height:auto;}
                                                            #communiquer{width:150px; height:20px; background-image:url("images/communiquer.png");margin-bottom:7px; margin-top:7px;}
                                                            #menucommuniquer{width:150px; height:auto;}
                                                            #credits{width:150px; height:20px; background-image:url("images/credits.png"); margin-top:7px;}

                                                            #corps{height:auto; width:663px; border:solid black 1px; margin-left:5px;}
                                                            #corpshaut{height:15px; width:663px; background-image:url("images/corpshaut.png");}
                                                            #corpscentre{height:auto; width:663px; background-image:url("images/corpscentre.png"); background-repeat:repeat-y;}
                                                            #corpsbas{height:15px; width:663px; background-image:url("images/corpsbas.png");}

                                                            #menudroite{width:150px; height:auto; border:solid black 1px; margin-left:4px;}
                                                            #connexion{width:150px; height:20px; background-image:url("images/connexion.png"); margin-bottom:7px;}
                                                            #menuconnexion{width:150px; height:auto;}
                                                            #services{width:150px; height:20px; background-image:url("images/services.png"); margin-top:7px; margin-bottom:7px;}
                                                            #menuservices{width:150px; height:auto;}
                                                            #vide{width:150px; height:20px; background-image:url("images/vide.png"); margin-top:7px;}

                                                            #grd {height:auto; width:600px; text-align:center;}
                                                            #grdbarre {height:15px; width:600px; text-align:center; background-image:url("images/grd.png");}
                                                            #grdtext {height:auto; width:600px; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px;}

                                                            #petit {height:auto; width:297px; text-align:center;}
                                                            #petitbarre {height:15px; width:297px; text-align:center; background-image:url("images/petit.png");}
                                                            #petittext {height:auto; width:297px; text-align:center;}


                                                            .input{width:75px;}
                                                            .connexion{text-align:center; color:#000000; }
                                                            .connexion2{text-align:center; color:#000000;}
                                                            .connexion2 a{text-align:center; color:#990000;}
                                                            .menu {text-align:left; font-weight:600; text-decoration:none; margin-left:5px;}
                                                            .menu a{font-weight:600; text-decoration:none; color:#0099CC;}
                                                            .menu a:hover{font-weight:600; text-decoration:none; color:black;}

                                                            .titres{font-weight:600; text-decoration:none; color:black; text-align:center;}

                                                            .copyright{font-size:10px; margin-top:5px; color:#999999; text-align:center;}
                                                            #menu2 {width:150px; height:70px; background-image:url("images/menu.png");}
                                                            .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12px; margin-bottom:12px; margin-left:5px;}
                                                            .text a{color:#009900; text-decoration:underline;}
                                                            .text a:hover{text-decoration:none;}
                                                            .text2{color:#0066CC; text-align:center; font-family:Tahoma; font-size:12px; margin-bottom:12px;}
                                                            .text2 a{color:#FF0000; text-decoration:none; }
                                                            .arbo {color: green; font-family:"Lucida Sans Unicode"; font-size:11px; margin-left: 15px;}
                                                            .arbo a{ color:blue; text-decoration:none; }
                                                            .arbo a:hover { text-decoration:underline; }
                                                            .class1{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#003399; color:#0033CC; }
                                                            .d_news{ font:"Lucida Sans Unicode", "Lucida Console", Tahoma; color:#000000; text-align:center;}
                                                            .titre_new{ color:#0033CC; text-decoration:underline; font-size:14px; }
                                                            .post_news{ color:#006666; font-family:"Courier New", Courier, mono; font-size:11px; }
                                                            .d_news a{ color:#009900; text-decoration:underline;}
                                                            .d_news a:hover{ text-decoration:none; }
                                                            .defilant{font-size:10px;}
                                                            .compteur{ color:#333333; font-size:11px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; }
                                                            .input{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .bouton {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; }
                                                            .input1{width:120px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            .input3{font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; text-align:center;}
                                                            legend{ font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:12; color:blue; }
                                                            .input4{width:90px; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:10; color:#009900; } 
                                                            .bouton2 {color:#000066; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; background-color:#FFFFFF; border:1px black dashed; font-size:12px; }
                                                            </style>
                                                            <body>
                                                            <?php include("nav_rapide.php"); ?>
                                                            <table><tr><td valign="top"><!-- debut tableau principal -->
                                                            <?php include("menu_g.php"); ?>
                                                            </td><td valign="top"> <!-- debut case "corps" -->

                                                            <div id="corps"><!-- debut corps -->

                                                            <div id="corpshaut"></div>

                                                            <div id="corpscentre">
                                                            <?php include("arbo.php"); ?>
                                                            <div align="center">
                                                            <div id="grd">
                                                            <div id="grdtext">
                                                            <br />
                                                            <div class="d_news">
                                                            <div id="grdbarre" class="titres">.:Inscription:.</div><br>
                                                            <br><br>
                                                            Avant de vous inscrire sur le site vous devez lire et accepter <br>
                                                            les : <a href="reglement.php">Conditions d'
    utilisations</a>.<br><br>
                                                            En vous inscrivant sur le site vous vous engagez à avoir lu et à respecter ces conditions.<br>
                                                            <br><br>
                                                            * : Informations facultatives !<br>
                                                            ** : Informations connues uniquement des Administrateurs\Modérateurs !<br><br>
                                                            <br><br>
                                                            <fieldset>
                                                            <legend>Inscription</legend>
                                                            <fieldset>
                                                           
                                                            <legend>Informations de compte</legend>
                                                            <form action="insc.php" method="post" enctype="multipart/from-data">
                                                            <label>Pseudo :</label><br>
                                                            <input type="text" name="pseudo" class="input" /><br><br>
                                                            <label>Mot de Passe :</label><br>
                                                            <input type="password" name="passe" class="input" /><br><br>
                                                            <label>Retapper le Mot de Passe :</label><br>
                                                            <input type="password" name="passe2" class="input"/><br><br>
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations supplémentaires</legend>
                                                            <label>Nom** :</label><br>
                                                            <input type="text" name="nom" class="input"/><br><br>
                                                            <label>Prénom** :</label><br>
                                                            <input type="text" name="prenom" class="input"/><br><br>
                                                            <label>Âge :</label><br>
                                                            <input type="text" name="age" class="input"/><br><br>
                                                            <label>Localité :</label><br>
                                                            <input type="text" name="loca" class="input" /><br><br>
                                                            <label>Adresse e-mail** :</label><br>
                                                            <input type="text" name="mail" class="input1"/><br><br>
                                                            <label>Adresse MSN* :</label><br>
                                                            <input type="text" name="msn" class="input1"/><br><br>
                                                            <label>Description :</label><br>
                                                            <textarea name="descri" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            <label>Language(s) de programmation connu(s)* :</label><br>
                                                            <input type="text" name="prog" class="input1"/><br><br>
                                                            <label>Logiciel(s) maîtrisé* :</label><br>
                                                            <input type="text" name="logi" class="input1"/><br><br>
                                                            <label>Votre photo :</label><br>
                                                            <input type="hidden" name="MAX_FILE_SIZE" value="3145728" />
                                                            <input type="file" name="photo" class="input" />
                                                            </fieldset>
                                                            <fieldset>
                                                            <legend>Informations facultatives</legend>
                                                            <label>Votre site web* :</label><br>
                                                            <input type="text" name="site" class="input1"/><br><br>
                                                            <label>Comment avez vous découvert Geek's chan ?*</label><br>
                                                            <textarea name="comment" rows="4" cols="25" class="input3"></textarea><br><br>
                                                            </fieldset><br>
                                                            <input type="submit" name="S'
    inscire" value="S'inscrire" class="bouton"/>&nbsp; &nbsp;<input type="reset" name="Recommencer" value="Recommencer" class="bouton"/>
                                                            </fieldset>
                                                            </form><br>
                                                            </div>
                                                            </div></div>
                                                            <div id="corpsbas"></div>
                                                            </div><!-- fin "corps" -->
                                                            </td><!-- fin case "corps"-->
                                                            <td valign="top"><!-- debut case "menudroite" -->
                                                            <? include("menu_d.php"); ?>
                                                            </td></tr></table><!-- Fin tableau "principal"-->
                                                            <br />
                                                            <div class="copyright">
                                                            <?php include("compteur.php"); ?>
                                                            <br>
                                                            ©2006 Geeks tous droits réservés</div>
                                                            </body>
                                                            </html>
                                                            <?php
                                                            }
                                                    }
                                            else
                                                    {
                                                    echo'

                                                    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
                                                    <html>
                                                    <head>
                                                    <title>Administration</title>
                                                    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                                                    <meta http-equiv="Refresh" content="4;URL=index.php">
                                                    </head>
                                                    <style type="text/css">
                                                    body{
                                                    width:800px;
                                                    padding:5px;
                                                    text-align:center;
                                                    margin:auto;
                                                    }
                                                    a{
                                                    color:#009900;
                                                    font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma;
                                                    text-decoration:underline;
                                                    }
                                                    a:hover{
                                                    text-decoration:none;
                                                    }
                                                    .retour{
                                                    color:#999999;
                                                    }
                                                    #intro{
                                                    height:90px;
                                                     width:600px;
                                                     background-image:url("images/rien.png");
                                                     margin-top:200px;
                                                     border-bottom:solid black 1px;
                                                     border-right:solid black 1px
                                                     ;border-left:solid black 1px;
                                                     margin-left:115px;
                                                     margin-bottom:0px;
                                                     background-repeat:repeat-x;
                                                     }
                                                    #img{
                                                    width:60px;
                                                    height:60px;
                                                    margin-top:20px;
                                                    float:left;
                                                    background-image:url("imgs/no.png");
                                                    }
                                                    .text{color:#000000; text-align:center; font-family:"Lucida Sans Unicode", "Lucida Console", Tahoma; font-size:13px; margin-bottom:12px; margin-left:5px;}
                                                    .text a{color:#009900; text-decoration:underline;}
                                                    .text a:hover{text-decoration:none;}

                                                    </style>
                                                    <body>
                                                    <div id="intro"><div id="img">
                                                    </div>
                                                    <div class="text">
                                                    <p>&nbsp;</p>
                                                    <p>Erreur, vous êtes déjà inscrit !<br>
                                                    Vous allez être redirigé dans une seconde. Si la redirection ne se fait pas automatiquement,  cliquez <a href="index.php">ici</a>.</p>
                                                    </div></div><br />


                                                    </body>
                                                    </html>
                                                    ';
                                                    }

     


    J'espère que vous pourrez m'aider ! Merci beaucoup !!
    • Partager sur Facebook
    • Partager sur Twitter
    Anonyme
      31 août 2006 à 1:10:05

      Salut :)

      pour que tu ne te demandes pas pourquoi ne te répond, voilà un conseil pour demander de l'aide: donner le bout de code interessant et pas des centaines de lignes ( le code html, on peut déjà le virer, on en a pas besoin )


      Ensuite, ton code.
      C'est un trop gros pavé, donc je ne regarderai pas pourquoi ca foire, par contre, en regardant les première lignes, on voit qu'il y a des choses à changer:
      - isset() puis !empty(), c'est inutile, !empty() suffit.
      - htmlentities() est superflu, htmlspecialchars() est bien plus adapté
      - nl2br() se fais à l'affichage, pas à l'insertion ( sauf si on est certain de ne jamais modifier les données )

      Une dernière chose, extract(), c'est bien, mais il faut faire attention à comment on s'en sert ;)
      ( pour savoir pourquoi, vas voir l'avertissement en bas de la page consacrée à la fonction extract() dans la doc php )

      Ciao
      • Partager sur Facebook
      • Partager sur Twitter

      Mon formualire d'inscription

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown