Location: PHPKode > projects > Anantasoft Gazelle CMS > admin/replacemodule.php
<?php
$output = "";
if (!empty($_POST)) {
	$output = include("sql/update.php");
}
$show = 1;
$modulepositions = include("scripts/listpositions.php");
$positions = include("scripts/listpositions2.php");

return $output."
<form id=\"frm\" method=\"post\" action=\"".$_SERVER['REQUEST_URI']."\" onsubmit=\"return validate(this);\">
	<fieldset>
		<script type=\"text/javascript\" src=\"js/checkfields.js\"></script>
		<script type=\"text/javascript\" src=\"js/replacemodule.js\"></script>
		<label for=\"number\">Module: </label>
		<select id=\"number\" name=\"number\" onchange=\"fillin();\">
			".$modulepositions."
		</select>
		<br />
		<hr />
		<br />
		<label for=\"position\">Position: </label>
		<select id=\"position\" name=\"position\">
			".$positions."
		</select>
		<br />
		<br />
		<label for=\"showtitle\">Show Title: </label>
		<input type=\"checkbox\" id=\"showtitle\" name=\"showtitle\" checked=\"checked\" />
		<br />
		<br />
		<input type=\"submit\" name=\"save\" value=\"Replace\" class=\"button\" />
		<input type=\"hidden\" name=\"table\" value=\"positions\" />
	</fieldset>
</form>";
?>
Return current item: Anantasoft Gazelle CMS