75 lines
1.7 KiB
PHP
Executable File
75 lines
1.7 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="container2sp">
|
|
<div id="header"><img src="../bilder/header1.jpg" width="960" height="150" alt="Sternwarte Welzheim"/><!-- end #header --></div>
|
|
<?php include '../navi.php'; ?>
|
|
|
|
<div id="mainContentBig">
|
|
<h1>Bildergalerien </h1>
|
|
|
|
<div class="fltlft2">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php include '../config_stern.php';
|
|
$abfrage = "SELECT gid, titel, bildk FROM galerie order by
|
|
gid ASC";
|
|
$ergebnis = mysql_query($db,$abfrage);
|
|
|
|
$i = 0;
|
|
|
|
|
|
while($row = mysqli_fetch_object($ergebnis))
|
|
{
|
|
$gid = $row->gid;
|
|
$titel = $row->titel;
|
|
$bildk = $row->bildk;
|
|
echo "<dl class='meImgLeft' style='width: 190px;'>"."\n";
|
|
echo "<dt><a href='gal_bild.php?id=$gid' target='_blank'><img src='../bilder/galerien/bildk/$bildk' border=0 width='190'></a></dt>"."\n";
|
|
echo "<dd>$titel</dd>"."\n";
|
|
|
|
$i++;
|
|
echo '</dl>'."\n";
|
|
if ($i/4 == round($i/4)){
|
|
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>
|