PV.Pat File Manager
Kernel Version: Linux webm010.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Domains: CANT READ named.confSites Server IP: 10.127.20.10 [Bing Search] [Zone-H]
| Path : /home/s/p/t/sptporgazz/www/_requetes/ |
| Current File : /home/s/p/t/sptporgazz/www/_requetes/representativites.php |
<?php
include("../_inc/connect.php");
$sql_ban = "SELECT * FROM image_page WHERE ref_page=13";
$res_ban = mysql_query($sql_ban) or die(mysql_error());
while($row_ban = mysql_fetch_array($res_ban)) {
$banniere = $row_ban['image'];
}
$sql_cont = "SELECT * FROM page_representativite ORDER BY id_representativite DESC LIMIT 1";
$res_cont = mysql_query($sql_cont) or die(mysql_error());
while($row_cont = mysql_fetch_array($res_cont)) {
$titre = $row_cont['titre'];
$sous_titre = $row_cont['sous_titre'];
$texte = $row_cont['texte'];
$image1 = $row_cont['image_1'];
$image2 = $row_cont['image_2'];
$legende = $row_cont['legende'];
}
if(isset($_GET['quest'])&&($_GET['quest']!="")) {
if($_GET['quest']=='banniere') {
echo "<img src='_images/bannieres/".$banniere."' alt='' title='' width='681px' height='350px' />";
}
if($_GET['quest']=='contenu') {
//echo $titre . "//" . $sous_titre . "//" . $texte . "//" . $image . "//" . $legende;
?>
<div class="corps_representativite_gauche">
<div class="titre_representativite"><?echo $titre;?></div>
<div class="sous_titre_representativite"><?echo $sous_titre;?></div>
<div class="texte_representativite"><?echo $texte;?></div>
</div>
<div class="corps_representativite_droite">
<div class="corps_representativite_droite_image1"><img src='_images/representativite/<?echo $image1;?>' alt='' title='' style='max-width:200px;' /></div>
<div class="corps_representativite_droite_image2"><img src='_images/representativite/<?echo $image2;?>' alt='' title='' style='max-width:200px;' /></div>
<div class="corps_representativite_droite_legende"><?echo $legende;?></div>
</div>
<?
}
}
?>