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: RAINN Needs Volunteers for Fun Project
Click this logo to go to the Tori News Page

RAINN Needs Volunteers for Fun Project

Updated Tue, Mar 14, 2006 - 5:33pm ET

 Tour Info
 Entry Page

Alyssa Oliveri, public relations manager for RAINN, is looking for motivated Tori fans to help launch RAINN's updated myspace page. This is her message below:

Are you a friend of Tori? Are you a friend of RAINN? Are you into Then we could use your help! Volunteers will be asked to log on periodically and search for potential "friends" for our page. Our goal is to build our friends list into the thousands. The more people we can reach with RAINN's messages, the better. If interested, please email Alyssa at this week with "myspace Volunteer" in the subject line. We will contact you with more details. Thank you!

More Details

Posted by: Mikewhy

Go Back

Return To ToriNews

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

Powered by pMachine