function list_events() { // you can edit these first three values $dateformat = "M d"; // use any php date format string $daystoshow = 365; // the number of days in advance you want to show $maximumevents = 200; // the maximum number of events you want retrieved from the database global $db_events,$sfx; $num = 0; $today = time(); echo ""; for ($x =0; $x < $daystoshow; $x++) { if ($num < $maximumevents) { $id = date("Ymd",$today); $year = substr($id,0,4); $month = substr($id,4,2); $day = substr($id,6,2); $conn = db_connect(); $result = @mysql_query("select * from $db_events where year = '$year' and month = '$month' and day = '$day'"); if (mysql_num_rows($result) !=0) { while ($row = mysql_fetch_array($result)) { $id = "E" . $row['id']; $title = $row['title']; $timstamp = $row['t_stamp']; $title = stripslashes($title); $newdate = date($dateformat,$timstamp).":"; if ($newdate==$date) { $date = " "; } else { $date = date($dateformat,$timstamp).":"; } echo "".""; $num = $num + 1; } } $today = $today + 86400; } } echo "
$date $title
"; } // END ?> The Dent: Tori 2005 RAINN Calendar promotion
Click this logo to go to the Tori News Page

Tori 2005 RAINN Calendar promotion

Updated Tue, Apr 27, 2004 - 4:01am ET

 ToriNews
 Toriphiles
 Articles
 TV/Radio
 Tour Info
 Music
 RAINN
 Merchandise
 Sightings
 Opinion
 Miscellaneous
 Entry Page

As reported earlier on the Dent, you can pre-order the beautiful new 2005 RAINN Calendar at rainn.org. They now have a great promotion with the sale of these calendars. Tori Amos has agreed to sign 10 of the calendars, and they will be given to 10 lucky people who pre-order. So whoever orders the 2005 RAINN Calendar before August 1, 2004 will be entered into a drawing to win one of the 10 signed calendars. To be eligible for the drawing, your order must be received by August 1, 2004 which is less expensive anyway because of the pre-order price! To order, go to rainn.org. Once the order is placed, you will automatically be entered in the drawing, so there is no extra paperwork or cost involved. This also applies to people who have already pre-ordered the calendar, so they do not have to place another order.


More Details


Posted by: Mikewhy


Go Back

Return To ToriNews

Please give me feedback, comments, or suggestions about The Dent. Email me (Mikewhy) at mikewhy@iglou.com

Powered by pMachine