Chciałbym na swoją stronę wstawić reklamę google (AdSense).
Niestety php to dla mnie na razie czarna magia...
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" width=\"498\"><tr><td background=\"http://www.speedfight.com.pl/themes/speedfight/images/td.png\">\n" ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"498\"><tr><td>" ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"498\"><tr><td>" ." <tr> <td> <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\"></td> <td><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"498\"><br><center>REKLAMA</center><br><tr> <tr><td bgcolor=\"#2DA3FF\" height=\"1\" width=\"498\"></td></tr><td height=\"57\" bgcolor=\"#f1f1f1\"> <font color=\"red\" class=\"option\"><b> $title</b></font><br> <font class=\"tiny\"> "; formatAidHeader($aid); echo " $time </font> </td> </tr> <tr> <td> <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\"> <tr><td bgcolor=\"#2DA3FF\" height=\"1\" width=\"498\"></td></tr> </table> </td> </tr></table> </td></tr> </table> </td></tr>
zamiast tekstu " RAKLAMA ", który jest w 13 linijce - chciałbym wstawić skrypt:
<script type="text/javascript"><!--
google_ad_client = "pub-4529140934479385";
/* 468x60, utworzono 10-03-14 */
google_ad_slot = "5425211616";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Niestety, samo wstawienie kody rozwala stronę czyt. biała strona
Był bym bardzo wdzięczny, gdyby mi ktoś pomógł z ta reklama.
Z góry dziękuję.
Pozdrawiam,
hajt