par
vinc » 31 mars 2006, 15:02
voici l'erreure donnée alors que je viens de changer les noms des tables...
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/templedu/public_html/rencontre1/fiche.php on line 877
voici le code de ma page...
<?php
require_once("phplib/connect.php");
require_once("phplib/requete.class.php");
require_once("phplib/lib.php");
session_start();
if (!isset($_SESSION['id_membre'])) header("location: redirinscr.html");
$visiteur = $_SESSION['id_membre'];
$membrefiche = $_GET['id'];
$_SESSION['membrecible'] = $membrefiche;
if ($visiteur == $membrefiche) {
$mode = "perso";
$imgfond = "fiche%20individuel%20copie.jpg";
$messagerie = "messagerie.php";
$sqlnbmess = "SELECT * FROM tem_messages WHERE id_destinataire = '$membrefiche'";
$result = mysql_query($sqlnbmess, $link) or die($sqlnbmess."<br/>".mysql_error());
$nbmess = mysql_num_rows($result);
} else {
$mode = "public";
$imgfond = "fiche%20public.jpg";
$messagerie = "envoimessage.php?id=$membrefiche";
$nbmess = "";
}
$sql = new requete("SELECT", "selection donnees");
$sql->addWhereClause("tem_membres.id_membre = '$membrefiche'");
$sql->addChamp("tem_membres", "pseudo");
$sql->addChamp("tem_membres", "date_naiss");
$sql->addChamp("tem_membres", "taille");
$sql->addChamp("tem_membres", "poids");
$sql->addChamp("tem_membres", "cheveux");
$sql->addChamp("tem_membres", "yeux");
$sql->addChamp("tem_membres", "situation_famil");
$sql->addChamp("tem_membres", "webcam");
$sql->addChamp("tem_membres", "site_web");
$sql->addChamp("tem_membres", "description");
$sql->addChamp("tem_membres", "aime1");
$sql->addChamp("tem_membres", "aime2");
$sql->addChamp("tem_membres", "aime3");
$sql->addChamp("tem_membres", "aimepas1");
$sql->addChamp("tem_membres", "aimepas2");
$sql->addChamp("tem_membres", "aimepas3");
$sql->addChamp("tem_membres", "statut");
$sql->addChamp("tem_etat", "etat");
$sql->addWhereClause("tem_etat.id_etat = tem_membres.id_etat");
$sql->addChamp("tem_orientationsexuelle", "orsexuelle");
$sql->addWhereClause("tem_orientationsexuelle.id_orsexuelle = tem_membres.id_orsexuelle");
$sql->addChamp("tem_recherche", "recherche");
$sql->addWhereClause("tem_recherche.id_recherche = tem_membres.id_recherche");
$sql->addChamp("tem_personnalite", "personnalite");
$sql->addWhereClause("tem_personnalite.id_personnalite = tem_membres.id_personnalite");
$sql->addChamp("tem_physique", "physique");
$sql->addWhereClause("tem_physique.id_physique = tem_membres.id_physique");
$sql->addChamp("tem_profession", "profession");
$sql->addWhereClause("tem_profession.id_profession = tem_membres.id_profession");
if (!$sql->execute($link)) die($sql->erreur);
foreach($sql->donnees[0] as $key=>$value) {
$$key = stripslashes(nl2br($value));
}
$transnaiss = ereg_replace('-', '', $date_naiss);
$age = CalcAge($transnaiss)." ans";
$photos = array();
$sqlphotos = "SELECT id_photo, num, nom FROM tem_photos WHERE id_membre='$membrefiche' ORDER BY num";
$result = mysql_query($sqlphotos, $link) or die($sqlphotos."<br/>".mysql_error());
while ($row = mysql_fetch_assoc($result)) {
$num = $row['num'];
$nom = $row['nom'];
array_push($photos, "photosmembres/grandes/".$nom);
}
if ($photos == array() && $mode == "perso") {
$photos[0] = "photosmembres/grandes/nophoto.gif";
}
?>
<!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>chatafter</title>
<script language="javascript">
window.onload = function()
{
photos = new Array();
<?php
for ($i=0; $i<count($photos); $i++) {
echo "\tphotos[$i] = '".$photos[$i]."';\n";
}
?>
ph = 0;
activePhoto(ph);
}
function activePhoto(n)
{
//alert(n+" : "+photos[n]);
document.getElementById("photo").innerHTML = "<img border='0' src='"+photos[n]+"' />";
}
function photoSuivante()
{
if (ph<photos.length-1) {
//alert("ph : "+ph+" < "+(photos.length-1));
ph++;
activePhoto(ph);
}
}
function photoPrec()
{
if (ph>0) {
//alert("ph : "+ph+" > 0");
ph--;
activePhoto(ph);
}
}
</script>
<style type="text/css">
<!--
body {
background-image: url(images/<?php echo $imgfond ?>);
background-repeat: no-repeat;
background-color: #E5E5E5;
}
#Layer1 {
position:absolute;
width:200px;
height:857px;
z-index:1;
left: 143px;
top: 161px;
}
#Layer2 {
position:absolute;
width:536px;
height:3px;
z-index:2;
left: 375px;
top: 196px;
}
#Layer3 {
position:absolute;
width:527px;
height:286px;
z-index:2;
left: 417px;
top: 201px;
}
#Layer4 {
position:absolute;
width:506px;
height:82px;
z-index:3;
left: 419px;
top: 499px;
}
#Layer5 {
position:absolute;
width:492px;
height:423px;
z-index:4;
left: 405px;
top: 620px;
}
#Layer6 {
position:absolute;
width:106px;
height:50px;
z-index:5;
left: 813px;
top: 114px;
}
#Layer7 {
position:absolute;
width:285px;
height:50px;
z-index:5;
left: 500px;
top: 130px;
font-size:2em;
}
a:link {
color: #000000;
text-decoration: none;
}
a:hover {
color: #000000;
text-decoration: underline;
}
a:visited {
color: #000000;
text-decoration: none;
}
a.Style2:link {color: #FF0000; font-size: 14px; font-weight:bold}
a.Style2:hover {color: #FF0000; font-size: 14px; font-weight:bold}
a.Style2:visited {color: #FF0000; font-size: 14px; font-weight:bold}
#Layer8 {
position:absolute;
width:200px;
height:20px;
z-index:6;
left: 1px;
top: 465px;
}
#Layer9 {
position:absolute;
width:200px;
height:15px;
z-index:1;
left: 0px;
top: 412px;
}
#Layer10 {
position:absolute;
width:200px;
height:15px;
z-index:2;
top: 438px;
left: -1px;
}
#Layer11 {
position:absolute;
width:200px;
height:17px;
z-index:3;
left: 0px;
top: 466px;
}
#Layer12 {
position:absolute;
width:200px;
height:19px;
z-index:4;
top: 496px;
}
#Layer13 {
position:absolute;
width:200px;
height:18px;
z-index:5;
left: 0px;
top: 520px;
}
#Layer14 {
position:absolute;
width:200px;
height:21px;
z-index:6;
left: 1px;
top: 542px;
}
#Layer15 {
position:absolute;
width:200px;
height:16px;
z-index:7;
left: 1px;
top: 568px;
}
#Layer16 {
position:absolute;
width:200px;
height:19px;
z-index:8;
left: 0px;
top: 613px;
}
#Layer5 th {
text-align: center;
vertical-align: text-top;
display: inline-table;
}
#Layer1 div {
color: #FF0000;
}
#Layer1 div {
color: #FF0000;
}
#Layer6 {
color: #FF0000;
}
#Layer6 {
color: #FF0000;
}
#Layer17 {
position:absolute;
width:87px;
height:103px;
z-index:9;
left: 58px;
top: 680px;
}
#Layer18 {
position:absolute;
width:200px;
height:115px;
z-index:10;
left: 293px;
top: 498px;
}
#Layer19 {
position:absolute;
width:192px;
height:37px;
z-index:11;
left: 7px;
top: 800px;
}
.Style10 {color: #000000}
.Style12 {
color: #000000;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
#Layer5 th {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer4 div {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#Layer4 strong {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer4 div {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.Style13 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; }
#Layer3 td {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer7 {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#Layer20 {
position:absolute;
width:200px;
height:20px;
z-index:1;
left: 153px;
top: 380px;
}
.Style15 {font-size: 12px}
.Style17 {color: #333333; }
.Style18 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
<body>
<body [...vos autres arguments...] oncontextmenu="return false">
<div id="Layer1">
<table width="100%" height="258" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="30" height="39" scope="row"> </th>
<th width="152" scope="row"> </th>
<th width="18" scope="row"> </th>
</tr>
<tr>
<th height="193" scope="row"> </th>
<th scope="row">
<?php if($mode== "perso") echo "<a id='photo' href='photos.php'>";
else echo "<div id='photo'>";
echo "<img border='0' src='".$photos[0]."' />";
if($mode== "perso") echo("</a>");
else echo "</div>";
?>
</th>
<th scope="row"> </th>
</tr>
<tr>
<th scope="row"> </th>
<th scope="row"> </th>
<th scope="row"> </th>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="33"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="53%"><div align="center">
<label>
<input type="submit" name="Submit" value="<" onclick="photoPrec();" />
</label>
</div></td>
<td width="47%"><div align="center">
<input name="Submit" type="submit" id="Submit" value=">" onclick="photoSuivante();" />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="111"><table width="100%" height="64" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="96%" height="21"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="192" height="21" scope="row"><div align="center"><a href="<?php echo $messagerie; ?>"><img src="images/transparent.gif" alt="recus" width="96" height="19" border="0" align="absmiddle" /></a><?php echo $nbmess; ?>
</div></th>
</tr>
</table>
<div align="center"> </div></td>
<td width="2%"> </td>
<td width="2%"> </td>
</tr>
<tr>
<td height="32" colspan="2"><div align="center"><a href="envoimessage.php"></a>
<table width="77%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="24" scope="row">
<div align="center">
<?php if ($mode=="perso") { ?>
<a href="inscription.php?mode=modif">
<?php } else {
echo "<a class='Style1' href='fiche.php?id=$visiteur'>Retour à ma fiche</a>";
}
?>
<img src="images/transparent.gif" width="137" height="22" border="0" /></a></div></th>
</tr>
</table>
</div></td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<div id="Layer9"><a href="fantasme.php?id=<?php echo $membrefiche; ?>"><img src="images/transparent.gif" width="190" height="13" border="0" /></a></div>
<div id="Layer10"><a href="index.php"><img src="images/transparent.gif" width="197" height="19" border="0" /></a></div>
<div id="Layer11"><a href="http://www.menofmydreams.com/"><img src="images/transparent.gif" width="196" height="18" border="0" /></a></div>
<div id="Layer12"><a href="http://www.pabo.be"><img src="images/transparent.gif" width="200" height="18" border="0" /></a></div>
<div id="Layer13"><a href="../chat.html"><img src="images/transparent.gif" width="196" height="17" border="0" /></a></div>
<div id="Layer14"><a href="../flash/disco.html"><img src="images/transparent.gif" width="198" height="21" border="0" /></a></div>
<div id="Layer15"><a href="../tuning/accueiltuning.html"><img src="images/transparent.gif" width="198" height="13" border="0" /></a></div>
<div id="Layer16"><a href="../telechargement/fichetelecharge.html"><img src="images/transparent.gif" width="197" height="15" border="0" /></a></div>
<div id="Layer17"><img src="photosmembres/grandes/38_6_10BP5521-2.jpg" width="87" height="104" /></div>
<div id="Layer19">
<table width="200" border="0">
<tr>
<td><div align="center" class="Style10"><span class="Style12">www.templeduplaisir.be</span></div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</div>
<div id="Layer3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="57%" scope="row"><div align="left" class="Style13">Age:</div></th>
<td width="43%"><?php echo $age; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Taille:</div></th>
<td><?php echo $taille; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Poids:</div></th>
<td><?php echo $poids; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Cheveux:</div></th>
<td><?php echo $cheveux; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Yeux:</div></th>
<td><?php echo $yeux; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Célibataire:</div></th>
<td><?php echo $situation_famil; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Etat:</div></th>
<td><?php echo $etat; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Orientation sexuelle: </div></th>
<td><?php echo $orsexuelle; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Ce que je recherche: </div></th>
<td><?php echo $recherche; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">ma personnalité: </div></th>
<td><?php echo $personnalite; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Physique:</div></th>
<td><?php echo $physique; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Profession:</div></th>
<td><?php echo $profession; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Web cam:</div></th>
<td><?php echo $webcam; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Votre site perso: </div></th>
<td><?php
if ($site_web != "") echo "<a class='Style1' href='$site_web' target='_blank'>ici</a>";
?></td>
</tr>
</table>
</div>
<div id="Layer4">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="59%" scope="row"><div align="left">1-<?php echo $aime1; ?></div></th>
<td width="41%"><strong>1-<?php echo $aimepas1; ?></strong></td>
</tr>
<tr>
<th scope="row"><div align="left">2-<?php echo $aime2; ?></div></th>
<td><strong>2-<?php echo $aimepas2; ?></strong></td>
</tr>
<tr>
<th scope="row"><div align="left">3-<?php echo $aime3; ?></div></th>
<td><strong>3-<?php echo $aimepas3; ?></strong></td>
</tr>
</table>
</div>
<div id="Layer5">
<table width="100%" height="273" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="row"><?php echo $description; ?></th>
</tr>
</table>
<div id="Layer20">
<table width="200" border="0">
<tr>
<td><div align="center" class="Style17"><span class="Style15"><strong>Temple du Plaisir</strong> <span class="Style18">©</span></span> <span class="Style15"><strong>2006-2010</strong></span></div></td>
</tr>
</table>
</div>
</div>
<div id="Layer6"><a href="reglement_vip.html"><img src="images/transparent.gif" alt="vip" width="110" height="50" border="0" /></a><br />
<?php if ($statut=="admin" && $mode=="perso") echo "<a href='tdpmyad/index.php'>Administration</a>"; ?>
</div>
<div id="Layer7"><?php echo $pseudo; ?><?php echo $sql = "SELECT tem_membres.pseudo, tem_membres.nom, tem_membres.prenom, CONCAT('<img src="'.tem_pays.drapeaux.'"/>') AS gif_drapeau FROM tem_membre, tem_pays WHERE tem_membre.id_pays = tem_pays.id";
$req = mysql_query($sql) or die(mysql_error());
echo '<table>';
while($ligne = mysql_fetch_assoc($req)){
echo '<tr><td>'.$ligne['gif_drapeau'].'</td><td>'.$ligne['pseudo'].'</td><td>'.$ligne['nom'].'</td><td>'.$ligne['prenom'].'</td></tr>';
}
echo '</table>'; ?></div>
voici l'erreure donnée alors que je viens de changer les noms des tables...
[color=darkblue]Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/templedu/public_html/rencontre1/fiche.php on line 877[/color]
voici le code de ma page...
[php]<?php
require_once("phplib/connect.php");
require_once("phplib/requete.class.php");
require_once("phplib/lib.php");
session_start();
if (!isset($_SESSION['id_membre'])) header("location: redirinscr.html");
$visiteur = $_SESSION['id_membre'];
$membrefiche = $_GET['id'];
$_SESSION['membrecible'] = $membrefiche;
if ($visiteur == $membrefiche) {
$mode = "perso";
$imgfond = "fiche%20individuel%20copie.jpg";
$messagerie = "messagerie.php";
$sqlnbmess = "SELECT * FROM tem_messages WHERE id_destinataire = '$membrefiche'";
$result = mysql_query($sqlnbmess, $link) or die($sqlnbmess."<br/>".mysql_error());
$nbmess = mysql_num_rows($result);
} else {
$mode = "public";
$imgfond = "fiche%20public.jpg";
$messagerie = "envoimessage.php?id=$membrefiche";
$nbmess = "";
}
$sql = new requete("SELECT", "selection donnees");
$sql->addWhereClause("tem_membres.id_membre = '$membrefiche'");
$sql->addChamp("tem_membres", "pseudo");
$sql->addChamp("tem_membres", "date_naiss");
$sql->addChamp("tem_membres", "taille");
$sql->addChamp("tem_membres", "poids");
$sql->addChamp("tem_membres", "cheveux");
$sql->addChamp("tem_membres", "yeux");
$sql->addChamp("tem_membres", "situation_famil");
$sql->addChamp("tem_membres", "webcam");
$sql->addChamp("tem_membres", "site_web");
$sql->addChamp("tem_membres", "description");
$sql->addChamp("tem_membres", "aime1");
$sql->addChamp("tem_membres", "aime2");
$sql->addChamp("tem_membres", "aime3");
$sql->addChamp("tem_membres", "aimepas1");
$sql->addChamp("tem_membres", "aimepas2");
$sql->addChamp("tem_membres", "aimepas3");
$sql->addChamp("tem_membres", "statut");
$sql->addChamp("tem_etat", "etat");
$sql->addWhereClause("tem_etat.id_etat = tem_membres.id_etat");
$sql->addChamp("tem_orientationsexuelle", "orsexuelle");
$sql->addWhereClause("tem_orientationsexuelle.id_orsexuelle = tem_membres.id_orsexuelle");
$sql->addChamp("tem_recherche", "recherche");
$sql->addWhereClause("tem_recherche.id_recherche = tem_membres.id_recherche");
$sql->addChamp("tem_personnalite", "personnalite");
$sql->addWhereClause("tem_personnalite.id_personnalite = tem_membres.id_personnalite");
$sql->addChamp("tem_physique", "physique");
$sql->addWhereClause("tem_physique.id_physique = tem_membres.id_physique");
$sql->addChamp("tem_profession", "profession");
$sql->addWhereClause("tem_profession.id_profession = tem_membres.id_profession");
if (!$sql->execute($link)) die($sql->erreur);
foreach($sql->donnees[0] as $key=>$value) {
$$key = stripslashes(nl2br($value));
}
$transnaiss = ereg_replace('-', '', $date_naiss);
$age = CalcAge($transnaiss)." ans";
$photos = array();
$sqlphotos = "SELECT id_photo, num, nom FROM tem_photos WHERE id_membre='$membrefiche' ORDER BY num";
$result = mysql_query($sqlphotos, $link) or die($sqlphotos."<br/>".mysql_error());
while ($row = mysql_fetch_assoc($result)) {
$num = $row['num'];
$nom = $row['nom'];
array_push($photos, "photosmembres/grandes/".$nom);
}
if ($photos == array() && $mode == "perso") {
$photos[0] = "photosmembres/grandes/nophoto.gif";
}
?>
<!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>chatafter</title>
<script language="javascript">
window.onload = function()
{
photos = new Array();
<?php
for ($i=0; $i<count($photos); $i++) {
echo "\tphotos[$i] = '".$photos[$i]."';\n";
}
?>
ph = 0;
activePhoto(ph);
}
function activePhoto(n)
{
//alert(n+" : "+photos[n]);
document.getElementById("photo").innerHTML = "<img border='0' src='"+photos[n]+"' />";
}
function photoSuivante()
{
if (ph<photos.length-1) {
//alert("ph : "+ph+" < "+(photos.length-1));
ph++;
activePhoto(ph);
}
}
function photoPrec()
{
if (ph>0) {
//alert("ph : "+ph+" > 0");
ph--;
activePhoto(ph);
}
}
</script>
<style type="text/css">
<!--
body {
background-image: url(images/<?php echo $imgfond ?>);
background-repeat: no-repeat;
background-color: #E5E5E5;
}
#Layer1 {
position:absolute;
width:200px;
height:857px;
z-index:1;
left: 143px;
top: 161px;
}
#Layer2 {
position:absolute;
width:536px;
height:3px;
z-index:2;
left: 375px;
top: 196px;
}
#Layer3 {
position:absolute;
width:527px;
height:286px;
z-index:2;
left: 417px;
top: 201px;
}
#Layer4 {
position:absolute;
width:506px;
height:82px;
z-index:3;
left: 419px;
top: 499px;
}
#Layer5 {
position:absolute;
width:492px;
height:423px;
z-index:4;
left: 405px;
top: 620px;
}
#Layer6 {
position:absolute;
width:106px;
height:50px;
z-index:5;
left: 813px;
top: 114px;
}
#Layer7 {
position:absolute;
width:285px;
height:50px;
z-index:5;
left: 500px;
top: 130px;
font-size:2em;
}
a:link {
color: #000000;
text-decoration: none;
}
a:hover {
color: #000000;
text-decoration: underline;
}
a:visited {
color: #000000;
text-decoration: none;
}
a.Style2:link {color: #FF0000; font-size: 14px; font-weight:bold}
a.Style2:hover {color: #FF0000; font-size: 14px; font-weight:bold}
a.Style2:visited {color: #FF0000; font-size: 14px; font-weight:bold}
#Layer8 {
position:absolute;
width:200px;
height:20px;
z-index:6;
left: 1px;
top: 465px;
}
#Layer9 {
position:absolute;
width:200px;
height:15px;
z-index:1;
left: 0px;
top: 412px;
}
#Layer10 {
position:absolute;
width:200px;
height:15px;
z-index:2;
top: 438px;
left: -1px;
}
#Layer11 {
position:absolute;
width:200px;
height:17px;
z-index:3;
left: 0px;
top: 466px;
}
#Layer12 {
position:absolute;
width:200px;
height:19px;
z-index:4;
top: 496px;
}
#Layer13 {
position:absolute;
width:200px;
height:18px;
z-index:5;
left: 0px;
top: 520px;
}
#Layer14 {
position:absolute;
width:200px;
height:21px;
z-index:6;
left: 1px;
top: 542px;
}
#Layer15 {
position:absolute;
width:200px;
height:16px;
z-index:7;
left: 1px;
top: 568px;
}
#Layer16 {
position:absolute;
width:200px;
height:19px;
z-index:8;
left: 0px;
top: 613px;
}
#Layer5 th {
text-align: center;
vertical-align: text-top;
display: inline-table;
}
#Layer1 div {
color: #FF0000;
}
#Layer1 div {
color: #FF0000;
}
#Layer6 {
color: #FF0000;
}
#Layer6 {
color: #FF0000;
}
#Layer17 {
position:absolute;
width:87px;
height:103px;
z-index:9;
left: 58px;
top: 680px;
}
#Layer18 {
position:absolute;
width:200px;
height:115px;
z-index:10;
left: 293px;
top: 498px;
}
#Layer19 {
position:absolute;
width:192px;
height:37px;
z-index:11;
left: 7px;
top: 800px;
}
.Style10 {color: #000000}
.Style12 {
color: #000000;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
#Layer5 th {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer4 div {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#Layer4 strong {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer4 div {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.Style13 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; }
#Layer3 td {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
#Layer7 {
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#Layer20 {
position:absolute;
width:200px;
height:20px;
z-index:1;
left: 153px;
top: 380px;
}
.Style15 {font-size: 12px}
.Style17 {color: #333333; }
.Style18 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
<body>
<body [...vos autres arguments...] oncontextmenu="return false">
<div id="Layer1">
<table width="100%" height="258" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="30" height="39" scope="row"> </th>
<th width="152" scope="row"> </th>
<th width="18" scope="row"> </th>
</tr>
<tr>
<th height="193" scope="row"> </th>
<th scope="row">
<?php if($mode== "perso") echo "<a id='photo' href='photos.php'>";
else echo "<div id='photo'>";
echo "<img border='0' src='".$photos[0]."' />";
if($mode== "perso") echo("</a>");
else echo "</div>";
?>
</th>
<th scope="row"> </th>
</tr>
<tr>
<th scope="row"> </th>
<th scope="row"> </th>
<th scope="row"> </th>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="33"><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="53%"><div align="center">
<label>
<input type="submit" name="Submit" value="<" onclick="photoPrec();" />
</label>
</div></td>
<td width="47%"><div align="center">
<input name="Submit" type="submit" id="Submit" value=">" onclick="photoSuivante();" />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="111"><table width="100%" height="64" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="96%" height="21"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="192" height="21" scope="row"><div align="center"><a href="<?php echo $messagerie; ?>"><img src="images/transparent.gif" alt="recus" width="96" height="19" border="0" align="absmiddle" /></a><?php echo $nbmess; ?>
</div></th>
</tr>
</table>
<div align="center"> </div></td>
<td width="2%"> </td>
<td width="2%"> </td>
</tr>
<tr>
<td height="32" colspan="2"><div align="center"><a href="envoimessage.php"></a>
<table width="77%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="24" scope="row">
<div align="center">
<?php if ($mode=="perso") { ?>
<a href="inscription.php?mode=modif">
<?php } else {
echo "<a class='Style1' href='fiche.php?id=$visiteur'>Retour à ma fiche</a>";
}
?>
<img src="images/transparent.gif" width="137" height="22" border="0" /></a></div></th>
</tr>
</table>
</div></td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<div id="Layer9"><a href="fantasme.php?id=<?php echo $membrefiche; ?>"><img src="images/transparent.gif" width="190" height="13" border="0" /></a></div>
<div id="Layer10"><a href="index.php"><img src="images/transparent.gif" width="197" height="19" border="0" /></a></div>
<div id="Layer11"><a href="http://www.menofmydreams.com/"><img src="images/transparent.gif" width="196" height="18" border="0" /></a></div>
<div id="Layer12"><a href="http://www.pabo.be"><img src="images/transparent.gif" width="200" height="18" border="0" /></a></div>
<div id="Layer13"><a href="../chat.html"><img src="images/transparent.gif" width="196" height="17" border="0" /></a></div>
<div id="Layer14"><a href="../flash/disco.html"><img src="images/transparent.gif" width="198" height="21" border="0" /></a></div>
<div id="Layer15"><a href="../tuning/accueiltuning.html"><img src="images/transparent.gif" width="198" height="13" border="0" /></a></div>
<div id="Layer16"><a href="../telechargement/fichetelecharge.html"><img src="images/transparent.gif" width="197" height="15" border="0" /></a></div>
<div id="Layer17"><img src="photosmembres/grandes/38_6_10BP5521-2.jpg" width="87" height="104" /></div>
<div id="Layer19">
<table width="200" border="0">
<tr>
<td><div align="center" class="Style10"><span class="Style12">www.templeduplaisir.be</span></div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</div>
<div id="Layer3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="57%" scope="row"><div align="left" class="Style13">Age:</div></th>
<td width="43%"><?php echo $age; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Taille:</div></th>
<td><?php echo $taille; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Poids:</div></th>
<td><?php echo $poids; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Cheveux:</div></th>
<td><?php echo $cheveux; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Yeux:</div></th>
<td><?php echo $yeux; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Célibataire:</div></th>
<td><?php echo $situation_famil; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Etat:</div></th>
<td><?php echo $etat; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Orientation sexuelle: </div></th>
<td><?php echo $orsexuelle; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Ce que je recherche: </div></th>
<td><?php echo $recherche; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">ma personnalité: </div></th>
<td><?php echo $personnalite; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Physique:</div></th>
<td><?php echo $physique; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Profession:</div></th>
<td><?php echo $profession; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Web cam:</div></th>
<td><?php echo $webcam; ?></td>
</tr>
<tr>
<th scope="row"><div align="left" class="Style13">Votre site perso: </div></th>
<td><?php
if ($site_web != "") echo "<a class='Style1' href='$site_web' target='_blank'>ici</a>";
?></td>
</tr>
</table>
</div>
<div id="Layer4">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="59%" scope="row"><div align="left">1-<?php echo $aime1; ?></div></th>
<td width="41%"><strong>1-<?php echo $aimepas1; ?></strong></td>
</tr>
<tr>
<th scope="row"><div align="left">2-<?php echo $aime2; ?></div></th>
<td><strong>2-<?php echo $aimepas2; ?></strong></td>
</tr>
<tr>
<th scope="row"><div align="left">3-<?php echo $aime3; ?></div></th>
<td><strong>3-<?php echo $aimepas3; ?></strong></td>
</tr>
</table>
</div>
<div id="Layer5">
<table width="100%" height="273" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="row"><?php echo $description; ?></th>
</tr>
</table>
<div id="Layer20">
<table width="200" border="0">
<tr>
<td><div align="center" class="Style17"><span class="Style15"><strong>Temple du Plaisir</strong> <span class="Style18">©</span></span> <span class="Style15"><strong>2006-2010</strong></span></div></td>
</tr>
</table>
</div>
</div>
<div id="Layer6"><a href="reglement_vip.html"><img src="images/transparent.gif" alt="vip" width="110" height="50" border="0" /></a><br />
<?php if ($statut=="admin" && $mode=="perso") echo "<a href='tdpmyad/index.php'>Administration</a>"; ?>
</div>
<div id="Layer7"><?php echo $pseudo; ?><?php echo $sql = "SELECT tem_membres.pseudo, tem_membres.nom, tem_membres.prenom, CONCAT('<img src="'.tem_pays.drapeaux.'"/>') AS gif_drapeau FROM tem_membre, tem_pays WHERE tem_membre.id_pays = tem_pays.id";
$req = mysql_query($sql) or die(mysql_error());
echo '<table>';
while($ligne = mysql_fetch_assoc($req)){
echo '<tr><td>'.$ligne['gif_drapeau'].'</td><td>'.$ligne['pseudo'].'</td><td>'.$ligne['nom'].'</td><td>'.$ligne['prenom'].'</td></tr>';
}
echo '</table>'; ?></div>[/php]