diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-12-30 13:18:58 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-12-30 13:18:58 +0100 |
commit | 92b6585130b4d719d236da0e2cdce9649e538f8b (patch) | |
tree | f79d174c3be10cbf80eea6debca80042a1d8cdaa /index.php | |
parent | 4c98da1ceff06e565a8e85e395c747b28edef19d (diff) | |
parent | 70b378464945443b234380c5098ec7066bb0b15f (diff) |
Merge branch 'master' into stable
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 150 |
1 files changed, 72 insertions, 78 deletions
@@ -10,12 +10,6 @@ if(empty($lat)) $lat=47.07102; if(empty($lng)) $lng=15.440; if(empty($res)) $res=15; -$apikey = 'unknownhost'; -if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { - $apikey = 'ABQIAAAAZRu0cBQNp9TOBJp1i-DhohS9pf3riiZoWFmOpEuQ19If-UHZjhRHIGQIC00eY1H5H71yDqx-QzdyJA'; -} elseif($_SERVER['HTTP_HOST'] == 'dev-karte.graz.funkfeuer.at') { - $apikey = 'ABQIAAAAZRu0cBQNp9TOBJp1i-DhohSbKGG4yPVU7VmuBMuIIaQfSNuMAxRrbvJwWee4f-0iW-LpRZkkrl531Q'; -} ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"> @@ -59,10 +53,10 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <b>Elemente<br />aus-/einblenden</b> <form name="visibleform" action="#" onsubmit="return false"> <table class="legend"> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="defaultroute" value="true" onclick="javascript:toggleVisible('defaultroute')"></td> --> - <!-- <td> </td><td>!Default</td> --> - <!-- </tr> --> + <tr> + <td><input type="checkbox" name="defaultroute" value="true" onclick="javascript:toggleVisible('defaultroute')"></td> + <td> </td><td>!Default</td> + </tr> <tr> <td><input type="checkbox" name="offline" value="true" onclick="javascript:toggleVisible('offline')"></td> <td> </td><td align="center"><img src="./img/marker_offline.png" /></td> @@ -88,61 +82,61 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <td> </td><td align="center"><img src="./img/link_blue.png" /></td> </tr> </table> - <!-- <table class="undef"> --> - <!-- <td><input type="checkbox" name="undef" value="true" onclick="javascript:toggleVisible('undef')"></td> --> - <!-- <td> </td><td>Kanaele undef.</td> --> - <!-- </table> --> - <!-- <table class="5channel"> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="5channel" value="true" onclick="javascript:toggleVisible('5channel')"></td> --> - <!-- <td> </td><td>Alle 5GHz Kanaele</td> --> - <!-- </tr> --> - <!-- </table> --> - <!-- <table class="2.4channel"> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="2.4channel" value="true" onclick="javascript:toggleVisible('2.4channel')"></td> --> - <!-- <td> </td><td>Alle 2.4GHz Kanaele</td> --> - <!-- </tr> --> - <!-- </table> --> - <!-- <table class="channel"> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="channel1" value="true" onclick="javascript:toggleVisible('channel1')"></td> --> - <!-- <td> </td><td>1</td> --> - <!-- <td><input type="checkbox" name="channel2" value="true" onclick="javascript:toggleVisible('channel2')"></td> --> - <!-- <td> </td><td>2</td> --> - <!-- <td><input type="checkbox" name="channel3" value="true" onclick="javascript:toggleVisible('channel3')"></td> --> - <!-- <td> </td><td>3</td> --> - <!-- </tr> --> - <!-- <tr> --> + <table class="undef"> + <td><input type="checkbox" name="undef" value="true" onclick="javascript:toggleVisible('undef')"></td> + <td> </td><td>Kanaele undef.</td> + </table> + <table class="5channel"> + <tr> + <td><input type="checkbox" name="5channel" value="true" onclick="javascript:toggleVisible('5channel')"></td> + <td> </td><td>Alle 5GHz Kanaele</td> + </tr> + </table> + <table class="2.4channel"> + <tr> + <td><input type="checkbox" name="2.4channel" value="true" onclick="javascript:toggleVisible('2.4channel')"></td> + <td> </td><td>Alle 2.4GHz Kanaele</td> + </tr> + </table> + <table class="channel"> + <tr> + <td><input type="checkbox" name="channel1" value="true" onclick="javascript:toggleVisible('channel1')"></td> + <td> </td><td>1</td> + <td><input type="checkbox" name="channel2" value="true" onclick="javascript:toggleVisible('channel2')"></td> + <td> </td><td>2</td> + <td><input type="checkbox" name="channel3" value="true" onclick="javascript:toggleVisible('channel3')"></td> + <td> </td><td>3</td> + </tr> + <tr> - <!-- <td><input type="checkbox" name="channel4" value="true" onclick="javascript:toggleVisible('channel4')"></td> --> - <!-- <td> </td><td>4</td> --> - <!-- <td><input type="checkbox" name="channel5" value="true" onclick="javascript:toggleVisible('channel5')"></td> --> - <!-- <td> </td><td>5</td> --> - <!-- <td><input type="checkbox" name="channel6" value="true" onclick="javascript:toggleVisible('channel6')"></td> --> - <!-- <td> </td><td>6</td> --> - <!-- </tr> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="channel7" value="true" onclick="javascript:toggleVisible('channel7')"></td> --> - <!-- <td> </td><td>7</td> --> - <!-- <td><input type="checkbox" name="channel8" value="true" onclick="javascript:toggleVisible('channel8')"></td> --> - <!-- <td> </td><td>8</td> --> - <!-- <td><input type="checkbox" name="channel9" value="true" onclick="javascript:toggleVisible('channel9')"></td> --> - <!-- <td> </td><td>9</td> --> - <!-- </tr> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="channel10" value="true" onclick="javascript:toggleVisible('channel10')"></td> --> - <!-- <td> </td><td>10</td> --> - <!-- <td><input type="checkbox" name="channel11" value="true" onclick="javascript:toggleVisible('channel11')"></td> --> - <!-- <td> </td><td>11</td> --> - <!-- <td><input type="checkbox" name="channel12" value="true" onclick="javascript:toggleVisible('channel12')"></td> --> - <!-- <td> </td><td>12</td> --> - <!-- </tr> --> - <!-- <tr> --> - <!-- <td><input type="checkbox" name="channel13" value="true" onclick="javascript:toggleVisible('channel13')"></td> --> - <!-- <td> </td><td>13</td> --> - <!-- </tr> --> - <!-- </table> --> + <td><input type="checkbox" name="channel4" value="true" onclick="javascript:toggleVisible('channel4')"></td> + <td> </td><td>4</td> + <td><input type="checkbox" name="channel5" value="true" onclick="javascript:toggleVisible('channel5')"></td> + <td> </td><td>5</td> + <td><input type="checkbox" name="channel6" value="true" onclick="javascript:toggleVisible('channel6')"></td> + <td> </td><td>6</td> + </tr> + <tr> + <td><input type="checkbox" name="channel7" value="true" onclick="javascript:toggleVisible('channel7')"></td> + <td> </td><td>7</td> + <td><input type="checkbox" name="channel8" value="true" onclick="javascript:toggleVisible('channel8')"></td> + <td> </td><td>8</td> + <td><input type="checkbox" name="channel9" value="true" onclick="javascript:toggleVisible('channel9')"></td> + <td> </td><td>9</td> + </tr> + <tr> + <td><input type="checkbox" name="channel10" value="true" onclick="javascript:toggleVisible('channel10')"></td> + <td> </td><td>10</td> + <td><input type="checkbox" name="channel11" value="true" onclick="javascript:toggleVisible('channel11')"></td> + <td> </td><td>11</td> + <td><input type="checkbox" name="channel12" value="true" onclick="javascript:toggleVisible('channel12')"></td> + <td> </td><td>12</td> + </tr> + <tr> + <td><input type="checkbox" name="channel13" value="true" onclick="javascript:toggleVisible('channel13')"></td> + <td> </td><td>13</td> + </tr> + </table> </form> </div> </div> @@ -150,23 +144,23 @@ if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { <div id="loginbox" class="box"> <script type="text/javascript"> <?php - /* if (!isset($_SESSION['logged_in']) || !$_SESSION['logged_in']) { */ - /* echo 'showFFLogin();'; */ - /* } else { */ - /* echo 'showFFLogout("'.$_SESSION['username'].'");'; */ - /* } */ + if (!isset($_SESSION['logged_in']) || !$_SESSION['logged_in']) { + echo 'showFFLogin();'; + } else { + echo 'showFFLogout("'.$_SESSION['username'].'");'; + } ?> </script> </div> - <div id="addressbox" class="box"> - <b>Adresse suchen (Strassenname Nr. <, Ort>):</b> - <form action="#" onsubmit="showAddress(this.address.value); return false"> - <p> - <input type="text" size="35" name="address" value="Lendkai 1" /> - <input type="submit" value="Suchen" /> - </p> - </form> - </div> + <!-- <div id="addressbox" class="box"> --> + <!-- <b>Adresse suchen (Strassenname Nr. <, Ort>):</b> --> + <!-- <form action="#" onsubmit="showAddress(this.address.value); return false"> --> + <!-- <p> --> + <!-- <input type="text" size="35" name="address" value="Lendkai 1" /> --> + <!-- <input type="submit" value="Suchen" /> --> + <!-- </p> --> + <!-- </form> --> + <!-- </div> --> </div> </body> </html> |