</script> <?PHP }elseif($fmt == 'svg'){ if( !isset($_GET['print']) ){echo "<h2>SVG Map</h2>";} Map(); WriteSVG( Condition($in,$op,$st,$co,1) ); ?> <embed width="<?= $xm ?>" height="<?= $ym ?>" src="map/map_<?= $_SESSION[user] ?>.svg" name="SVG Map" type="image/svg+xml" style="display:block;margin-left:auto;margin-right:auto;border:1px solid black"> <?php }else{ if($fmt){ if( !isset($_GET['print']) ){ echo "<h2><a href=\"Reports-Combination.php?map=1\"><img src=\"img/16/chrt.png\" title=\"$sholbl $cmblbl Report\"></a> PNG Map</h2>"; } Map(); WritePNG( Condition($in,$op,$st,$co,1) ); }else{ if( !isset($_GET['print']) ){echo "<h3>PNG Map ($laslbl)</h3>";} } if (file_exists("map/map_$_SESSION[user].php")) { ?> <img style="display:block;margin-left:auto;margin-right:auto;border:1px solid black" usemap="#net" src="map/map_<?= $_SESSION['user'] ?>.php"> <map name="net"> <?= $imgmap ?> </map> <?php } } include_once ("inc/footer.php");
<embed width="<?php echo $xm; ?> " height="<?php echo $ym; ?> " src="log/map_<?php echo $_SESSION[user]; ?> .svg" name="SVG Map" type="image/svg+xml" style="border:1px solid black"> <? }else{ if($fmt){ echo "<h5>Live PNG Map (clickable)</h5>"; Layout(); WritePNG($_SESSION['user'],count($dev) ); }else{ echo "<h4>Previous Map (not clickable, without graphs!)</h4>"; } if (file_exists("log/map_$_SESSION[user].php")) { ?> <img usemap=#net src="log/map_<?php echo $_SESSION[user]; ?> .php" style="border:1px solid black"> <map name=net> <?php echo $imgmap; ?> </map> <?