prettyyyyy
This commit is contained in:
parent
e13a8d130e
commit
8f2311df0b
2 changed files with 19 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="centerbox">
|
||||
<h1>Snuffler</h1>
|
||||
<div id="titlebox"><img src="favicon.ico" />Snuffler</div>
|
||||
<form id="postform">
|
||||
<textarea id="postformtextarea" name="text" rows="5" placeholder="Whatcha snuffin' about?"></textarea><br />
|
||||
<div id="postformactionrow">
|
||||
|
@ -32,7 +32,7 @@ if(!$database) {
|
|||
|
||||
//$database->addPost("Test post", 0);
|
||||
|
||||
$posts = $database->getPosts();
|
||||
$posts = array_reverse($database->getPosts());
|
||||
//var_dump($posts);
|
||||
foreach($posts as $post) {
|
||||
echo '<div class="post">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue