Jul 6, 2008

google adsense

Free Web Hosting, No Ads > Have your say > General Talk

free web hosting

google adsense

l33tg33k
hi all admins and mods i also hace a phpnuke site but when i try to add a google adsense to my block i get a error like code not accepted ....

Reply

Niosis
This problem was also on another site.... I don't knwow hat they did to fix it.

Reply

Raven
CODE


/************************************************************/

/* Function themeheader()                                   */

/************************************************************/

   function themeheader() {

   global $banners, $user, $cookie, $prefix, $user_prefix, $db, $dbi, $sitekey, $sitename, $slogan, $username;  

   cookiedecode($user);

   mt_srand ((double)microtime()*1000000);

   $maxran = 1000000;

   $random_num = mt_rand(0, $maxran);

   $datekey = date("F j");

   $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));

   $code = substr($rcode, 2, 6);

   $username = $cookie[1];

   if ($username == "") {

       $username = "Anonymous";

   }

   

   $public_msg = public_message();

   echo "$public_msg";

   $uresult = $db->sql_query("select user_id from ".$user_prefix."_users where username='$username'");

   list($uid) = $db->sql_fetchrow($uresult);

   $presult = $db->sql_query("select * from ".$prefix."_bbprivmsgs where privmsgs_to_userid='$uid' AND (privmsgs_type='0' OR privmsgs_type='1' OR privmsgs_type='3' OR privmsgs_type='5')");

   $pnumrow = $db->sql_numrows($presult);

   /*if ($username == "<font class="content">Anonymous</font>n") {

       $priv_msgs = "<font class="content">|&nbsp;<a href="modules.php?name=Your_Account&op=new_user"><font class="content">Register</font></a></font>n";

   } else {



       $priv_msgs = "<a href="modules.php?name=Private_Messages"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnumrow</b></a>n";

   }*/

$priv_msgs = "<img src="themes/DRZone/images/have.gif" border=0><a href="modules.php?name=Private_Messages"><b>&nbsp;&nbsp;$pnumrow</b></a> <img src="themes/DRZone/images/msg.gif" border=0>";

if ($username == "Anonymous") {

       $theuser = "<form action="modules.php?name=Your_Account" method="post">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="username" value="username" onFocus="if(this.value=='username')this.value='';" value style="width:80;height:16;FONT-SIZE: 10px;">&nbsp;&nbsp;&nbsp;<input type="password" name="user_password" value="password" onFocus="if(this.value=='password')this.value='';" value style="width:80;height:16;FONT-SIZE: 10px;"><input type="hidden" name="random_num" value="$random_num"><input type="hidden" name="gfx_check" value="$code"><input type="hidden" name="op" value="login">&nbsp;<input type="image" class="liteoption1" value="login" src="themes/DRZone/images/login.gif"></TD></form>n";

   

   } else {

       $theuser = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class=content><img src="themes/DRZone/images/welcome.gif" border=0><b>&nbsp;&nbsp;$username</b> $priv_msgs</font></TD>n";

   }

$searchbox1 = "   <div align="right"><form action="modules.php?op=modload&name=Search&file=index" method="post">"



 . "<input name="search" type="image" id="search" value="search" src="themes/DRZone/images/search1.gif" alt="Submit Search">"



 . "          <input name="query" type="text" id="query" value="type search here" onFocus="if(this.value=='type search here')this.value='';">"

 . "    </form></div>";

   echo "<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">n";

   include("themes/DRZone/header.php");

echo"<table width="100%"  border="0" cellspacing="0" cellpadding="0">"

 . "  <tr>"

 . "    <td width="39" valign="top" background="themes/DRZone/images/leftside.gif"><img src="themes/DRZone/images/leftside.gif" width="39" height="1"></td>"

 . "    <td width="167" valign="top">"

."";



global $swapleftright;

 $swapleftright = "1";

if (($name=='Forums') OR ($name=='Private_Messages') OR ($name=='Members_List')) {

} else {

blocks(left);

};

 $swapleftright = "1";



echo"</td>"

 . "    <td width="100%" valign="top">"

."";



}

?>

<div align="center">

<script type="text/javascript"><!--

google_ad_client = "pub-8111357276986614";

google_ad_width = 728;

google_ad_height = 90;

google_ad_format = "728x90_as";

google_ad_channel ="";

google_color_border = "6699CC";

google_color_bg = "003366";

google_color_link = "FFFFFF";

google_color_url = "AECCEB";

google_color_text = "AECCEB";

//--></script>

<script type="text/javascript"

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

</script>

</div>

<?php

....

?>



NOTE::
this is not the standard theme, you must adapt your own, so do please not copy this code biggrin.gif

 

 

 


Reply

l33tg33k
ok...will try

Reply

l33tg33k
it works thx

Reply

Gohst
I thought google ads were not allowed.

Banners are not allowed are they? hmm... weird... I dont know.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : google, adsense

  1. I Wanna Make Money From Adsense
    gg (1)
  2. Google For Non-profits
    (3)
    Google has launched an official portal for non-profit organizations. Various services offered 1.
    Gmail 2. Checkout 3. Docs 4. Calendar 5. Analytics 6. Google Grants 7. YouTube 8. Blogger 9. Maps
    and Earth 10. Gadgets and Groups Checkout -
    http://digestnet.wordpress.com/2008/03/19/...or-non-profits/ ....
  3. Weird Google Map Result
    swim across atlantic ocean (14)
    http://maps.google.com/maps?f=q&hl=en&...265625&om=1 Check out step 24... HA!....
  4. Google Hates Who?!
    (17)
    Go to google.com. Search for Failure and Hit I'm Feeling Lucky. You'll have a weird result.
    Do it now before the fix it!....
  5. Google Idol!
    (2)
    It's a new service from google! You can post your Videos and let's wait for the people
    to see it and to rrate it!! if you have one of the ratest videos you'll get the
    FINALS! INCREDIBLE /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0"
    alt="ohmy.gif" />....
  6. Oh,google Deleted My Site.
    on the keywords search result (6)
    and bad luck. it's have been 2 days. when i entered my site title,i just can not found my site
    on the search results. who would help me with that.my site is a forum but not cheating or spam to
    the google. i need your help. i just had email to the google support#google.com,i would like them
    will solve it for me,because i'd got the search enginne for the bandwidth. guangdian.....
  7. Google Bomb
    Google Bomb! The largest one! (9)
    QUOTE Yooter InterActive Marketing Discovers the Largest Google Bomb Ever   Yooter InterActive
    Discovers the largest Google Bomb ever. With 130 Million results in Google, Bloggers manage to rank
    George Bush #1 for the keyword 'failure' (PRWEB) June 5, 2005 -- Yooter InterActive has
    discovered the largest Google Bomb ever. With 130 Million results in Google, Bloggers manage to rank
    George Bush #1 for the keyword 'failure'. Google has decided to rank George Bush as a plain
    failure, not just a miserable failure... but just a plain old 'failure....
  8. remove spam corner forums google rules
    (1)
    Hello please remove the spam corner forums google will shut the down the ads because of the spam
    corner.....
  9. Google ads
    (11)
    Are google ads allowed on free hosting accounts such as those hosted on vaio-hosting?....
  10. Adding Google Ads in PhpNuke Platinum
    (0)
    Adding Google Ads in PhpNuke Platinum - what file do I edit to add them, and where in the file?
    :oops:....
  11. Google Adsense Fraud
    (12)
    djbungle, It has been reported to me, that previously members were being requested to click
    adverts purely for the sake of aiding . Google has informed us that this in fact does not aid us
    in any way and is actually considered to be fraud. Please ignore any previous requests to ads as a
    matter of donation. Holy cow, This is the best news ive had in a while.. Comments please!}....
  12. google spiders
    (2)
    hey - i just made myself a stats logger, but googlebot has visited pages on my site about 250 times
    in the last 2 days - even though there are only about 25 pages or so... What could i have done
    wrong in my code to make that happen? or is it supposed to happen? I havnt got a robots.txt file
    - so im dont think im telling it to come back every day? and hardly any sites are listing to me
    cos its such a new site..so i dont know why it keeps coming back. And i am listed sooo far down
    on google for a phrase that i am listed on the first page for msn.com - why might....
  13. free invitation to google mail
    (2)
    hi guys, i've got some free token to invite people to gmail, so if anyone interested... sorry
    but only 3 free, so be quick.......
  14. About Google (You may want to sticky this.)
    (15)
    Okay, I would like to inform every member thinking of getting their sites linked. Google. This is
    a very important little tool for all webmasters. As we all know, hopefully, google judges site by
    many pieces of criteria, one very important one being link popularity. There is a thing
    called a link farm, basically you go to a link farm, type your url and it adds it to their database.
    GOOGLE HATES LINK FARMS!!!!!!!!! Google hates them so much that they ban sites from their
    database for being on them. Unfortunately google doesn't ban by url, it uses I.....
  15. google adsense
    (17)
    hi...i have a site at http://exge.freefronthost.com and i added the google adsense code in blocks
    but i get blank... see the middle.......
  16. how can i add google adsense to Phpbb
    (1)
    hi guys i have a phpbb forum and i want to put a google adsense banner how can i do it?
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
  17. Google adsense
    (21)
    I put the google ads on my website two days ago and I already love it! I got paid a lot for one
    click, but I have been advised not to tell how much, because google doesn't accept that. :?
    (edited) Do you have some experience with google ads? And what's your opinion about it?....
  18. Google
    (24)
    Okay, everybody knows what Google is. A search engine.... But, did you know what other cool stuff
    it offers? Check these links out /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> I was amazed... :shock: http://www.google.com/options/index.html
    http://labs.google.com That lab's google thing is projects they're still making.....
  19. Google Ads on PHP Nuke
    (3)
    Tell me what i need! :wink:....
  20. Google ads on Invision board
    (12)
    first post here /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> I
    want to add google ads to my invision forum (1.3). Does anyone know how to do that?....
  21. Ads by Google
    (8)
    I am very curious how the adds by google works. Where do you go to sign up to post adds on a
    web-site and how does the commission work. How / How much do you make on ads from google.....
  22. GmailDeskbar! A Google Deskbar Plugin!
    (4)
    Now you can search gmail with google deskbar!!!! It needs the latest version of google deskbar
    (It's not beta anymore... http://toolbar.google.com/deskbar/ ) and the .net framework 1.1
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> . It's installer only
    works if you used the default directory for installing google deskbar. Enjoy!!!
    http://www.netdroid9.freenukehosting.com/d...ilDeskbar01.exe EDIT: Go here to report bugs:
    http://www.netdroid9.freenukehosting.com/f...ewtopic.php?p=2 EDIT2:
    http://netdroid9.freenukehostin....
  23. Google ads
    (17)
    I noticed you have some google ads on this website. Can't we just place them on our websites too,
    and receive some percentage of the money you earn with clicks on them? (I suppose you can see the
    stats of it.) This means more money for you and for us. /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> I think that should be possible on a
    subdomain. Because most of the websites here are not big enough to have some advertisements on their
    own. What do you think of it? Or doesn't google allow this?....
  24. Google Sez I M Infected
    Spyware / virus infects Google. (5)
    QUOTE Google Error      We're sorry...     ... but we can't process your request
    right now. A computer virus or spyware application is sending us automated requests, and it appears
    that your computer or network has been infected.     We'll restore your access as quickly as
    possible, so try again soon. In the meantime, you might want to run a virus checker or spyware
    remover to make sure that your computer is free of viruses and other spurious software.     We
    apologize for the inconvenience, and hope we'll see you again on Google. This is wh....
  25. Check Out Google!
    (20)
    WOW! Google just got a new feature! A suggest feature! When you search, it will
    automatically fill in the rest of your search inquiry just like autocomplete in URLS of
    browsers! Just go to: http://www.google.com/webhp?hl=en&tab=iw&complete=1&q= It's really
    cool! Say if you wanted to search for FREE HOSTING Just type the words FREE and there will be a
    lot of words to choose from (for example: Free games, Free ringtones, ) just keep on looking and
    you'll find FREE HOSTING! And don't worry, it's all appropriate stuff that they lis....
  26. Do You Want Gmail?
    The google email host, every1 talks abot (-1)
  27. Public Opinion On The Best Isp
    ...according to google, sortof (4)
    Ok, there have been a few heated discussions about Internet Service providers on trap17 lately,
    about which ones are bad/good etc, so I thought I'd put it to the 3 billion or whatever pages
    indexed on google, to see what they thought. Now, I'm totally impartial to all of this, so I
    thought the fairest way possible was to type "*internet servicer provider* is crap" into google, and
    see what happened. heres what I found. Note that these results are what happened when i typed
    "(service provider listed on left) is crap", with speech marks. There are the most popul....

    1. Looking for google, adsense

Searching Video's for google, adsense
advertisement



google adsense



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE