Merci vraiment c'est vraiment sympa. Mais voila donc ma page avec les codes et cela ne s'affiche pas.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript"><!--
function tick()
{
var hdiv = document.all ? document.all["horloge"]
: document.getElementById("horloge");
var date1jan = new Date(2000,0,1,0,0,0);
var diff = date1jan.getTimezoneOffset() - 480;
var now = new Date();
now.setTime(now.getTime() + diff * 60000);
var h = now.getHours();
var m = now.getMinutes();
if (m < 10)
m = "0" + m;
var s = now.getSeconds();
if (s < 10)
s = "0" + s;
var str = h + ":" + m + ":" + s + " ";
if (h>11)
str += "PM";
else
str += "AM";
hdiv.innerHTML = str;
setTimeout("tick()", 1000);
}
//--></script>
<script type="text/javascript"><!--
function image_de_fond() {
var now = new Date();
var h = now.getHours();
var index;
if (h < 5) index = "04";
else if (h < 10) index = "01";
else if (h < 18) index = "02";
else if (h < 21) index = "03";
else if (h < 24) index = "04";
else index = "02";
document.body.background = "http://s3.amazonaws.com/"
+ "static-secondlife-com/login_screens/log_" + index + ".jpg";
}
//--></script>
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<style type="text/css" media="screen">
<!--
@import url(<?php bloginfo('stylesheet_url'); ?>);
<?php pickaskin(); ?>
<?php spitOutMenuPosition(); ?>
<?php spitOutWallpaperCSS(); ?>
-->
</style>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Flux RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<script src="<?php bloginfo('template_directory'); ?>/scripts/prototype.lite.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function createCookie(name,value,days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name)
{
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++)
{
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name)
{
createCookie(name,"",-1);
}
function init()
{
var wallpapernumber = readCookie('wpcookie');
if (!wallpapernumber) {
createCookie('wpcookie','0',7);
}
else {
changebackground(wallpapernumber);
}
$('s').onfocus = focusS;
$('s').onblur = blurS;
}
function focusS() {
if ($('s').value == "Rechercher...") { $('s').value = ''; }
$('label').innerHTML = "Tapez votre texte puis validez par la touche Entrée.";
}
function blurS() {
$('label').innerHTML = "";
if ($('s').value == '') { $('s').value = 'Rechercher...'; }
}
function changebackground(number)
{
<?php spitOutWallpaperJS(); ?>
}
//-->
</script>
<?php spitOutIEFix(); ?>
<?php wp_head(); ?>
</head>
<body id="body">
<div id="header">
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
<p class="right" id="search">
<input type="text" value="Rechercher..." name="s" id="s" alt="Rechercher"/><br />
<label id="label"></label>
</p>
</form>
<body onload="image_de_fond();"><body onload="tick();">
<div id="horloge"> </div>
<h5><div align="left">
<a href="http://secondlife-fr.net/wordpress/wp-login.php">Connexion</a> |
<a href="http://secondlife-fr.net/wordpress/wp-login.php?action=register">Inscription</a>
</h5>
<br><br><br><br><br><br><br><br><br><br>
<h4><center>
<style type="text/css">
<!--
a.type1 { color: #eaab02; }
a.type1:hover { color: #ffffff;}
-->
</style>
<a href="http://secondlife-fr.net/wordpress/" class="type1">Accueil</a> |
<a href="http://secondlife.com" class="type1">Site Officiel</a> |
<a href="http://blog.secondlife.com" class="type1">Blog Officiel</a> |
<a href="http://wiki.secondlife-fr.net" class="type1">LSL Wiki Français</a> |
<a href="http://mail.secondlife-fr.net" class="type1">WebMail SL-Fr</a> |
<a href="http://secondlife-fr.net/wordpress/?page_id=46" class="type1">Forums</a> |
<a href="http://secondlife-fr.net/wordpress/?page_id=48" class="type1">Le Staff</a>
</center></h4></div>
</div>
<div id="bodyowner">
Vous pouvez voir ma page a secondlife-fr.net/wordpress/ c'est la meme que plus haut.
Pouvez vous encore une fois m'aider ? Merci.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript"><!--
function tick()
{
var hdiv = document.all ? document.all["horloge"]
: document.getElementById("horloge");
var date1jan = new Date(2000,0,1,0,0,0);
var diff = date1jan.getTimezoneOffset() - 480;
var now = new Date();
now.setTime(now.getTime() + diff * 60000);
var h = now.getHours();
var m = now.getMinutes();
if (m < 10)
m = "0" + m;
var s = now.getSeconds();
if (s < 10)
s = "0" + s;
var str = h + ":" + m + ":" + s + " ";
if (h>11)
str += "PM";
else
str += "AM";
hdiv.innerHTML = str;
setTimeout("tick()", 1000);
}
//--></script>
<script type="text/javascript"><!--
function image_de_fond() {
var now = new Date();
var h = now.getHours();
var index;
if (h < 5) index = "04";
else if (h < 10) index = "01";
else if (h < 18) index = "02";
else if (h < 21) index = "03";
else if (h < 24) index = "04";
else index = "02";
document.body.background = "http://s3.amazonaws.com/"
+ "static-secondlife-com/login_screens/log_" + index + ".jpg";
}
//--></script>
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<style type="text/css" media="screen">
<!--
@import url(<?php bloginfo('stylesheet_url'); ?>);
<?php pickaskin(); ?>
<?php spitOutMenuPosition(); ?>
<?php spitOutWallpaperCSS(); ?>
-->
</style>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Flux RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<script src="<?php bloginfo('template_directory'); ?>/scripts/prototype.lite.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function createCookie(name,value,days)
{
if (days)
{
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name)
{
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++)
{
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name)
{
createCookie(name,"",-1);
}
function init()
{
var wallpapernumber = readCookie('wpcookie');
if (!wallpapernumber) {
createCookie('wpcookie','0',7);
}
else {
changebackground(wallpapernumber);
}
$('s').onfocus = focusS;
$('s').onblur = blurS;
}
function focusS() {
if ($('s').value == "Rechercher...") { $('s').value = ''; }
$('label').innerHTML = "Tapez votre texte puis validez par la touche Entrée.";
}
function blurS() {
$('label').innerHTML = "";
if ($('s').value == '') { $('s').value = 'Rechercher...'; }
}
function changebackground(number)
{
<?php spitOutWallpaperJS(); ?>
}
//-->
</script>
<?php spitOutIEFix(); ?>
<?php wp_head(); ?>
</head>
<body id="body">
<div id="header">
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
<p class="right" id="search">
<input type="text" value="Rechercher..." name="s" id="s" alt="Rechercher"/><br />
<label id="label"></label>
</p>
</form>
<body onload="image_de_fond();"><body onload="tick();">
<div id="horloge"> </div>
<h5><div align="left">
<a href="http://secondlife-fr.net/wordpress/wp-login.php">Connexion</a> |
<a href="http://secondlife-fr.net/wordpress/wp-login.php?action=register">Inscription</a>
</h5>
<br><br><br><br><br><br><br><br><br><br>
<h4><center>
<style type="text/css">
<!--
a.type1 { color: #eaab02; }
a.type1:hover { color: #ffffff;}
-->
</style>
<a href="http://secondlife-fr.net/wordpress/" class="type1">Accueil</a> |
<a href="http://secondlife.com" class="type1">Site Officiel</a> |
<a href="http://blog.secondlife.com" class="type1">Blog Officiel</a> |
<a href="http://wiki.secondlife-fr.net" class="type1">LSL Wiki Français</a> |
<a href="http://mail.secondlife-fr.net" class="type1">WebMail SL-Fr</a> |
<a href="http://secondlife-fr.net/wordpress/?page_id=46" class="type1">Forums</a> |
<a href="http://secondlife-fr.net/wordpress/?page_id=48" class="type1">Le Staff</a>
</center></h4></div>
</div>
<div id="bodyowner">
Vous pouvez voir ma page a secondlife-fr.net/wordpress/ c'est la meme que plus haut.
Pouvez vous encore une fois m'aider ? Merci.