1
0
mirror of https://github.com/glmdev/eecs448-lab10 synced 2026-03-02 03:39:24 +00:00

Initial commit

This commit is contained in:
2020-12-06 13:58:02 -06:00
commit 5a54fe251d
24 changed files with 911 additions and 0 deletions

16
CreatePosts.html Normal file
View File

@@ -0,0 +1,16 @@
<?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();