Sleepless Nights Image Map Toolbar
   Latest News
 
    The Seadog Inn
    News
    Projects
    The Tome
    Bulletin Board
    Mudmail
     

$date2) { $temp = $news_array[$i]; $news_array[$i] = $news_array[$i+1]; $news_array[$i+1] = $temp; $done = false; } } } for($i = count($news_array) - 1; $i > 0; $i--) { $file = $news_array[$i]; $fcontents = file($newsdir . $file); $date = substr($file, 0, 4) . substr($file, 5, 2) . substr($file, 8, 2); $day = substr($date, 6, 2); settype($day, integer); switch($day) { case 1: case 21: case 31 : $fdate = $day . "st"; break; case 2: case 22 : $fdate = $day . "nd"; break; case 3: case 23 : $fdate = $day . "rd"; break; default : $fdate = $day . "th"; break; } $month = substr($date, 4, 2); switch($month) { case 1 : $fdate .= " Jan "; break; case 2 : $fdate .= " Feb "; break; case 3 : $fdate .= " Mar "; break; case 4 : $fdate .= " Apr "; break; case 5 : $fdate .= " May "; break; case 6 : $fdate .= " Jun "; break; case 7 : $fdate .= " Jul "; break; case 8 : $fdate .= " Aug "; break; case 9 : $fdate .= " Sep "; break; case 10 : $fdate .= " Oct "; break; case 11 : $fdate .= " Nov "; break; case 12 : $fdate .= " Dec "; break; } $fdate .= substr($date, 0, 4); echo ""; echo ""; } ?>
"; echo $fdate; echo ""; echo $fcontents[0]; echo "
"; echo $fcontents[1]; echo "

 
Back Next

[ Home ï Seadog Inn ï Beginners ï Traveller's Guideï Informationï Play Now! ï Feedback ]
 
If you have any comments, complaints or suggestions about these pages, please mail : knave@baspnet.net