You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
551 B
17 lines
551 B
<?php
|
|
|
|
require_once './configuration.php';
|
|
|
|
$page = new common\Page;
|
|
|
|
$page->title('Exercise 3 - EECS 448 Lab 10')
|
|
->header('Create a New Post')
|
|
->div(function() use($page) {
|
|
$page->form(system_url('CreatePosts.php'), function() use($page) {
|
|
$page->writes('<input type="text" name="username" placeholder="Username" required/>')->line_break();
|
|
$page->writes('<textarea name="content" placeholder="Post content" required></textarea>')->line_break();
|
|
$page->submit();
|
|
});
|
|
})
|
|
->write();
|