|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-14 20:08 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
<html> <head> <title>LE SALON</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="javascript"> function openPop(url){ window.open(url,'ow','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=500,height=300'); } //tmtC_Move_Window tmt_Move_WindowX = 443; tmt_Move_WindowY = 225; self.moveTo(tmt_Move_WindowX,tmt_Move_WindowY);//tmtC_Move_WindowEnd function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==6)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); }MM_reloadPage(true); </script> </head> <body bgcolor="#000000" text="#000000" scroll="no" onLoad=""> <table cool width="908" height="454" border="0" cellpadding="0" cellspacing="0" gridx="16" gridy="16"> <tr height="1" cntrlrow> <td width="1" height="13"></td> <td width="36" height="13"><spacer type="block" width="32" height="1"></td> <td width="33" height="13"><spacer type="block" width="30" height="1"></td> <td width="40" height="13"><spacer type="block" width="36" height="1"></td> <td width="52" height="13"><spacer type="block" width="150" height="1"></td> <td width="190" height="13"><spacer type="block" width="42" height="1"></td> <td width="140" height="13"><spacer type="block" width="194" height="1"></td> <td width="23" height="13"><spacer type="block" width="23" height="1"></td> <td width="1" height="13"><spacer type="block" width="1" height="1"></td> <td width="131" height="13"><spacer type="block" width="138" height="1"></td> <td width="38" height="13"><spacer type="block" width="38" height="1"></td> <td width="108" height="13"><spacer type="block" width="108" height="1"></td> <td width="37" height="13"><spacer type="block" width="37" height="1"></td> <td width="13" height="13"><spacer type="block" width="13" height="1"></td> <td width="2" height="13"><spacer type="block" width="2" height="1"></td> <td width="63" height="13"><spacer type="block" width="63" height="1"></td> </tr> <tr height="23"> <td width="1" height="23"><spacer type="block" width="1" height="23"></td> <td width="36" height="23"></td> <td colspan="3" height="133" rowspan="4"></td> <td width="190" height="23"></td> <td width="140" height="23"></td> <td width="23" height="23"></td> <td width="1" height="23"></td> <td width="131" height="23"></td> <td width="38" height="23"></td> <td width="108" height="23"></td> <td width="37" height="23"></td> <td width="13" height="23"></td> <td width="2" height="23"></td> <td width="63" height="23"></td> </tr> <tr height="8"> <td width="1" height="8"><spacer type="block" width="1" height="8"></td> <td width="36" height="8"></td> <td width="190" height="8"></td> <td width="140" height="8"></td> <td width="23" height="8"></td> <td width="1" height="8"></td> <td width="131" height="8"></td> <td width="38" height="8"></td> <td width="108" height="8"></td> <td width="37" height="8"></td> <td width="13" height="8"></td> <td width="2" height="8"></td> <td width="63" height="8"></td> </tr> <tr height="64"> <td width="1" height="64"><spacer type="block" width="1" height="64"></td> <td width="36" height="64"></td> <td height="64" colspan="2" rowspan="1" valign="top" align="left" xpos="248" content csheight="36"> </td> <td width="23" height="64"></td> <td width="1" height="64"></td> <td width="131" height="64"></td> <td width="38" height="64"></td> <td width="108" height="64"></td> <td width="37" height="64"></td> <td width="13" height="64"></td> <td width="2" height="64"></td> <td width="63" height="64"></td> </tr> <tr height="38"> <td width="1" height="38"><spacer type="block" width="1" height="38"></td> <td width="36" height="38"></td> <td width="190" height="38"></td> <td width="140" height="358" colspan="1" rowspan="8" valign="top" align="left" xpos="290"> </td> <td width="23" height="38"></td> <td width="1" height="38"></td> <td width="131" height="38"></td> <td width="38" height="38"></td> <td width="108" height="38"></td> <td width="37" height="38"></td> <td width="13" height="38"></td> <td width="2" height="38"></td> <td width="63" height="38"></td> </tr> <tr height="20"> <td width="1" height="20"><spacer type="block" width="1" height="20"></td> <td rowspan="7" height="320" colspan="3"> </td> <td width="52" height="620" rowspan="7"></td> <td width="190" height="620" rowspan="7" valign="top"> <p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b><br> </b></font></p> <p><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><b><br> </b></font></p> <p> </td> <td width="23" height="20"></td> <td height="34" colspan="6" rowspan="2" valign="top" align="left" xpos="507" content csheight="32"> </td> <td width="2" height="20"></td> <td width="63" height="20"></td> </tr> <tr height="14"> <td width="1" height="14"><spacer type="block" width="1" height="14"></td> <td width="23" height="14"></td> <td width="2" height="14"></td> <td width="63" height="14"></td> </tr> <tr height="35"> <td width="1" height="35"><spacer type="block" width="1" height="35"></td> <td width="23" height="35"></td> <td width="1" height="35"></td> <td height="35" colspan="4" rowspan="1" valign="top" align="left" xpos="508" content csheight="32"> </td> <td width="13" height="35"></td> <td width="2" height="35"></td> <td width="63" height="35"></td> </tr> <tr height="35"> <td width="1" height="35"><spacer type="block" width="1" height="35"></td> <td width="23" height="35"></td> <td height="35" colspan="7" rowspan="1" valign="top" align="left" xpos="507" content csheight="31"> </td> <td width="63" height="35"></td> </tr> <tr height="36"> <td width="1" height="36"><spacer type="block" width="1" height="36"></td> <td width="23" height="36"></td> <td height="36" colspan="4" rowspan="1" valign="top" align="left" xpos="507" content csheight="31"> </td> <td width="37" height="36"></td> <td width="13" height="36"></td> <td width="2" height="36"></td> <td width="63" height="36"></td> </tr> <tr height="35"> <td width="1" height="35"><spacer type="block" width="1" height="35"></td> <td width="23" height="35"></td> <td height="35" colspan="3" rowspan="1" valign="top" align="left" xpos="507" content csheight="32"> </td> <td width="108" height="35"></td> <td width="37" height="35"></td> <td width="13" height="35"></td> <td width="2" height="35"></td> <td width="63" height="35"></td> </tr> <tr height="145"> <td width="1" height="145"><spacer type="block" width="1" height="145"></td> <td width="23" height="145"></td> <td height="145" colspan="2" rowspan="1" valign="top" align="left" xpos="507" content csheight="32"> </td> <td width="38" height="145"></td> <td width="108" height="145"></td> <td width="37" height="145"></td> <td width="13" height="145"></td> <td width="2" height="145"></td> <td width="63" height="145"></td> </tr> </table> <div id="Layer1" style="position:absolute; left:43px; top:36px; width:231px; height:35px; z-index:9"> <div align="center"> <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="227" height="45"> <param name=movie value="../animations/Le Salon17.swf"> <param name=quality value=high> <embed src="../animations/Le Salon17.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="227" height="45"> </embed> </object></p> </div> </div> <div id="Layer2" style="position:absolute; width:476px; height:13px; z-index:21; left: 54px; top: 120px"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Pour acceder au forum, au chat et aux annonces de rencontres</font></div> <div id="Layer3" style="position:absolute; width:295px; height:14px; z-index:22; left: 54px; top: 134px"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">entrez votre identifiant :</font></div> <div id="Layer4" style="position:absolute; width:180px; height:13px; z-index:23; left: 56px; top: 216px"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Si vous n'êtes pas inscrit</font></div> <div id="Layer6" style="position:absolute; width:79px; height:34px; z-index:24; left: 81px; top: 237px"> <input type="button" onClick="javascript:openPop('MEMBRE.php3');" name="Submit2" value="Cliquez ici" scroll="no"> </div> <form method="post" action=""> <div id="login2" style="position:absolute; left:348px; top:172px; width:110px; height:31px; z-index:15"> <div align="center"> <input type="text" name="login" size="15"> </div> </div> <div id="pass" style="position:absolute; left:348px; top:204px; width:110px; height:27px; z-index:12"> <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"> <input type="password" name="pass" size="15"> </font></div> </div> <div id="passw" style="position:absolute; left:265px; top:207px; width:290px; height:13px; z-index:5"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">PASSWORD :</font></div> <div id="login" style="position:absolute; left:265px; top:176px; width:290px; height:13px; z-index:4"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">LOGIN : </font></div> <div id="Layer5" style="position:absolute; left:370px; top:237px; width:55px; height:32px; z-index:20"> <input type="submit" name="Submit" value="Envoyer" scroll="no"> </div> </form> <? require "Connect.php"; $connection = mysql_pconnect(SERVEUR, NOM, PASS); if(!$connection) { echo "D?sol?, connection ? " . SERVEUR . " impossible\n"; exit; } if(!mysql_select_db(BASE, $connection)) { echo "D?sol?, acc?s ? la base " . BASE . " impossible\n"; exit; } if (($login == "")&&($pass == "")) { echo "<font color='#FFFFFF'>Vous avez omis de saisir l'un des deux champs</font>"; }else { $resultat = mysql_query("SELECT * FROM membre WHERE login= '$login' ", $connection); if($resultat) { if ($memb = mysql_fetch_object($resultat)) { if ($memb->password == $pass) { if (($memb->confirmation == 'o')||($memb->confirmation == 'O')) { echo "<script>"; echo "window.open('LESALON.php3?login=$login','','width=500,height=400');"; echo "window.close();"; echo "</script>"; }else echo "<div align=\"center\" id=\"Layer10\" style=\"position:absolute; width:190px; height:6px; z-index:1; left: 40px; top: 160px\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b><font color=\"#FF0000\">VOUS N'AVEZ PAS CONFIRMER VOTRE INSCRIPTION PAR EMAIL</font></b></font></div>"; }else echo "<div align=\"center\" id=\"Layer11\" style=\"position:absolute; width:190px; height:6px; z-index:1; left: 40px; top: 160px\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b><font color=\"#FF0000\">CE N'EST PAS LE BON PASSWORD</font></b></font></div>"; } else { echo "<div id=\"Layer12\" style=\"position:absolute; width:258px; height:6px; z-index:1; left: 50px; top: 180px\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b><font color=\"#FF0000\">CE LOGIN N'EXISTE PAS</font></b></font></div>"; } } ?> </body> </html>