';
$svgsuffix='';
if (trim(str_replace(',','',str_replace('0','',str_replace('1','',str_replace('2','',str_replace('3','',str_replace('4','',str_replace('5','',str_replace('6','',str_replace('7','',str_replace('8','',str_replace('9','',$innards)))))))))))) == '') {
for ($x=0; $x<=$w; $x+=20) {
for ($y=0; $y<=(0 + $h); $y+=20) {
if ($x == 0 && $y == 0) {
$innards='' . $preinnards . '';
if ($h > 0) { $innards.='' . $preinnards . ''; }
} else if (isset($_GET['background']) || $x == 0 || $y == 0 || $x == $w || $y == (0 + $h)) {
$innards.='' . $preinnards . '';
$innards.='' . $preinnards . '';
}
}
}
}
}
echo '
' . $svgprefix . $innards . $svgsuffix;
} else if (isset($_POST['insvg'])) {
$innards=str_replace('+',' ',urldecode($_POST['insvg']));
$preinnards='' . str_replace(',',';',$innards) . ';';
$svgprefix='';
$svgsuffix='';
if (strpos($innards, '';
if (trim(str_replace(',','',str_replace('0','',str_replace('1','',str_replace('2','',str_replace('3','',str_replace('4','',str_replace('5','',str_replace('6','',str_replace('7','',str_replace('8','',str_replace('9','',$innards)))))))))))) == '') {
for ($x=0; $x<=$w; $x+=20) {
for ($y=0; $y<=(0 + $h); $y+=20) {
if ($x == 0 && $y == 0) {
$innards='' . $preinnards . '';
if ($h > 0) { $innards.='' . $preinnards . ''; }
} else if (isset($_POST['background']) || $x == 0 || $y == 0 || $x == $w || $y == (0 + $h)) {
$innards.='' . $preinnards . '';
$innards.='' . $preinnards . '';
}
}
}
}
}
echo '
' . $svgprefix . $innards . $svgsuffix;
} else {
echo '
';
}
?>