21 lines
962 B
PHP
Executable File
21 lines
962 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
|
|
// ---------------------------------------------------
|
|
// recherche des images categories ( ancien familles ) a afficher
|
|
// ---------------------------------------------------
|
|
$reqSelect="SELECT * from languenav WHERE num=100 and variable='cdv' ;";
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqSelect = ' => $reqSelect],'cdv.reqSelect.messCom');}
|
|
$resConn=$idPdo->query($reqSelect);
|
|
if ($resConn) {
|
|
while ($result = $resConn->fetch(PDO::FETCH_ASSOC)) {
|
|
$afficherMsgCom=$result['afficher'];
|
|
$messTab=$result[$lg];
|
|
$icoTab=$result['imgPt' .$lg];
|
|
$titleTab=$result['title' .$lg];
|
|
$styleMsgCom=$result['style'];
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, [ 'afficherMsgCom' => $afficherMsgCom, 'messTab' => $messTab, 'icoTab' => $icoTab, 'titleTab' => $titleTab, 'styleMsgCom' => $styleMsgCom
|
|
], ''); }
|
|
}
|
|
}
|
|
?>
|