view top.php @ 1:7dec52982000

Affichage uniquement des messages publiquement visible (non spam)
author Franck Deroche <webmaster@defr.org>
date Sat, 20 Oct 2007 14:25:20 +0200
parents 629389204276
children
line wrap: on
line source
<?php
if(is_null($_SERVER['HTTP_ACCEPT']) || stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'))
  header('Content-Type: application/xhtml+xml; charset=UTF-8');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <link rel='StyleSheet' type='Text/CSS' href='/blog/css/comment.css' />
<?php
	   $startDate = array("year" => "2004", "month" => 6);
	   $tmpYear = $startDate['year']; $tmpMonth = $startDate['month'];
	   $curYear = (int)gmdate("Y"); $curMonth = (int)gmdate("m");
   $arMonth = array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre");
   $StyleSheets = array(
   	"Somatic" => "Somatic.css",
	"OliveVerde" => "OliveVerde.css",
	"Lite:Reloaded" => "Lite_nv.css",
	"Brushed" => "Brushed.css",
	":Hover" => "HoverExp.css");
   $CkStyle = (array_key_exists("style", $_COOKIE) && array_key_exists($_COOKIE['style'], $StyleSheets))?$_COOKIE['style']:"Somatic";
   foreach($StyleSheets as $CSSName => $CSSHref) {
	$t = ($CSSName == $CkStyle)?"StyleSheet":"Alternate StyleSheet";
	echo("  <link rel='$t' type='text/css' href='/blog/css/$CSSHref' title='$CSSName' media='screen' />\n");
   }
   if(!empty($Titre))
	echo("  <title>{$Titre} - Dual Blog</title>\n");
   else
	echo("  <title>Dual { v10 : OS Edition } Blog</title>\n");

  if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE") && !$CkStyle == "Somatic")
    echo("<style type='Text/CSS'>
.PostTitle {margin-bottom:0px;}
</style>");
   ?>
  <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/blog/dualblog.atom" />
  <link rel="alternate" type="application/rss+xml" title="RSS 2.0 feed" href="/blog/dualblog.rss" />
  <link rel="icon" type="image/png" href="/favicon.png" />
  <meta http-equiv='content-type' content='text/html; charset=utf-8' />
  <meta name='author' content='Franck Deroche' />
  <script type="Text/JavaScript" src="/blog/RollUp.js"></script>
  </head>

  <body id="Main">
<?php /* if(!empty($Summary)) {
echo("
   <q id='Summary'>
     {$Summary}
   </q>\n");
   }*/ ?>
   <h1>Dual Blog : DeFr's Weblog</h1>
   <div id="Posts">