test si connecté
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
<h5>Albums list</h5>
|
||||
<section class="list">
|
||||
|
||||
<?php if ($is_logged_in): ?>
|
||||
<h1>Connecté</h1>
|
||||
<?php else: ?>
|
||||
<h1>Non connecté</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
foreach($albums as $album){
|
||||
echo "<div><article>";
|
||||
|
Reference in New Issue
Block a user