@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | <?php if (!isset($_SESSION['idlogin'.CLEF_SITE])):?> |
| 5 | 5 | <input type="text" name="first_name" placeholder="First name"> |
| 6 | 6 | <input type="text" name="last_name" placeholder="Last name"> |
| 7 | - <?php endif;?> |
|
| 7 | + <?php endif; ?> |
|
| 8 | 8 | <textarea name="comment" id="" cols="30" rows="10"></textarea> |
| 9 | 9 | <button>Send</button> |
| 10 | 10 | </form> |
@@ -13,4 +13,4 @@ discard block |
||
| 13 | 13 | <div class="row"> |
| 14 | 14 | <p>You must be connected to publish a comment</p> |
| 15 | 15 | </div> |
| 16 | -<?php endif;?> |
|
| 17 | 16 | \ No newline at end of file |
| 17 | +<?php endif; ?> |
|
| 18 | 18 | \ No newline at end of file |
@@ -9,8 +9,11 @@ |
||
| 9 | 9 | <button>Send</button> |
| 10 | 10 | </form> |
| 11 | 11 | |
| 12 | -<?php else: ?> |
|
| 12 | +<?php else { |
|
| 13 | + : ?> |
|
| 13 | 14 | <div class="row"> |
| 14 | 15 | <p>You must be connected to publish a comment</p> |
| 15 | 16 | </div> |
| 16 | -<?php endif;?> |
|
| 17 | 17 | \ No newline at end of file |
| 18 | +<?php endif; |
|
| 19 | +} |
|
| 20 | +?> |
|
| 18 | 21 | \ No newline at end of file |