Description du problème | je n'arrive plus a acceder a mon site www.iframa.com
a cause de cette erreure que je n'arrive pas a la localise
voici le code du fichier ou est signaler l'eeure suivante :Parse error: syntax error, unexpected T_VARIABLE in /home/iframa/public_html/iframa/themes/Caase-Simple/theme.php on line 1
<?php
$thename = "Caase-Simple";
$bgcolor1 = "#ffffff";
$bgcolor2 = "#990033";
$bgcolor3 = "#990033";
$bgcolor4 = "#990033";
$bgcolor5 = "#990033";
$bgcolor6 = "#990033";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
$bargif = "images/stats/bar2.gif";
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = " ".translate("Note")." $notesn";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
// echo "$thetext $notesn";
} else {
if($informant != "") {
$boxstuff = "$informant ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= "".translate("writes")." "$thetext" $notesn";
echo $boxstuff;
}
}
/************************************************************/
/* Function themeindex () */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "n"
."n"
."n"
." | n"
." n"
." n"
//cadre des articles
."n"
."n"
."n"
//cadre des articles
//couleur barriere superieur des articles
."n"
."$titlen"
." ".translate("Posted by")." ";
formatAidHeader($aid);
echo " ".translate("on")." $time $timezone ($counter ".translate("reads").")n"
." | n"
// COULEUR des contenus des articles
."n"
." n";
FormatStory($thetext, $notes, $aid, $informant);
echo " | n"
."$morelinkn"
." |
| n"
." nnn";
}
/************************************************************/
/* Function themearticle() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo"n"
." ";
echo " n";
FormatStory($thetext, $notes="", $aid, $informant);
echo " |
nnn"
." | n";
}
/************************************************************/
/* Function themesidebox() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themesidebox($title, $content) {
//emplacement des blocs
echo "n"
."n"
."n"
." | n"
." n"
." n"
//
."n"
."$titlen"
." | n"
."n"
// couleur fonds des blocks
."$content | n"
." n"
." | n"
."n"
// ."n"
// ." | n"
// ." n"
." n";
// ." nnn";
}
?> |