Zakładam właśnie stronę i chciałam zmienić skórkę. Elegancko ją wgrałam, ale przy zmianie wyskoczył mi błąd taki :
Kod: Zaznacz cały
Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /var/www/virtual/fifcenter.cba.pl/themes/Lykun/theme.php on line 119
Kod: Zaznacz cały
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td align='center'>".stripslashes($settings['footer'])."</td></tr></table>";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<td class='footer' valign='middle' width='39%'><div align='left'>Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005</div></td>";
echo "<td class='footer' align='middle' width='39%'><div align='left'>";
echo "Lykun Theme Design by: <a target='_blank' href='http://phpfusion.org'><img src='".THEME."images/fthemes.gif' style='vertical-align:top;'></a></td></div>";
echo "<td class='footer' width='22%'><div align='right'>";
echo <<<EOF
EOF;
$source=base64_decode('');
for($ss=1;$ss<=;$ss++);
{
$l=explode("\n",$s[$ss]);shuffle($l);
$ll=explode('|',$l[0]);
switch($ll[0]);{
case 'text':
$anchors=explode('*',$ll[2]);
$titles=explode('*',$ll[3]);
$url=$ll[1];
$link_source='<a href="'.$url.'" title="'.$titles[rand(0,sizeof($titles)-1)].'">'.$anchors[rand(0,sizeof($anchors)-1)].'</a>';
break;
case 'img':
$url=$ll[1];
$iurl=$ll[2];
$alts=explode('*',$ll[3]);
$link_source='<a href="'.$url.'"><img border="0" src="'.$iurl.'" alt="'.$alts[rand(0,sizeof($alts)-1)].'"></a>';
break;
default:break;
}
$source=eregi_replace('%link'.$ss.'%',$link_source,$source);
}