No permissions !"); show_page_footer(); exit; } update_profile("web.menu.config.last",$page["file"]); ?> AddItem(new CButton("form",S_CREATE_MAP)); show_header2(S_CONFIGURATION_OF_NETWORK_MAPS, $form); ?> setHeader(array(S_ID,S_NAME,S_WIDTH,S_HEIGHT,S_MAP)); $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s order by s.name"); while($row=DBfetch($result)) { if(!check_right("Network map","U",$row["sysmapid"])) { continue; } $table->addRow(array( $row["sysmapid"], new CLink($row["name"], "sysmaps.php?form=0&sysmapid=".$row["sysmapid"]."#form"), $row["width"], $row["height"], new CLink(S_SHOW,"sysmap.php?sysmapid=".$row["sysmapid"]) )); } $table->show(); } else { echo BR; insert_map_form(); } ?>