related sites: <FREE Help> <ASP> <Asp.net> <worldwide> feedback: <lovethat> <hatethat> <thanks> <credits> <contact us>
Promos Ads <Next>
Showing Our Icon Ads
Our advertising scheme is not CPM based. It is not database driven. We merely divide our ads show by every advertiser (we call an advertiser a slot). If we had 62 slots, for instance, displaying an ad involves just generating a random mumber between 1 and 62 and then choosing an ad slot to display.
Displaying an ad on a page is as easy as including one file, i.e.
<!--#include virtual="/ads/adshowlearnaspicon.asp"-->
<Test Script Below> <% maxads=7 randomize saicon=2 If instr(sn,"/sa")>0 then randnum=saicon specificad=true end if IF specificad=false THEN randnum=int(rnd*maxads)+1 END IF SELECT CASE randnum CASE 1%> <!--#include virtual="/ads/innerhost/100x30.asp"--> <%CASE 2,3,4%> <!--#include virtual="/ads/sa/100x30.asp"--> <%CASE 5%> <!--#include virtual="/ads/iiscart/100x30.asp"--> <%CASE 6,7%> <!--#include virtual="/ads/orcsweb/100x30.asp"--> <%END SELECT%>
<% maxads=7 randomize saicon=2 If instr(sn,"/sa")>0 then randnum=saicon specificad=true end if IF specificad=false THEN randnum=int(rnd*maxads)+1 END IF SELECT CASE randnum CASE 1%> <!--#include virtual="/ads/innerhost/100x30.asp"--> <%CASE 2,3,4%> <!--#include virtual="/ads/sa/100x30.asp"--> <%CASE 5%> <!--#include virtual="/ads/iiscart/100x30.asp"--> <%CASE 6,7%> <!--#include virtual="/ads/orcsweb/100x30.asp"--> <%END SELECT%>