et script inde i et script?
Hvordan får jeg dette stykke kode lagt ind i denne linie?Linien:
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" alt=\"Velkommen til $sitename!\" hspace=\"20\"></a></td><td align=\"left\">HERSKALKODENSÆTTESIND</td></tr></table></td></tr>\n"
koden:
<?php
if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, 'blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
den gamle kode i den gamle linie:
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" alt=\"Velkommen til $sitename!\" hspace=\"20\"></a></td><td align=\"left\"><a href='http://www.counselor.dk/ads/adclick.php?n=ac8db8f1' target='blank'><img src='http://www.counselor.dk/ads/adview.php?what=zone:1&source=cleanbanner.gif&n=ac8db8f1' border='0' alt=''></a></td></tr></table></td></tr>\n"
Håber i kan hjælpe
