Il y a actuellement 79 visiteur(s) et 1 membre(s) en ligne.
Devenez membre privilégié en cliquant ici
Pages vues depuis 20/04/2015 : 21 635 106
Updated Mar 27
Hi Describe the bug Since v8 ? tested with 8.2 To Reproduce Steps to reproduce the behavior: Go to '(https://openlayers.org/en/latest/examples/ful…
Hi Describe the bug Since v8 ? tested with 8.2 To Reproduce Steps to reproduce the behavior: Go to '...' (it is just for example ...my site is aff…
Hi if i go here (https://github.com/openlayers/openlayers/releases/download/v8.1.0/v8.1.0-package.zip) i get a folder named v8 should not be v8.1 o…
Index du forum »» Road map développement »» [Résolu] - Alertes versus.txt
Citation : jpb
et quel est le comportement en fonction des droits admin ou superadmin ... faut analyser ça aussi !mon monde n'est que la matrice ou je code...
//si on trouve le contenu du fichier dans la requete
if (in_array($ibid[1],$f_mes,true)) {
$k=(array_search ($ibid[1], $f_mes));
unset ($f_mes[$k]);
} else
sql_query('REPLACE '.$NPDS_Prefix.'fonctions SET fnom="mes_npds_'.$i.'",fretour_h="'.$ibid[1].'",fcategorie="9", fcategorie_nom="Alerte", ficone="'.$fico.'",fetat="1", finterface="1", fnom_affich="'.addslashes($ibid[2]).'", furlscript="data-toggle=\"modal\" data-target=\"#messageModal\""');
// si message on compare avec la base
if ($mess) {
$fico ='';
for ($i=0;$i<count($mess);$i++) {
$ibid = explode('|',$mess[$i]);
$fico = $ibid[0] != 'Note'? 'flag_red':'flag_green';
//si on trouve le contenu du fichier dans la requete
if (in_array($ibid[1],$f_mes,true)) {
$k=(array_search ($ibid[1], $f_mes));
unset ($f_mes[$k]);
$result=sql_query("SELECT fnom_affich FROM ".$NPDS_Prefix."fonctions WHERE fnom='mes_npds_$i'");
if (sql_num_rows($result)==1) {
$alertinfo = sql_fetch_assoc($result);
if (strcmp($alertinfo['fnom_affich'], $ibid[2] !=0))
sql_query('UPDATE '.$NPDS_Prefix.'fonctions SET fdroits1_descr="", fnom_affich="'.addslashes($ibid[2]).'" WHERE fnom="mes_npds_'.$i.'"');
}
} else {
sql_query('REPLACE '.$NPDS_Prefix.'fonctions SET fnom="mes_npds_'.$i.'", fretour_h="'.$ibid[1].'", fcategorie="9", fcategorie_nom="Alerte", ficone="'.$fico.'",fetat="1", finterface="1", fnom_affich="'.addslashes($ibid[2]).'", furlscript="data-toggle=\"modal\" data-target=\"#messageModal\""');
}
}
if(count ($f_mes)!==0) {
foreach ( $f_mes as $v ) {
sql_query('DELETE from '.$NPDS_Prefix.'fonctions where fretour_h="'.$v.'" and fcategorie="9"');
}
}
}
//<== recuperation traitement des messages de NPDS
Citation :
- si la note est modifiée elle n'est pas dans le in array! ?....mon monde n'est que la matrice ou je code...