switch laptop (:
This commit is contained in:
@@ -3,22 +3,21 @@ $postID = $_GET['postID'];
|
|||||||
$post = selectPostById($postID)->fetch(PDO::FETCH_ASSOC);
|
$post = selectPostById($postID)->fetch(PDO::FETCH_ASSOC);
|
||||||
$fullname = $post['fname'] . " " . $post['lname'] . " (" . $post['username'] . ")";
|
$fullname = $post['fname'] . " " . $post['lname'] . " (" . $post['username'] . ")";
|
||||||
session_start();
|
session_start();
|
||||||
|
?>
|
||||||
echo("
|
|
||||||
<div class='post-header header'>
|
<div class='post-header header'>
|
||||||
<h4>" . $post['title'] . "</h4>
|
<h4><?=$post['title']?></h4>
|
||||||
|
<form method="post" onclick=""><span class="delete-post">verwijder post</span><br /></form>
|
||||||
<span class='postinfo'>
|
<span class='postinfo'>
|
||||||
gepost door $fullname,
|
gepost door <?=$fullname?>,
|
||||||
<span class='posttime' title='" . $post['creationdate'] . "'>
|
<span class='posttime' title='<?=$post['creationdate']?>'>
|
||||||
" . nicetime($post['creationdate']) . "
|
<?=nicetime($post['creationdate'])?>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='post-content'>
|
<div class='post-content'>
|
||||||
<p>" . $post['content'] . "</p>
|
<p><?=$post['content']?></p>
|
||||||
</div>
|
</div>
|
||||||
"); ?>
|
|
||||||
|
|
||||||
<div class='post-comments'>
|
<div class='post-comments'>
|
||||||
<div class="commentfield">
|
<div class="commentfield">
|
||||||
|
|||||||
Reference in New Issue
Block a user