alpha_full/admin/adminInclude/req/majThemeAdmin.php
2026-04-06 22:58:51 +02:00

23 lines
730 B
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
if (isset($adminThemeCSS)) {
$reqUpdate="UPDATE `param` SET val=" .$_SESSION['adminThemeCSS']. " WHERE id=2; ";
$resConn='';
$resConn=$idPdo->query($reqUpdate);
if (isset($debug[2]) && $debug[2] == '1' ) $admMsg .= '<b>reqUpdate theme Admin==></b> ' .$reqUpdate. '';
if ($resConn) {
$admMsg .= "&#160;Mise à jour theme Admin effectuée avec succès !"; $admMsgClass='ok';
}
else {
$admMsg .= "&#160;Echec de la mise à jour theme Admin (fichier majThemeAdmin.php) ";
if (isset($debug[2]) && $debug[2] == '1' ) $admMsg.=$reqUpdate;
$admMsgClass='ko';
}
}
else {
$admMsg .= "adminThemeCss vide (fichier majThemeAdmin.php) ";
$admMsgClass='ko';
}
?>