Marijn button #99
@@ -40,6 +40,19 @@ div.posts .post p.subscript {
|
|||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.posts .post form input, div.posts .post form textarea {
|
||||||
|
width: calc(100% - 15px);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.posts .post form input[type="submit"] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.posts .post form textarea.newpost {
|
||||||
|
margin: 15px 0 15px 0;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1500px) {
|
@media only screen and (max-width: 1500px) {
|
||||||
.post-box {
|
.post-box {
|
||||||
width: calc(50% - 68px);
|
width: calc(50% - 68px);
|
||||||
@@ -53,14 +66,6 @@ div.posts .post p.subscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post .post-date {
|
.post .post-date {
|
||||||
float: right;
|
float: right;
|
||||||
color: #aaaaaa;
|
color: #aaaaaa;
|
||||||
|
|||||||
@@ -42,6 +42,18 @@
|
|||||||
|
|
||||||
<div class="posts">
|
<div class="posts">
|
||||||
<?php
|
<?php
|
||||||
|
if ($_SESSION["userID"] === $userID) {
|
||||||
|
?>
|
||||||
|
<div class="post platform">
|
||||||
|
<form>
|
||||||
|
<input type="text" class="newpost" placeholder="Titel">
|
||||||
|
<textarea class="newpost">Schrijf een berichtje...</textarea>
|
||||||
|
<input type="submit" value="Plaats!">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
while($post = $posts->fetch()) {
|
while($post = $posts->fetch()) {
|
||||||
$nicetime = nicetime($post["creationdate"]);
|
$nicetime = nicetime($post["creationdate"]);
|
||||||
echo "
|
echo "
|
||||||
|
|||||||
Reference in New Issue
Block a user