| 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 : |
<style type="text/css">
#conteneur_lightbox_carte{
width: auto;
max-width: 100%;
margin: 0 auto;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
overflow: auto;
}
.legende2 ul {
display: flex;
/*! width: 80%; */
margin: 0 auto;
justify-content: left;
margin-bottom: 20px;
flex-wrap: wrap;
padding: 0;
}
#conteneur_lightbox_carte .texte_indication {
text-align: center;
padding-top: 13px;
}
.legende2 li {
width: 50% !important;
}
#lightbox_carte{
width: 950px;
padding: 0;
max-width: 100%;
-webkit-box-shadow: 0px 0px 5px #ccc;
box-shadow: 0px 0px 5px #ccc;
position: relative;
border-radius: 0;
background-color: #ffffff;
}
.close_lightbox{
position: absolute;
right: 0px;
top: 0px;
color: #999;
padding: 8px 15px;
border: none;
border-radius: 50% 50%;
background-color: transparent;
font-weight: bold;
font-size: 18px;
cursor: pointer;
}
.close_lightbox:hover{
color: #ff0000;
border-radius: 50% 50%;
background-color: rgbargba(0,0,0,0.5);
}
#titre_carte_lightbox{
font-size: 25px;
text-transform: uppercase;
padding: 10px 20px;
color: #254b8c;
width: auto;
border-bottom: 1px solid #C0C0C0;
}
#detail_carte_lightox{
font-size: 20px;
color: #4B4B4B;
line-height: 1.5em;
padding-right: 20px;
padding-left: 20px;
padding-bottom: 0;
text-align: justify;
padding-bottom:20px
}
@media (max-width:500px){
#lightbox_carte{
width: auto;
padding: 30px;
max-width: 100%;
position: relative;
border-radius: 20px 20px;
display: block;
}
#titre_carte_lightbox{
font-size: 25px;
text-transform: uppercase;
padding-bottom: 15px;
color: #254b8c;
padding-right: 10px;
}
#detail_carte_lightox{
font-size: 16px;
color: #4B4B4B;
line-height: 1.6em;
text-align: justify;
padding-bottom: 20px;
}
}
.btn_all_news {
display: inline-block;
width: auto;
height: 35px;
line-height: 35px;
font-weight: bold;
background-color: #077230;
font-size: 16px;
text-align: center;
margin-top: 10px;
margin-right: 0;
margin-left: 0;
margin-bottom: 10px;
color: #fff;
text-transform: none;
border-radius: 0;
padding-top: 2px;
padding-right: 20px;
padding-left: 20px;
padding-bottom: 2px;
cursor: pointer;
border-radius: 5px;
}
.legende2 {
position: absolute;
top: 97px;
right: 19px;
min-width: 360px;
}
#conteneur_lightbox_carte .map {
text-align: left !important;
}
@media (max-width:1100px) {
#detail_carte_lightox {
top: 10%;
bottom: 10%;
padding-bottom: 0;
}
.legende2.legende ul {
display: flex;
flex-direction: row;
width: auto !important;
padding: 0;
width: auto;
}
.legende2.legende {
right: 0;
width: auto;
padding: 0 0 0 10%;
}
#conteneur_lightbox_carte .legende li {
width: 50% !important;
}
div#conteneur_lightbox_carte {
left: 5%;
right: 5%;
display: block;
top: 5%;
bottom: 5%;
display: block;
}
#conteneur_lightbox_carte{
left:10px;
right:10px
}
#conteneur_lightbox_carte .map {
text-align: center ;
}
}
@media (max-width:960px) {
#conteneur_lightbox_carte .texte_indication {
font-size: 3.5vw !important;
}
body #detail_carte_lightox .map svg {
position: relative;
margin: 0;
width: 52% !important;
}
#conteneur_lightbox_carte .map {
text-align: center !important;
}
#lightbox_carte{
padding: 0;
display: block;
}
.content-information {
display: flex;
position: relative;
}
.legende2.legende {
position: relative !important;
top: 10px !important;
}
#conteneur_lightbox_carte{
border-radius: 0
}
#conteneur_lightbox_carte .legende li {
font-size: 2.5vw;
}
div#titre_carte_lightbox {
font-size: 3vw;
}
span.btn_all_news {
font-size: 3vw;
height: auto;
line-height: 0;
padding: 15px;
}
#conteneur_lightbox_carte {
left: 5%;
right: 5%;
top: 5%;
bottom: 5%;
display: block;
overflow-x: hidden;
}
#titre_carte_lightbox {
font-size: 3vw;
}
#conteneur_lightbox_carte .texte_indication {
font-size: 3vw !important;
}
}
@media (max-width:500px) {
.legende2.legende {
width: 100%;
max-width: 100%;
min-width: auto;
}
#lightbox_carte{
border-radius: 0
}
#detail_carte_lightox {
width: 100%;
text-align: center;
padding:0;
}
body #detail_carte_lightox .map svg {
position: relative;
margin: 0;
width: 50% !important;
}
}
</style>
<?php
include("panel/connectionbd.php");
include("panel/mesfonctions.php");
$departement=getdepartementInformationsbyreference("D5");
?>
<meta charset="iso-8859-1" content="text/html" />
<div id="conteneur_lightbox_carte" >
<div id="lightbox_carte">
<button type="button" class="close_lightbox" data-dismiss="modal" onclick="Cacher_opaciter('opacite')">×</button>
<div id="titre_carte_lightbox">Département du Dja et Lobo</div>
<div class="texte_indication">Veuillez choisir une commune pour accéder à ses réalisations</div>
<div id="detail_carte_lightox">
<?php include("includes/carte_departement_dja_lobo.php"); ?>
</div>
<div class="legende2 legende">
<ul>
<?php
$result_commune = mysql_query("SELECT * FROM commune WHERE etat='1' AND iddepartement='$departement[0]'");
while ( $commune=mysql_fetch_array($result_commune)) {
?>
<li>
<div class="bloc_couleur" style="background: <?php echo $commune["couleur"] ?>"></div>
<div class="texte_legende">
<?php echo utf8_encode($commune["titre"]) ?>
</div>
</li>
<?php } ?>
</ul>
</div>
<div class="fin_float"></div>
<div align="center" style="border-top:1px solid #d8d8d8">
<span class="btn_all_news" onClick="javascript:Cacher_opaciter('opacite'); Affichage_box('lightbox_carte_region_sud.php','opacite','div_traitement', 1);">RETOUR</span>
<span class="btn_all_news" onClick="javascript:Cacher_opaciter('opacite')">FERMER</span>
</div>
</div>
</div>