$zeile) { // Height & Width if (preg_match("/grid width=/",$zeile)) { preg_match("/grid width=(?\d+)/",$zeile,$match); $MapX = intval($match[1]); } if (preg_match("/grid height=/",$zeile)) { preg_match("/grid height=(?\d+)/s",$zeile,$match); $MapY = intval($match[1]); } // ScriptData if (preg_match("/x=0,y=0/",$zeile)) $bGetScriptData = true; if ($bGetScriptData && preg_match("/ScriptData=/",$zeile)) { $ScriptDataX0Y0 = $zeile; $bGetScriptData = false; if (!$_POST["addLines"] && !$_POST["insertX"] && !$_POST["insertY"]) break; } // Terrain-Eigenschaften holen für bestimmte Plot inserts // ACHTUNG: bei SciptData auf vorzeitiges BREAK achten! if (!$_POST["bOceanPlots"]) { if ( ($_POST["addLines"] && ($_POST["addType"] == "addBOTTOM" || $_POST["addType"] == "addLEFT")) || $_POST["insertX"] || $_POST["insertY"]) { if (preg_match("/x=(\d+),y=/",$zeile)) { preg_match("/x=(?\d+),y=(?\d+)/",$zeile,$match); $x = intval($match[1]); $y = intval($match[2]); $bAddTerrainCheck = True; // ab jetzt kann x,y gecheckt werden } if ($bAddTerrainCheck) { #echo "$x | $y
"; if ($_POST["addType"] == "addBOTTOM" && $y == 0) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$x][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$x][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$x][2] = $zeile; } elseif ($_POST["addType"] == "addLEFT" && $x == 0) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$y][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$y][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$y][2] = $zeile; } elseif ($_POST["fromX"] && $x+1 == $_POST["fromX"]) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$y][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$y][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$y][2] = $zeile; } elseif ($_POST["fromY"] && $y+1 == $_POST["fromY"]) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$x][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$x][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$x][2] = $zeile; } } } } } // -------------------------- #var_dump($array_plots); // Max WIDTH CHECK if ($MapX + $_POST["addLines"] > 205 || $MapY + $_POST["addLines"] > 205 || $MapX + $_POST["insertX"] > 205 || $MapY + $_POST["insertY"] > 205) { $_POST["addLines"] = 0; $_POST["insertX"] = 0; $_POST["insertY"] = 0; $error_msg = "MAX width/height of 205 plots exceeded!"; } // Zeilen bearbeiten $count_changes = 0; $x = $y = 0; $bAdd = $bAddTerrainCheck = $bInLineXY = false; $bSetFirstScriptData = $bDelFirstScriptData = true; $array_done = array(); $line = explode("\n",$text_file); foreach ($line as $key => $zeile) { $noline = false; // Trim empty lines and remove checked lines if ($_POST["check1"] && trim($zeile) == "") continue; if ($_POST["check2"] && preg_match("/Culture=/",$zeile)) continue; if ($_POST["check3"] && preg_match("/TeamReveal/",$zeile)) continue; if ($_POST["check4"] && preg_match("/AttitudePlayer/",$zeile)) continue; if ($_POST["check5"] && preg_match("/ContactWithTeam/",$zeile)) continue; if ($_POST["check6"] && preg_match("/AtWar=/",$zeile)) continue; if ($_POST["check7"] && preg_match("/Tech=/",$zeile)) { if ($_POST["check8"]) continue; elseif (!preg_match("/TECH_GREEK/",$zeile) && !preg_match("/TECH_ROMAN/",$zeile)) continue; } if ($_POST["check9"]) { if (preg_match("/MapTrading=/",$zeile)) continue; if (preg_match("/TechTrading=/",$zeile)) continue; if (preg_match("/GoldTrading=/",$zeile)) continue; if (preg_match("/OpenBordersTrading=/",$zeile)) continue; if (preg_match("/DefensivePactTrading=/",$zeile)) continue; if (preg_match("/VassalStateTrading=/",$zeile)) continue; if (preg_match("/BridgeBuilding=/",$zeile)) continue; if (preg_match("/Irrigation=/",$zeile)) continue; if (preg_match("/WaterWork=/",$zeile)) continue; } if ($_POST["check10"]) { if (preg_match("/VassalOfTeam=/",$zeile)) continue; if (preg_match("/VassalPower=/",$zeile)) continue; if (preg_match("/MasterPower=/",$zeile)) continue; } if ($_POST["check11"]) { if (preg_match("/CivicOption=CIVICOPTION_GOVERNMENT/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_GOVERNMENT, Civic=CIVIC_DESPOTISM\n"; elseif (preg_match("/CivicOption=CIVICOPTION_LEGAL/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_LEGAL, Civic=CIVIC_BARBARISM\n"; elseif (preg_match("/CivicOption=CIVICOPTION_LABOR/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_LABOR, Civic=CIVIC_BLUTRECHT\n"; elseif (preg_match("/CivicOption=CIVICOPTION_ECONOMY/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_ECONOMY, Civic=CIVIC_AUTARKIE\n"; elseif (preg_match("/CivicOption=CIVICOPTION_RELIGION/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_RELIGION, Civic=CIVIC_ANIMISM\n"; elseif (preg_match("/CivicOption=CIVICOPTION_MILITARY/",$zeile)) $text_new .= " CivicOption=CIVICOPTION_MILITARY, Civic=CIVIC_STAMMESKRIEGER\n"; } if ($_POST["check12"] && preg_match("/StateReligion=/",$zeile)) continue; if ($_POST["check13"] && preg_match("/StartingEra=/",$zeile)) $text_new .= " StartingEra=ERA_ANCIENT\n"; if ($_POST["check14"] && $_POST["check15"] && preg_match("/StartingGold=/",$zeile)) $text_new .= " StartingGold=".$_POST["check15"]."\n"; // Zeilen (1-4 Möglichkeiten) ersetzen $tmp1 = trim($_POST["von"][1]); $tmp2 = trim($_POST["von"][2]); $tmp3 = trim($_POST["von"][3]); $tmp4 = trim($_POST["von"][4]); if ($_POST["von"][1] && (trim($zeile) == $tmp1 || preg_match("/$tmp1/", trim($zeile)))) { $index = 1; $noline = true; if ($_POST["zu"][1] != "") $text_new .= $_POST["zu"][1]."\n"; elseif (!$_POST["del"][1]) $text_new .= $zeile."\n"; // zusaetzliche Zeilen (nicht welche zum Aendern) if ($_POST["edit_type"] == 2) { if ($_POST["von"][2] == "" && $_POST["zu"][2] != "") $text_new .= $_POST["zu"][2]."\n"; if ($_POST["von"][3] == "" && $_POST["zu"][3] != "") $text_new .= $_POST["zu"][3]."\n"; if ($_POST["von"][4] == "" && $_POST["zu"][4] != "") $text_new .= $_POST["zu"][4]."\n"; } $count_changes++; } elseif ($_POST["von"][2] && (trim($zeile) == $tmp2 || preg_match("/$tmp2/", trim($zeile)))) { if ($_POST["edit_type"] == 1 || $_POST["edit_type"] == 2 && $index >= 1 && $index <= 4) { if ($_POST["zu"][2] == "" || $_POST["del"][2]) $noline = true; else $zeile = $_POST["zu"][2]; $count_changes++; } } elseif ($_POST["von"][3] && (trim($zeile) == $tmp3 || preg_match("/$tmp3/", trim($zeile)))) { if ($_POST["edit_type"] == 1 || $_POST["edit_type"] == 2 && $index >= 1 && $index <= 4) { if ($_POST["zu"][3] == "" || $_POST["del"][3]) $noline = true; else $zeile = $_POST["zu"][3]; $count_changes++; } } elseif ($_POST["von"][4] && (trim($zeile) == $tmp4 || preg_match("/$tmp4/", trim($zeile)))) { if ($_POST["edit_type"] == 1 || $_POST["edit_type"] == 2 && $index >= 1 && $index <= 4) { if ($_POST["zu"][4] == "" || $_POST["del"][4]) $noline = true; else $zeile = $_POST["zu"][4]; $count_changes++; } } $index++; // X-Y Koordinaten auslesen if ($_POST["addLines"] || $_POST["insertX"] || $_POST["insertY"] || $_POST["remLines"]) { if (preg_match("/x=(\d+),y=/",$zeile)) { preg_match("/x=(?\d+),y=(?\d+)/",$zeile,$match); $x = intval($match[1]); $y = intval($match[2]); $bInLineXY = true; } else $bInLineXY = false; } // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ // X-Y Koordinaten erweitern // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ if ($_POST["addLines"]) { if (preg_match("/num plots written=/",$zeile)) { $NewMapX = $MapX; $NewMapY = $MapY; if ($_POST["addType"] == "addLEFT" || $_POST["addType"] == "addRIGHT") $NewMapX += $_POST["addLines"]; if ($_POST["addType"] == "addTOP" || $_POST["addType"] == "addBOTTOM") $NewMapY += $_POST["addLines"]; $text_new .= " num plots written=".($NewMapX * $NewMapY)."\n"; $noline = true; } // Haupt grid ändern if ($_POST["addType"] == "addTOP" || $_POST["addType"] == "addBOTTOM") { if (preg_match("/grid height=/",$zeile)) { $text_new .= " grid height=".($MapY + $_POST["addLines"])."\n"; $noline = true; } } elseif ($_POST["addType"] == "addLEFT" || $_POST["addType"] == "addRIGHT") { if (preg_match("/grid width=/",$zeile)) { $text_new .= " grid width=".($MapX + $_POST["addLines"])."\n"; $noline = true; } } if ($_POST["addType"] == "addTOP") { // Trigger if ($y+1 == $MapY) $bAdd = true; // Terrain herausfinden if ($bAdd) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$x][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$x][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$x][2] = $zeile; } // Zeilen hinzufügen if ($bAdd && preg_match("/EndPlot/",$zeile)) { $noline = true; $text_new .= $zeile."\n"; // EndPlot $bAdd = false; for ($j=0; $j < $_POST["addLines"]; $j++) { $y++; $text_new .= "BeginPlot\n"; $text_new .= " x=".$x.",y=".$y."\n"; if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$x][0]) $text_new .= $array_plots[$x][0]."\n"; $text_new .= $array_plots[$x][1]."\n"; $text_new .= $array_plots[$x][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$y
\n"; ######### } // for j } } elseif ($_POST["addType"] == "addBOTTOM") { // Trigger if ($y == 0 && $bInLineXY && !in_array($x,$array_done)) $bAdd = true; // Alle restlichen Koords ändern (muss vor bAdd stehen) if (!$bAdd && $bInLineXY) { $y += $_POST["addLines"]; $text_new .= " x=$x,y=$y\n"; $noline = true; } // Zeilen hinzufügen if ($bAdd) { $noline = true; $bAdd = false; $array_done[] = $x; $bFirst = true; for ($j=0; $j < $_POST["addLines"]; $j++) { if ($bFirst) { $text_new .= " x=$x,y=0\n"; $bFirst = false; } else { $text_new .= "BeginPlot\n"; $text_new .= " x=$x,y=$y\n"; } if ($bSetFirstScriptData && $ScriptDataX0Y0) { $text_new .= $ScriptDataX0Y0."\n"; $bSetFirstScriptData = false; } if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$x][0]) $text_new .= $array_plots[$x][0]."\n"; $text_new .= $array_plots[$x][1]."\n"; $text_new .= $array_plots[$x][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$y
\n"; ######### $y++; } // for j $text_new .= "BeginPlot\n"; $text_new .= " x=$x,y=$y\n"; } // ScriptData bei altem x=y=0 entfernen if ($bDelFirstScriptData && preg_match("/ScriptData=/",$zeile)) { $noline = true; $bDelFirstScriptData = false; } } elseif ($_POST["addType"] == "addLEFT") { // Trigger if (!$bAdd && preg_match("/BeginPlot/",$zeile)) { $bAdd = true; for ($i=0; $i < $_POST["addLines"]; $i++) { for ($j=0; $j < $MapY; $j++) { $text_new .= "BeginPlot\n"; $text_new .= " x=".$x.",y=".$j."\n"; if ($bSetFirstScriptData && $ScriptDataX0Y0) { $text_new .= $ScriptDataX0Y0."\n"; $bSetFirstScriptData = false; } if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$j][0]) $text_new .= $array_plots[$j][0]."\n"; $text_new .= $array_plots[$j][1]."\n"; $text_new .= $array_plots[$j][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$j
\n"; ######### } // for j $x++; } // for i } // Alle restlichen Koords ändern if ($bAdd && $bInLineXY) { $x += $_POST["addLines"]; $text_new .= " x=$x,y=$y\n"; $noline = true; } // ScriptData bei altem x=y=0 entfernen if ($bDelFirstScriptData && preg_match("/ScriptData=/",$zeile)) { $noline = true; $bDelFirstScriptData = false; } } elseif ($_POST["addType"] == "addRIGHT") { // Terrains der letzten Zeile herausfinden (0=FeatureType, 1=TerrainType, 2=PlotType) if ($x+1 == $MapX) $bAddTerrainCheck = true; else $bAddTerrainCheck = false; if ($bAddTerrainCheck) { if (preg_match("/FeatureType=/",$zeile)) $array_plots[$y][0] = $zeile; if (preg_match("/TerrainType=/",$zeile)) $array_plots[$y][1] = $zeile; if (preg_match("/PlotType=/",$zeile)) $array_plots[$y][2] = $zeile; } // Trigger if ($x+1 == $MapX && $y+1 == $MapY) $bAdd = true; // Zeilen hinzufügen if ($bAdd && preg_match("/EndPlot/",$zeile)) { $noline = true; $text_new .= $zeile."\n"; // EndPlot $bAdd = false; for ($i=0; $i < $_POST["addLines"]; $i++) { $x++; for ($j=0; $j < $MapY; $j++) { $text_new .= "BeginPlot\n"; $text_new .= " x=".$x.",y=".$j."\n"; if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$j][0]) $text_new .= $array_plots[$j][0]."\n"; $text_new .= $array_plots[$j][1]."\n"; $text_new .= $array_plots[$j][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$j
\n"; ######### } // for j } // for i } } } // addLines // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ // Insert Lines // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ if ($_POST["insertX"] && $_POST["fromX"]) { if (preg_match("/num plots written=/",$zeile)) { $NewMapX = $MapX; $NewMapY = $MapY; $NewMapX += $_POST["insertX"]; $text_new .= " num plots written=".($NewMapX * $NewMapY)."\n"; $noline = true; } // Haupt grid ändern if (preg_match("/grid width=/",$zeile)) { $text_new .= " grid width=".($MapX + $_POST["insertX"])."\n"; $noline = true; } // Trigger if (!$bAdd && $x+1 == $_POST["fromX"] && $y+1 == $MapY && preg_match("/BeginPlot/",$zeile)) { $bAdd = true; $x++; for ($i=0; $i < $_POST["insertX"]; $i++) { for ($j=0; $j < $MapY; $j++) { $text_new .= "BeginPlot\n"; $text_new .= " x=".$x.",y=".$j."\n"; if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$j][0]) $text_new .= $array_plots[$j][0]."\n"; $text_new .= $array_plots[$j][1]."\n"; $text_new .= $array_plots[$j][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$j
\n"; ######### } // for j $x++; } // for i } // Alle restlichen Koords ändern if ($bAdd && $bInLineXY) { $x += $_POST["insertX"]; $text_new .= " x=$x,y=$y\n"; $noline = true; } } // insertLines X if ($_POST["insertY"] && $_POST["fromY"]) { if (preg_match("/num plots written=/",$zeile)) { $NewMapX = $MapX; $NewMapY = $MapY; $NewMapY += $_POST["insertY"]; $text_new .= " num plots written=".($NewMapX * $NewMapY)."\n"; $noline = true; } // Haupt grid ändern if (preg_match("/grid height=/",$zeile)) { $text_new .= " grid height=".($MapY + $_POST["insertY"])."\n"; $noline = true; } // Trigger if ($y+1 == $_POST["fromY"] && preg_match("/BeginPlot/",$zeile) && !in_array($x,$array_done)) $bAdd = true; // Zeilen hinzufügen if ($bAdd && !in_array($x,$array_done)) { $array_done[] = $x; for ($j=0; $j < $_POST["insertY"]; $j++) { $y++; $text_new .= "BeginPlot\n"; $text_new .= " x=$x,y=$y\n"; if ($_POST["bOceanPlots"]) { $text_new .= " TerrainType=TERRAIN_COAST\n"; $text_new .= " PlotType=3\n"; } else { if ($array_plots[$x][0]) $text_new .= $array_plots[$x][0]."\n"; $text_new .= $array_plots[$x][1]."\n"; $text_new .= $array_plots[$x][2]."\n"; } $text_new .= "EndPlot\n"; #echo "$x|$y
\n"; ######### } // for j } // Alle restlichen Koords ändern if ($bAdd && $bInLineXY && in_array($x,$array_done)) { $y += $_POST["insertY"]; $text_new .= " x=$x,y=$y\n"; $noline = true; } if ($y+1 == $MapY + $_POST["insertY"]) $bAdd = false; } // insertLines Y // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ // X-Y Koordinaten verkleinern // +++++++++++++++++++++++++++++++++++++++++++++++++++++++ if ($_POST["remLines"]) { if (preg_match("/num plots written=/",$zeile)) { $NewMapX = $MapX; $NewMapY = $MapY; if ($_POST["remType"] == "remLEFT" || $_POST["remType"] == "remRIGHT") $NewMapX -= $_POST["remLines"]; if ($_POST["remType"] == "remTOP" || $_POST["remType"] == "remBOTTOM") $NewMapY -= $_POST["remLines"]; $text_new .= " num plots written=".($NewMapX * $NewMapY)."\n"; $noline = true; } // Haupt grid ändern if ($_POST["remType"] == "remTOP" || $_POST["remType"] == "remBOTTOM") { if (preg_match("/grid height=/",$zeile)) { $text_new .= " grid height=".($MapY - $_POST["remLines"])."\n"; $noline = true; } } elseif ($_POST["remType"] == "remLEFT" || $_POST["remType"] == "remRIGHT") { if (preg_match("/grid width=/",$zeile)) { $text_new .= " grid width=".($MapX - $_POST["remLines"])."\n"; $noline = true; } } if ($_POST["remType"] == "remTOP") { // Weitermachen if ($y+1 == $MapY && preg_match("/EndPlot/",$zeile)) $bIgnore = false; // Trigger elseif ($y+1 == $MapY - $_POST["remLines"] && preg_match("/EndPlot/",$zeile)) $bIgnore = true; } elseif ($_POST["remType"] == "remRIGHT") { // Weitermachen if ($x+1 == $MapX && $y+1 == $MapY && preg_match("/EndPlot/",$zeile)) $bIgnore = false; // Trigger elseif ($x+1 == $MapX - $_POST["remLines"] && $y+1 == $MapY && preg_match("/EndPlot/",$zeile)) $bIgnore = true; } elseif ($_POST["remType"] == "remBOTTOM") { // Weitermachen if ($y == $_POST["remLines"] && $bInLineXY) $bIgnore = false; // Trigger elseif ($y == 0 && $bInLineXY) $bIgnore = true; // Alle restlichen Koords ändern if (!$bIgnore && $bInLineXY) { $z = $y - $_POST["remLines"]; $text_new .= " x=$x,y=$z\n"; if ($bSetFirstScriptData && $ScriptDataX0Y0) { $text_new .= $ScriptDataX0Y0."\n"; $bSetFirstScriptData = false; } $noline = true; } } elseif ($_POST["remType"] == "remLEFT") { // Weitermachen if ($x == $_POST["remLines"] && $bInLineXY) $bIgnore = false; // Trigger elseif ($x == 0 && $bInLineXY) $bIgnore = true; // Alle restlichen Koords ändern if (!$bIgnore && $bInLineXY) { $z = $x - $_POST["remLines"]; $text_new .= " x=$z,y=$y\n"; if ($bSetFirstScriptData && $ScriptDataX0Y0) { $text_new .= $ScriptDataX0Y0."\n"; $bSetFirstScriptData = false; } $noline = true; } } // Zeilen ignorieren if ($bIgnore) $noline = true; } // if removeLines // Alte Zeile behalten if (!$noline && $zeile != "") $text_new .= $zeile."\n"; } } #echo "$x | $y"; // +++++++++++++++++++++++++++++++++++++++++++++++++ ?>
$error_msg"; if ($count_changes) echo "

$count_changes lines changed.

"; ?>

FILE-CHANGER

" method="post" enctype="multipart/form-data">
Starts
with
Original line   Change line to Remove
1. > " size="50"> -> " size="50"> or >
2. > " size="50"> -> " size="50"> or >
3. > " size="50"> -> " size="50"> or >
4. > " size="50"> -> " size="50"> or >
> Change all lines regardless of each other.
> Seek the first line, change it and add the texts of 2, 3, 4 within the next three lines (if not empty).

General changes for scenarios
> Set starting era to ERA_ANCIENT

For scenarios with Players/Teams/CIVs
> Remove empty lines
> Remove PlayerXYCulture lines on plots
> Remove TeamReveal lines on plots
> Remove Player Attitude lines
> Remove ContactWithTeam lines
> Remove AtWar lines
> Remove Tech lines > Remove TECH_ROMAN & TECH_GREEK
> Remove MapTrading=1, TechTrading=1, GoldTrading=1, Irrigation=1 etc.
> Remove vassals
> Reset CivicOptions for each player to first option (despotism, barbarism, autarchy,..)
> Remove state religion
> Set players starting gold to ">

Scenario Map X-Y-extensions (only use one function each step! CIV width limit: 205 plots)
A) Add line(s) to the top or bottom or left or right
B) Insert vertical line(s) (X-Coord) from plot (X+1) (1,2,..)
C) Insert horizontal line(s) (Y-Coord) from plot (Y+1) (1,2,..)
A,B,C: Add/Insert COAST plots only
D) Remove line(s) from top or bottom or left or right








New size: Width: $NewMapX | Height: $NewMapY"; } ?>

MARK TEXT

If no file is selected, the script/code of this textarea will be used for changes.