Including HElp

Started on the old forum in August 2011 · view the original in the archive · old links redirect here

No replies · 281 views · started 15 years ago · 1 min read

rajveer Developer · 104 posts #1

Hai Friends i am new to php programing I want to add admob code so that i can show ads on my dcms website

<script type="text/javascript">
var admob_vars = {
 pubid: '********', // publisher id
 bgcolor: 'C62919', // background color (hex)
 text: 'FFFFFF', // font-color (hex)
 test: true // test mode, set to false to receive live ads
};
</script>
<script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script>

This is the Main index file of site i created the new php file added java code of admob to it Then included in this file but nuthing happend plz tell me how to ad admob code to this php file thnx

<?php
include_once 'sys/inc/start.php';
$doc = new document (); // инициализация документа для браузера

// получаем список виджетов
$widgets = ( array ) ini::read ( H . '/sys/ini/widgets.ini' );

foreach ( $widgets as $widget_name => $show ) {
	if (! $show)
		continue; // если стоит отметка о скрытии, то пропускаем
	

	$widget = new widget ( H . '/sys/widgets/' . $widget_name ); // открываем
	$widget->display (); // отображаем
}
?>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close