'; ?> Load WMS getGuisByOwner($_SESSION["mb_user_id"],true); echo "
"; echo ""; echo ""; echo ""; echo ""; echo "
"; if (count($ownguis)>0){ echo"GUI"; echo"
"; $v = array(); $t = array(); $sql = "SELECT * FROM gui WHERE gui_id IN ("; for($i=0; $i0){ $sql .= ",";} $sql .= "$".($i+1); array_push($v,$ownguis[$i]); array_push($t,'s'); } $sql .= ") ORDER BY gui_name"; $res = db_prep_query($sql,$v,$t); echo"

"; echo "
"; echo"WMS"; echo"
"; if(isset($guiList) && $guiList!=""){ $sql = "SELECT DISTINCT wms.wms_title,gui_wms_position from gui_wms JOIN "; $sql .= "gui on gui_wms.fkey_gui_id = gui.gui_id JOIN wms ON gui_wms.fkey_wms_id = wms.wms_id "; $sql .= "and gui_wms.fkey_gui_id = gui.gui_id where gui.gui_name = $1 order by gui_wms_position"; $v = array($guiList); $t = array('s'); $res = db_prep_query($sql,$v,$t); $count=0; echo"

"; } else{ echo"

"; } echo "

"; echo "Add the following REQUEST to the Online Resource URL to obtain the Capabilities document:
"; echo "(Triple click to select and copy)
"; echo "REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
"; echo "REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.0
"; echo "REQUEST=capabilities&WMTVER=1.0.0

"; echo "Link to WMS Capabilities URL:
"; #echo "Load WMS capabilities URL:
" if (isset($xml_file)){ echo""; }else{ echo""; } echo""; echo "
"; } else{ echo "There are no guis available for this user. Please create a gui first."; } ?>