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: In the spirit of The Holidays, please consider contributing to RAINN
Click this logo to go to the Tori News Page

In the spirit of The Holidays, please consider contributing to RAINN

Updated Mon, Dec 06, 2004 - 1:23am ET

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

Most of you know about the wonderful organization that Tori co-founded called RAINN. (The Rape, Abuse & Incest National Network.) Last summer, RAINN posted a special open letter from Tori Amos asking her fans to contribute to RAINN in order to celebrate the organization's 10th birthday. According to that web page where Tori's letter is posted, they have raised over $5,500 so far, which is still short of Tori's goal of $50,000. If everyone would donate $5, $10, $20 or more if you can afford it, we could help Tori reach her goal. Your help is truly critical. RAINN is there to help victims of sexual abuse, but most importantly, RAINN is instrumental in the education that will break the chain of abuse. It is by giving that we receive. Please pass this along to anyone who is a Tori fan or supporter of RAINN. I know we can help RAINN come closer to their goal, and at the same time make a gesture at the Holidays which is truly meaningful and helpful. You can contribute online at rainn.org or by calling 1.800.656.4673, and pressing 3 at the menu. Thank you so much.


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