<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sternwarte Welzheim</title>
<!--[if IE 5]>
<link href="css/ie5.css" rel="stylesheet" type="text/css" />
<![endif]--><!--[if IE]>
<style type="text/css"> 
<link href="css/ie.css" rel="stylesheet" type="text/css" />
</style>
<![endif]-->
<link href="../css/sternwarte1.css" rel="stylesheet" type="text/css" />
</head>

<body class="thrColFixHdr">

<div id="container">
  <div id="header"><img src="../bilder/header1.jpg" width="960" height="150"  alt="Sternwarte Welzheim"/><!-- end #header --></div>
   <?php include '../navi.php'; ?>
  <div id="sidebar2">
	   
	  
	   </div>
	   
  <div id="mainContent">
  
  <h1>Anleitungen</h1>
  <table width="450px"><tr style="font-weight: bold;"><td>Anleitung</td> <td>Download</td> </tr>
      <?php
        foreach(glob("../Anleitungen/*.pdf") as $filename) {
            $index = strpos($filename,"_");
            $name = substr($filename,15, $index-15);
            echo "<tr><td>$name</td><td><a href='$filename'>pdf</a></td> </tr> ";
        }
        echo "<tr><td>Wireguard (VPN)</td><td><a href='./download/Wireguard/wireguard.pdf'>pdf</a></td> </tr> ";
        echo "<tr><td>Sternwarte.conf</td><td><a href='./download/Wireguard/Sternwarte.conf'>conf</a></td> </tr> ";
        ?>

      <?php include '../config_stern.php';
	  
#	  $sql_selkat="SELECT id, jahr, monat, name, datum  FROM beoprotokolle  order by name DESC" ;
	  
#	  $sel=mysqli_query($db,"$sql_selkat");
#        if ($sel)
#        {
#                #Kategorie aus der Datenbank holen --------------------------------------------------
#                while($row=mysqli_fetch_row($sel))
#                {
#
#                                echo "<tr><td>$row[2] $row[1]</td> <td>$row[4]</td><td><a href='pdf_beo/$row[3]'>pdf</a></td> </tr> ";
#
#                }
#        }
?>

   </table>      
  </p>
<!-- end #mainContent --></div>
	<!-- Dieses clear-Element sollte direkt auf das #mainContent-div folgen, um das #container-div anzuweisen, alle untergeordneten Floats aufzunehmen. --><br class="clearfloat" />
  
<!-- end #container --></div>
</body>
</html>
