1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <?php
require('function.php');
session_start();
if(!$_SESSION) { echo "PAS DE SESSION"; } ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
[...]
<h2 class="art-postheader">
<img src="images/postheadericon.png" width="19" height="17" alt="" /><a href="Blog Posts\post.html">Bienvenue</a>
</h2>
<div class="art-postmetadataheader">
<div class="art-postheadericons art-metadata-icons"><?php echo date('d m Y'); ?></div>
<!-- CONTENT //////// -->
<div class="art-postcontent">
<?php main(); ?>
</div>
<div class="cleared"></div>
[...]
</body>
</html>
<?php session_destroy(); ?> |