Need Help to put my own ad on my phpbb

Status
Not open for further replies.

frankie123

New Member
Messages
40
Reaction score
0
Points
0
ok so heres my site http://leetspeak.no-ip.org

and this is my header.php:
header ('Expires: 0');
header ('Pragma: no-cache');
$template->pparse('overall_header');
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&amp;what=zone:1&amp;target=_blank\");\n";
echo "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&amp;referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>\n";
echo "<br><br>\n";
?>

this it my ad-sense script
<script type="text/javascript"><!--
google_ad_client = "pub-6212317099057718";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "6699FF";
google_color_bg = "CCCCCC";
google_color_link = "3366FF";
google_color_url = "6699FF";
google_color_text = "6699FF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

how can i put it right beside the x10hosting banner?

plx edit it for me

thx x 100000
 

rajuthan

New Member
Messages
74
Reaction score
0
Points
0
use dreamweaver drag in and paste and you can edit it ur self
 

motogawa

Member
Messages
306
Reaction score
0
Points
16
Here use this

PHP:
header ('Expires: 0');
header ('Pragma: no-cache');

$template->pparse('overall_header');


echo "<div align='left' class='forumlink'>";
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&amp;what=zone:1&amp;target=_blank\");\n";
echo "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&amp;referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>\n";
echo "\n";
echo '<script type="text/javascript"><!--
google_ad_client = "pub-6212317099057718";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "6699FF";
google_color_bg = "CCCCCC";
google_color_link = "3366FF";
google_color_url = "6699FF";
google_color_text = "6699FF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
';
echo "</div>";
 

mattspec

Active Member
Messages
1,390
Reaction score
0
Points
36
everyone knows the feeling of starting off, and motogawa is a pimp when it comes to this kinda thing :D
 

frankie123

New Member
Messages
40
Reaction score
0
Points
0
ive already put echo "\n"; but it still doesnt seperate

header ('Expires: 0');
header ('Pragma: no-cache');

$template->pparse('overall_header');


echo "<div align='left' class='forumlink'>";
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&amp;what=zone:1&amp;target=_blank\");\n";
echo "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&amp;referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>\n";
echo "\n";
echo '<script type="text/javascript"><!--
google_ad_client = "pub-6212317099057718";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "CCCCCC";
google_color_link = "3366CC";
google_color_url = "3366CC";
google_color_text = "336699";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
';
echo "</div>";

echo "<br><br>\n";
 

mattspec

Active Member
Messages
1,390
Reaction score
0
Points
36
hrm, pm motogawa, im sure he will have a solution, if he cant help, no1 can lol

also, can i get a link plz
 
Last edited:
Status
Not open for further replies.
Top