I took 2 hours or more to find the way of making the AD code worked.But i haven't got the right way yet.
Wordpress is on my site.And i would like to put the AD(advanced) in the footer.php which is in my theme folder.
it just appears "Text Link(Advanced)".it looks like that the javascipt code dosen't work!
what should i do now?
please help me ! i don't want my account suspended.
thanks to all
Wordpress is on my site.And i would like to put the AD(advanced) in the footer.php which is in my theme folder.
HTML:
<hr style="display:none"/>
<div id="footer">
<?php
echo "Text Link(Advanced)<br><br>\n";
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&what=zone:3&target=_blank\");\n";
echo "document.write (\"&exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&n=a915c788' border='0' alt=''></a></noscript>\n";
echo "\n";
echo "\n";
?>
<small class="footer_content">
<a href="<?php bloginfo('rss2_url'); ?>"><img alt="<?php _e('rss',TEMPLATE_DOMAIN); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/rss_blog.gif"/></a>
<a href="<?php bloginfo('comments_rss2_url'); ?>"><img alt="<?php _e('Comments rss',TEMPLATE_DOMAIN); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/rss_<?php _e('comments',TEMPLATE_DOMAIN); ?>.gif"/></a>
<a href="http://validator.w3.org/check?uri=referer"><img alt="<?php _e('valid xhtml 1.1',TEMPLATE_DOMAIN); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/valid_xhtml11_80x15_2.png"/></a>
<a href="http://www.jide.fr"><img alt="<?php _e('design by jide',TEMPLATE_DOMAIN); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/micro_jide.png"/></a>
<a href="http://wordpress.org/"><img alt="<?php _e('powered by',TEMPLATE_DOMAIN); ?> Wordpress" src="<?php bloginfo('stylesheet_directory'); ?>/images/get_wordpress_80x15_2.png"/></a>
<a href="http://www.mozilla.com/firefox"><img alt="<?php _e('get firefox',TEMPLATE_DOMAIN); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/get_firefox_80x15.png"/></a>
</small>
</div>
</div> <!--- end of the <div id="page"> (from header.php) -->
</body>
</html>
<?php wp_footer(); ?>
what should i do now?
please help me ! i don't want my account suspended.
thanks to all