08-09-2006, 12:04 PM
Bon... voila mon probleme:
Je me prend la tete depuis des heures sur ma page index.php à a cause de la connection a la page membres.php (la page d'acceuil des membres ).
Voici ma page index.php:
Je me prend la tete depuis des heures sur ma page index.php à a cause de la connection a la page membres.php (la page d'acceuil des membres ).
Voici ma page index.php:
Code PHP :
<?php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Magus World - Jeu massivement multijoueurs</title>
<link rel="stylesheet" type="text/css" href="whiteDragon/style.css">
<script type="text/JavaScript">
<!--
function MM_preloadwhiteDragon() { //v3.0
var d=document; if(d.whiteDragon){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadwhiteDragon.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadwhiteDragon('whiteDragon/puce2.gif','whiteDragon/puce.gif','whiteDragon/dragon_gauche.gif','whiteDragon/dragon_gauche_oeilbrillant.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="whiteDragon/dragon_gauche.gif" width="100" height="208" id="dragon_gauche" name="dragon_gauche"/></td>
<td><table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="15" height="267" background="whiteDragon/bord_gauche.gif"> </td>
<td><table width="100%" height="583" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="17%" height="140"><table width="120" height="53" border="0" align="center" cellpadding="0" cellspacing="0" id="Tableau_01">
<tr>
<td><img src="whiteDragon/Sans-titre-4_01.png" width="120" height="20" alt="" /></td>
</tr>
<tr>
<td background="whiteDragon/Sans-titre-4_02.gif" width="120" height="13" class="menu"><div align="center">
<p><br />
-= Magus World =-<br />
<br />
<br />
</p>
</div></td>
</tr>
<tr>
<td><img src="whiteDragon/Sans-titre-4_03.png" width="120" height="20" alt="" /></td>
</tr>
</table></td>
<td width="66%"><img src="whiteDragon/logo.gif" width="405" height="140" /></td>
<td width="17%"><table width="120" height="53" border="0" align="center" cellpadding="0" cellspacing="0" id="Tableau_01">
<tr>
<td><img src="whiteDragon/Sans-titre-4_01.png" width="120" height="20" alt="" /></td>
</tr>
<tr>
<td background="whiteDragon/Sans-titre-4_02.gif" width="120" height="13" class="menu"><div align="center">
<p><br />
-= Magus World =-<br />
<br />
<br />
</p>
</div></td>
</tr>
<tr>
<td><img src="whiteDragon/Sans-titre-4_03.png" width="120" height="20" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="37" colspan="3"><div align="center">
<form method="post" action="index.php">
<label for="pseudo">Pseudo : <input type="text" name="pseudo" id="pseudo" /></label>
<label for="mot_passe">Mot de passe : <input type="password" name="mot_passe" id="mot_passe" /></label>
<label for="souvenir">Se souvenir de moi ? <input type="checkbox" name="souvenir" id="souvenir" /></label>
<input type="submit" name="connexion" value="Se connecter" />
</form>
</div></td>
</tr>
<tr>
<td height="311" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu1.gif" height="25"><div align="center">Mon compte </div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif"><a href="#" onmouseout="MM_swapImage('menu_gauche1','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche1','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche1" border="0" id="menu_gauche1" /> Inventaire </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche2','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche2','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche2" border="0" id="menu_gauche2" /> S'inscrire </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche3','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche3','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche3" border="0" id="menu_gauche3" /> Forum </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche4','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche4','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche4" border="0" id="menu_gauche4" /> Chat </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche5','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche5','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche5" border="0" id="menu_gauche5" /> Déconnection </a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu1.gif" height="25"><div align="center">Ville</div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif">
<a href="#" onmouseout="MM_swapImage('menu_gauche21','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche21','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche21" border="0" id="menu_gauche21" /> Institue de magie </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche22','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche22','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche22" border="0" id="menu_gauche22" /> Fortifications </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche23','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche23','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche23" border="0" id="menu_gauche23" /> Population </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche24','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche24','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche24" border="0" id="menu_gauche24" /> Armurerie </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche25','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche25','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche25" border="0" id="menu_gauche25" /> Marché </a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu1.gif" height="25"><div align="center">Armée</div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif">
<a href="#" onmouseout="MM_swapImage('menu_gauche31','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche31','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche31" border="0" id="menu_gauche31" /> Classement </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche32','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche32','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche32" border="0" id="menu_gauche32" /> Mes lanciers </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche33','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche33','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche33" border="0" id="menu_gauche33" /> Mes cavaliers </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche34','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche34','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche34" border="0" id="menu_gauche34" /> Mes archers </a><br />
<a href="#" onmouseout="MM_swapImage('menu_gauche35','','whiteDragon/puce.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche.gif',1)" onmouseover="MM_swapImage('menu_gauche35','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_gauche','','whiteDragon/dragon_gauche_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_gauche35" border="0" id="menu_gauche35" /> Mes armes de siège </a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<div align="left"><img src="whiteDragon/bot_left.gif" width="64" height="30" /></div></td>
<td valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_haut-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-droite.gif" height="12" width="12" /></td>
</tr>
<tr>
<td background="whiteDragon/cadre1_arrondi_mid-gauche.gif" width="9"></td>
<td align="center" valign="middle"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center">Lundi 4 Septembre ..::.. changement de design </td>
</tr>
<tr>
<td width="30%" align="center"><img src="whiteDragon/news_rouge.gif" width="57" height="57" /></td>
<td width="70%" align="left">Comme vous pouvez le constater, j'ai entierement changé le design de Magus World. </td>
</tr>
</table></td>
<td background="whiteDragon/cadre1_arrondi_mid-droite.gif" width="9"></td>
</tr>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_bas-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-droite.gif" height="12" width="12" /></td>
</tr>
</tbody>
</table>
<br />
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_haut-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-droite.gif" height="12" width="12" /></td>
</tr>
<tr>
<td background="whiteDragon/cadre1_arrondi_mid-gauche.gif" width="9"></td>
<td align="center" valign="middle"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center">Lundi 4 Septembre ..::.. Concernant Magus World </td>
</tr>
<tr>
<td width="30%" align="center"><img src="whiteDragon/news_orange.gif" width="57" height="57" /></td>
<td width="70%" align="left"><p>Bienvenue dans la version Alpha de Magus World. Ce jeu en php est actuelement en programation et ne serra ouvert que dans quelques semaines, mois. </p>
</td>
</tr>
</table></td>
<td background="whiteDragon/cadre1_arrondi_mid-droite.gif" width="9"></td>
</tr>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_bas-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-droite.gif" height="12" width="12" /></td>
</tr>
</tbody>
</table>
<br />
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_haut-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_haut-droite.gif" height="12" width="12" /></td>
</tr>
<tr>
<td background="whiteDragon/cadre1_arrondi_mid-gauche.gif" width="9"></td>
<td align="center" valign="middle"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="center"> ..::.. Magus World ..::.. </td>
</tr>
<tr>
<td width="30%" align="center"><img src="whiteDragon/news_jaune.gif" width="57" height="57" /></td>
<td width="70%" align="left"><p align="center">Bienvenue dans un monde où la magie règnes depuis des millénaires.</p>
<p align="center">Un monde où des mages ou pouvoirs inimaginable se font la guerre afin d'imposer leurs lois.</p>
<p align="center">Bienvenue dans... Magus World ! </p></td>
</tr>
</table></td>
<td background="whiteDragon/cadre1_arrondi_mid-droite.gif" width="9"></td>
</tr>
<tr>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-gauche.gif" height="12" width="12" /></td>
<td background="whiteDragon/cadre1_arrondi_bas-mid.gif" height="12"></td>
<td height="12" width="12"><img src="whiteDragon/cadre1_arrondi_bas-droite.gif" height="12" width="12" /></td>
</tr>
</tbody>
</table>
<p align="center"><img src="whiteDragon/bot_mid.gif" width="92" height="30" /></p></td>
<td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu2.gif" height="25"><div align="center">Autres</div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif"><a href="#" onmouseout="MM_swapImage('menu_droite1','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite1','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite1" border="0" id="menu_droite1" /> La carte </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite2','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite2','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite2" border="0" id="menu_droite2" /> Histoire</a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite3','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite3','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite3" border="0" id="menu_droite3" /> Nouvelles </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite4','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite4','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite4" border="0" id="menu_droite4" /> Connectés </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite5','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite5','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite5" border="0" id="menu_droite5" /> Règles </a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu2.gif" height="25"><div align="center">Règles</div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif">
<a href="#" onmouseout="MM_swapImage('menu_droite21','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite21','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite21" border="0" id="menu_droite21" /> Bien débuter </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite22','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite22','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite22" border="0" id="menu_droite22" /> Les attaques </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite23','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite23','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite23" border="0" id="menu_droite23" /> Les ressources </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite24','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite24','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite24" border="0" id="menu_droite24" /> L'armée </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite25','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite25','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite25" border="0" id="menu_droite25" /> Conditions générales </a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="126">
<tbody>
<tr>
<td width="126" background="whiteDragon/menu2.gif" height="25"><div align="center">Partenaires:</div></td>
</tr>
<tr>
<td class="menu" background="whiteDragon/menu_mid.gif">
<a href="#" onmouseout="MM_swapImage('menu_droite31','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite31','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite31" border="0" id="menu_droite31" /> Nous contacter </a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite32','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite32','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite32" border="0" id="menu_droite32" /> </a>ahd-5.com </a><br />
<a href="http://www.hd-5.com/" onmouseout="MM_swapImage('menu_droite33','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite33','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite33" border="0" id="menu_droite33" /></a><a href="http://bobcrea.site.voila.fr"> Bobcrea</a><br />
<a href="http://bobcrea.site.voila.fr/" onmouseout="MM_swapImage('menu_droite34','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite34','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite34" border="0" id="menu_droite34" /></a><br />
<a href="#" onmouseout="MM_swapImage('menu_droite35','','whiteDragon/puce.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite.gif',1)" onmouseover="MM_swapImage('menu_droite35','','whiteDragon/puce2.gif',1);MM_swapImage('dragon_droite','','whiteDragon/dragon_droite_oeilbrillant.gif',1)"><img src="whiteDragon/puce.gif" name="menu_droite35" border="0" id="menu_droite35" /></a><br />
</td>
</tr>
<tr>
<td><img src="whiteDragon/menu_bas.gif" width="126" height="5" /></td>
</tr>
</tbody>
</table>
<div align="right"><img src="whiteDragon/bot_right.gif" width="64" height="30" /></div></td>
</tr>
<tr>
<td valign="top" colspan="3"><div align="center">Magus World © 2006 - Zneman - zneman@gmail.com </div></td>
</tr>
<tr>
<td valign="top"><p> </p>
<p> </p></td>
<td valign="top"> </td>
<td valign="top"><p> </p>
<p> </p></td>
</tr>
</table></td>
<td width="15" background="whiteDragon/bord_droite.gif"> </td>
</tr>
</table></td>
<td><img src="whiteDragon/dragon_droite.gif" width="100" height="208" id="dragon_droite" name="dragon_droite"/></td>
</tr>
</table>
</body>
</html>
Comme vous pouvez le voir, mon forumlaire de connection est fait etc..
Je ne sais pas comment faire le code de connection (quand un membre met son pseudo et son mot de passe dans la bonne case, ca le connect et ca le mene a la page membres.php.
Voila ce que je voudrai faire:
- quand le pseudo est incorrect, mettre "pseudo incorrect"
- quand le mot de passe est incorrect, mettre: "mot de passe incorrect"
- quand le compte n'existe pas: metre: "compte inextistant"
- quand tout est bon... aller a membres.php
voila les infos:
Mes identifiants de FTP sont dans le dossier "config.inc" afin de pouvoir se connecter a la BDD, ma table SCQL:
Citation :CREATE TABLE `membres` (
`id` INT NOT NULL AUTO_INCREMENT ,
`pseudo` VARCHAR( 40 ) NOT NULL ,
`mot_passe` VARCHAR( 255 ) NOT NULL ,
`confirmation` SMALLINT( 1 ) DEFAULT '0' NOT NULL ,
`confirmation_code` VARCHAR( 20 ) NOT NULL ,
`email` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
Quelqu'un pourrai me donner un code qui fonctionne ? la j'ai utilisé un tuto du site du zero mais... fonctionne pas
Merci d'avance..
Zne