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
Can you post your index.template.php file here please and I will take a look. :)
Here you go
try this.
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
Ok there is no welcome area ad placement here but try this:
Cool we got it BigGuy thanks
Anytime, glad to help.