Calendar - West Valley Journal
 
SELECT * FROM Banner_Ads,Banner_Ad_Sizes,Banner_Ad_Schedule WHERE Banner_Ad_Sizes.sID = Ad_Size AND Publication LIKE '%|WVJ|%' AND Width = '728' AND Height = '90' AND Page LIKE '%|calendar|%' AND (Start_Date <= NOW() OR Start_Date Is Null) AND (End_Date >= NOW() OR End_Date Is Null) AND (Views < View_Limit or view_limit is null or view_limit = 0) AND (Clicks < Click_Limit or click_limit is null or click_limit = 0) AND Banner_Ads.ID = AdID ORDER BY RAND()
^HERE
SELECT * FROM Banner_Ads,Banner_Ad_Sizes,Banner_Ad_Schedule WHERE Banner_Ad_Sizes.sID = Ad_Size AND Publication LIKE '%|WVJ|%' AND Width = '250' AND Height = '250' AND Page LIKE '%|calendar|%' AND (Start_Date <= NOW() OR Start_Date Is Null) AND (End_Date >= NOW() OR End_Date Is Null) AND (Views < View_Limit or view_limit is null or view_limit = 0) AND (Clicks < Click_Limit or click_limit is null or click_limit = 0) AND Banner_Ads.ID = AdID ORDER BY RAND()
^HERE
' ' ' '