Чужой баннер в шапке сайта

Eley
На сайте с 04.01.2012
Offline
84
1538

Здравствуйте! Вставил свой баннер в шапку сайта! Пока я авторизован - вижу свой баннер, а если захожу как посетитель, то вместо его вижу баннер рекламы Гугл! )) Просмотрел в Редакторе все коды - код Гугла не нахожу.

Более того, такая история наблюдается на всех сайта одного хоста.

Как решить проблему? Подскажите!

Сайт - http://eley-mgn.ru/

D
На сайте с 16.12.2011
Offline
98
#1

А где банер?

Diversant
На сайте с 29.03.2006
Offline
329
#2

<header id="header">
<table width="100%" border="0">
<tr>
<td style="width:370px; float:left;"><h1 class="log" style="font-size:55px; "><a href="http://eley-mgn.ru" title="Современность ">Современность </a></h1><span style="color:#333; font-size:14px;">Мировые новости</span></td>
<td style="float:right; width:728px; display:block;">


<script type="text/javascript"><!--
google_ad_client = "ca-pub-5283403865795059";
/* Духовная жизнь 3 */
google_ad_slot = "1681989401";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</table>


</header><!-- #header-->



Вот ваш код

Eley
На сайте с 04.01.2012
Offline
84
#3

Вот мой Хейдер: И кода Гугл там в отличии от вашего кода там нет! )

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

<title>

<?php if (is_home () ) {

bloginfo('name');

} elseif ( is_category() ) {

single_cat_title(); echo ' - ' ; bloginfo('name');

} elseif (is_single() ) {

single_post_title();

} elseif (is_page() ) {

bloginfo('name'); echo ': '; single_post_title();

} else {

wp_title('',true);

} ?>

</title>

<meta name="keywords" content="" />

<meta name="description" content="" />

<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

<?php

if ( is_singular() && get_option( 'thread_comments' ) )

wp_enqueue_script( 'comment-reply' );

wp_head();

?>

</head>

<body <?php body_class(); ?>>

<div id="wrapper">

<header id="menu">

<div id="menu-primary" >

<div class="menu">

<?php

if ( function_exists( 'wp_nav_menu' ) )

wp_nav_menu( array( 'theme_location' => 'custom-menu','fallback_cb'=> 'custom_menu','container' => 'ul','menu_id' => 'menu-primary-items"', ) );

else

custom_menu();

?>

</div>

</div>

</header><!-- #menu-->

<header id="header">

<table width="100%" border="0">

<tr>

<td style="width:370px; float:left;"><h2 class="log" style="font-size:55px; "><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h2><span style="color:#333; font-size:14px;"><?php bloginfo('description'); ?></span></td>

<td style="float:right; width:728px; display:block;">

<center><a title="Куплю сайт" href="http://skudelnica.ru/kontakty-2/"><img style="padding-right: 5px;" alt="" src="http://skudelnica.ru/wp-content/uploads/2013/09/kuplu-sait.gif" border="0" /></a></center>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script></td>

</tr>

</table>

</header><!-- #header-->

<header id="menu_bottom">

<div id="menu-primary" >

<div class="menu">

<?php

if ( function_exists( 'wp_nav_menu' ) )

wp_nav_menu( array( 'theme_location' => 'custom-menu2','fallback_cb'=> 'custom_menu2','container' => 'ul','menu_id' => 'menu-primary-items"', ) );

else

custom_menu();

?>

</div>

</div>

</header><!-- #header-->

W0
На сайте с 02.04.2007
Offline
189
#4

Как вариант это другой шаблон

Как вариант смотрим .htaccess, потом index.php

maximka77
На сайте с 15.10.2011
Offline
245
#5

Я никаких баннеров не вижу... Можете сделать два скрина как у вас это выглядит?

- Базы чатов и каналов Телеграм ( https://base-top.ru/ ) - Недорогие ссылки с форумов (https://cutt.ly/swQDFZWx)
viasat
На сайте с 24.08.2005
Offline
92
#6

У меня через Firebug:

<header id="header">

<table width="100%" border="0">

<tbody>

<tr>

<td style="width:370px; float:left;">

<td style="float:right; width:728px; display:block;">

<script type="text/javascript">

<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">

<ins style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px">

<ins id="aswift_0_anchor" style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px">

<iframe id="aswift_0" width="728" scrolling="no" height="90" frameborder="0" style="left:0;position:absolute;top:0;" name="aswift_0" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H,w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){w.location.replace(h)}}" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0">
<!DOCTYPE html>
<html>
<head>
<body>
<iframe id="zrt_ads_frame1" width="728" scrolling="no" height="90" frameborder="0" src="http://googleads.g.doubleclick.net/pagead/html/r20130912/r20130906/zrt_lookup.html#I-http%253A%252F%252Feley-mgn.ru%252F%2F2679066963%2F1" name="zrt_ads_frame1" style="display:none" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0">
<script>
<script src="http://pagead2.googlesyndication.com/pagead/js/r20130912/r20130906/show_ads_impl.js">
<script src="http://pagead2.googlesyndication.com/pagead/expansion_embed.js">
<script>
<iframe id="google_ads_frame1" width="728" scrolling="no" height="90" frameborder="0" vspace="0" style="left:0;position:absolute;top:0" src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5283403865795059&output=html&h=90&slotname=1681989401&adk=2679066963&w=728&lmt=1378649283&flash=11.8.800&url=http%3A%2F%2Feley-mgn.ru%2F&dt=1379684166678&bpp=5&bdt=235&shv=r20130912&cbv=r20130906&saldr=sa&correlator=1379684166731&frm=20&ga_vid=2026292454.1379684167&ga_sid=1379684167&ga_hid=179774649&ga_fc=0&u_tz=240&u_his=1&u_java=1&u_h=1024&u_w=1280&u_ah=994&u_aw=1280&u_cd=24&u_nplug=19&u_nmime=135&dff=arial&dfs=12&adx=466&ady=99&biw=1263&bih=927&oid=3&ref=http%3A%2F%2Fforum.searchengines.ru%2Fshowthread.php%3Fp%3D12160687&vis=1&fu=0&ifi=1&pfi=48&dtd=177&xpc=YBGOXILJ7V&p=http%3A//eley-mgn.ru" name="google_ads_frame1" marginwidth="0" marginheight="0" hspace="0" allowtransparency="true">
<!DOCTYPE html>
<html>
<head>
<body>
<style>
<div id="bgtf" class="bg" style="border-top-width:1px;left:19px;top:0px;width:690px"></div>
<div id="bgcf" class="bg" style="border-left-width:1px;border-right-width:1px;height:52px;left:0px;top:19px;width:726px"></div>
<div id="bgbf" class="bg" style="border-bottom-width:1px;left:19px;top:71px;width:690px"></div>
<div id="tlc" class="bg" style="background-color: transparent; border-width: 0px; left: 0px; top: 0px; position: absolute;">
<div id="trc" class="bg" style="background-color: transparent; border-width: 0px; left: 709px; top: 0px; position: absolute;">
<div id="blc" class="bg" style="background-color: transparent; border-width: 0px; left: 0px; top: 71px; position: absolute;">
<div id="brc" class="bg" style="background-color: transparent; border-width: 0px; left: 709px; top: 71px; position: absolute;">
<script>
<style>
<div id="ads">
<div id="abgb" style="height:18px;left:613px;position:absolute; top:71px;width:114px">
<script>
<script src="http://pagead2.googlesyndication.com/pagead/js/graphics.js">
<script>
<iframe frameborder="0" style="height: 0px; width: 0px; position: absolute;">
</body>
</html>
</iframe>
</body>
</html>
</iframe>
</ins>
</ins>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
<ins style="display:inline-table;border:none;height:undefinedpx;margin:0;padding:0;position:relative;visibility:visible;width:undefinedpx">
</td>
</tr>
</tbody>
</table>
</header>

Eley
На сайте с 04.01.2012
Offline
84
#7

Всем спасибо! Как обычно у русских бывает - всё само собой исправилось! ))))

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий