

<?php include ('top.txt');?>

<span style="font-size: 16px; color: #006699"><b>Weekly Bulletin</b></span><br><br>

If you would like to contribute an article to the bulletin, please email <a href="mailto:bulletin@stjamesvesper.com">bulletin@stjamesvesper.com</a>
<br><br>

You may select one of the following archived bulletins to view or print:
<br>
<ul>



<?php

$num = 1;

if ($handle = opendir('./../fileupload/bulletins')) {
    while (false !== ($file = readdir($handle))) {
        if ($file != "." && $file != "..") {

$filestring = $file;
$filestring = str_replace("/", "", "$filestring");
$filestring = str_replace("bulletins", "", "$filestring");

$nameoffile = $filestring;

$filestring = str_replace("_", " ", "$filestring");
$filestring = str_replace(".pdf", "", "$filestring");

$bulletins[$num] = $filestring;

$num++;

        }
    }
    closedir($handle);


while ($num > 0) {

    $bulletinsort[$newnum] = $bulletins[$num];

    $newnum++;
    $num--;

    }

$num = 1;

while ($bulletinsort[$num] != '') {
  $filestring = $bulletinsort[$num];
  $file = str_replace(" ", "_", "$filestring");

  print "<li><a href='../fileupload/bulletins/" . $file . ".pdf'>" . $filestring . "</a>";
  $num++;
  }

}
?>





</ul>


<?php include ('bottom.txt');?>
