Here is an example of my quick_search.html
this is an exact copy of my quick_search.html replace the google ad with your own
- Code: Select all
<table border="0" cellpadding="2" cellspacing="0" width="230" align="center">
<form action="index.php?page=search&search_type=quick_search&action=process_search" method=post>
<tr>
<td colspan="2" style="padding-top:10px;"><div class="headline_w">Quick Search</div></td>
</tr>
<tr>
<td width="100" class="w">I am a</td>
<td width="130">{QUICK_SEARCH_GENDER}</td>
</tr>
<tr>
<td class="w">seeking a</td>
<td>{QUICK_SEARCH_LOOKING_FOR}</td>
</tr>
<tr>
<td class="w">between ages</td>
<td>{QUICK_SEARCH_AGE_FROM}</td>
</tr>
<tr>
<td class="w">and</td>
<td>{QUICK_SEARCH_AGE_TO}</td>
</tr>
<tr>
<td class="w">Located within</td>
<td>
<select name="search_radius">
<option value="5">5 miles of</option>
<option value="10">10 miles of</option>
<option value="25">25 miles of</option>
<option value="50">50 miles of</option>
<option value="100">100 miles of</option>
<option value="250">250 miles of</option>
<option value="500">500 miles of</option>
<option value="50000" selected>500+ miles of</option>
</select>
</td>
</tr>
<tr>
<td class="w">Zip/Postal Code</td>
<td>
<input type="Text" name="search_zipcode" size="15">
</td>
</tr>
<tr>
<td class="w">Photos only</td>
<td><input type="Checkbox" name="search_piconly"></td>
</tr>
<tr>
<td> </td>
<td><input name="imageField" type="image" src="images/en/button_search.gif" width="55" height="20" alt="Search" border="0"></td>
</tr>
</form>
</table>
<table border="0" cellpadding="2" cellspacing="0" width="230" align="center">
<tr>
<td colspan="2" style="padding-top:10px;"><div class="headline_w">Quick Links</div></td>
</tr>
<tr>
<td width="15"><img src="images/bullet.gif" width="13" height="13" border="0"></td>
<td width="215"><a href="index.php?page=search" class="w">Advanced Search</a></td>
</tr>
<tr>
<td><img src="images/bullet.gif" width="13" height="13" border="0"></td>
<td><a href="index.php?page=new_profiles" class="w">New Profiles</a></td>
</tr>
<tr>
<td><img src="images/bullet.gif" width="13" height="13" border="0"></td>
<td><a href="index.php?page=whos_online" class="w">Who's Online</a></td>
</tr>
<tr>
<td><img src="images/bullet.gif" width="13" height="13" border="0"></td>
<td><a href="phpBB3" class="w">Members Forum</a></td>
</tr>
</table>
<br />
<br /><br /> <div style="text-align: center;">
<script type="text/javascript"><!--
google_ad_client = "";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
//2006-09-26: quicksearchupper
google_ad_channel ="3070777710";
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
Be sure and choose a google ad that is 250 by 250
you can put 2 in back to back if you want more in the quicksearch box....
you can also add one to your main.html
your main page will not be exactly like mine so you will have to find the area that this google ad is in between.
- Code: Select all
<html>
<head>
<title>{curtitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="{curcontent}">
<meta name="keywords" content="{curkeywords}">
<meta name="Classification" content="free online dating site,dating,personals,match,free dating,meet,love,chemistry,find,local">
<meta name="revisit-after" content="1 day">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="icon" href="images/en/favicon.ico" type="image/x-icon" />
</head>
<body>
<iframe id="RSIFrame"
name="RSIFrame"
style="width:0px; height:0px; border: 0px"
src="im.php?action=js_check"></iframe>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <!--770-->
<tr>
<td><div style="text-align: center;"><a href="index.php?page=index"><img src="images/en/logo.gif" border="0" hspace="15"></a></td>
<td><table cellspacing="2" cellpadding="2"><tr><td>{LANG_BAR}</td></tr></table></div>
</td>
</tr>
<tr>
<td colspan="3"><div style="text-align: center;">
<script type="text/javascript">
google_ad_client = "";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
// 2006-09-29: underlogophpindex
google_ad_channel ="8241076182";
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </div>
<br>
<div style="text-align: center;"> <a href="index.php?page=index"><img src="images/en/menu_home.gif" width="96" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=register"><img src="images/en/menu_register.gif" width="123" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=sign_in"><img src="images/en/menu_login.gif" width="128" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=search"><img src="images/en/menu_search.gif" width="120" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=browse"><img src="images/en/menu_browse.gif" width="101" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=faq"><img src="images/en/menu_faq.gif" width="71" height="25" border="0"></a><img src="images/menu_line.jpg" width="1" height="25" border="0"><a href="index.php?page=contact_admin"><img src="images/en/menu_contact.gif" width="125" height="25" border="0"></a></div></td>
</tr>
</table>
{INDEX_TOP}
Hope this will help some of you with the google ad placement... This ad should be a 728 by 90
Paul