Ejemplo n.º 1
0
function GetParameters($params)
{
    global $target, $cmdIndex, $clientWidth, $mapName, $sessionId, $popup, $us, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $popup = GetIntParameter($params, 'POPUP');
    $us = GetParameter($params, 'US');
}
Ejemplo n.º 2
0
function GetParameters($params)
{
    global $taskPane, $sessionId, $webLayoutId, $dwf, $locale, $mapName;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $webLayoutId = ValidateResourceId(GetParameter($params, 'WEBLAYOUT'));
    $dwf = GetIntParameter($params, 'DWF');
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
}
Ejemplo n.º 3
0
function GetParameters($params)
{
    global $mapName, $sessionId, $dwf, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $popup = GetIntParameter($params, 'POPUP');
    $dwf = GetIntParameter($params, 'DWF');
}
Ejemplo n.º 4
0
function GetParameters($params)
{
    global $mapName, $sessionId, $mapFrame, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    if (isset($params['MAPFRAME'])) {
        $mapFrame = ValidateFrameName(GetParameter($params, 'MAPFRAME'));
    } else {
        $mapFrame = "parent";
    }
}
Ejemplo n.º 5
0
function GetParameters($params)
{
    global $target, $cmdIndex, $clientWidth, $mapName, $sessionId, $total, $popup, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $target = GetIntParameter($params, 'TGT');
    $popup = GetIntParameter($params, 'POPUP');
    $cmdIndex = GetIntParameter($params, 'CMDINDEX');
    $clientWidth = GetIntParameter($params, 'WIDTH');
    $total = GetDoubleParameter($params, 'TOTAL');
    $units = GetParameter($params, 'UNITS');
}
Ejemplo n.º 6
0
function GetParameters($params)
{
    global $cmdIndex, $target, $clientWidth, $layerId, $popup, $locale;
    global $mapName, $sessionId, $filter, $matchLimit;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $cmdIndex = GetIntParameter($params, 'CMDINDEX');
    $target = GetIntParameter($params, 'TGT');
    $popup = GetIntParameter($params, 'POPUP');
    $clientWidth = GetIntParameter($params, 'WIDTH');
    $matchLimit = GetIntParameter($params, 'MR');
    $layerId = GetParameter($params, 'LAYER');
    $filter = GetParameter($params, 'FILTER');
}
Ejemplo n.º 7
0
function GetParameters($params)
{
    global $mapName, $sessionId, $summary, $layerCount;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    if (isset($params['SUMMARY'])) {
        $summary = true;
    } else {
        $layerCount = GetIntParameter($params, 'LC');
    }
}
Ejemplo n.º 8
0
function GetParameters($params)
{
    global $inputSel, $layers, $mapName, $sessionId, $dwf;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $dwf = GetIntParameter($params, 'DWF');
    $inputSel = UnescapeMagicQuotes(GetParameter($params, 'SELECTION'));
    $layers = GetParameter($params, 'LAYERS');
}
Ejemplo n.º 9
0
function GetParameters($params)
{
    global $userInput, $target, $layerName, $popup, $locale;
    global $mapName, $sessionId, $filter, $resNames, $resProps, $matchLimit;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $target = GetIntParameter($params, 'TGT');
    $popup = GetIntParameter($params, 'POPUP');
    $matchLimit = GetIntParameter($params, 'MR');
    $colCount = GetIntParameter($params, 'COLS');
    if ($colCount > 0) {
        for ($i = 0; $i < $colCount; $i++) {
            array_push($resNames, GetParameter($params, 'CN' . $i));
            array_push($resProps, GetParameter($params, 'CP' . $i));
        }
    }
    $userInput = GetParameter($params, 'USERINPUT');
    $layerName = GetParameter($params, 'LAYER');
    $filter = GetParameter($params, 'FILTER');
}
Ejemplo n.º 10
0
function GetParameters()
{
    global $params, $selText, $locale;
    global $mapName, $sessionId, $bufferName, $lcolor, $ffcolor, $fbcolor, $layersParam, $popup;
    global $transparent, $distance, $units, $linestyle, $fillstyle, $thickness, $merge, $foretrans;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $lcolor = ValidateColorString(GetParameter($params, 'LCOLOR'));
    $ffcolor = ValidateColorString(GetParameter($params, 'FFCOLOR'));
    $fbcolor = ValidateColorString(GetParameter($params, 'FBCOLOR'));
    $popup = GetIntParameter($params, 'POPUP');
    $transparent = GetIntParameter($params, 'TRANSPARENT');
    $distance = GetDecimalFromLocalizedString(GetParameter($params, 'DISTANCE'), $locale);
    if (isset($params['MERGE'])) {
        $merge = 1;
    }
    $foretrans = GetDoubleParameter($params, 'FORETRANS');
    $thickness = GetDoubleParameter($params, 'THICKNESS');
    $bufferName = GetParameter($params, 'BUFFER');
    $layersParam = GetParameter($params, 'LAYERS');
    $units = GetParameter($params, 'UNITS');
    $linestyle = GetParameter($params, 'LINESTYLE');
    $fillstyle = GetParameter($params, 'FILLSTYLE');
    $selText = GetParameter($params, 'SELECTION');
    //unescape strings
    //
    if (ini_get("magic_quotes_sybase") == "1") {
        $selText = str_replace("''", "'", $selText);
    } else {
        if (get_magic_quotes_gpc() == "1") {
            //Unescape double quotes
            $selText = str_replace('\\"', '"', $selText);
            //remove additional backslash
            $selText = str_replace("\\", "", $selText);
        }
    }
    if ((int) $foretrans < 0 || (int) $foretrans > 100) {
        $foretrans = 50;
    }
}
Ejemplo n.º 11
0
function GetParameters($params)
{
    global $mapName, $sessionId, $selText, $queryInfo;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    if (isset($params['QUERYINFO'])) {
        $queryInfo = GetIntParameter($params, 'QUERYINFO') == 1;
    }
    $selText = UnescapeMagicQuotes(GetParameter($params, 'SELECTION'));
}
Ejemplo n.º 12
0
function GetParameters($params)
{
    global $mapName, $sessionId, $x1, $y1, $x2, $y2, $popup, $units;
    global $total, $clear, $us, $segId, $target, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $mapName = ValidateMapName(GetParameter($params, 'MAPNAME'));
    $target = GetIntParameter($params, 'TGT');
    $popup = GetIntParameter($params, 'POPUP');
    $units = GetParameter($params, 'UNITS');
    if (isset($params['CLEAR'])) {
        $clear = true;
    } else {
        $segId = GetIntParameter($params, 'SEGID');
        $x1 = GetDoubleParameter($params, 'X1');
        $y1 = GetDoubleParameter($params, 'Y1');
        $x2 = GetDoubleParameter($params, 'X2');
        $y2 = GetDoubleParameter($params, 'Y2');
        $total = GetDoubleParameter($params, 'TOTAL');
    }
}