News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

Ancient&Rusted + TP 0.97 + Ad mod + SMF 1.1.1? helpme please

Started by allumius, December 20, 2006, 04:47:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bigguy


SicTats

Hello

I am also trying to get ads to work with ancient and rusted theme

The index.template.php file creates a parse error when trying to load the theme after updating files
the error is below
thanks in advance for any assistance


Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in .../Themes/Ancient_and_Rusted/index.template.php on line 239

230: <table width="100%" border="0" cellpadding="0" cellspacing="0">
231: <tr>
232: <td colspan="2" width="100%" height="83" align="left" valign="top" class="main-title">
233: <span class="title-text">', $context['forum_name'], '</span></td>
234: </tr>
235: <tr>
236: <td width="312" height="52"><img src="', $settings['images_url'], '/logo_bottom.jpg" width="312" height="52" alt="0" /></td>
237: <td width="100%" height="52" align="left" valign="top">'
238:    //Below the menu ads

239:    $ads = show_indexAds();   

240:    if(!empty($ads))
241:       if($ads['type']==0)
242:          echo $ads['content'];
243:       else