Код:
<tr bgcolor="#D3D8DC" {if ($fancy_layers == "enabled")}onClick="ToggleLayer('layer_{$bans.bid}');"{else}onClick="document.location = '{$dir}/ban_details.php?bid={$bans.bid}';"{/if} onMouseOver="this.style.backgroundColor='#C7CCD2'" onMouseOut="this.style.backgroundColor='#D3D8DC'">
Пп грешки:
there is no attribute "onClick"
there is no attribute "onMouseOver"
there is no attribute "onMouseOut"