Coinbase

Author Topic: Issue with PS Black Theme  (Read 3109 times)

0 Members and 1 Guest are viewing this topic.

Offline Learjet45

  • Newbie
  • *
  • Posts: 1
Issue with PS Black Theme
« on: August 30, 2009, 03:52:05 pm »
I just installed the Ad Management Mod on my SMF 1.1.10 install. I think I made all the edits to the index.template.php theme right, but apparently not. I get this error:
Code: [Select]
Parse error: syntax error, unexpected T_IF, expecting '{' in .../Themes/Ps_Black/index.template.php on line 400
echo ' | ';
}

echo '</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()

if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);

//Tower left Ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

unset($ads);
//Tower Right Ads
$ads = show_towerrightAds();
if(!empty($ads))
echo '<table><tr><td width="100%" valign="top">';
unset($ads);
}

For the time being, I replaced the files with the old versions.

Offline pmf41

  • Jr. Member
  • **
  • Posts: 34
Re: Issue with PS Black Theme
« Reply #1 on: August 30, 2009, 08:58:09 pm »
http://www.smfads.com/forums/index.php?topic=2390.0 the last post has the files already edited if you want to fix it yourself change
Code: [Select]
function template_menu()to
Code: [Select]
function template_menu();
« Last Edit: August 30, 2009, 09:02:40 pm by pmf41 »

SMF Ads Support Forum

Re: Issue with PS Black Theme
« Reply #1 on: August 30, 2009, 08:58:09 pm »
.