Files
sternwarte/sternwarte/intern/form_bild_ein.php

110 lines
3.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> Bildergalerie -Bildupload</h1>
<form id="formular" name="formular" method="post" action="bild_ein.php" enctype="multipart/form-data">
<label for="kategorie" class="labeltext">
Kategorie</label><select name="kategorie[]" class="textfeld400" size="5" multiple="multiple">
<?php include '../config_stern.php';
$sql_selkat="SELECT kid, kategorie FROM kategorien order by kategorie ASC" ;
$sel=mysqli_query($db,"$sql_selkat");
if ($sel)
{ $num=0;
#Kategorie aus der Datenbank holen --------------------------------------------------
while($row=mysqli_fetch_row($db,$sel))
{
echo "<option value='$row[0]'>$row[1]</option>";
} $num++;
}
?>
</select><br /><br />
<input type="hidden" value="<? echo $num;?>" name="num" /><br />
<br />
<br />
<br />
<label for="titel" class="labeltext">Titel</label>
<input name="titel" type="text" class="textfeld200" id="titel" /><br /><br />
<label for="objekt" class="labeltext">Objekt</label>
<input type="text" name="objekt" id="objekt"class="textfeld200" /><br />
<br />
<label for="datum" class="labeltext">Aufnahmedatum</label>
<input type="text" name="datum" id="datum" class="textfeld200" /><br />
<br />
<label for="instrument" class="labeltext">Instrument</label>
<input type="text" name="instrument" id="instrument" class="textfeld200" /><br />
<br />
<label for="autor" class="labeltext">Bildautor</label>
<input type="text" name="autor" id="autor" class="textfeld200" /><br />
<br />
<label for="belichtungszeit" class="labeltext">Belichtungszeit</label>
<textarea name="belichtungszeit" id="belichtungszeit" cols="45" rows="5"></textarea>
<br />
<br />
<label for="beschreibung" class="labeltext">Beschreibung</label>
<textarea name="beschreibung" id="beschreibung" cols="45" rows="5"></textarea><br />
<br />
<label for="filebildk" class="labeltext">Bild klein</label>
<input type='file' id='filebildk' name='filebildk' /><br />
<br /><br />
<label for="filebildg" class="labeltext">Bild groß</label>
<input type='file' id='filebildg' name='filebildg' /><br />
<br />
<br />
<input type="hidden" name="stern_aktiv" value="0">
<input type="hidden" value="1" name="neu" />
<p> <input type="hidden" name="stern_action" value="senden">
<input type="submit" name="submit" value="Daten eintragen" class="inputtext">
</p>
</form>
<!-- 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>