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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
<?php
session_start();
?>
<script>
$(document).ready(function() {
$("body").on('click', '.profil',function(event) {
event.preventDefault();
var url = $(this).prop('href');
$("#fiche-1").load(url);
});
});
$(document).ready(function() {
$("body").on('click', '.recherche',function(event) {
event.preventDefault();
var url = $(this).prop('href');
$("#fiche-1").load(url);
});
});
$(document).ready(function() {
$("body").on('click', '.distances',function(event) {
event.preventDefault();
var url = $(this).prop('href');
$("#fiche-1").load(url);
});
});
$(".photos_profil2").colorbox({rel:'photos_profil2', width:"900px"});
</script>
<!-- Begin of #affiliation -->
<div id="fiche" class="invert">
<h1><?php echo $_GET['pseudo']; ?> </h1>
<div class="man_icone"></div>
<div class="container">
<div class="fiche">
<ul>
<li>
<a class="profil" href="/fiche_cli/profil.php?pseudo=<?php echo $_GET['pseudo']; ?>">Mon Profil</a>
</li>
<li>
<a class="recherche" href="/fiche_cli/recherche.php?pseudo=<?php echo $_GET['pseudo']; ?>">Ma Recherche</a>
</li>
<li>
<a href="/photos/103dc62a6daf802fe1a1712bc9ffefb806c.png" class="photos_profil2">Mes photos</a>
<a href="/photos/10d1615ca23197ace3c9a44665eaccf42d.jpeg" class="photos_profil2"></a>
<a href="/photos/11.jpg" class="photos_profil2"></a>
<a href="/photos/30ans_fred 010.jpg" class="photos_profil2"></a>
</li>
<?php
if (isset($_SESSION['pseudo']))
{
echo '<li><a class="distances" href="/fiche_cli/distances.php?pseudo='.$_GET['pseudo'].'">Distance</a></li>';
}
?>
</ul>
<div id="fiche-1">
<?php include "".$_SERVER['DOCUMENT_ROOT']."/fiche_cli/profil.php"; ?>
</div>
</div>
</div>
</div>
</div>
<!-- End of #Affiliation --> |
Partager