Il y a actuellement 72 visiteur(s) et 1 membre(s) en ligne.
Devenez membre privilégié en cliquant ici
Pages vues depuis 20/04/2015 : 21 645 054
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 »» Forum Arbre »» test debug
Citation : jpb
bien entendu ou peut faire maintenant facilement un toggle qui contiendra donc toutes les réponse de premier niveau et donc escamotera tout sauf le post original (qui n'est PAS une reponse) ...test signature
global $NPDS_Prefix, $admin, $adminforum;
//==> droits des admin sur les forums (superadmin et admin avec droit gestion forum)
$adminforum=false;
if ($admin) {
$adminforum=0;
$adminX = base_64_decode($admin);
$adminR = explode(':', $adminX);
$Q = sql_fetch_assoc(sql_query("SELECT * FROM ".$NPDS_Prefix."authors WHERE aid='$adminR[0]' LIMIT 1"));
if ($Q['radminsuper']==1) {$adminforum=1;} else {
$R = sql_query("SELECT fnom, fid, radminsuper FROM ".$NPDS_Prefix."authors a LEFT JOIN ".$NPDS_Prefix."droits d ON a.aid = d.d_aut_aid LEFT JOIN ".$NPDS_Prefix."fonctions f ON d.d_fon_fid = f.fid WHERE a.aid='$adminR[0]' AND f.fid BETWEEN 13 AND 15");
if (sql_num_rows($R) >=1) $adminforum=1;
}
}
//<== droits des admin sur les forums (superadmin et admin avec droit gestion forum)