Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $filename = '/home/bds/public_html/semaine/';
- for ($i=1; $i<=52; $i++) {
- $annee = date("Y");
- if($i<=date('W')) {
- if (file_exists($filename."s".sprintf('%02d', $i)."-".date('Y')."class.php")) {
- ?>
- <li><a href="index.php?archive_scores_hebdomadaires1&id_archive=s<? echo sprintf('%02d', $i); ?>-<? echo $annee; ?>"><strong><? echo sprintf('%02d', $i); ?></strong></a></li>
- <?
- } else {
- ?>
- <li><? echo sprintf('%02d', $i); ?></li>
- <?
- }
- } else {
- ?>
- <li><strong><? echo sprintf('%02d', $i); ?></strong></li>
- <?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement