Suivez les dernières actualités sur http://www.live-chat.fr http://www.live-chat.fr Suivez les dernières actualités sur http://www.live-chat.fr (C) 2005-2009 PHPBoost fr PHPBoost Connexion au Chat http://www.live-chat.fr/news/news-0-4+connexion-au-chat.php http://www.live-chat.fr/news/news-0-4+connexion-au-chat.php <!-- START HTML --> <script language="JavaScript" type="text/javascript"> function valide(Formulaire) { if (document.Formulaire.pseudo.value=="") { alert ("vous devez choisir un pseudo pour chatter !") ; document.Formulaire.pseudo.focus(); return (false); } /*else if (document.Formulaire.age.value=="") { alert ("vous devez mettre votre age pour chatter !") ; document.Formulaire.age.focus(); return (false); } else if (document.Formulaire.ville.value=="") { alert ("vous devez mettre un département ou une ville pour chatter !") ; document.Formulaire.ville.focus(); return (false); }*/ else { return (true); } } function valideChanPerso() { for (var j=0; j < document.Formulaire.chan.length; j++) { if (document.Formulaire.chan[j].checked==true) { chmtchan = confirm("le chan " + document.Formulaire.chan[j].value + " est déjà sélectionné, abandonner ce choix ?") ; if (chmtchan) { document.Formulaire.chan[j].checked=false ; } else document.Formulaire.go.focus(); } } } </SCRIPT> <FORM name="Formulaire" method="POST" action="http://www.live-chat.fr/chat/index.php" onSubmit="return valide(Formulaire);"> <fieldset> <legend>Informations personnelles</legend> <table> </br> <tr> <td><label for="pseudo">Votre pseudo :</label></td> <td><input name="pseudo" type="text" value="" id="pseudo" maxlength="32" /></td> </tr> <tr> <td><label for="passe">Votre mot de passe :</label></td> <td><input name="passe" type="password" value="" id="passe" maxlength="50" /></td> </tr> <tr> <td><label for="age">Votre age :</label></td> <td><input name="age" type="text" value="" id="age" size="2" maxlength="2" /> ans</td> </tr> <tr> <td><label for="sexe">Votre sexe :</label></td> <td><input name="sexe" type="radio" value="homme" id="sexe" /> Homme<br /><input name="sexe" type="radio" value="femme" id="sexe" /> Femme</td> </tr> <tr> <td><label for="ville">Votre ville :</label></td> <td><input name="ville" type="text" value="" id="ville" maxlength="50" /></td> </tr> </table> </fieldset> <center> <table> <tr> <td><input name="gotchat" type="submit" class="submit" value="Chattez !" /></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><input name="resetchat" type="reset" class="submit" value="Effacer" /></td> </tr> </table> </center> <fieldset> <legend>Le salon secondaire</legend> <br /> <table width="100%"> <font size="2" face="Arial, Helvetica, sans-serif"><font color="#0070d9"> <strong>Age :</strong> </font></font> <tr> <td width="25%"><input type="radio" name="chan" value="#adultes" /> #adultes</td> <td width="25%"><input type="radio" name="chan" value="#campus" /> #campus</td> <td width="25%"><input type="radio" name="chan" value="#college" /> #college</td> <td width="25%"><input type="radio" name="chan" value="#lycee" /> #lycee</td> </tr> <tr> <td width="25%"><input type="radio" name="chan" value="#25-35" /> #25-35</td> <td width="25%"><input type="radio" name="chan" value="#35-45" /> #35-45</td> <td width="25%"><input type="radio" name="chan" value="#senior" /> #senior</td> <td width="25%"><input type="radio" name="chan" value="#charme" /> #charme</td> </tr> </table> <br /> <table width="100%"> <font size="2" face="Arial, Helvetica, sans-serif"><font color="#0070d9"> <strong>Région :</strong> </font></font> <tr> <td width="25%"><input type="radio" name="chan" value="#nord-ouest" /> #nord-ouest</td> <td width="25%"><input type="radio" name="chan" value="#nord-est" /> #nord-est</td> <td width="25%"><input type="radio" name="chan" value="#ile-de-france" /> #ile-de-france</td> <td width="25%"><input type="radio" name="chan" value="#centre" /> #centre</td> </tr> <tr> <td width="25%"><input type="radio" name="chan" value="#sud-ouest" /> #sud-ouest</td> <td width="25%"><input type="radio" name="chan" value="#sud-est" /> #sud-est</td> <td width="25%"><input type="radio" name="chan" value="#corse" /> #corse</td> <td width="25%"><input type="radio" name="chan" value="#dom-tom" /> #dom-tom</td> </tr> <tr> <td width="25%"><input type="radio" name="chan" value="#lille" /> #lille</td> <td width="25%"><input type="radio" name="chan" value="#strasbourg" /> #strasbourg</td> <td width="25%"><input type="radio" name="chan" value="#marseille" /> #marseille</td> <td width="25%"><input type="radio" name="chan" value="#nantes" /> #nantes</td> </tr> <tr> <td width="25%"><input type="radio" name="chan" value="#bordeaux" /> #bordeaux</td> <td width="25%"><input type="radio" name="chan" value="#lyon" /> #lyon</td> <td width="25%"><input type="radio" name="chan" value="#paris" /> #paris</td> <td width="25%"><input type="radio" name="chan" value="#toulouse" /> #toulouse</td> </tr> </table> <br /> <table width="100%"> <font size="2" face="Arial, Helvetica, sans-serif"><font color="#0070d9"> <strong>Loisirs :</strong> </font></font> <tr> <td width="25%"><input type="radio" name="chan" value="#cinema" /> #cinema</td> <td width="25%"><input type="radio" name="chan" value="#culture" /> #culture</td> <td width="25%"><input type="radio" name="chan" value="#jeux" /> #jeux</td> <td width="25%"><input type="radio" name="chan" value="#musiques" /> #musiques</td> </tr> <tr> <td width="25%"><input type="radio" name="chan" value="#sciences" /> #sciences</td> <td width="25%"><input type="radio" name="chan" value="#voyages" /> #voyages</td> <td width="25%"><input type="radio" name="chan" value="#sports" /> #sports</td> <td width="25%"><input type="radio" name="chan" value="#loisirs" /> #loisirs</td> </tr> </table> <br /> <table width="100%"> <font size="2" face="Arial, Helvetica, sans-serif"><font color="#0070d9"> <strong>Autre :</strong> </font></font> <tr> <td width="25%"><input type="text" name="chanperso" value="#" maxlength="80" onfocus="return valideChanPerso();" /></td> </tr> </table> </fieldset> <center> <table> <tr> <td><input name="gotchat" type="submit" class="submit" value="Chattez !" /></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><input name="resetchat" type="reset" class="submit" value="Effacer" /></td> </tr> </table> </center> </FORM> <!-- END HTML --> Wed, 30 Sep 2009 02:50:01 +0200