1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
| <?php
$date = date('d-m-Y');
$heure = date('H:i');
echo "<head>\n"
. "<title>www.xtrem-sound.fr / Tous les Mis et Photos de Soirées</title>\n"
. "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n"
. "<link rel=\"stylesheet\" href=\"css.css\" type=\"text/css\" />\n"
. "</head>\n"
. "<body>\n"
. "<table><tr><td><img src=\"themes/images/logo.gif\" alt=\"Logo du site\" style=\"margin-left:150px; margin-right:150px; position:absolute;\" width=\"1024\" height=\"150\"/></td></tr>\n";
//affichage de la toolbar avec image en rollover (image tournante)
echo "<tr>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar1_0.gif\" style=\"margin-top:145px; margin-left:180px; margin-right:150px; position:absolute;\" width=\"30\" height=\"24\" style=\"\" border=\"0\" alt=\"\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar2_0.gif\" name=\"image2\" onmouseover=\"image2.src='themes/ebbtcbmenu_toolbar2_1.gif'\" onmouseout=\"image2.src='themes/ebbtcbmenu_toolbar2_0.gif'\" style=\"margin-top:145px; margin-left:205px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Accueil\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar3_0.gif\" name=\"image3\" onmouseover=\"image3.src='themes/ebbtcbmenu_toolbar3_1.gif'\" onmouseout=\"image3.src='themes/ebbtcbmenu_toolbar3_0.gif'\" style=\"margin-top:145px; margin-left:350px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Galerie\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar4_0.gif\" name=\"image4\" onmouseover=\"image4.src='themes/ebbtcbmenu_toolbar4_1.gif'\" onmouseout=\"image4.src='themes/ebbtcbmenu_toolbar4_0.gif'\" style=\"margin-top:145px; margin-left:495px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Mix\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar5_0.gif\" name=\"image5\" onmouseover=\"image5.src='themes/ebbtcbmenu_toolbar5_1.gif'\" onmouseout=\"image5.src='themes/ebbtcbmenu_toolbar5_0.gif'\" style=\"margin-top:145px; margin-left:640px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Téléchargements\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar6_0.gif\" name=\"image6\" onmouseover=\"image6.src='themes/ebbtcbmenu_toolbar6_1.gif'\" onmouseout=\"image6.src='themes/ebbtcbmenu_toolbar6_0.gif'\" style=\"margin-top:145px; margin-left:785px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Playlist\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar7_0.gif\" name=\"image7\" onmouseover=\"image7.src='themes/ebbtcbmenu_toolbar7_1.gif'\" onmouseout=\"image7.src='themes/ebbtcbmenu_toolbar7_0.gif'\" style=\"margin-top:145px; margin-left:930px; position:absolute;\" width=\"150\" height=\"24\" style=\"\" border=\"0\" alt=\"Soirée\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbmenu_toolbar8_0.gif\" style=\"margin-top:145px; margin-left:1075px; position:absolute;\" width=\"30\" height=\"24\" style=\"\" border=\"0\" alt=\"\" title=\"\" /></a></td></tr>\n";
//affichage du menu gauche avec image rollover (image tournante)
echo "<tr><td><img id=\"cbi_cbindex_1\" src=\"themes/ebbtcbindex1_0.gif\" name=\"ebbcbindex_1\" width=\"160\" height=\"40\" style=\"margin-top:200px; margin-left:150px; position:absolute;\" border=\"0\" alt=\"- Menu -\" title=\"\" /></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex2_0.gif\" name=\"image1a\" onmouseover=\"image1a.src='themes/ebbtcbindex2_1.gif'\" onmouseout=\"image1a.src='themes/ebbtcbindex2_0.gif'\" style=\"margin-top:235px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Accueil\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex3_0.gif\" name=\"image2a\" onmouseover=\"image2a.src='themes/ebbtcbindex3_1.gif'\" onmouseout=\"image2a.src='themes/ebbtcbindex3_0.gif'\" style=\"margin-top:254px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Galerie\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex4_0.gif\" name=\"image3a\" onmouseover=\"image3a.src='themes/ebbtcbindex4_1.gif'\" onmouseout=\"image3a.src='themes/ebbtcbindex4_0.gif'\" style=\"margin-top:273px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Téléchargements\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex5_0.gif\" name=\"image4a\" onmouseover=\"image4a.src='themes/ebbtcbindex5_1.gif'\" onmouseout=\"image4a.src='themes/ebbtcbindex5_0.gif'\" style=\"margin-top:292px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Mix\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex6_0.gif\" name=\"image5a\" onmouseover=\"image5a.src='themes/ebbtcbindex6_1.gif'\" onmouseout=\"image5a.src='themes/ebbtcbindex6_0.gif'\" style=\"margin-top:311px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Playlist\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex7_0.gif\" name=\"image6a\" onmouseover=\"image6a.src='themes/ebbtcbindex7_1.gif'\" onmouseout=\"image6a.src='themes/ebbtcbindex7_0.gif'\" style=\"margin-top:330px; margin-left:160px; position:absolute;\" width=\"150\" height=\"24\" border=\"0\" alt=\"Soirée\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbindex8_0.gif\" width=\"160\" height=\"12\" style=\"margin-top:349px; margin-left:150px; position:absolute;\" border=\"0\" alt=\"Button\" title=\"\" /></a></td></tr>\n";
//affichage page centre
//affichage du menu droit
echo "<tr><td><a><img src=\"themes/ebbtcbstatistiques1_0.gif\" width=\"160\" height=\"40\" style=\"margin-top:170px; margin-left:1014px; position:absolute;\" border=\"0\" alt=\"- Statisques -\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbstatistiques2_0.gif\" width=\"160\" height=\"150\" style=\"margin-top:205px; margin-left:1014px; position:absolute;\" border=\"0\" alt=\"\" title=\"\" /></a></td></tr>\n"
. "<tr><td><a><img src=\"themes/ebbtcbstatistiques3_0.gif\" width=\"160\" height=\"12\" style=\"margin-top:350px; margin-left:1014px; position:absolute;\" border=\"0\" alt=\"\" title=\"\" /></a></td></tr>\n"
. "<tr><td style=\"position:absolute; margin-top:200; margin-left:1030\"><font color=\"black\" size=\"2\"><center><strong><i>$date | $heure</i></font></td></tr>\n";
//affichage du nombre de visiteurs
if(file_exists("visiteurs.txt"))
{
print "";
}
else
{
$fp=fopen("visiteurs.txt","a");
fputs($fp,"0");
fclose($fp);
}
if (isset($cool_cookie) && $cool_cookie =="Deja_visite"){
$fichier="visiteurs.txt";
$fp=fopen("$fichier","r+");
$hits=fgets($fp,10);
echo"Visiteur"; echo $hits;
} else { // cookie absent (premiere visite,&nb sp;ou bien cookie expiré
setcookie("cool_cookie","Deja_visite",time()+3*3600,"");
$fichier="visiteurs.txt";
$fp=fopen("$fichier","r+");
$hits=fgets($fp,10);
$hits++;
fseek($fp,0);
fputs($fp,$hits);
fclose($fp);
$count++;
echo "<tr><td style=\"position:absolute; margin-top:220; margin-left:1030\"><font color=\"black\" size=\"2\"><center><strong><i>Visiteur(s) : "; echo $hits;
echo "</i></font></td></tr>\n";
}
//affichage du copyright du site
echo "<tr><td><a><img src=\"themes/ebbtcbcopyright1_0.gif\" style=\"margin-top:1024; margin-left:150px; position:absolute;\" width=\"30\" height=\"24\" style=\"vertical-align: bottom;\" border=\"0\" alt=\"\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbcopyright2_0.gif\" style=\"margin-top:1024px;; margin-left:175px; position:absolute;\" width=\"900\" height=\"24\" style=\"vertical-align: bottom;\" border=\"0\" alt=\"Copyright © Xtrem-Sound 2009 & 2010 / Thème & Design par : DJ-Master Freeman (DJ-MF)\" title=\"\" /></a></td>\n"
. "<td><a><img src=\"themes/ebbtcbcopyright3_0.gif\" style=\"margin-top:1024px; margin-left:1070px; position:absolute;\" width=\"30\" height=\"24\" style=\"vertical-align: bottom;\" border=\"0\" alt=\"\" title=\"\" /></a></td></tr>\n";
echo "</table>\n";
echo "</body>\n";
?> |
Partager