A me non da problemi a parte il dover sostituire il singolo apice con le virgolette qui:
Codice PHP:
...
if ($currentPage == 'index.php') {
echo '<div id='laterale_home'><div id='laterale_homeimg'>[url='http://content.cdsbe.com/MSDSB/MWDIT1/P3L74AEC/content/5ed890cc6bae4685a193dd728fb48185/index.html?IG=c629da65789347439969629e35a6a841&LBW=800&LBH=700&A=10&S=0&CGI=MSDSB&II=6965606544922309&CI=MWDIT1&V=1&SI=P3L74AEC&GL=it-it&CHI=c629da65789347439969629e35a6a841&CHF=180x150&CHB=08308ec165914cc998e86bcd04e7dc37&CATID=a4e236223ca14628997c5aef4162a259&CEP=68f5c2539d346e3e86f16709f5e311b5&CB=3465699485777114'][img]immagini/ms.jpg[/img][/url]</div></div>';
}
...
così:
Codice PHP:
...
if ($currentPage == 'index.php') {
echo "<div id='laterale_home'><div id='laterale_homeimg'>[url='http://content.cdsbe.com/MSDSB/MWDIT1/P3L74AEC/content/5ed890cc6bae4685a193dd728fb48185/index.html?IG=c629da65789347439969629e35a6a841&LBW=800&LBH=700&A=10&S=0&CGI=MSDSB&II=6965606544922309&CI=MWDIT1&V=1&SI=P3L74AEC&GL=it-it&CHI=c629da65789347439969629e35a6a841&CHF=180x150&CHB=08308ec165914cc998e86bcd04e7dc37&CATID=a4e236223ca14628997c5aef4162a259&CEP=68f5c2539d346e3e86f16709f5e311b5&CB=3465699485777114'][img]immagini/ms.jpg[/img][/url]</div></div>";
}
...