"; 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); } } ?>

= 5) { echo ""; } else { echo ""; } if(isset($area)) echo ""; else echo ""; ?> "; if ($row[2]=='r') echo "\n"; else echo "\n"; if(isset($area) and ($area==$row[0])) { echo "\n"; echo "\n"; if(authGetUserLevel(getUserName(),$row[0],'area') >= 5) echo "\n"; echo ""; } } echo "
".$vocab['addarea']."
 ".$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 "
\"".$vocab['admin_access_area.php']."\" >>> ".htmlspecialchars($row[1])." <<< "; } else { echo "" . htmlspecialchars($row[1]) . " "; } echo "\"".\"".$vocab['delete']."\"
"; } ?> "; for ($i = 0; ($row = sql_row($res, $i)); $i++) { $color = ''; if ($row[5] == "0") $color = " bgcolor=\"#BA2828\""; echo "" . htmlspecialchars($row[1]) . " (" . htmlspecialchars($row[2]) . ", $row[3])\n"; echo "\"".$vocab['edit']."\"\n"; echo "\"".$vocab['delete']."\""; echo " \"détails\""; echo "\n"; } echo ""; } } else { echo $vocab['noarea']; } ?> "; ?>