1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
| <?php
if (isset($_GET['pseudo']) && $_GET['pseudo']!='') {
mysql_connect("*****", "*****", "*****") or die(mysql_error());
mysql_select_db("*****") or die(mysql_error());
$sqlreq = 'SELECT * FROM membre WHERE pseudo=\''.mysql_real_escape_string($_GET['pseudo']).'\' ';
$sqlreturn = mysql_query($sqlreq)or die(mysql_error());
while ($sqluse = mysql_fetch_array($sqlreturn) ) {
?>
<head>
<title>Profile de <?php echo $sqluse ['pseudo']?></title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.Style1 {color: #FF0000}
.Style3 {color: #CCCCCC}
.Style5 {color: #FF0000; font-size: 16px; }
-->
</style></head>
<body><div align="center"><img src="images/bann.jpg" /></div>
<div align="center">
<p class="Style3"> Profile de <span class="Style5"><?PHP echo $_GET['pseudo'] ?>
</span>
<table width="295" height="205" border="0">
<tr>
<td width="339" height="201"><div align="center" class="Style1">PHOTO</div></td>
</tr>
</table>
<table width="307" height="254" border="1">
<tr>
<td width="89"><div align="center"><span class="Style3">Pseudo</span></div></td>
<td width="208"><div align="center"><?php echo $sqluse ['pseudo']?></div></td>
</tr>
<tr>
<td><div align="center"><span class="Style3">Age</span></div></td>
<td><div align="center"><?php echo $sqluse ['date_naissance']?></div></td>
</tr>
<tr>
<td><div align="center"><span class="Style3">Je suis </span></div></td>
<td><div align="center"><?php echo $sqluse ['nom']?></div></td>
</tr>
<tr>
<td><div align="center"><span class="Style3">Je cherche </span></div></td>
<td><div align="center"><?php echo $sqluse ['prenom']?></div></td>
</tr>
<tr>
<td><div align="center"><span class="Style3">Pays</span></div></td>
<td><div align="center"><?php echo $sqluse ['pays']?></div></td>
</tr>
<tr>
<td><div align="center"><span class="Style3">Adresse blog </span></div></td>
<td><div align="center"><?php echo $sqluse ['url']?></div></td>
</tr>
</table>
<table width="308" height="68" border="1">
<tr>
<td width="90"><div align="center"><span class="Style3">Description</span></div></td>
<td width="203"><div align="center"><?php echo $sqluse ['adresse']?></div>
</td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
<?php
} // fin while
mysql_free_result($sqlreturn)or die(mysql_error());
mysql_close()or die(mysql_error());
} // fin if
?> |
Partager