80 lines
1.8 KiB
PHP
Executable File
80 lines
1.8 KiB
PHP
Executable File
<!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">
|
|
<?php include '../fdatum.php'; ?>
|
|
<?php include '../himmelerg.php'; ?>
|
|
</div>
|
|
<div id="mainContent">
|
|
<h1>Bildergalerien </h1>
|
|
|
|
<div class="fltlft">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php include '../config_stern.php';
|
|
$abfrage = "SELECT kid, kategorie, bild FROM kategorien order by
|
|
kategorie ASC";
|
|
$ergebnis = mysqli_query($db,$abfrage);
|
|
|
|
$i = 0;
|
|
|
|
|
|
while($row = mysqli_fetch_object($ergebnis))
|
|
{
|
|
$kid = $row->kid;
|
|
$thumb = $row->kategorie;
|
|
$urlbild = $row->bild;
|
|
echo "<dl class='meImgLeft' style='width: 190px;'>"."\n";
|
|
echo "<dt><a href='$kid' target='_blank'><img src='../bilder/galerien/kat/$urlbild' border=0 ></a></dt>"."\n";
|
|
echo "<dd>$thumb</dd>"."\n";
|
|
|
|
$i++;
|
|
echo '</dl>'."\n";
|
|
if ($i/3 == round($i/3)){
|
|
echo "<br class='clear'/>"."\n";
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!-- 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>
|