n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/hugs/index.php
2023-04-30 21:50:11 +02:00

80 lines
3.1 KiB
PHP

<?php
include "/www/hugs/include/standard.inc.php";
require_once "include/standard.inc.php";
require_once "include/timer.inc.php";
require_once "include/random.inc.php";
// modèle = YYYY mm dd hh MM ss
// masque = 0000 00 00 00 10 00
// valeur = 24h.
$Logo = timer("logo",240000);
if ($Logo == FALSE)
{
while (($RandomLogo = RandomFile("slide/")) == $Logo);
settimer("logo","$RandomLogo");
$Logo = $RandomLogo;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel='SHORTCUT ICON' href='favicon.ico' />
<link rel='icon' href='/favicon.ico' type='image/ico' />
<!--<link rel='stylesheet' href='/css/family.css' type='text/css' media='screen' title='default' />-->
<style type="text/css" media='screen'> @import url("css/graphic.css"); </style>
<link rel='stylesheet' href='/css/pda.css' type='text/css' media='handheld' title='pda' />
<link rel='alternate stylesheet' href='/css/basic.css' type='text/css' media='screen' title='basic' />
<link rel='alternate stylesheet' href='/css/graphic.css' type='text/css' media='screen' title='graphic' />
<link rel='bookmark' title='Validation HTML' href='http://validator.w3.org/check?uri=http://hugs.tourmentine.com' />
<link rel='bookmark' title='Validation CSS basic' href='http://jigsaw.w3.org/css-validator/validator/?uri=http://hugs.tourmentine.com/css/basic.css' />
<link rel='bookmark' title='Validation CSS graphic' href='http://jigsaw.w3.org/css-validator/validator/?uri=http://hugs.tourmentine.com/css/graphic.css' />
<title>One big hug per day!</title>
<meta http-equiv='content-language' content='en' />
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
<meta name='author' content='nicosoft' />
<meta name="description" content="One hug per day" />
<meta name="keywords" content="hug,hugs,calin,calins" />
<meta name="revisit-after" content="10 days" />
</head>
<body>
<div>
<span class="header">Free hug of the day</span><img src="/images/transparent.gif" alt="" class="header" />
<br />
<img src="/slide/<?php echo $Logo ?>" alt="Free Hug of the day" title="Free Hug of the day" class="couv" />
<br />
<span class="footer">Come back tomorrow for another warm hug !</span><img src="/images/transparent.gif" alt="" class="footer" />
<br />
<div class="footertxt">(Image may be subject to copyright)</div>
</div>
<!-- phpmyvisites -->
<div>
<a href="http://www.phpmyvisites.net/" title="phpMyVisites | Open source web analytics"
onclick="window.open(this.href);return(false);" /><script type="text/javascript">
<!--
var a_vars = Array();
var pagename='';
var phpmyvisitesSite = 4;
var phpmyvisitesURL = "http://stats.tourmentine.com/phpmyvisites/phpmyvisites.php";
//-->
</script>
<script src="http://stats.tourmentine.com/phpmyvisites/phpmyvisites.js" type="text/javascript"></script>
<noscript><p>phpMyVisites | Open source web analytics
<img src="http://stats.tourmentine.com/phpmyvisites/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript>
<!-- /phpmyvisites -->
</div>
</body>
</html>