Jump to content

Ads From Like Button


HenryC

Recommended Posts

I added the facebook like button to my website, and now i have ads covering my pages and taking over my ebsite content, i removed the like button but the ads are still there

 

tubeviews.co.nr

 

is this something in the html that is causing this?

Link to comment
Share on other sites

yes the only way for things to show up is that they apear in your output.

 

have a look at the bottom of your script and lok for

 

<ins style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px"><ins style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px" id="aswift_0_anchor"><iframe width="728" scrolling="no" height="90" frameborder="0" style="left:0;position:absolute;top:0;" name="aswift_0" id="aswift_0" vspace="0" onload="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){i+='.call';setTimeout(h,0)}else if(h.match){i+='.nav';w.location.replace(h)}s.log&&s.log.push(i)}" marginheight="0" marginwidth="0" hspace="0" allowtransparency="true"></iframe></ins>
</ins>

 

if you remove that the it should be gone.

Link to comment
Share on other sites

well since i don't know your system i can't say precise, but the functions include() and require() are ways in php to include another file.

in html an <iframe> can load another page inside the existing markup as well.

Link to comment
Share on other sites

Yeah here is the code for index.php

 

<?php
session_start();
include("header.php");

// check if user logged in
if (isset($_SESSION['logged'])){
header("Location: home.php");
exit();
}

$filename = "pageviewsindex.txt";
$count= file($filename);
$count[0]++;
$file = fopen ($filename, "w");
fputs($file, "$count[0]");
fclose($file);

include("connect.php");

$sql = mysql_query("SELECT * FROM subscribers");
$count = mysql_num_rows($sql);



include 'counter/counter.php'; 
?>

<div class="content">
    		<!--start banner-->


            <div class="banner">
            <div class="join_free"></div>
            
            
            <div id="slider" class="nivoSlider">
                <img src="images/1.jpg" alt="" />
               <img src="images/2.jpg" alt="" />
                <img src="images/3.jpg" alt="" />
                <img src="images/4.jpg" alt=""  />
            </div>
    
    <script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
            
            </div><!--end banner-->
    		<!--start left side-->
        <div class="left_side">
        	<div class="gray_box">What is Tubeviews</div>
            <div class="blue_pic"></div>
            <div class="txt_what">
            Tubeviews is a website that helps you gain more publicity on Youtube. With our automated systems you can gain thousands of Subscribers and Views.. You earn credits by subscribing to other members and viewing other members videos, those credits will then convert to subscribers/views for you. Our services are 100% free, all you have to do is signup, link your account and begin earning credits.          
            </div><!--end txt what-->        
        </div><!--end left side-->
        <div class="line_pic"></div>
        <!--start right side-->
        <div class="right_side">
        	<div class="title_right">Tubeviews News</div>
            <div class="txt_says">
		<li>Brand New Look</li>
		<li>Sub4sub section bug fixed</li>
		<li>Add Friends System Added</li>
		<li>Channel Views System Added</li>
            </div>
            <div class="txt_says">
		We have had <u><?php echo $count; ?></u> subs to date
            </div>
		<br>
        </div><!--end right side-->
        <div class="note">Website Launched June 6, Please Be Patient While We Get More Members, We Have The Potential To Get You Thousands Of Subs, Views </div>
   </div><!--end content-->

<?php

include("footer.php");
?>

 

Header and footer are ok too.

 

It started when i added the facebook like button, but i dont know how its possible for something to modify my pages without editing my code.

Link to comment
Share on other sites

Well i can think over several ways of someone editing your output, but for now i would double check footer.php.

 

Anyway this is starting to become a php question. I recommend to look in your code/database for iframes

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.