Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Forumo nick script

Parašė VeNoM· 2008 Vas. 6 16:02:19
#4

Deja yra problema kai as keiciu sita teksta:
<a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br>
<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";




i sita:

if($data[user_level]==103){
echo "<a style='color:#FF3300;' href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'><B>".$data['user_name']."</B></a><br>";
}
else if($data[user_level]==102){
echo "<a style='color:#000066;' href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'><B>".$data['user_name']."</B></a><br>";
}
else{
echo "<a href='../profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br>";

};

echo "<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($data['user_level']))."</span><br><br>\n";




Man raso:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/venomas/kibernet.xz.lt/forum/viewthread.php on line 134




As bandziau nuimti ta ; bet vistiek tas pats.

Tai yra sita eilute:
echo "<a style='color:#FF3300' href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'><B>".$data['user_name']."</B></a><br>";




As net nzn kas cia galibuti ne taip... :(

Redagavo VeNoM· 2008 Vas. 6 16:02:52