Bonsoir
je suis débutant en php
je voudrais creer un theme basé sur le cms nuked-klan
pour commencé j'ai prix un theme codé en html 'trouvé sur le net) et j'ai voulu l'adapter a nk
mais j'ai cette erreur "Erreur d'encodage de contenu" sur firefox et sur ie "impossible d'afficher la page"
si vous pouviez m'aider
je vet mettre le codage html d'origine ici
<!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="fr" lang="fr">
<head>
<title>kits graphiques Arena</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="fr" />
<meta name="Description" content="Zwatla kits graphiques Arena" />
<meta name="Keywords" content="kits graphiques Arena" />
<link rel="stylesheet" type="text/css" href="lesite.css" />
</head>
<body>
<div id="content">
<div id="haut">
<div class="img_haut">
<object type="application/x-shockwave-flash" data="images_site/expo.swf" width="554" height="145">
<param name="movie" value="images_site/expo.swf" />
<param name="wmode" value="transparent" />
</object>
</div>
</div>
<div id="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Promos</a></li>
<li><a href="#">Liens</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div id="centre">
<div id="bloc_centre">
<div class="corect_bug_galery">
<dl class="gallery">
<dt><a href="http://www.zwatla.com/kits_graphiques.html"><img src="images_site/av_001.jpg" alt="kits graphiques" /></a></dt>
<dd><a href="http://www.zwatla.com/kits_graphiques.html">kits graphiques</a></dd>
</dl>
<dl class="gallery">
<dt><a href="http://www.zwatla.com/web_creations.html"><img src="images_site/av_002.jpg" alt="web créations" /></a></dt>
<dd><a href="http://www.zwatla.com/web_creations.html">web créations</a></dd>
</dl>
<dl class="gallery">
<dt><a href="http://www.sgfx.info/web_design_sites.html"><img src="images_site/av_003.jpg" alt="Sites internet" /></a></dt>
<dd><a href="http://www.sgfx.info/web_design_sites.html">Sites internet</a></dd>
</dl>
<dl class="gallery">
<dt><a href="http://www.sgfx.info/logo.html"><img src="images_site/av_004.jpg" alt="Logos" /></a></dt>
<dd><a href="http://www.sgfx.info/logo.html">Logos</a></dd>
</dl>
</div>
<div class="google_float">
<script type="text/javascript"><!--
google_ad_client = "pub-6566189278132288";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_link = "000000";
google_color_bg = "FFFFFF";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h1>Zwatla kits graphiques</h1>
<p class="apropos">Bienvenue sur le kit graphique gratuit "Arena" de zwatla,
designé par <a href="http://www.sgfx.info/">startigrafics</a> et assemblé
par krek.</p>
<p class="apropos">Ce kit graphique est livré avec tous les fichiers nécessaires
à sa modification. Il est donc entièrement personnalisable.</p>
<p class="apropos">Attention, quelques notions de base concernant les feuilles
de style (css) sont indispensables pour réaliser votre site perso.</p>
<p class="apropos">Vous utilisez ces kits graphiques et voulez nous montrer
ce que vous en avez fait ? Besoin d'aide pour monter un kit graphique
? Merci de passer par le <a href="http://www.zwatla.com/forum/" class="class6">Forum</a>.
</p>
<h1>Stratigraphics </h1>
<p class="apropos">Studio indépendant de création et de dévelopement numérique,
Stratigraphics construit des sites alliant fonction et haut degré de design.
Sans s'impliquer ou se perdre dans des productions à la chaine, nos réalisations
sont ergonomiques, novatrices et toujours à la carte. Stratigraphics se
base sur des technologies d'avant-garde et crée, tout en gardant un interfaçage
ludique, un architecture complexe, légère et adaptable. </p>
<p class="apropos">Outre une analyse poussée de votre demande, nous vous
proposons toute une série de services liés à la communication: définition
d'identité graphique, création de logos, typographie, habillage graphique
de tout support (Internet, cd-rom, génériques, prospectus, liflet, carte
de visite, textile, vitre, etc) et ce, en passant par des méthodes aussi
créatives que variées comme le dessin, la mise en page, la modélisation
3d, l'animation, l'interactivité, le montage vidéo... Les technologies
maitrisées sont des standarts de l'édition graphique ou en passe de le
devenir. </p>
<p class="apropos">N'hésitez pas à nous rendre visite : <a href="http://www.sgfx.info/">www.sgfx.info</a></p>
</div>
</div>
<div id="bas">
<p><a href="http://www.zwatla.com/kits_graphiques.html">Kits graphiques</a> by Zwatla <a href="http://www.zwatla.com/">Web
Créations</a> - <a href="http://www.zwatla.com/emoticones.html">Emoticônes</a></p>
</div>
</div>
</body>
</html>
et voila le mien
<?php
function top()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $op, $page, $file, $user;
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"fr\"><head>\n"; ?>
<?php
echo "<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />\n"
. "<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />\n"
. "<title>" . $nuked['name'] . " - " . $nuked['slogan'] . "</title>\n"
. "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n"
. "<meta http-equiv=\"Content-Language\" content=\"fr\" />\n"
. "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/images/favicon.ico\" />\n"
. "<link rel=\"icon\" type=\"image/x-icon\" href=\"/images/favicon.ico\" />\n"
. "<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n"
. "<link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/kit_flash/style.css\" />\n"
. "</head><body>\n"
. "<div id=\"header\"> \n"
. "<div class=\"img_haut\"></div>\n"
. "</div>\n"
. "<div id=\"menu\">\n"
. " <ul>\n"
. " <li><a href=\"#\">Home</a></li>\n"
. " <li><a href=\"#\">Services</a></li>\n"
. " <li><a href=\"#\">Promos</a></li>\n"
. " <li><a href=\"#\">Liens</a></li>\n"
. " <li><a href=\"#\">Contact</a></li>\n"
. " </ul>\n"
. " </div>\n"
."<div id=\"centre\">\n"
. "<div id=\"bloc_centre\">\n"
. "<div class=\"corect_bug_galery\">\n"
. "<dl class=\"gallery\">\n"
. "<dt><a href=\"http://www.zwatla.com/kits_graphiques.html\"><img src=\"images_site/av_001.jpg\" alt=\"kits graphiques\" /></a></dt>\n"
. "<dd><a href=\"http://www.zwatla.com/kits_graphiques.html\">kits graphiques</a></dd>\n"
. "</dl>\n"
. "<dl class=\"gallery\">\n"
. "<dt><a href=\"http://www.zwatla.com/web_creations.html\"><img src=\"images_site/av_002.jpg\" alt=\"web créations\" /></a></dt>\n"
. "<dd><a href=\"http://www.zwatla.com/web_creations.html\">web créations</a></dd>\n"
. "</dl>\n"
. "<dl class=\"gallery\">\n"
. "<dt><a href=\"http://www.sgfx.info/web_design_sites.html\"><img src=\"images_site/av_003.jpg\" alt=\"Sites internet\" /></a></dt>\n"
. "<dd><a href=\"http://www.sgfx.info/web_design_sites.html\">Sites internet</a></dd>\n"
. "</dl>\n"
. "<dl class=\"gallery\">\n"
. "<dt><a href=\"http://www.sgfx.info/logo.html\"><img src=\"images_site/av_004.jpg\" alt=\"Logos\" /></a></dt>\n"
. "<dd><a href=\"http://www.sgfx.info/logo.html\">Logos</a></dd>\n"
. "</dl>\n"
. "</div>\n"
. "<div class=\"google_float\">\n"
. "<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6566189278132288\";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = \"468x15_0ads_al\";
google_ad_channel =\"\";
google_color_border = \"FFFFFF\";
google_color_link = \"000000\";
google_color_bg = \"FFFFFF\";
google_color_text = \"000000\";
google_color_url = \"000000\";
//--></script>\n"
. "<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n"
. "</script>\n";
}
function footer()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $nuked, $op, $file, $page;
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('bas');
if ($file == $nuked['index_site'] && $page == "" && $op != "sendfriend")
{
echo "</td><td class=\"space\"></td><td class=\"block\" valign=\"top\">";
get_blok('droite');
}
echo "</td>\n"
. "</tr>\n"
. "</table>\n";
//ajout menu en bas
include("texte.html");
//fin
echo "<table width=\"100%\" cellspacing=\"1\" cellpadding=\"3\">\n"
. "<tr>\n"
. "<td><center><img src=\"themes/kit_flash/images/footer.png\" /></center></td>\n"
. "</tr>\n"
. "</table>\n"
. "<center><div style=\"margin-bottom: 10px;\">\n";
include("themes/kit_flash/copyleft.php");
echo "</center></div>\n";
exit();
}
function news($data)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo"<tr><td class=\"news_header_top\"><h3>" . $data['titre'] . "</h3></td></tr>\n"
. "<tr class=\"color2\">\n"
. "<td class=\"news_header\" valign=\"top\">\n"
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n"
. "<tr><td align=\"left\" style=\"padding-left: 10px;\">Ecrit par " . $data['auteur'] . "<br /><span style=\"color: #fbf955;\"> le " . $data['date'] . " à " . $data['heure'] . "</span></td></tr>\n"
. "</table>\n"
. "</td>\n"
. "</tr>\n"
. "<tr class=\"color2\" style=\"background: url(themes/kit_flash/images/news_body.png) repeat-x; background-color: #1b1b1b; width: 500px; height: 110px;\">\n"
. "<td style=\"border-left: #1e1e1e solid 2px; border-right: #1e1e1e solid 2px; padding-left: 10px;\"><div class=\"element\">" . $data['texte'] . "</div></td>\n"
. "</tr>\n"
. "<tr class=\"color2\">\n"
. "<td class=\"news_footer\">\n"
. "</td>\n"
. "</tr>\n"
. "</table></div>\n";
}
function block_gauche($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table width=\"165px\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"float: left; background-color: #353637;\">\n"
. "<tr class=\"block_header\">\n"
. "<td style=\"padding-left: 10px; color: #FFFFFF;\">\n"
. "<b>" . $block['titre'] . "</b>\n"
. "</td>\n"
. "</tr>\n"
. "<tr>\n"
. "<td style=\"background: url(themes/kit_flash/images/block_body.png) no-repeat; border-left: #2a292b solid 1px; border-right: #2a292b solid 1px;\">\n"
. $block['content']
. "</td>\n"
. "</tr>\n"
. "<tr class=\"block_footer\"><td></td></tr>\n"
. "</table><br />\n";
}
function block_droite($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table width=\"165px\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"float: right; background-color: #353637;\">\n"
. "<tr class=\"block_header\">\n"
. "<td style=\"padding-left: 10px; color: #FFFFFF;\">\n"
. "<b>" . $block['titre'] . "</b>\n"
. "</td>\n"
. "</tr>\n"
. "<tr>\n"
. "<td style=\"background: url(themes/kit_flash/images/block_body.png) no-repeat; border-left: #2a292b solid 1px; border-right: #2a292b solid 1px;\">\n"
. $block['content']
. "</td>\n"
. "</tr>\n"
. "<tr class=\"block_footer\"><td></td></tr>\n"
. "</table><br />\n";
}
function block_centre($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table class=\"color1\" width=\"98%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" style=\"margin-top: 10px; margin-bottom: 10px;\">\n"
. "<tr class=\"color2\"><td> <b>" . $block['titre'] . "</b><br />" . $block['content'] . "</td></tr>\n"
. "</table>\n";
}
function block_bas($block)
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table class=\"color1\" width=\"98%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" style=\"margin-top: 10px; margin-bottom: 10px;\">\n"
. "<tr class=\"color2\"><td> <b>" . $block['titre'] . "</b><br />" . $block['content'] . "</td></tr>\n"
. "</table>\n";
}
function opentable()
{
global $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;
echo "<table class=\"color1\" width=\"98%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" style=\"margin-top: 10px; margin-bottom: 10px;\">\n"
. "<tr class=\"color2\"><td>\n";
}
function closetable()
{
echo "</td></tr>\n"
. "</div>\n";
}
?>
merci pour toute aide
cordialement