Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [lostdog] how to place google ads between links

Quote Reply
Re: [lostdog] how to place google ads between links In reply to
Here is link.html code. Is this correct? I dont see any ads and when I check page source I dont sdee the ad code.

<div id=
"l<%ID%>" class="linklisting">
<h4 class=
"linktitle">
<%if row_num == 1%>
<script type="text/javascript"><!--
google_ad_client
= "pub-2922332367725423";
/* 468x15, created 10/29/09 */
google_ad_slot
= "9534542786";
google_ad_width
= 468;
google_ad_height
= 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
<%else%>
<%if detailed_url and isValidated eq 'Yes'%>
<a href="<%detailed_url%>"><%elsif URL ne 'http://' and isValidated eq 'Yes'%><a href="<%URL%>"><%endif%><%if highlight%><%Links::Tools::highlight($Title, $query)%><%else%><%Title%><%endif%><%if isValidated eq 'Yes'%><%if detailed_url or URL ne 'http://'%></a><%endif%><%endif%>
<%if isNew%><%Plugins::ULTRAGlobals::New_Image($Add_Date,$isNew)%><%endif%>
<%if isChanged%><span class=
"updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class=
"popular-item"><span>popular</span></span><%endif%>
<%~if paymentsEnabled%>
<%if isUnpaid%><span class=
"unpaid-item"><span>unpaid</span></span><%endif%>
<%if isExpired%><span class=
"expired-item"><span>expired</span></span><%endif%>
<%if isFree%><span class=
"free-item"><span>free</span></span><%endif%>
<%~endif%>
<%endif%>
</h4>
<%if URL ne 'http://'%><p class=
"linkurl"><%if isValidated eq 'Yes'%><a href="<%URL%>"><%endif%><%if highlight%><%set equery = escape_html $query%><%set eURL = escape_html $URL%><%Links::Tools::highlight($eURL, $equery)%><%else%><%escape_html URL%><%endif%><%if isValidated eq 'Yes'%></a><%endif%></p><%endif%>

<p class=
"linkrating">
<%~if Votes%>
<%~set intRating = $Rating i/ 1%>
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>" alt="<%intRating%> out of 10 stars" title="<%intRating%> out of 10 stars" /> (<%Votes%> vote<%if Votes != 1%>s<%endif%>)
<%~endif%>
<%~if paymentsEnabled and ExpiryDateFormatted and wasPaid%>
<%if isNotify or isExpired%><span class=
"linkexpired"><%endif%><%if isExpired%>Expired on:<%else%>Expiry date:<%endif%> <%ExpiryDateFormatted%><%if isNotify or isExpired%></span><%endif%>
<%~endif%>
</p>

<%if Description%><div class=
"linkdescription"><%if highlight%><%Links::Tools::highlight($Description, $query)%><%else%><%Description%><%endif%></div><%endif%>

<p class=
"linkactions">
<%~if isValidated eq Yes%>
<%if Review_Count%>
<a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>">Read <%Review_Count%> Review<%if Review_Count != 1%>s<%endif%></a><%endif%>
<a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Review It</a>
<a href="<%config.db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<%if config.bookmark_enabled%>
<a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
<%if not isExpired and not isUnpaid%>
<%if isLinkOwner or not config.user_required%>
<a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
<%endif%>
<%~endif%>
<%if paymentsEnabled%>
<a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if not wasPaid%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</p>
</div>

Home Inspections
Best Real Estate Directory
Home Inspectors
Subject Author Views Date
Thread how to place google ads between links lostdog 21015 Oct 27, 2009, 1:26 PM
Thread Re: [lostdog] how to place google ads between links
VishalT 20675 Oct 27, 2009, 6:22 PM
Thread Re: [SWDevil.Com] how to place google ads between links
lostdog 20679 Oct 27, 2009, 7:33 PM
Thread Re: [lostdog] how to place google ads between links
Andy 20658 Oct 28, 2009, 12:05 AM
Thread Re: [Andy] how to place google ads between links
lostdog 20639 Oct 29, 2009, 10:25 AM
Thread Re: [lostdog] how to place google ads between links
VishalT 20649 Oct 29, 2009, 11:39 AM
Thread Re: [SWDevil.Com] how to place google ads between links
lostdog 20633 Oct 29, 2009, 3:03 PM
Thread Re: [lostdog] how to place google ads between links
Andy 20585 Oct 30, 2009, 1:03 AM
Thread Re: [Andy] how to place google ads between links
lostdog 20622 Oct 30, 2009, 4:07 PM
Thread Re: [lostdog] how to place google ads between links
VishalT 20574 Oct 30, 2009, 7:23 PM
Thread Re: [SWDevil.Com] how to place google ads between links
lostdog 20566 Oct 30, 2009, 8:31 PM
Thread Re: [lostdog] how to place google ads between links
lostdog 20525 Oct 31, 2009, 7:19 AM
Thread Re: [lostdog] how to place google ads between links
VishalT 20516 Oct 31, 2009, 7:54 AM
Thread Re: [SWDevil.Com] how to place google ads between links
lostdog 20510 Oct 31, 2009, 8:26 AM
Thread Re: [lostdog] how to place google ads between links
VishalT 20493 Oct 31, 2009, 11:08 AM
Post Re: [SWDevil.Com] how to place google ads between links
lostdog 20427 Nov 1, 2009, 11:54 AM
Thread Re: [lostdog] how to place google ads between links
brewt 20422 Nov 1, 2009, 2:53 PM
Thread Re: [brewt] how to place google ads between links
lostdog 20235 Nov 6, 2009, 2:28 PM
Post Re: [lostdog] how to place google ads between links
brewt 20252 Nov 6, 2009, 3:16 PM
Thread Re: [lostdog] how to place google ads between links
Andy 20215 Nov 7, 2009, 1:21 AM
Thread Re: [Andy] how to place google ads between links
lostdog 20233 Nov 7, 2009, 5:05 AM
Post Re: [lostdog] how to place google ads between links
VishalT 20177 Nov 7, 2009, 6:09 AM
Post Re: [lostdog] how to place google ads between links
Andy 20188 Nov 7, 2009, 6:40 AM