Cleaned up ugly HTML and renamed index.php to simplog.php

This commit is contained in:
2013-07-27 23:38:17 +02:00
parent 40de6d2290
commit e886d4f461
10 changed files with 82 additions and 37 deletions

20
user/new.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
require "../includes/htmlcode.php";
start_html("Create new post");
?>
<h1>Create new post</h1>
<form action="createpost.php" method="post">
Date: (YYYY-MM-DD) <input type="date" name="date">
<br />
Title: <input type="text" name="title">
<br /><br />
Text: <br />
<textarea cols="50" rows="10" name="post"></textarea>
<br />
<input type="submit" value="Create post">
</form>
<?php
end_html();
?>