OK ive tried adding this code to the feed.php file but i get an error. Its project wonderful code for displaying adverts from sponsors. ANy ideas what im doing wrong
<!-- Beginning of Project Wonderful ad code: -->
<!-- Ad box ID: 53250 -->
<script type="text/javascript">
<!--
var pw_d=document;
pw_d.projectwonderful_adbox_id = "53250";
pw_d.projectwonderful_adbox_type = "5";
//-->
</script>
<script type="text/javascript" src="http://www.projectwonderful.com/ad_display.js"></script>
<noscript><map name="admap53250" id="admap53250"><area href="http://www.projectwonderful.com/out_nojs.php?r=0&c=0&id=53250&type=5" shape="rect" coords="0,0,728,90" title="" alt="" target="_blank" /></map>
<table cellpadding="0" border="0" cellspacing="0" width="728" bgcolor="#ffffff"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=53250&type=5" width="728" height="90" usemap="#admap53250" border="0" alt="" /></td></tr><tr><td bgcolor="#ffffff" colspan="1"><center><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=53250&type=5" target="_blank">Ads by Project Wonderful! Your ad here, right now: $0</a></center></td></tr></table>
</noscript>
<!-- End of Project Wonderful ad code. -->
I inserted it before this section at the beginig of the code
class feed{
function feed() {
global $content, $db, $apps, $client, $settings, $menuon;
$menuon = 'feed';
set_title(t('News feed'));
do_auth( explode('|',get_gvar('permission_feed')) );
}
function index($page = 0) {
global $content, $db, $apps, $client, $settings;
$offset = $page * 12;
c(allstream($client['id'],12,$offset) );
}
|