aboutsummaryrefslogtreecommitdiff
path: root/mlmmj-webarchiver/index.php.newlist
blob: c97893605cbf0658eb826824fe26c835ac809c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
  $baselistdir = getcwd();
  $mlist = substr (strrchr ($baselistdir, "/"), 1);
  $mlistdir = opendir($baselistdir);
  while($file = readdir($mlistdir)) {
    if(is_dir($baselistdir . "/" . $file) && $file != "." && $file != "..") {
      $archived_months .= "<a href=\"$file\">$file</a><br />\n";
    }
  }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title><?php echo $mlist;?> archives by month and year</title>
 <link rel="stylesheet" type="text/css" media="screen" href="../style/screen.css">
</head>
<body>
 <div id="banner">
  <div id="header">
   <div class="banner-left"><img src="../images/banner_left.gif" width="17" height="56" border="0" alt="" /></div>
   <div class="banner-text">Mailing List Archives</a></div>
   <div class="banner-right"><img src="../images/banner_right.gif" width="10" height="56" alt="" /></div>
  </div>
  <div id="topnav">
   <a href="/">home</a>
   |
   <a href="../search.php">search</a>
   |
   <a href="..">other lists</a>
  </div>
 </div>
 <div id="mailinglists">
  <div id="main">
  <h1><?php echo $mlist;?> archives by month and year</h1>
  <?php echo $archived_months; ?>
  </div>
 </div>
</body>
</html>