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: Reminder: Win a "Mona Lisa Smile" movie poster signed by Tori Amos; Contest ends this Friday, December 19, 2003!
Click this logo to go to the Tori News Page

Reminder: Win a "Mona Lisa Smile" movie poster signed by Tori Amos; Contest ends this Friday, December 19, 2003!

Updated Wed, Dec 17, 2003 - 11:14am ET

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

Ryan Sudick, Retail Coordinator for Sony Music, is offering an exclusive contest for the readers of The Dent! With the release of the "Mona Lisa Smile" soundtrack and this marking Tori's on-screen debut in a motion picture, Ryan is giving one lucky winner the chance to win a RARE "Mona Lisa Smile" movie poster signed by Tori Amos. The contest will run from December 3, 2003 until December 19, 2003 -- the day "Mona Lisa Smile" hits theatres. Tori fans have to send an e-mail to MonaLisaSmileCntest@yahoo.com along with their city and state. One lucky winner will be chosen at random. Good luck! You only have 2 days left to enter the contest.


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