Probleme pour inserer un favicon
Posté : 28 oct. 2008, 00:22
Bonjour tout le monde
alor voila j'aimerer inserer un favicon sur mon site web en PHP puisque c'est a partir d'un theme Nuked Klan et quand j'insere les ligne
il me met une erreur
et voici dans quoi je veu l'insere
ps:je ne ces pas si ces la bonne section desole je suis debutant
alor voila j'aimerer inserer un favicon sur mon site web en PHP puisque c'est a partir d'un theme Nuked Klan et quand j'insere les ligne
Code : Tout sélectionner
<link rel="shortcut icon" href="/images/favicon.ico" />donc voila savez vous comment resoudre mon problemeParse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/web/clients/ghost.hostarea.org/www/themes/classik_storm/theme.php on line 42
et voici dans quoi je veu l'insere
<?php
// ---------------------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------------------
//
// Nuked-KlaN 1.7.x
// Nuked-Klan SP4
// Testé compatible sur Internet Explorer / Firefox / Opera
// Valid XHTML
//
//
//
// THEME: classik_storm
//
//
// Auteur : Réalisé par www.classik-nk.com ( Création de thèmes Nuked Klan )
// Designer : Huma
// Codeur : ClassikD
//
//
// Plus de thèmes disponibles sur classik-nk.com !
// Pour tout renseignement, report de bug, demande de thème , reportez vous sur le Forum.
// Les Sources des thèmes sont disponibles sur le site afin de faciliter toute modification.
// WWW.CLASSIK-NK.COM
//
// ------------------------------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------------------------------------
function top() /// ouverture de la fonctions top Défini le haut et la gauche du site
{
global $nuked, $op, $file, $page;
echo"
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />
<meta http-equiv=\"content-style-type\" content=\"text/css\" />
<meta name=\"keywords\" content=\"" . $nuked['keyword'] . "\" />
<meta name=\"Description\" content=\"" . $nuked['description'] . "\" />
<title>:: $nuked[name] :: $nuked[slogan] - </title>
<link href=\"themes/classik_storm/style.css\" rel=\"stylesheet\" type=\"text/css\" />
<script type=\"text/javascript\" src=\"themes/classik_storm/flash.js\"></script>
</head>
<body>
<table style=\"width:1000px;height:223px;margin:auto;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>";?>
<script type="text/javascript">show_flash('1000', '223', 'themes/classik_storm/images/header_classik_storm.swf', '#FFFFFF', '<?php echo "team=" . $nuked['name']; ?>');</script>
<?php echo "</td>
</tr>
</table>
<table style=\"width:1000px;height:79px;margin:auto;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"themes/classik_storm/images/blocks.jpg\">
<tr>
<td style=\"width:237px;\"><table style=\"width:237px;height:79px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
<td style=\"width:582px;\"><table style=\"width:582px;height:79px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"width:300px;vertical-align:top;color:#9f9f9f;\">";include('themes/classik_storm/block_wars.php');echo"</td>
<td style=\"width:282px;vertical-align:top;\">";include('themes/classik_storm/block_news.php');echo"</td>
</tr>
</table></td>
<td style=\"width:181px;\"><table style=\"width:181px;height:79px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<table style=\"width:1000px;margin:auto;background-image: url('themes/classik_storm/images/background.jpg');\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"width:22px;\"><table style=\"width:22px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
<td style=\"width:183px;vertical-align:top;\">
"; get_blok('gauche'); echo "
</td>
<td style=\"width:590px;vertical-align:top;\">
";
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('centre');
}
function footer()
{
global $nuked, $op, $file, $page;
if ($op == "index" && $file != "Admin" && $page != "admin") get_blok('bas');
echo "
</td>
<td style=\"width:182px;vertical-align:top;\">
"; get_blok('droite'); echo "
</td>
<td style=\"width:23px;\"><table style=\"width:23px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<table style=\"width:1000px;height:34px;margin:auto;background-image: url('themes/classik_storm/images/footer.jpg');\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"width:22px;\"><table style=\"width:22px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
<td style=\"width:183px;\"><table style=\"width:183px;height:34px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"color: white;text-align: center;\">
<span style=\"color: white;\"><strong><a href=\"http://www.classik-nk.com/\" title=\"Classik-NK: Création de thèmes Nuked Klan - NK\" style=\"color: white;\">Thème créé par Classik-NK </a></strong></span>
</td>
</tr>
</table></td>
<td width=\"590\" style=\"color: white;text-align: center;\"><strong>$nuked[footmessage]</strong></td>
<td width=\"182\"><table width=\"182\" height=\"34\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"color: white;text-align: center;\">
<a href=\"http://www.nuked-klan.org/\" title=\"Nuked Klan\" style=\"color: white;\"> <strong>Powered By Nuked Klan</strong></a>
</td>
</tr>
</table></td>
<td style=\"width:23px;\"><table style=\"width:23px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>";
exit;
}
function news($data)
{
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/titre_news.jpg');width: 590px;height: 26px;text-align: center;color:white;\"><strong>$data[titre]</strong></td>
</tr>
</table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/comm_news.jpg');width: 590px;height: 19px;text-align:center;color:#9f9f9f;\">Par $data[auteur]
le $data[date]
<a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\" style=\"color: #9f9f9f;\">
Commentaires ($data[nb_comment])</a></td>
</tr>
</table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/corps_news.jpg');width: 590px;text-align:left;\" class=\"contenu_news\">$data[image] $data[texte]</td>
</tr>
</table>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/bas_news.jpg');width: 590px;height: 22px;\"> </td>
</tr>
</table>
";
}
function block_gauche($block)
{
echo"
<table style=\"width: 183px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/haut_blockg.jpg');width: 183px;text-align: center;height: 45px;vertical-align:top;\">
<table style=\"width: 183px;\">
<tr><td></td></tr>
<tr><td style=\"text-align: left;padding-left:50px;color:white;\"><strong>$block[titre]</strong></td></tr>
<tr><td></td></tr>
</table>
</td>
</tr>
<tr>
<td class=\"contenu_colonnes\" style=\"background-image: url('themes/classik_storm/images/corps_blockg.jpg');text-align: left;width: 183px;\">
$block[content]
</td>
</tr>
<tr>
<td style=\"background-image: url('themes/classik_storm/images/bas_blockg.jpg');height:22px;width: 183px;\">
</td>
</tr>
</table>";
}
function block_droite($block)
{
echo"
<table style=\"width: 182px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td style=\"background-image: url('themes/classik_storm/images/haut_blockd.jpg');width: 182px;text-align: center;height: 45px;vertical-align:top;\">
<table style=\"width: 182px;\">
<tr><td></td></tr>
<tr><td style=\"text-align: right;padding-right:50px;color:white;\"><strong>$block[titre]</strong></td></tr>
<tr><td></td></tr>
</table>
</td>
</tr>
<tr>
<td class=\"contenu_colonnes\" style=\"background-image: url('themes/classik_storm/images/corps_blockd.jpg');text-align: left;width: 182px;\">
$block[content]
</td>
</tr>
<tr>
<td style=\"background-image: url('themes/classik_storm/images/bas_blockd.jpg');height:22px;width: 182px;\">
</td>
</tr>
</table>";
}
function block_centre($block)
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"text-align: center;\">
<tr>
<td style=\"font-size: 10px; color: white;background-image: url('themes/classik_storm/images/haut_blocks_centre.jpg');text-align: center; height: 29px;width: 590px;\">
<strong>$block[titre]</strong>
</td>
</tr>
<tr>
<td class=\"contenu_news\" style=\"background-image: url('themes/classik_storm/images/corps_news.jpg');width: 590px;\">
$block[content]
</td>
</tr>
<tr>
<td style=\"background-image: url('themes/classik_storm/images/bas_news.jpg');width: 590px;height: 22px;\">
</td>
</tr>
</table>";
}
function block_bas($block)
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"text-align: center;\">
<tr>
<td style=\"font-size: 10px; color: white;background-image: url('themes/classik_storm/images/haut_blocks_centre.jpg');text-align: center; height: 29px;width: 590px;\">
<strong>$block[titre]</strong>
</td>
</tr>
<tr>
<td class=\"contenu_news\" style=\"background-image: url('themes/classik_storm/images/corps_news.jpg');width: 590px;\">
$block[content]
</td>
</tr>
<tr>
<td style=\"background-image: url('themes/classik_storm/images/bas_news.jpg');width: 590px;height: 22px;\">
</td>
</tr>
</table>";
}
function opentable()
{
echo"
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"text-align: left;\">
<tr>
<td style=\"width: 590px;\">
</td>
</tr>
<tr>
<td style=\"width: 590px;\">
";
}
function closetable()
{
echo"
</td>
</tr>
<tr>
<td style=\"width: 590px;\">
</td>
</tr>
</table>";
}
?>
merci d'avance ps:je ne ces pas si ces la bonne section desole je suis debutant