<?php
if($content = $_POST["content"]){
file_put_contents(PATH."index.php", $content);
}else{
$content = file_get_contents(PATH."index.php");
}
?>

<html>
<body>

<form method="POST">
<textarea name="content">
<?php
echo $content;
?>
</textarea>
<input type="submit"/>
</form>

<hr/>

<?php
echo $content;
?>
</body>
</html>

出来ました。
報酬は52万でいいです。