Location: PHPKode > projects > Anantasoft Gazelle CMS > admin/deletecontent.php
<?php
$output = "";
if (!empty($_POST)) {
	$output = include("sql/delete.php");
}
$articles = include("scripts/listarticle.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>
		<label for=\"number\">Delete article: </label>
		<select id=\"number\" name=\"number\">
			".$articles."
		</select>
		<br />
		<br />
		<input type=\"submit\" name=\"save\" value=\"Delete\" class=\"button\" />
		<input type=\"hidden\" name=\"table\" value=\"content\" />
	</fieldset>
</form>";
?>
Return current item: Anantasoft Gazelle CMS