website logo
Auteur
avatar
chelifou

Forum » » Bugs, Probs ... » » [Résolu] - Parse error: syntax error, unexpected T_VARIABLE i


Posté : 12 déc. 2009 à 02:04 icone du post

NPDS Forum Extender
-: Problèmes :-
 
SujetParse error: syntax error, unexpected T_VARIABLE i 
Votre Système d'Exploitation-: Linux  
Votre Package Web-: Je ne sais pas !  
Votre version de PHP-: Je ne sais pas !  
Version NPDS (voir statistiques du site)-: EVOLUTION 
Type de problème-: Erreur(s) Php  
Votre hébergeur-: Autre(s)  
Votre PrioritéUrgentissime  
Description du problèmeje 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
$notes
n";

} 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"



."n"

// COULEUR des contenus des articles

."n"

."
$titlen"

."
".translate("Posted by")." ";

formatAidHeader($aid);

echo " ".translate("on")." $time $timezone ($counter ".translate("reads").")n"

."
n"

."$topictextn";

FormatStory($thetext, $notes, $aid, $informant);

echo "
$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"

."
n"

."
$title
n"

.translate("Posted on")." $datetime ".translate("by")." ";

formatAidHeader($aid);

if ($admin) {

echo "
[ ".translate("Edit")." | ".translate("Delete")." ]n";

}

echo "

";

echo "$topictext 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"

."n"

."n"

// couleur fonds des blocks

."n"

."n"

."
$titlen"

."
$content
n"

."n"

// ."n"

// ."n"

// ."n"

."
n";

// ."
nnn";

}



?> 
Inclure la signature
notification par Email
..::..


Message édité par : chelifou / 12-12-2009 02:05


Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=24638&forum=1