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: Articles Archive
ToriNews
Toriphiles
Articles
TV/Radio
Tour Info
Music
RAINN
Merchandise
Sightings
Opinion
Miscellaneous
Entry page

Articles

Archives: December 2005


Article Archives


Old Dent Article Archive
(2002 & before)



Search The Dent

The above search is only good for news items starting in 2003. For older archived material from 2002 and before, click here.



Wednesday, December 28, 2005

A review of The Original Bootlegs at Wears The Trousers
Wed, Dec 28, 2005 - 10:02pm ET

Friday, December 23, 2005

A review of Tori's official booleg box set in the UK magazine Whatsonlondon
Fri, Dec 23, 2005 - 7:29pm ET

"The Power of Orange Knickers" chosen as one of the top 2005 songs to play at a Christmas party
Fri, Dec 23, 2005 - 7:06pm ET

Sunday, December 18, 2005

The 2005 round-up at YAHOO! Music includes a few Tori mentions
Sun, Dec 18, 2005 - 8:34am ET



Go Back To Current Articles

Go Back To ToriNews

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

Powered by pMachine