$C3 = fHideColumn(3, true); $C4 = fHideColumn(4, true); $C5 = fHideColumn(5, true); $C6 = fHideColumn(6, true); $C7 = fHideColumn(7, true); $C8 = fHideColumn(8, true); $C9 = fHideColumn(9, true); $C10 = fHideColumn(10, true); $C11 = fHideColumn(11, true); $C12 = fHideColumn(12, true); $C13 = fHideColumn(13, true); $C14 = fHideColumn(14, true); $C15 = fHideColumn(15, true); $C16 = fHideColumn(16, true); $C17 = fHideColumn(17, true); $C18 = fHideColumn(18, true); ?> <script type='text/javascript'> gct.drawChart(); gct.addSelectEvent( EventSelectPosFunction ); gct.addPageEvent( EventPageFunction ); </script> <?php global $usr, $hide_coords, $lang; $login = 0; $googlemaps = ""; echo "<div class='GCT-div' style='font-size:12px' >\n<form name='ExportCaches' id='ExportCaches' style='display:inline;' action='' method='get'>\n <table width='770px' class = 'GCT-div-table' >\n <tr>\n <td style='color:green;'>{{SelectedPositionExport}}</td>\n <td></td>\n </tr>\n\n <tr>\n <td> </td>\n <td>\n <span class='content-title-noshade' style='color:green'>{{format_GPX}}</span>:<br/>\n <a class='links' onclick='CacheExport(\"gpx\")' id='exportGPX' title='GPS Exchange Format .gpx'>GPX</a> |\n <a class='links' onclick='CacheExport(\"zip\")' id='exportZIP' title='Garmin ZIP file ({{format_pict}}) .zip'>GARMIN ({{format_pict}})</a> |\n <a class='links' onclick='CacheExport(\"ggz\")' id='exportGGZ' title='Garmin .ggz'>GARMIN GGZ</a> <sup style='color:red;text-shadow: 2px 2px 2px rgba(255, 109, 255, 1);'>Beta!</sup> |\n <a class='links' onclick='CacheExport(\"ggzp\")' id='exportGGZP' title='Garmin ZIP file ({{format_ggz_pict}}) .zip'>GARMIN GGZ ({{format_ggz_pict}})</a> <sup style='color:red;text-shadow: 2px 2px 2px rgba(255, 109, 255, 1);'>Beta!</sup>\n </td>\n </tr>\n\n <tr><td colspan=2> </td></tr>\n <tr>\n <td>{{Selected}}: <input type='text' name='SelectedPos' id='SelectedPos' value='0' style='width:25px;text-align:center;color:green; font-weight: bold' readonly > {{pos.}}</td>\n\n <td><span class='content-title-noshade' style='color:green'>{{format_other}}</span>:<br/>\n <a class='links' onclick='CacheExport(\"loc\")' id='exportLOC' title='Waypoint .loc'>LOC</a> |\n <a class='links' onclick='CacheExport(\"kml\")' id='exportKML' title='Google Earth .kml'>KML</a> |\n <a class='links' onclick='CacheExport(\"ov2\")' id='exportOV2' title='TomTom POI .ov2'>OV2</a> |\n <a class='links' onclick='CacheExport(\"ovl\")' id='exportOVL' title='TOP50-Overlay .ovl'>OVL</a> |\n <a class='links' onclick='CacheExport(\"txt\")' id='exportTXT' title='Text .txt'>TXT</a> |\n <a class='links' onclick='CacheExport(\"wpt\")' id='exportWPT' title='Oziexplorer .wptt'>WPT</a> |\n <a class='links' onclick='CacheExport(\"uam\")' id='exportUAM' title='AutoMapa .uam'>UAM</a> |\n <a class='links' onclick='CacheExport(\"xml\")' id='exportXML' title='Xml'>XML</a>\n </td>\n </tr>\n\n <tr><td colspan=2><hr></td></tr>\n\n <tr>\n <td style='color:green;'>{{AllPosExport}}</td>\n <td></td>\n </tr>\n <tr>\n <td> </td>\n <td>\n <span class='content-title-noshade' style='color:green'>{{format_GPX}}</span>:<br/>\n <a class=\"links\" href=\"ocplgpx";
$CalcDistance = false; } $CalcCoordinates = true; if (fHideColumn(findColumn(tr('Coordinates')), false) == 1) { $CalcCoordinates = false; } $CalcSendToGPS = true; if (fHideColumn(findColumn(tr('srch_Send_to_GPS'), "O"), false) == 1) { $CalcSendToGPS = false; } $CalcFNC = true; if (fHideColumn(findColumn(tr('FNC')), false) == 1 && fHideColumn(findColumn(tr('F')), false) == 1 && fHideColumn(findColumn(tr('N')), false) == 1 && fHideColumn(findColumn(tr('C')), false) == 1) { $CalcFNC = false; } $CalcEntry = true; if (fHideColumn(findColumn(tr('Entry')), false) == 1) { $CalcEntry = false; } if ($CalcSendToGPS) { $CalcCoordinates = true; } if ($CalcDistance) { $CalcCoordinates = true; } $distance_unit = 'km'; $sql = 'SELECT '; if (isset($lat_rad) && isset($lon_rad)) { if ($CalcDistance) { $sql .= getCalcDistanceSqlFormula($usr !== false, $lon_rad * 180 / 3.14159, $lat_rad * 180 / 3.14159, 0, $multiplier[$distance_unit]) . ' `distance`, '; } } else {