Ejemplo n.º 1
0
}
include $IncludeLang;
$SlotID = -1;
if (isset($_GET["SlotID"])) {
    if (is_numeric($_GET["SlotID"]) && $_GET["SlotID"] <= 105) {
        $SlotID = $_GET["SlotID"];
    } else {
        writeErrorLog($pageName, "urlGetSlotID", "The value of URL GET parameter [SlotID] did not pass validation. Value: (" . $_GET["SlotID"] . ")");
    }
}
$DriverName = "";
$TableName = "racelaps";
if (isset($_GET["DriverName"])) {
    $TableName = "xlaps";
    $DriverName = urldecode($_GET["DriverName"]);
    if (validateNameVars($DriverName) === true) {
    } else {
        $DriverName = "";
        writeErrorLog($pageName, "urlGetDriverName", "The value of URL GET parameter [DriverName] did not pass validation. Value: (" . $_GET["DriverName"] . ")");
    }
}
$SelectLapsLimit = "";
if (isset($displayMaxLaps) && $displayMaxLaps > 0) {
    $SelectLapsLimit = " LIMIT " . $displayMaxLaps;
}
?>
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html>
<head>
<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='cache-control' content='no-cache'>
Ejemplo n.º 2
0
        $TrackName = "";
        writeErrorLog($pageName, "urlGetTrackName", "The value of URL GET parameter [TrackName] did not pass validation. Value: (" . $_GET["TrackName"] . ")");
    }
}
if (isset($_POST["TrackName"])) {
    $TrackName = $_POST["TrackName"];
    if (validateNameVars($TrackName) === true) {
    } else {
        $TrackName = "";
        writeErrorLog($pageName, "postTrackName", "The value of POST parameter [TrackName] did not pass validation. Value: (" . $_POST["TrackName"] . ")");
    }
}
$VehicleClass = "ALL";
if (isset($_POST["VehicleClass"])) {
    $VehicleClass = $_POST["VehicleClass"];
    if (validateNameVars($VehicleClass) === true) {
    } else {
        $VehicleClass = "";
        writeErrorLog($pageName, "postVehicleClass", "The value of POST parameter [VehicleClass] did not pass validation. Value: (" . $_POST["VehicleClass"] . ")");
    }
}
if ($TrackName != $PrevTrackNameSelected) {
    $VehicleClass = "ALL";
}
?>
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html>
<head>
<meta http-equiv='pragma' content='no-cache'>
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>