| Server IP : 118.139.160.155 / Your IP : 216.73.217.130 Web Server : Apache System : Linux sg2plmcpnl504228.prod.sin2.secureserver.net 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64 User : twll3xqyaqrh ( 9725459) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/twll3xqyaqrh/public_html/ |
Upload File : |
<?php
include("panel/connectionbd.php");
include("panel/mesfonctions.php");
$tab_mois= array("","Jan.","Fév.","Mars","Avril","Mai","Juin","Juillet","Août","Sept.","Oct.","Nov.","Déc.");
$date_jour= date('Y/m/d');
$pageName = basename($_SERVER['PHP_SELF']);
$reference_categorie=$_GET["dest"];
$categorie_fichier=getcategorie_fichierInformationsByreference($reference_categorie);
$currentcategorie=$categorie_fichier['titre'];
$idcrc=$_GET["crc"];
$lecrc=getcrcInformations($idcrc);
$query_fichier="SELECT * FROM fichier WHERE etat='1' AND categorie='$categorie_fichier[0]' AND idcrc='$lecrc[0]'";
if(isset($_GET["mot_cle"]))$query_fichier.=" AND (titre LIKE '%".$_GET["mot_cle"]."%' OR categorie IN(SELECT idcategorie FROM categorie_telechargement WHERE titre LIKE '%".$_GET["mot_cle"]."%'))";
?>
<!doctype html>
<html>
<head>
<meta charset="iso-8859-1">
<meta name="description" content="programme, developpement, national, participatif, pndp, action, programme national de developpement participatif">
<meta name="keywords" content="programme, developpement, national, participatif, pndp, action,programme national de developpement participatif">
<meta name="author" content="Marc Merlin BAPPA">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php echo $currentcategorie; ?>- PNDP</title>
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Merriweather:300,400,700,900" rel="stylesheet">
<link rel="stylesheet" href="css/header.css">
<link href="fontawesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="css/plan_communaux.css" rel="stylesheet" type="text/css">
<link href="css/loading.css" rel="stylesheet" type="text/css">
<link href="css/footer.css" rel="stylesheet" type="text/css">
<link media="screen and (min-width:600px) and (max-width:820px)" href="css/responsive2.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/">
<link rel="stylesheet" media="screen and (max-width:1200px)" href="css/header_mini.css" type="text/css">
<link rel="stylesheet" media="screen and (max-width:1200px)" href="css/responsive_plan_communaux_under1200px.css" type="text/css">
<link rel="stylesheet" media="screen and (max-width:600px)" href="css/responsive_plan_communaux_under460.css" type="text/css">
<link rel="stylesheet" media="screen and (min-width:600px) and (max-width:960px)" href="css/responsive_plan_communaux_between600_960.css" type="text/css">
<link rel="stylesheet" media="screen and (min-width:960px) and (max-width:1200px)" href="css/responsive_plan_communaux_between960_1200.css" type="text/css">
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/mesfonctions.js"></script>
<script src="js/app.js"></script>
<script>
/* $(document).ready(function() {
setTimeout(function(){
$('body').addClass('loaded');
});
});*/
</script>
</head>
<body id="page">
<!-- gestion élément opacité indicateur traitement-->
<?php //include("includes/element_opacite_div_traitement.php"); ?>
<?php //include("includes/loading.php"); ?>
<?php include("includes/header2.php"); ?>
<!-- banniere -->
<div class="conteneur_banniere">
<div class="banniere">
<div class="texte_banniere">
<div class="titre_banniere">
Documentation
</div>
<div class="fil_ariane">
<a href="./">Accueil</a>→<a href="./">Documentation</a>→<strong> <?php echo $currentcategorie; ?></strong>
</div>
</div>
</div>
</div>
<div class="conteneur_interne">
<div class="interne">
<div class="content_left">
<div class="titre">
<div class="letitre"><?php echo $currentcategorie; ?></div>
<form action="" id="recherche" onSubmit="event.preventDefault();Trouver_document_pdc('<?php echo $reference_categorie ?>','<?php echo $idcrc ?>');">
<input name="mot" id="mot" placeholder="Rechercher un document" value="<?php if(isset($_GET["mot_cle"]))echo $_GET["mot_cle"]?>" required type="text">
<input value="Rechercher" type="submit">
</form>
</div>
<div class="content">
<div class="commune"> <?php echo $lecrc["libelle"] ?> </div>
<div class="contenu_bloc_telechargement">
<?php
$resultat_document=mysql_query(($query_fichier))or die();
if($nb_doc=mysql_num_rows($resultat_document)>0){
while($fichier=mysql_fetch_array($resultat_document)){
$tab=explode(".",$fichier["fichier"]);
if($tab[1]=="pdf") $icone_type_fichier="images/icone_type/logo_pdf.png";
elseif($tab[1]=="docx" OR $tab[1]=="doc") $icone_type_fichier="images/icone_type/logo_word.png";
elseif($tab[1]=="xlsx" OR $tab[1]=="xls") $icone_type_fichier="images/icone_type/logo_xls.png";
elseif($tab[1]=="pptx" OR $tab[1]=="ppt") $icone_type_fichier="images/icone_type/logo_ppt.png";
?>
<div class="bloc_telechargement_wrapper">
<div class="bloc_telechargement">
<div class="bloc_telechargement_logo"><img src="<?php echo $icone_type_fichier?>" alt="" height="70" width="70"></div>
<div class="content_description">
<div class="bloc_telechargement_texte"> <?php echo $fichier["titre"]?></div>
<div class="bloc_telechargement_description">
<?php echo $fichier["commentaire"]?>
</div>
<div class="bloc_telechargement_footer">
<div class="date_publication">
<span><a href="documents/<?php echo $fichier["fichier"]?>" target="_blank"><i class="fa fa-download" aria-hidden="true"> </i> Télécharger le document</a> </span>
</div>
</div>
</div>
</div>
</div>
<?php }
}else echo "<div align=\"center\" style=\"font-size: 18px;text-transform: uppercase;text-align: center;width: 100%;padding: 30px 0;\">Pas de document </div>";
?>
</div>
</div>
</div>
<div id="bloc_aside_page">
<div id="aside_autre_lien" class="bloc-aside">
<div class="titre-aside">Plans communaux de développement</div>
<ul class="contain-bloc-aside">
<?php
$result_cellule=mysql_query("SELECT * FROM crc WHERE etat='1' ORDER BY titre ASC");
while ($crc=mysql_fetch_array($result_cellule)) {
?>
<li><a <?php if($crc[0]==$idcrc) echo " class=\"current_crc\""; else echo "class=\"\"" ?> href="plan-communaux-developpement.php?dest=plan&crc=<?php echo $crc[0] ?>"><?php echo $crc["titre"] ?></a></li>
<?php } ?>
</ul>
</div>
</div>
</div>
</div>
<!-- footer -->
<?php include("includes/footer.php") ?>
<script>
</script>
</body>
</html>