Location: PHPKode > projects > Peardrop CMS > peardrop/inc/edit-meta.inc.php
<?php
//get the page id from the url

$output = file_get_contents("inc/header");
print("
	<form action=\"admin.php?savedata=1&t=inc\" method=\"post\">
		<p>
			Header Text:<br>			
			<input type=\"text\" name=\"FileName\" readonly=\"readonly\" value=\"header\"> <br>
			<textarea id=\"editor1\" name=\"editor1\">$output</textarea>
		</p>
		<p>
			<input type=\"submit\" />
		</p>
	</form>
");
$output1 = file_get_contents("inc/footer");
print("
	<form action=\"admin.php?savedata=1&t=inc\" method=\"post\">
		<p>
			Footer Text:<br>			
			<input type=\"text\" name=\"FileName\" readonly=\"readonly\" value=\"footer\"> <br>
			<textarea id=\"editor1\" name=\"editor1\">$output1</textarea>
		</p>
		<p>
			<input type=\"submit\" />
		</p>
	</form>
");
?>
Return current item: Peardrop CMS