<% '******************************************************************************* ' Get Ads HTML from Recipe2 database ' To get the ad you need to provide the Page name where the ad will be placed ' and also the ad location number. Now in this particular location you can ' have multiple banner ads. It will display one ad banner at a time. ' So first insert the banner ad information in the database, then place the HTML code ' in the proper place and specify the page name and location id (which you had entered ' in the database. '******************************************************************************* Function AdRotator(PageFileName, adLocation) Dim rs, sql, count, i, AdHTML, MyRandNo, cnnString cnnString = Application("Angithi_ConnectionString") sql = "SELECT * FROM Ad WHERE Status='ON'" & _ " AND PageFileName = '" & PageFileName & "'" & _ " AND adLocation = '" & adLocation & "'" set rs = server.CreateObject("ADODB.recordset") rs.Open sql, cnnString, 3 count = rs.Recordcount 'Response.write sql 'Response.write count 'response.end Randomize MyRandNo = Int((count * Rnd) + 1) 'Response.write MyRandNo i = 0 Do while i <> MyRandNo and not rs.eof AdHTML = rs("AdHTML") i = i + 1 rs.movenext Loop rs.close Set rs = Nothing AdRotator = AdHTML End Function %>
<%=AdRotator("banner.htm", "TOP")%>
Recipes Reference Guide and Help Section My Angithi Section Angithi Classified Section

Search
 

Angithi Monthly Newsletter

 

View Current Issue

Past Issues:  May 2003 | Apr 2003 | Mar 2003 | Jan 2003 | Dec 2002 | Sep 2002 | Aug 2002 | Jul 2002 | Jun 2002 | May 2002 | Apr 2002
Angithi Newsletter is sent out monthly to all the subscribers who have agreed to receive it when they had registered. You can always switch it on or off by going here and then checking or un-checking the 'Monthly Newsletter' Check box.

What does it have? Check out a past issue, and you will see all kind of information about cooking, tips, recipes and more. Also some times we send promotion coupons, which can save you some money. We are sure you like the content and would also share with your friends or relatives.

If you are currently subscribed, but not receiving the newsletter in your inbox, then make sure to check the Bulk Mail Folder (In case of Yahoo Mail), Junk Mail (in case of Hotmail), or any other spam filter set up by your email service provider. To make sure that you always receive the newsletter, set up a rule on you email client to allow all email from angithi.com to reach you inbox. This will ensure that you always receive the newsletter, or you can always visit our website to check out the latest newsletter.

Enjoy!!

<%=AdRotator("footer.htm", "BOTTOMCENTER")%> <%=AdRotator("footer.htm", "BOTTOMRIGHT")%>

Home | Recipe | Cook Tips | My Angithi | Angithi? | Feedback | Advertise

Send Feedback to webmaster@angithi.com. Site Last Updated : 03/22/04 : Site designed by Shantanu Nag @ DeepInto.com

: Copyright © Angithi.com, 2002. All rights reserved. See Policy, Disclaimer, New features