Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [deadroot] AdSense for search - GLink3

Quote Reply
Re: [deadroot] AdSense for search - GLink3 In reply to
Hi,

In that case, I don't think so.

You would need to just put something in search.html, like:

Code:
<%if error%>

show the adsense stuff here

<%endif%>

..ie for our site, would be something like this:

Code:
<%if error%>
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/custom" target="_top">
<table border="0" bgcolor="#000000">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25blk.gif" border="0" alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="www.ultranerds.com"></input>
<label for="sbi" style="display: none">Enter your search terms</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Submit search form</label>
<input type="submit" name="sa" value="Search" id="sbb"></input>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="Search the Web"><font size="-1" color="white">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="www.ultranerds.com" id="ss1"></input>
<label for="ss1" title="Search www.ultranerds.com"><font size="-1" color="white">www.ultranerds.com</font></label></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-3171934375285541"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
<!-- SiteSearch Google -->
<%endif%>

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread AdSense for search - GLink3 DeadMan 3908 Jan 5, 2008, 3:13 PM
Thread Re: [deadroot] AdSense for search - GLink3
Andy 3757 Jan 5, 2008, 3:36 PM
Thread Re: [Andy] AdSense for search - GLink3
DeadMan 3716 Jan 7, 2008, 5:52 AM
Thread Re: [deadroot] AdSense for search - GLink3
Andy 3777 Jan 7, 2008, 6:12 AM
Thread Re: [Andy] AdSense for search - GLink3
DeadMan 3733 Jan 7, 2008, 11:54 AM
Post Re: [deadroot] AdSense for search - GLink3
Andy 3747 Jan 8, 2008, 1:29 AM