AnonSec Team
Server IP : 10.111.40.2  /  Your IP : 216.73.217.145
Web Server : Apache
System : Linux webd002.cluster111.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : comimage ( 586)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/comimage/samzunstephane.com/themes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/comimage/samzunstephane.com/themes/diaporama.php
<?php
//*********************************************************************************************
//                                       TEMPLATE
//*********************************************************************************************

require(dirname(__FILE__).'/../inc/tools/configuration.php');
//récupérer la page
$rub_id = minuscule($_GET['id']);
$nom_page = minuscule($_GET['nm']);

$web = $metier->getTable($bdd,TABLE_DIAPO_RUBRIQUES,"id",$rub_id);
$cat = $metier->getTable($bdd,TABLE_DIAPO_CATEGORIES,"id",$web->cat);
$pageweb = $metier->getTable($bdd,TABLE_PAGES_WEB,"id",2);

//----------- REDIRECTION ----------------
if($web->id == 0 || $web->id == "" || $pageweb->id == 0 || $pageweb->id == ""){
    header("Status: 301 Moved Permanently", false, 301);
    header("Location: ".HTTP_SERVEUR);
    exit();
}
elseif($pageweb->enligne == 1){
    header("Status: 302 Moved Permanently", false, 302);
    header("Location: ".HTTP_SERVEUR);
    exit();
}
else{
    $nom_p = urlRewriting($web->rub);
    if($nom_p != $nom_page){
        header("Status: 301 Moved Permanently", false, 301);
        header("Location: ".HTTP_SERVEUR.$nom_p."-".$web->id.".html");
        exit();
    }
}
//----------------------------------------
$title = $web->rub;
$desc = ($web->description != "" && TYPE_DIAPORAMA == 2)?extrait($web->description,20):"Le site ".NOM_SITEWEB." vous propose de découvrir ses réalisations de : ".ucfirst($cat->cat)." de la rubrique : ".ucfirst($web->rub).".";

//Balise H1 de ma page
$h1 = $title;
//Nommage de la page => class
$body_class = (empty($nom_page))?'pagew'.$web->id:'pagew'.$nom_page;

//construire le HEADER
getHeader(array("id"=>$web->id,"titre"=>$title,"description"=>$desc,"mot_cle"=>$cat->cat.",".$web->rub,"model_p"=>""));

//construire le BODY
include(RACINE_INTERFACE."/inc-template.php");

//construire le FOOTER
getFooter(array("id"=>$web->id,"titre"=>$title,"description"=>$desc,"mot_cle"=>$cat->cat.",".$web->rub,"model_p"=>""));

//fermer la balise HTML
echo '</body>'."\n"
. '</html>'."\n";

AnonSec - 2021