@@ -96,7 +96,9 @@ discard block |
||
| 96 | 96 | } ?> |
| 97 | 97 | </content> |
| 98 | 98 | |
| 99 | - <?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails'])) { ?> |
|
| 99 | + <?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails'])) |
|
| 100 | +{ |
|
| 101 | +?> |
|
| 100 | 102 | <p id="loading"> |
| 101 | 103 | Loading… |
| 102 | 104 | </p> |
@@ -104,12 +106,20 @@ discard block |
||
| 104 | 106 | </article> |
| 105 | 107 | |
| 106 | 108 | <aside class="topSidebar col-sm-4 sidebar-outer"> |
| 107 | - <div class="fixed<?php if(!$view->isDetailedView) echo(' hide-mobile');?>"> |
|
| 109 | + <div class="fixed<?php if(!$view->isDetailedView) |
|
| 110 | +{ |
|
| 111 | + echo(' hide-mobile'); |
|
| 112 | +} |
|
| 113 | +?>"> |
|
| 108 | 114 | <article> |
| 109 | 115 | <div> |
| 110 | 116 | <h2>Position / Hashtag</h2> |
| 111 | 117 | <form action="index.php" method="get"> |
| 112 | - <input type="text" id="city" name="search" placeholder="<?php if(isset($newPositionStatus)) echo $newPositionStatus; ?>" required> |
|
| 118 | + <input type="text" id="city" name="search" placeholder="<?php if(isset($newPositionStatus)) |
|
| 119 | +{ |
|
| 120 | + echo $newPositionStatus; |
|
| 121 | +} |
|
| 122 | +?>" required> |
|
| 113 | 123 | <label>try: #jhj</label><br> |
| 114 | 124 | <input type="submit" value="Set Location" /> |
| 115 | 125 | </form> |
@@ -125,7 +135,9 @@ discard block |
||
| 125 | 135 | |
| 126 | 136 | <article> |
| 127 | 137 | <div> |
| 128 | - <?php if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) { ?> |
|
| 138 | + <?php if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) |
|
| 139 | +{ |
|
| 140 | +?> |
|
| 129 | 141 | <h2>Comment on Jodel</h2> |
| 130 | 142 | <form method="POST"> |
| 131 | 143 | <input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']);?>" /> |
@@ -133,7 +145,10 @@ discard block |
||
| 133 | 145 | <br /> |
| 134 | 146 | <input type="submit" value="SEND" /> |
| 135 | 147 | </form> |
| 136 | - <?php } else { ?> |
|
| 148 | + <?php } |
|
| 149 | +else |
|
| 150 | +{ |
|
| 151 | +?> |
|
| 137 | 152 | <h2>New Jodel</h2> |
| 138 | 153 | <form enctype="multipart/form-data" method="POST"> |
| 139 | 154 | <textarea id="message" name="message" placeholder="Send a Jodel to all students within 10km" required></textarea> |