'; return urldecode($_GET['outfile']); } } else if (isset($_POST['outfile'])) { if (urldecode($_POST['outfile']) != "") { $stfle=' '; return urldecode($_POST['outfile']); } } return str_replace(":", "_", $rma); } if (isset($_POST['stitle']) && isset($_POST['slideshow'])) { $owidth=""; if (isset($_POST['owidth'])){ $owidth=htmlspecialchars(urldecode($_POST['owidth'])); if (strpos($owidth, "%") !== false || strpos(strtolower($owidth), "vw") !== false) { $owidth=" style='width:" . $owidth . "'"; } else if ($owidth != "") { $owidth=" style='width:" . str_replace("px","",strtolower($owidth)) . "px'"; } } $oururl=htmlspecialchars(urldecode($_POST['slideshow'])); $ourcaption=""; if (strpos($oururl, ";") !== false) { $ourcaption=explode(";", $oururl)[1]; $oururl=explode(";", $oururl)[0]; } $ourtitle=htmlspecialchars(urldecode($_POST['stitle'])); $oursubtitle=""; if (strpos($ourtitle, ";") !== false) { $oursubtitle=explode(";", $ourtitle)[1]; $ourtitle=explode(";", $ourtitle)[0]; } $tablesofar="
" . $ourcaption . "
"; $ij=2; while (isset($_POST['slideshow' . $ij])) { $oururl=htmlspecialchars(urldecode($_POST['slideshow' . $ij])); if ($oururl != "") { $ourcaption=""; if (strpos($oururl, ";") !== false) { $ourcaption=explode(";", $oururl)[1]; $oururl=explode(";", $oururl)[0]; } if (strpos($tablesofar, " src=''") !== false) { $tablesofar="
" . $ourcaption . "
"; } else { $tablesofar=str_replace("", "
" . $ourcaption . "
", $tablesofar); } } $ij++; } echo "

" . $ourtitle . "

" . $oursubtitle . "

" . $tablesofar . " "; } else { echo " Use HTML figcaption tag to create a gallery

Use HTML figcaption tag to create a gallery" . $moreh1 . "

" . $prestfle . $stfle . " Gallery Title

Gallery Image Width

Image URL

" . $extras . "
" . $imagefig . "
"; } ?>