|
18.07.2006, 01:40
Хочу вставить google adsense в модуль Энциклопедию вот вставил не получилось в чем ошибка, подскажите.
PHP код:
echo "<br><br><br><center>$previous_page $next_page<br><br>"
.""._GOBACK."</center><br>";
if (is_admin($admin)) {
echo "<p align=\"right\">[ <a href=\"".$admin_file.".php?op=encyclopedia_text_edit&tid=$etid\">"._EDIT."</a> ]</p>";
}
echo "<p align=\"right\"><a href=\"modules.php?name=$module_name&op=list_content&eid= $eeid\">$enc_title</a></p>";
if ($page == $pageno) {
echo "<p align=\"right\">"._COPYRIGHT." © "._BY." $sitename - ($ecounter "._READS.")</font></p>";
echo"<script type=\"text/javascript\"><!--"
. "google_ad_client = \"pub-ххххххххххххххх\";"
. "google_ad_width = 336;"
. "google_ad_height = 280;"
. "google_ad_format = \"336x280_as\";"
. "google_ad_type = \"text_image\";"
. "google_ad_channel =\"\";"
. "google_color_border = \"FFFFFF\";"
. "google_color_bg = \"FFFFFF\";"
. "google_color_link = \"0000FF\";"
. "google_color_text = \"000000\";"
. "google_color_url = \"008000\";"
. "//--></script>"
. "<script type=\"text/javascript\""
. " src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">"
. "</script>"
."";
}
} else {
echo "Sorry, This page isn't active...";
}
CloseTable();
include("footer.php");
}
|
|