Here is the code for my googlesearch.php page template:
<?php
/*
Template Name: googlesearch
*/
?>
<?PHP include ("header.php"); ?>
<div id="contentwrapper">
<div id="content">
<div id="blogs">
<br/><br />
<!– Google Search Result Snippet Begins –>
<div id="googleSearchUnitIframe"></div>
<script type="text/javascript">
var googleSearchIframeName = 'googleSearchUnitIframe';
var googleSearchFrameWidth = 700;
var googleSearchFrameHeight = 1500;
var googleSearchFrameborder = 0 ;
var googleSearchDomain = 'www.google.com';
</script>
<script type="text/javascript"
src="http://www.google.com/afsonline/show_afs_search.js">
</script>
<!– Google Search Result Snippet Ends –>
<br /><br />
<!– SiteSearch Google –>
<form method="get" action="http://innerblogger.com/search" target="_top">
<table border="0″ bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32″>
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0″ alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="innerblogger.com"></input>
<input type="text" name="q" size="45″ maxlength="255″ value=""></input>
<input type="submit" name="sa" value="Search"></input>
</td></tr>
<tr>
<td> </td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1″ color="#000000″>Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="innerblogger.com"></input>
<font size="-1″ color="#000000″>innerblogger.com</font>
</td>
</tr>
</table>
<input type="hidden" name="client" value="pub-xxxxxxxxxxxxx"></input>
<input type="hidden" name="forid" value="1″></input>
<input type="hidden" name="channel" value="xxxxxxxxxxx"></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="xxxxxxx"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
<!– SiteSearch Google –>
</div> <!– end blogs –>
</div> <!– end content –>
</div> <!– end contentwrapper –>
<div id="footer">
<?PHP include ("footer.php"); ?>
</div>
</div> <!– end wrapper –>
</body>
</html>
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
Best Deal Ads :









[…] You have now finished your Wordpress Page Template for Google Adsense for Search Results. Check your final code against mine and make sure it is identical except of course for the blog address and adsense account identification parameters. You can find my working code here. […]