News:

Help keep this project going by donating or buying adseller pro

Main Menu
Coinbase

NetBiz Theme Error

Started by RebelRose, November 14, 2006, 12:14:32 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

RebelRose

I was trying to install the ad management mod and got this error:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/netbiz11RC3_TP/index.template.php on line 218

209: document.onmouseup=disableclick
210: else if (document.layers)
211: associateimages()
212: </script>
213: </head>
214:
215: //Display ads on the top of the page
216:    $ads = show_topofpageAds();   
217:    if(!empty($ads))
218:       if($ads['type']==0)219:          echo $ads['content'];
220:       else
221:          eval($ads['content']);   
222:    unset($ads

Help Please

bigguy

Can you post your index.template.php file here please and I will take a look. :)

RebelRose



RebelRose

That didn't work got this:

Parse error: syntax error, unexpected '<' in .../Themes/netbiz11RC3_TP/index.template.php on line 628

619:       }
620:       elseif (!isset($buttons[$key]) || $force_reset)
621:          $buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';
622:
623:       $button_strip[$key] = $buttons[$key];
624:    }
625:
626:    if (empty($button_strip))
627:       return '<td> ';
628: </td>';629:
630:    echo '
631:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '"> </td>
632:       <td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode('  |  ', $button_strip) , '</td>


here is one no code changed for this mod

bigguy

Ok there is no welcome area ad placement here but try this:

RebelRose

Cool we got it BigGuy thanks

bigguy