    </div>
    <div class="footer">
        <p class="small">
            Des questions ? Commentaires ? Suggestions ? Bugs ? 
            Contactez <a href="contact.php"><?php print $admin_email?></a> ou <?php print $admin_nick?>@IRC.
            Pour les photos de filles nues, voyez avec <a href="mailto:jecht@nainwak.com">jechtounet</a>.
<?php
            $hits = file("hits.db");
            $fp = fopen("hits.db", "w");
            $thispage = explode("/",$_SERVER['PHP_SELF']);
            $thispage = array_pop($thispage);
            if ($fp == false) {
                echo "Error: could not open file hits.db.";
            }
      $found = 0;
            foreach ($hits as $line) {
                list($page,$numhits,$date) = explode("\t",trim($line));
                if ($page == $thispage) {
                    ++$numhits;
                    echo "            Page visit&eacute;e $numhits fois depuis le ".htmlentities($date);
                    $found = 1;
                }
                if ($fp) {
                    fwrite($fp,"$page\t$numhits\t$date\n");
                }
            }
            if (!$found && $fp) {
                echo "            Page visit&eacute;e une fois depuis le ".htmlentities(strftime($dateformat,time()));
                fwrite($fp,$thispage."\t1\t".htmlentities(strftime($dateformat,time()))."\n");
            }
            fclose($fp);
?>

        </p>
    </div>
  </body>
</html>
