Beispiel #1
0
function GetParameters($params)
{
    global $tgt, $popup, $dwf, $locale;
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $tgt = GetIntParameter($params, 'TGT');
    $popup = GetIntParameter($params, 'POPUP');
    $dwf = GetIntParameter($params, 'DWF');
}
Beispiel #2
0
function GetParameters($params)
{
    global $clr, $allowTransparency, $transparent, $locale;
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $clr = ValidateColorString(GetParameter($params, 'CLR'));
    $allowTransparency = GetIntParameter($params, 'ALLOWTRANS') == 1;
    $transparent = GetIntParameter($params, 'TRANS') == 1;
}
Beispiel #3
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'));
}
Beispiel #4
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');
}
Beispiel #5
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');
}
Beispiel #6
0
function GetParameters($params)
{
    global $sessionId, $webLayout, $pageName, $dwf, $locale;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $webLayout = ValidateResourceId(GetParameter($params, 'WEBLAYOUT'));
    $dwf = GetIntParameter($params, 'DWF') == 1;
    $pageName = GetParameter($params, 'PAGE');
}
Beispiel #7
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');
}
Beispiel #8
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');
}
Beispiel #9
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');
    }
}
Beispiel #10
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');
}
Beispiel #11
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');
}
Beispiel #12
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;
    }
}
Beispiel #13
0
function GetParameters($params)
{
    global $mapDefinition, $type;
    global $infoWidth, $showLegend, $showProperties, $sessionId;
    global $locale, $hlTgt, $hlTgtName, $showSlider;
    global $selectionColor, $mapImgFormat, $selImgFormat, $pointBufferSize;
    $sessionId = ValidateSessionId(GetParameter($params, 'SESSION'));
    $locale = ValidateLocaleString(GetParameter($params, 'LOCALE'));
    $hlTgt = ValidateHyperlinkTargetValue(GetParameter($params, 'HLTGT'));
    $hlTgtName = ValidateFrameName(GetParameter($params, 'HLTGTNAME'));
    $mapDefinition = ValidateResourceId(GetParameter($params, 'MAPDEFINITION'));
    $showLegend = GetIntParameter($params, 'SHOWLEGEND') == 1;
    $showProperties = GetIntParameter($params, 'SHOWPROP') == 1;
    $showSlider = GetIntParameter($params, 'SHOWSLIDER') == 1;
    $infoWidth = GetIntParameter($params, 'INFOWIDTH');
    $type = GetParameter($params, 'TYPE');
    $selectionColor = ValidateColorString(GetParameter($params, 'SELCOLOR'), 8);
    $mapImgFormat = GetParameter($params, 'MAPIMGFORMAT');
    $selImgFormat = GetParameter($params, 'SELIMGFORMAT');
    $pointBufferSize = GetIntParameter($params, 'POINTBUFFERSIZE');
}
Beispiel #14
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'));
}
Beispiel #15
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');
    }
}