-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfichier.php
More file actions
24 lines (23 loc) · 784 Bytes
/
fichier.php
File metadata and controls
24 lines (23 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
require 'header.php';
require_once 'function.php';
?>
<h1>Cartes de Mots</h1>
<div class="file">
<?php if (get_file('card1.txt') != '.'): ?>
<div class="card"><?=get_file('card1.txt')?></div>
<?php endif; ?>
<?php if (get_file('card2.txt') != '.'): ?>
<div class="card"><?=get_file('card2.txt')?></div>
<?php endif; ?>
<?php if (get_file('card3.txt') != '.'): ?>
<div class="card"><?=get_file('card3.txt')?></div>
<?php endif; ?>
<?php if (get_file('card4.txt') != '.'): ?>
<div class="card"><?=get_file('card4.txt')?></div>
<?php endif; ?>
<?php if (get_file('card5.txt') != '.'): ?>
<div class="card"><?=get_file('card5.txt')?></div>
<?php endif; ?>
</div>
<?php require 'footer.php' ?>