"; echo "".$msg.""; echo ""; if ($msg!='') { echo ""; } } if (isset($area)) { if (empty($area_name)) { $res = sql_query("select area_name, access from grr_area where id=$area"); if (! $res) fatal_error(0, sql_error()); if (sql_count($res) == 1) { $row = sql_row($res, 0); $area_name = $row[0]; } sql_free($res); } else { $area_name = unslashes($area_name); } } ?>
".$vocab['addarea']." | "; } else { echo "|||||
"; } if(isset($area)) echo " | ".$vocab['addroom']." | "; ?> | |||
"; for ($i = 0; ($row = sql_row($res, $i)); $i++) { // on affiche que les domaines que l'utilisateur connecté a le droit d'administrer if(authGetUserLevel(getUserName(),$row[0],'area') >= 4) { echo " | |||||
\n"; else echo " | \n"; if(isset($area) and ($area==$row[0])) { echo " | >>> ".htmlspecialchars($row[1])." <<< "; } else { echo " | " . htmlspecialchars($row[1]) . " "; } echo " | \n"; echo "\n"; if(authGetUserLevel(getUserName(),$row[0],'area') >= 5) echo " | \n"; echo " |