108 lines
4.0 KiB
PHP
Executable File
108 lines
4.0 KiB
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
include ("../../../_include/headers.php");
|
|
if (!isset( $_SESSION )) {session_start();}
|
|
|
|
// -----------------------------------------------------
|
|
// Variables
|
|
// -----------------------------------------------------
|
|
$_SESSION['jeviensDeIndex']=3;
|
|
$refresh="Oui";
|
|
include ("../../../_include/initSessLg.php");
|
|
|
|
$_SESSION['jeviensDeAdminIndex']=2;
|
|
include ("./_modales/modale.init.php");
|
|
|
|
|
|
$idModule=1;
|
|
//
|
|
$firstname='';
|
|
$lastname='';
|
|
$credits='';
|
|
|
|
// -----------------------------------------------------
|
|
// Post
|
|
// -----------------------------------------------------
|
|
if (isset($_GET['idModule'])) {$dModule=$_GET['idModule'];}
|
|
if (isset($_GET['theDesc'])) {$theDesc=$_GET['theDesc'];}
|
|
if (isset($_GET['adminMail'])) {$adminMail=$_GET['adminMail'];}
|
|
|
|
// -----------------------------------------------------
|
|
// HTML
|
|
// -----------------------------------------------------
|
|
echo '<!DOCTYPE html>';
|
|
echo '<html>';
|
|
echo '<head>';
|
|
include ("./adminInclude/admin.head.php");
|
|
echo '</head>';
|
|
|
|
// -----------------------------------------------------
|
|
// Body
|
|
// -----------------------------------------------------
|
|
echo '<body >';
|
|
echo '<div id="modaleGene" style="width:50%;min-height:200px;margin:auto;" >';
|
|
echo '<div class="popupGene" >';
|
|
echo '<div id="zonePageModales" style="grid-template-columns:70% 30%;max-height:600px;overflow:scroll;" >';
|
|
|
|
// -----------------------------------------------------
|
|
// Zone Titre
|
|
// -----------------------------------------------------
|
|
echo '<div id="zoneTitreModales"> ';
|
|
|
|
// -----------------------------------------------------
|
|
// Titre de page
|
|
// -----------------------------------------------------
|
|
echo '<img border="0" valign="top" align="center" src="' .$includeAdminDesign. '/stats.png" alt="Titre" title="Titre" /> ';
|
|
echo '<span class="titreWbm">Forfaits SMS: ' .$theDesc. '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// Bouton fermer
|
|
// -----------------------------------------------------
|
|
echo '<a href="../frm.extensions.php?reglageExtension=3" >';
|
|
echo '<span class="fad fa-times-circle btn_close" onClick="document.getElementById(\'modaleGene\').style.display=\'none\';" Title="fermer la fenêtre"></span>';
|
|
echo '</a>';
|
|
echo '</div>';
|
|
|
|
echo '<div id="zoneFormModales" style="grid-column:1/span 2;max-height:100%;width:100%;" >';
|
|
// -----------------------------------------------------
|
|
// Select
|
|
// -----------------------------------------------------
|
|
// Retouver le compte SMS
|
|
// -----------------------------------------------------
|
|
include ("0.5retrieveCompteSmsFactor.php");
|
|
echo '<br><img width="18" src="./adminInclude/designAdmin/sms.jpg" /> ';
|
|
echo '<span >Compte : </span>';
|
|
echo $firstname. ' ' .$lastname;
|
|
echo '</span>';
|
|
|
|
echo '<br><br><img width="18" src="./adminInclude/designAdmin/sms.jpg" /> ';
|
|
echo '<span >Crédit SMS restant : </span>';
|
|
echo $credits;
|
|
echo '</span>';
|
|
|
|
// -----------------------------------------------------
|
|
// Retour
|
|
// -----------------------------------------------------
|
|
echo '<br><br><span class="boutonsWebmaster" onClick="document.getElementById(\'modaleGene\').style.display=\'none\';" >';
|
|
echo '  ';
|
|
echo '<i class="fad fa-chevron-circle-left"></i> ';
|
|
echo ' <a href="../frm.extensions.php?reglageExtension=3" >';
|
|
echo 'Retour';
|
|
echo '</a>';
|
|
echo ' <br>';
|
|
|
|
echo '</span>';
|
|
echo '</div>';
|
|
|
|
echo '</div>';
|
|
if ($admMsg!="") {
|
|
echo '<div id="zonePreview" > ';
|
|
include ("./adminInclude/adminMsg.php");
|
|
echo '</div>';
|
|
}
|
|
echo '</div>'; //popup
|
|
echo '</div>'; //popup
|
|
echo '</div>'; //modale
|
|
echo '</body>';
|
|
echo '</html>';
|
|
?>
|