Placement Help

Discussion in 'PHP' started by rajivv, Oct 6, 2010.

  1. #1
    rajivv, Oct 6, 2010 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    hey,

    replace following part in your page with google adsense code.

    
    <!-- Added by debashis to show Crowda ads STARTS left_navi --> 
     
     <script type='text/javascript'>/*<!--//<![CDATA[
       var m3_u = (location.protocol=='https:'?'https://ads.crowda.com/delivery/ajs.php':'http://ads.crowda.com/delivery/ajs.php');
       var m3_r = Math.floor(Math.random()*99999999999);
       if (!document.MAX_used) document.MAX_used = ',';
       document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
       document.write ("?zoneid=39");
       document.write ('&amp;cb=' + m3_r);
       if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
       document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
       document.write ("&amp;loc=" + escape(window.location));
       if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
       if (document.context) document.write ("&context=" + escape(document.context));
       if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
       if (typeof(contributors) != "undefined" && contributors != null) {
    		var contributor, i=0;
    		for (contributor in contributors) {
    			var c = contributors[contributor];
    			if (typeof(c[2]) != "undefined") {
    				if (typeof(c[0]) != "undefined" && typeof(c[1]) != "undefined")
    					document.write ("&amp;c" + i + "=" + encodeURIComponent(c[0]) + "&amp;c" + i + "_ct=" + encodeURIComponent(c[1]) + "&amp;c" + i++ + "_lu=" + encodeURIComponent(c[2]));
    			} else if (typeof(c[0]) != "undefined" && typeof(c[1]) != "undefined")
    				document.write ("&amp;c" + i + "_ct=" + encodeURIComponent(c[0]) + "&amp;c" + i++ + "_lu=" + encodeURIComponent(c[1]));
    		}
    }
       document.write ("'><\/scr"+"ipt>");
    //]]>-->*/</script> 
    <script type="text/javascript"> 
    zone_id=39;
    width=250;
    height=250;
    </script> 
    <script type="text/javascript" src="http://adserver.crowda.com/show_ad.js"></script> 
    <!-- Added by debashis to show Crowda ads ENDS --> 
    
    Code (markup):
     
    mastermunj, Oct 7, 2010 IP
  3. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I did that but its not going the google code if you notice is below that.
     
    rajivv, Oct 7, 2010 IP
  4. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #4
    You have placed google code at different location that is why it is displayed below.

    Place it at the same location where crowda code is.
     
    mastermunj, Oct 7, 2010 IP
  5. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what i did was deleted the crowda code and replaced with google ???
    let me retry
     
    rajivv, Oct 7, 2010 IP
  6. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i downloaded php file replaced code still its not going ??? once online
     
    rajivv, Oct 7, 2010 IP
  7. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    got it i think
     
    rajivv, Oct 7, 2010 IP
  8. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    not helping removed from actual file but still shwoing whe doing view source ...
     
    rajivv, Oct 7, 2010 IP