function addFlightError($errMsg) { /* open_inner_table(_SUBMIT_FLIGHT_ERROR,600); open_tr(); echo "<br><br><center>"; echo $errMsg; echo "</center><br><br><br>"; close_inner_table(); */ echo "<BR><BR><span class='alert'><strong>" . _SUBMIT_FLIGHT_ERROR . "</strong><br><BR>{$errMsg}</span>"; exitPage(); }
?> &admin_op='+methodID+cStr; document.location=linkStr; }); }); </script> <?php $workTable = "temp_leonardo_gliders"; // $workTable=$flightsTable; open_inner_table("ADMIN AREA :: Resolve Duplicate takeoffs", 850); open_tr(); echo "<td align=left>"; if (!L_auth::isAdmin($userID)) { echo "<br><br>You dont have access to this page<BR>"; exitPage(); } $admin_op = makeSane($_GET['admin_op']); ?> <form><BR /> Method: <select name="compareMethod" id="compareMethod"> <option value="1">Same Name</option> <option value="2">Soundex Similarity</option> <option value="3">Location Proximity (very slow)</option> </select> Select only takeoffs from country: <input type="text" name='countryCode' id='countryCode' size="5" value='<?php echo $_GET['countryCode']; ?> ' /> (give country code)
//-------------------------- //-------------------------- // Misc related actions //-------------------------- } else if ($op=="filter") { require $LeoCodeBase."/GUI_filter.php"; } else if ($op=="rss_conf") { $noFooterMenu=1; require $LeoCodeBase."/GUI_rss_conf.php"; } else if ($op=="stats") { require $LeoCodeBase."/GUI_stats.php"; } else if ($op=="program_info") { require $LeoCodeBase."/GUI_program_info.php"; } exitPage(0); // END OF OUTPUT to the browser function exitPage($exitNow=1){ global $opMode,$noFooterMenu,$moduleRelPath,$PREFS,$CONF_use_own_template,$CONF; global $sqlQueriesTime ,$sqlQueriesNum,$sqlFetchTime,$sqlFetchNum; global $pageStart,$DBGlvl; global $RUN; echo "<br>"; if (!$noFooterMenu ) { if ($RUN['view']!='print') { echo "<br><div class='main_text' align=center><a href='#top_of_page'>"._RETURN_TO_TOP."</a></div>"; }