17 lines
501 B
PHP
Executable File
17 lines
501 B
PHP
Executable File
<?php
|
|
|
|
$reqSelect="Select `val` from `param` WHERE id=2; ";
|
|
if (isset($debug[16]) && $debug[16] == '1' ) { $debugMsg .= monDebug(2,['reqSelect' => $reqSelect],'selectThemeAdmin.php');}
|
|
$resConn='';
|
|
$resConn=$idPdo->query($reqSelect);
|
|
if ($resConn) {
|
|
$result=$resConn->fetch(PDO::FETCH_ASSOC);
|
|
$adminThemeCSS=$result['val'];
|
|
$_SESSION['adminThemeCSS']=$adminThemeCSS;
|
|
}
|
|
if (isset($debug[2]) && $debug[2] == '1' ) {
|
|
$admMsg.="adminThemeCSS = " .$adminThemeCSS;
|
|
$admMsg='</span>';
|
|
}
|
|
?>
|