index.php: Remove excessive html escaping.

pull/18/head
Fabian P. Schmidt 2015-09-22 22:28:54 +02:00
rodzic 77c17385ca
commit dd65d2f238
1 zmienionych plików z 31 dodań i 33 usunięć

Wyświetl plik

@ -58,10 +58,8 @@ else
if ($lon<$lonmin) $lonmin=$lon; if ($lon<$lonmin) $lonmin=$lon;
} }
} }
} }?>
<!DOCTYPE html>
echo "<!DOCTYPE html>
<!-- <!--
____ _____ _ _ _ _ _ _ _ ____ _____ _ _ _ _ _ _ _
/ __ \ / ____| (_) | | | \ | | | | | | / __ \ / ____| (_) | | | \ | | | | | |
@ -74,34 +72,34 @@ echo "<!DOCTYPE html>
--> -->
<html> <html>
<head> <head>
<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=no\" /> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Spot the gliders!</title> <title>Spot the gliders!</title>
<link href=\"cunimb.css\" rel=\"stylesheet\" type=\"text/css\" /> <link href="cunimb.css" rel="stylesheet" type="text/css" />
<script type=\"text/javascript\" src=\"https://maps.googleapis.com/maps/api/js?libraries=geometry,weather&amp;sensor=false\"></script> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3&amp;libraries=geometry&amp;sensor=false"></script>
<script type=\"text/javascript\" src=\"util.js\"></script> <script type="text/javascript" src="util.js"></script>
<script type=\"text/javascript\"> <script type="text/javascript">
var cxml = \"lxml.php\"; var cxml = "lxml.php";
var cxml1 = \"livexml1.php\"; var cxml1 = "livexml1.php";
var dxml = \"dataxml.php\"; var dxml = "dataxml.php";
var rxml = \"rec.php\"; var rxml = "rec.php";
var tld = \"http://live.glidernet.org\"; var tld = "http://live.glidernet.org";
var vlon = $lon; var vlon = <?php echo $lon; ?>;
var vlat = $lat; var vlat = <?php echo $lat; ?>;
var vlatmin = $latmin; var vlatmin = <?php echo $latmin;?>;
var vlonmin = $lonmin; var vlonmin = <?php echo $lonmin;?>;
var vlatmax = $latmax; var vlatmax = <?php echo $latmax;?>;
var vlonmax = $lonmax; var vlonmax = <?php echo $lonmax;?>;
var bound = false; var bound = false;
var boundc = ''; var boundc = '';
var amax = 85; var amax = 85;
var amin = -85; var amin = -85;
var omax = 180; var omax = 180;
var omin = -180; var omin = -180;
var recc = $recc; var recc = <?php echo $recc;?>;
var parc = $parc; var parc = <?php echo $parc;?>;
var tz; var tz;
try { try {
tz = new Date().getTimezoneOffset(); tz = new Date().getTimezoneOffset();
@ -111,18 +109,18 @@ catch(e) {
} }
</script> </script>
<script type=\"text/javascript\" src=\"cunimb.js\"></script> <script type="text/javascript" src="cunimb.js"></script>
</head> </head>
<body onload=\"initialize()\"> <body onload="initialize()">
<div id=\"popup\" onclick=\"cp('popup');\"></div> <div id="popup" onclick="cp('popup');"></div>
<div id=\"map_canvas\"></div> <div id="map_canvas"></div>
<div id=\"ac\" class=\"acright\" onclick=\"this.style.display='none';\"></div> <div id="ac" class="acright" onclick="this.style.display='none';"></div>
<div id=\"dlist\" class=\"lright\"> <div id="dlist" class="lright">
<DIV id=\"ett1\" ></DIV> <DIV id="ett1" ></DIV>
<DIV id=\"ett2\" ></DIV> <DIV id="ett2" ></DIV>
<DIV id=\"dtable\"></DIV> <DIV id="dtable"></DIV>
</div> </div>
</body> </body>
</html>"; </html>