Cleaned up ugly HTML and renamed index.php to simplog.php
This commit is contained in:
20
user/new.php
Normal file
20
user/new.php
Normal 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();
|
||||
?>
|
Reference in New Issue
Block a user