Na ja es geht schon im core themes sieht die function für die news so aus
PHP Code:1: <?php 2: function themenews($poster, $time, $title, $counter, $thetext, $timglink, $adminlink, $morelink=""){ 3: echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr class='bg1'>"; 4: echo "<td "; 5: echo "style='background-image: url(".PRTH_URL."/images/bg_degrade.gif)'"; 6: echo "><div class='indextitle'>".$title."</div></td>"; 7: echo "</tr><tr>"; 8: echo "<td class='indextable2'><span class='postedby'>"._TH_POSTEDBY." ".$poster." "._TH_ON." ".$time." (".$counter." "._TH_READS.")"; 9: echo "</span><div class='indextext'>".$timglink." ".$thetext."</div></td></tr>"; 10: if ( trim($adminlink) != "" || trim($morelink) != "" ){ 11: echo "<tr><td class='bg1'><div class='more' align='right'>".$adminlink.$morelink."</div></td></tr>"; 12: } 13: echo "</table>"; 14: echo "<br />"; 15: } 16: ?>
jetzt must du folgendes machen
PHP Code:1: <?php 2: function themenews($poster, $time, $title, $counter, $thetext, $timglink, $adminlink, $morelink=""){ 3: $googleadsense = '<script type="text/javascript"><!-- 4: google_ad_client = "pub-3052520679620275"; 5: //468x60, Erstellt 16.11.07 6: google_ad_slot = "5209814082"; 7: google_ad_width = 468; 8: google_ad_height = 60; 9: //--></script> 10: <script type="text/javascript" 11: src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 12: </script>'; 13: echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'><tr class='bg1'>"; 14: echo "<td "; 15: echo "style='background-image: url(".PRTH_URL."/images/bg_degrade.gif)'"; 16: echo "><div class='indextitle'>".$title."</div></td>"; 17: echo "</tr><tr>"; 18: echo "<td class='indextable2'><span class='postedby'>"._TH_POSTEDBY." ".$poster." "._TH_ON." ".$time." (".$counter." "._TH_READS.")"; 19: echo "</span><div class='indextext'>".$timglink." ".$thetext."<br /><br />".$googleadsense."</div></td></tr>"; 20: if ( trim($adminlink) != "" || trim($morelink) != "" ){ 21: echo "<tr><td class='bg1'><div class='more' align='right'>".$adminlink.$morelink."</div></td></tr>"; 22: } 23: echo "</table>"; 24: echo "<br />"; 25: } 26: ?>
also dein script einer variable zuweisen und diese dann nach dem $thetext ausgeben
hoffe kommst klar 
--
 Webmaster of www.grebe-webdesign.de
Besuche uns bei
 |