PDA

View Full Version : Google Adsese Serc & Miva Express Banner+search


Zia
06-18-2006, 08:43 AM
Hello...
we are well concern abut google add-sense

can any one made a mod..
for handling both banner for Adsense & Miva express (http://arx.us.miva.com/)? (for publisher)

Like : adsense & Miva express after last post.[clean]
Adsense & miva last thread on seacr result.

Search : google & miva search in drop down forum search. and like the image
http://img141.imageshack.us/img141/7465/search2ji.jpg

Oh..
code needed for mivaexpress..its the basic code generating from the publishers account

<style>
.searchBox {
border : 1px solid #000000;
background-color : #FFFFFF;
color : #000000;
font-size : 13px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}

.searchButton {
border : 1px solid #000000;
font-size : 13px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}

</style>

<!-- SEARCH BOX BEGIN -->
<form action='SearchResults.html' style='margin 0px 0px 0px 0px'>
<table border=0 cellpadding=0 cellspacing=0 rules="none">
<tr>
<td><input type='text' name='keyword' size='25' class='searchBox'></td>

<td>+</td>
<td><input type='Submit' name='Search' value='Search' class='searchButton'></td>

</tr>
</table>
</form>
<!-- SEARCH BOX END -->




Basic code for "Dynamic Content"
<TABLE BGCOLOR=#888888 WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1><TR VALIGN=TOP><TD><TABLE BGCOLOR=white BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR VALIGN=TOP><TD BGCOLOR=#888888><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%><TR><TD WIDTH=2>+</TD><TD ALIGN=LEFT WIDTH=100%><FONT FACE=Helvetica SIZE=-1 COLOR=white><B><font color='white'>MivaExpress</font></B></FONT></TD></TR></TABLE></TD></TR><TR VALIGN=TOP><TD>
<script>
listings = new Array ();
</script>
<script src="http://arx.us.miva.com/rd/feed/JavaScriptFeed.jsp?cat=Bangladesh%2Cbangaly%2Chumo r%2Cgossip%2Cgaming%2Cmusic&trackID=U5310110603&pID=204657&nl=5&excID="></script>
<script>
if (listings != null && listings.length > 0) {
document.write("<table border=0 cellpadding=0 cellspacing=0 width=100%>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("<tr>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=4></td>");

document.write("<td width='100%'>");
for (i = 0; i < listings.length; i++) {
var title = listings[i].title;
if (listings[i].title.length > 150)
title = listings[i].title.substring(0, 150) + "...";

document.write("<a href='" + listings[i].uri +"'><font face='verdana,sans-serif' size='1'><b>" + title + "</b></font></a><br>");


var desc = listings[i].description;
if (listings[i].description.length > 550)
desc = listings[i].description.substring(0, 550) + "...";
document.write("<font face='verdana,sans-serif' size='1'>+" + desc + "</font><br>");




if (i < listings.length-1)
document.write("<br>");
}
document.write("</td>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=1 height=1></td>");
document.write("</tr>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("</table>");
}
</script>
</TD></TR></TABLE></TD></TR></TABLE>


--------------
Hope some one will help us out

MadKad
06-26-2006, 09:01 AM
I take it that this code


<TABLE BGCOLOR=#888888 WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1><TR VALIGN=TOP><TD><TABLE BGCOLOR=white BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR VALIGN=TOP><TD BGCOLOR=#888888><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 width=100%><TR><TD WIDTH=2>+</TD><TD ALIGN=LEFT WIDTH=100%><FONT FACE=Helvetica SIZE=-1 COLOR=white><B><font color='white'>MivaExpress</font></B></FONT></TD></TR></TABLE></TD></TR><TR VALIGN=TOP><TD>
<script>
listings = new Array ();
</script>
<script src="http://arx.us.miva.com/rd/feed/JavaScriptFeed.jsp?cat=Bangladesh%2Cbangaly%2Chumo r%2Cgossip%2Cgaming%2Cmusic&trackID=U5310110603&pID=204657&nl=5&excID="></script>
<script>
if (listings != null && listings.length > 0) {
document.write("<table border=0 cellpadding=0 cellspacing=0 width=100%>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("<tr>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=4></td>");

document.write("<td width='100%'>");
for (i = 0; i < listings.length; i++) {
var title = listings[i].title;
if (listings[i].title.length > 150)
title = listings[i].title.substring(0, 150) + "...";

document.write("<a href='" + listings[i].uri +"'><font face='verdana,sans-serif' size='1'><b>" + title + "</b></font></a><br>");


var desc = listings[i].description;
if (listings[i].description.length > 550)
desc = listings[i].description.substring(0, 550) + "...";
document.write("<font face='verdana,sans-serif' size='1'>+" + desc + "</font><br>");




if (i < listings.length-1)
document.write("<br>");
}
document.write("</td>");
document.write("<td><img src='http://arx.us.miva.com/Images/pixel.gif' width=1 height=1></td>");
document.write("</tr>");
document.write("<tr><td colspan=3><img src='http://arx.us.miva.com/Images/pixel.gif' height=4></td></tr>");
document.write("</table>");
}
</script>
</TD></TR></TABLE></TD></TR></TABLE>


Goes in the page that the search takes you to? also if this is the case I take it that this page has to have the link name of SearchResults.html or what ever name you add to the action='SearchResults.html' ?

Zia
06-26-2006, 09:25 AM
:) Thnx man...
umm do u have idea..to place 2 bannher(adrevenue block) side by side

_____________ _____________
| Banner 1 | | Banner 2 |
|_____________| |_____________|

gez i can explain via the aschi art :P above, it could be the short one for bellow the last thread

thnx

MadKad
06-26-2006, 09:51 AM
Well yer I will try but you need to answer that question :D

Zia
06-26-2006, 10:16 AM
got it..1 moments...
answering u

umm just checked the previews & search result..
it brings htmlsearch.jsp

O_O

MadKad
06-26-2006, 11:49 AM
yer thats ok it answers my question, one more thing isnt it against googles TOS to do something like this as you are adding something that compeats with them, you will need to find out for me brofre I do this