if (!$flight->belongsToUser($userID) && !L_auth::isModerator($userID)) {
    echo "go away";
    return;
}
if ($_POST['setTimes'] == 1) {
    // set new bounds !!!
    $startTime = makeSane($_REQUEST['timeTextSecs1'], 1);
    // in secs
    $endTime = makeSane($_REQUEST['timeTextSecs2'], 1);
    $flight->forceBounds = 1;
    // must be in these time bounds
    $flight->START_TIME = $startTime;
    $flight->END_TIME = $endTime;
    $waypointsWebPath = moduleRelPath(0) . "/" . $waypointsRelPath;
    $flight->getFlightFromIGC($flight->getIGCFilename(), 0);
    $flight->deleteSecondaryFiles();
    $flight->updateTakeoffLanding();
    $flight->getMapFromServer();
    $flight->updateCharts(1);
    $flight->putFlightToDB(1);
    // 1== UPDATE
    $flight->computeScore();
    ?>
		  <script language="javascript">
			  function refreshParent() {
				  topWinRef=top.location.href;
				  top.window.location.href=topWinRef;
			  }
		  </script>
		<?php 
    echo "<div align=center><BR><BR>The start/end time have been updated<BR><BR>";