Talks
function list_file($text)
{
$filename = $text;
$first_split = strpos($text,"~");
$date = substr($text,0,$first_split);
//01-34-6789
$day = substr($date,6,2);
$month = substr($date,3,2);
$year = substr($date,0,2);
$amorpm = substr($date,8,2);
$date = $day . "-" . $month . "-" . $year . " " . strtoupper($amorpm);
$text = substr($text,$first_split+1);
$next_split = strpos($text,"~");
$name = substr($text,0,$next_split);
$name = str_replace("_"," ",$name);
$text = substr($text,$next_split+1);
$text = str_replace("_"," ",$text);
$text = substr($text,0,strlen($text)-4);
$size = filesize($filename) / (1024*1024);
echo "
“;
printf(” %0.1f”,$size);
echo “MB
“;
}
$files = Array();
if ($dh = opendir(“.”)) {
while (($file = readdir($dh)) !== false) {
$ext = strtoupper(substr($file,-3,3));
if (is_file($file) && ($ext ==”MP3″)) {
$files[] = ($file);
}
}
closedir($dh);
}
rsort ($files);
echo “
| Time | Speaker | Subject | Download |
“;
?>
Family Worship & Teaching
Teaching & Communion
House Groups
Coffee Morning
Fortnightly Prayer Meeting







Recent Comments