Files
sternwarte_server/html/sternwarte/bildergalerie/gal_bild_aus.php
2025-11-02 22:52:08 +01:00

69 lines
1.6 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">
<?php include '../header.php'; ?><?php include '../navi.php'; ?>
<div id="mainContentBig">
<div class="fltlft2">
<?php include '../config_stern.php';
$id = $_REQUEST['id'];
$abfrage = "SELECT gid, titel, beschreibung, bildg, autor FROM galerie where gid=$id order by
gid ASC";
$ergebnis = mysqli_query($db,$abfrage);
$i = 0;
while($row = mysqli_fetch_assoc($ergebnis))
{
echo "<h1>".$row['titel']."</h1>";
echo $row['beschreibung']."<br />";
echo "<img src='/bilder/galerien/bildg/".$row['bildg']."' /><br />";
echo "Bildautor:".$row['autor']."<br />";
}
?>
<br/>
<a href="bild_uebersicht_aus.php" class="center">zurück zu Übersicht</a></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>