0){ //objet1 $req = "SELECT * FROM objets WHERE objets.id_objets='".$objets1."'"; $resultat = mysql_query($req)or exit('Erreur ' . mysql_errno() . ' : ' . mysql_error()); $tableauReponse=mysql_fetch_assoc($resultat); $imageObjet1 = $tableauReponse['image']; $nomObjet1 = $tableauReponse['nom']; $descriptionObjet1 = $tableauReponse['description']; $nourritureObjet1 = $tableauReponse['typeObjet']; $aug_ForObjet1 = $tableauReponse['aug_For']; $aug_DexObjet1 = $tableauReponse['aug_Dex']; $aug_IntObjet1 = $tableauReponse['aug_Int']; $aug_SagObjet1 = $tableauReponse['aug_Sag']; $aug_ChaObjet1 = $tableauReponse['aug_Cha']; $aug_VitObjet1 = $tableauReponse['aug_Vit']; $aug_FatObjet1 = $tableauReponse['aug_Fat']; if($sac>1){ //objet2 $req = "SELECT * FROM objets WHERE objets.id_objets='".$objets2."'"; $resultat = mysql_query($req)or exit('Erreur ' . mysql_errno() . ' : ' . mysql_error()); $tableauReponse=mysql_fetch_assoc($resultat); $imageObjet2 = $tableauReponse['image']; $nomObjet2 = $tableauReponse['nom']; $descriptionObjet2 = $tableauReponse['description']; $nourritureObjet2 = $tableauReponse['typeObjet']; $aug_ForObjet2 = $tableauReponse['aug_For']; $aug_DexObjet2 = $tableauReponse['aug_Dex']; $aug_IntObjet2 = $tableauReponse['aug_Int']; $aug_SagObjet2 = $tableauReponse['aug_Sag']; $aug_ChaObjet2 = $tableauReponse['aug_Cha']; $aug_VitObjet2 = $tableauReponse['aug_Vit']; $aug_FatObjet2 = $tableauReponse['aug_Fat']; if($sac>2){ //objet3 $req = "SELECT * FROM objets WHERE objets.id_objets='".$objets3."'"; $resultat = mysql_query($req)or exit('Erreur ' . mysql_errno() . ' : ' . mysql_error()); $tableauReponse=mysql_fetch_assoc($resultat); $imageObjet3 = $tableauReponse['image']; $nomObjet3 = $tableauReponse['nom']; $descriptionObjet3 = $tableauReponse['description']; $nourritureObjet3 = $tableauReponse['typeObjet']; $aug_ForObjet3 = $tableauReponse['aug_For']; $aug_DexObjet3 = $tableauReponse['aug_Dex']; $aug_IntObjet3 = $tableauReponse['aug_Int']; $aug_SagObjet3 = $tableauReponse['aug_Sag']; $aug_ChaObjet3 = $tableauReponse['aug_Cha']; $aug_VitObjet3 = $tableauReponse['aug_Vit']; $aug_FatObjet3 = $tableauReponse['aug_Fat']; if($sac>3){ //objet4 $req = "SELECT * FROM objets WHERE objets.id_objets='".$objets4."'"; $resultat = mysql_query($req)or exit('Erreur ' . mysql_errno() . ' : ' . mysql_error()); $tableauReponse=mysql_fetch_assoc($resultat); $imageObjet4 = $tableauReponse['image']; $nomObjet4 = $tableauReponse['nom']; $descriptionObjet4 = $tableauReponse['description']; $nourritureObjet4 = $tableauReponse['typeObjet']; $aug_ForObjet4 = $tableauReponse['aug_For']; $aug_DexObjet4 = $tableauReponse['aug_Dex']; $aug_IntObjet4 = $tableauReponse['aug_Int']; $aug_SagObjet4 = $tableauReponse['aug_Sag']; $aug_ChaObjet4 = $tableauReponse['aug_Cha']; $aug_VitObjet4 = $tableauReponse['aug_Vit']; $aug_FatObjet4 = $tableauReponse['aug_Fat']; } } } } ?> Ville de Dragons
"; if($sac>0){ echo "" ."" ."" ."" .""; echo "" ."" ."" ."" ."" ."" ."

Sac D'Objets

" ."
" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
" ."
" //image objet1 ."" ."
" ."
" ."
" .""; if($objets1!=0){ if($nourritureObjet1==0){ echo ""; }else{ echo ""; } echo ""; } echo "
Nom:".$nomObjet1."
".$descriptionObjet1."
Bonus/Malus
For:".$aug_ForObjet1."Dex:".$aug_DexObjet1."
Vit:".$aug_VitObjet1."Int:".$aug_IntObjet1."
Sag:".$aug_SagObjet1."Cha:".$aug_ChaObjet1."
Fatigue:".$aug_FatObjet1."
Type:".typeAliment($nourritureObjet1)."
Consommer
"; if($sac>1){ echo "
" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
" ."
" //image objet2 ."" ."
" ."
" ."
" .""; if($objets2!=0){ if($nourritureObjet2==0){ echo ""; }else{ echo ""; } echo ""; } echo "
Nom:".$nomObjet2."
".$descriptionObjet2."
Bonus/Malus
For:".$aug_ForObjet2."Dex:".$aug_DexObjet2."
Vit:".$aug_VitObjet2."Int:".$aug_IntObjet2."
Sag:".$aug_SagObjet2."Cha:".$aug_ChaObjet2."
Fatigue:".$aug_FatObjet2."
Type:".typeAliment($nourritureObjet2)."
Consommer
"; } } if($sac>2){ echo "
" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
" ."
" //image objet3 ."" ."
" ."
" ."
" .""; if($objets3!=0){ if($nourritureObjet3==0){ echo ""; }else{ echo ""; } echo ""; } echo "
Nom:".$nomObjet3."
".$descriptionObjet3."
Bonus/Malus
For:".$aug_ForObjet3."Dex:".$aug_DexObjet3."
Vit:".$aug_VitObjet3."Int:".$aug_IntObjet3."
Sag:".$aug_SagObjet3."Cha:".$aug_ChaObjet3."
Fatigue:".$aug_FatObjet3."
Type:".typeAliment($nourritureObjet3)."
Consommer
"; if($sac>3){ echo "
" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."
" ."
" //image objet4 ."" ."
" ."
" ."
" .""; if($objets4!=0){ if($nourritureObjet4==0){ echo ""; }else{ echo ""; } echo ""; } echo "
Nom:".$nomObjet4."
".$descriptionObjet4."
Bonus/Malus
For:".$aug_ForObjet4."Dex:".$aug_DexObjet4."
Vit:".$aug_VitObjet4."Int:".$aug_IntObjet4."
Sag:".$aug_SagObjet4."Cha:".$aug_ChaObjet4."
Fatigue:".$aug_FatObjet4."
Type:".typeAliment($nourritureObjet4)."
Consommer
"; } } echo "
"; echo "

Etat de ".$_SESSION['Prenom']."" ."
Histoire de ".$_SESSION['Prenom']."" ."
Equipement de " .$_SESSION['Prenom']."" ."
Préférence de ".$_SESSION['Prenom']."" ."
Retour
"; ?>