stellenantrag_neu/stud/antrag_save.php
2022-11-28 09:17:05 +01:00

1327 lines
54 KiB
PHP
Executable File

<?php
#setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
include("kurs/datenbankanbindung.php"); // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
if ($_COOKIE["uid1"] == ""){ include("kurs/anmeldefehler_subdir.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts ausw&auml;hlen k&ouml;nnen
$uid1=$_COOKIE["uid1"];
$db = dbconnect();
include("kurs/sta/stan_useronline_write.php"); // F&uuml;r Statistik, wieviele User online sind
// &Uuml;Berpr&uuml;fung, ob die Anmeldefrist &uuml;berschritten ist
$heute = mktime(0, 0, 0, date("m"), date("d"), date("Y")); // heutiges Datum
$heute_format = date("Y-m-d", $heute); // ISO-8601 Format wie in der Datenbank: Formatierung f&uuml;r Vergleiche erforderlich
$res = $db->query("SELECT Jahrgang FROM stud WHERE uid='$uid1'");
$stud_jahr = $res->fetch_array();
$anm_schluss = $db->query("SELECT DATE_Format(anmeldebeginn, '%Y-%m-%d')AS beginndatum, DATE_Format(anmeldebeginn, '%d.%m.%Y um %H:%i:%s Uhr')AS beginnform, DATE_Format(anmeldeschluss, '%Y-%m-%d')AS enddatum
FROM stan_frist
WHERE jahrgang=\"$stud_jahr[Jahrgang]\"");
$row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginn- Schlussdatums
$a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl
$b = strtotime ($row_schluss[enddatum]); // Umrechnung des Enddatums in eine Zahl
$c = strtotime ($row_schluss[beginndatum]); // Umrechnung des Beginndatums in eine Zahl
if ($a < $c){
echo "
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<title>Anmeldungen noch nicht m&ouml;glich!</title>
</head>
<body>
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
<tr>
<td>
<div align=\"center\">
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
<tr>
<td width=\"10\" background=\"../images/box_e1.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
<td width=\"95%\" background=\"../images/box_top.gif\">
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Anmeldungen noch nicht m&ouml;glich!</span><br>
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td width=\"1%\" background=\"../images/box_l.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
<td colspan=\"2\"><br>
<p align=\"center\"><b>Antr&auml;ge sind erst ab $row_schluss[beginnform] m&ouml;glich!</b>
</p>
<p align=\"center\"><a href=\"hauptframe.php\">
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width=\"1%\" background=\"../images/box_r.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>";
exit;
} // Ende &Uuml;berpr&uuml;fung der Zeit&uuml;berschreitung
if ($a >= $b){
echo "
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<title>Anmeldezeit vertstrichen</title>
</head>
<body>
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
<tr>
<td>
<div align=\"center\">
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
<tr>
<td width=\"10\" background=\"../images/box_e1.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
<td width=\"95%\" background=\"../images/box_top.gif\">
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Anmeldezeit vertstrichen</span><br>
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td width=\"1%\" background=\"../images/box_l.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
<td colspan=\"2\"><br>
<p align=\"center\">Antr&auml;ge sind derzeit nicht m&ouml;glich!<br>Es sind nur noch <a href=\"antrag_aend.php\">Änderungsanträge</a> möglich
</p>
<p align=\"center\"><a href=\"hauptframe.php\">
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width=\"1%\" background=\"../images/box_r.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>";
exit;
} // Ende &Uuml;berpr&uuml;fung der Zeit&uuml;berschreitung
/*
$res1 = $db->query("SELECT count(uid) anzahl FROM stan_antrag WHERE uid='$uid1'");
$anz_anm = $res1->fetch_array();
$result1 = $db->query("SELECT anzahl
FROM stan_anz_anm
WHERE uid ='$uid1'");
$row1 = $result1->fetch_array();
if($row1[anzahl] == ''){
$anzahl = 4;
}else{
$anzahl = $row1[anzahl];
}
if ($anz_anm[anzahl] > $anzahl){
echo "
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<title>Anmeldezeit vertstrichen</title>
</head>
<body>
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
<tr>
<td>
<div align=\"center\">
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
<tr>
<td width=\"10\" background=\"../images/box_e1.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../images/box_top.gif\" valign=\"top\"></td>
<td width=\"95%\" background=\"../images/box_top.gif\">
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
<span class=\"sh\">Anmeldelimit</span><br>
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td width=\"1%\" background=\"../images/box_l.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
<td colspan=\"2\"><br>
<p align=\"center\">Es sind maximal $anzahl Stellenanträge möglich!
</p>
<p align=\"center\"><a href=\"hauptframe.php\">
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br>
</p>
</td>
<td width=\"1%\" background=\"../images/box_r.gif\">
<img height=\"1\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../images/box_e3.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_bottom.gif\" colspan=\"2\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"8\"></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e4.gif\">
<img height=\"16\" src=\"../images/blank.gif\" width=\"22\"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>";
exit;
} // Ende &Uuml;berpr&uuml;fung der Zeit&uuml;berschreitung
*/
#################
if (isset($_GET['action']))
$action = $_GET['action'];
else
$action = "";
switch($action){
default:
$db = dbconnect();
$result = $db->query("SELECT nachname, vorname, jahrgang, stg FROM stud where uid=\"$uid1\"");
$row = $result->fetch_array();
$anm_schluss = $db->query("SELECT DATE_Format(anmeldeschluss, '%d.%m.%Y um %H:%i:%s Uhr') anmeldeschluss, DATE_Format(antrag_von, '%d.%m.%Y') antrag_von, DATE_Format(antrag_bis, '%d.%m.%Y') antrag_bis
FROM stan_frist
WHERE jahrgang='$row[jahrgang]'");
$row_schluss = $anm_schluss->fetch_array(); // Auslesen des Datenbankdatum, um davon ein Tag abziehen zu k&ouml;nnen
echo"
<html>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<head>
<script type='text/Javascript'>
var counter1 = 0;
var counter2 = 0;
var counter3 = 0;
var counter4 = 0;
function addFields(n)
{
if (n == 1){
moreFields1();
}
if (n == 2){
moreFields2();
}
if (n == 3){
moreFields3();
}
if (n == 4){
moreFields4();
}
}
function moreFields1()
{
counter1++;
var newFields = document.getElementById('teilnehmer1').cloneNode(true);
newFields.id = '';
newFields.style.display = 'block';
var newField = (newFields.elements.length>1)?newFields.elements:[newFields.elements[0]];
for (var i=0;i<newField.length;i++)
{
if (typeof newField[i].name!='undefined')
{
newField[i].name+='['+counter1+']';
}
}
if(counter1 <=3){
document.getElementById('add1').appendChild(newFields.firstChild.cloneNode(true));
}
}
function moreFields2()
{
counter2++;
var newFields = document.getElementById('teilnehmer2').cloneNode(true);
newFields.id = '';
newFields.style.display = 'block';
var newField = (newFields.elements.length>1)?newFields.elements:[newFields.elements[0]];
for (var i=0;i<newField.length;i++)
{
if (typeof newField[i].name!='undefined')
{
newField[i].name+='['+counter2+']';
}
}
if(counter2 <=3){
document.getElementById('add2').appendChild(newFields.firstChild.cloneNode(true));
}
}
function moreFields3()
{
counter3++;
var newFields = document.getElementById('teilnehmer3').cloneNode(true);
newFields.id = '';
newFields.style.display = 'block';
var newField = (newFields.elements.length>1)?newFields.elements:[newFields.elements[0]];
for (var i=0;i<newField.length;i++)
{
if (typeof newField[i].name!='undefined')
{
newField[i].name+='['+counter3+']';
}
}
if(counter3 <=3){
document.getElementById('add3').appendChild(newFields.firstChild.cloneNode(true));
}
}
function moreFields4()
{
counter4++;
var newFields = document.getElementById('teilnehmer4').cloneNode(true);
newFields.id = '';
newFields.style.display = 'block';
var newField = (newFields.elements.length>1)?newFields.elements:[newFields.elements[0]];
for (var i=0;i<newField.length;i++)
{
if (typeof newField[i].name!='undefined')
{
newField[i].name+='['+counter4+']';
}
}
if(counter4 <=3){
document.getElementById('add4').appendChild(newFields.firstChild.cloneNode(true));
}
}
</script>
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<script type=\"text/javascript\" src=\"livesearch/ajax.js\"></script>
<script type=\"text/javascript\" src=\"livesearch/ajax-dynamic-list.js\">
/************************************************************************************************************
(C) www.dhtmlgoodies.com, April 2006
This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.
Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.
Thank you!
www.dhtmlgoodies.com
Alf Magne Kalleland
************************************************************************************************************/
</script>
<style type=\"text/css\">
select{
width:325px;
}
/* Big box with list of options */
#ajax_listOfOptions{
position:absolute; /* Never change this one */
width:324px; /* Width of box */
height:200px; /* Height of box */
overflow:auto; /* Scrolling features */
border:1px solid #6487DC; /* Dark blue border */
background-color:#FFF; /* White background color */
text-align:left;
font-family : verdana, arial;
z-index:10000;
}
#ajax_listOfOptions div{ /* General rule for both .optionDiv and .optionDivSelected */
margin:1px;
padding:1px;
cursor:pointer;
font-size:0.9em;
}
#ajax_listOfOptions .optionDiv{ /* Div for each item in list */
}
#ajax_listOfOptions .optionDivSelected{ /* Selected item in the list */
background-color:#D6DFF7;
color:#002276;
font-family : verdana, arial;
font-weight : bold;
}
#ajax_listOfOptions_iframe{
background-color:#F00;
position:absolute;
z-index:500;
}
form{
display:inline;
}
</style>
</head>
<body onload='moreFields1(), moreFields2(), moreFields3(), moreFields4()';>
<table cellspacing='0' cellpadding='0' width='100%' border='0'>
<tr>
<td width=\"10\" background=\"../images/box_e1.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../images/box_top.gif\" valign=\"top\">
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
<font class=\"hd\">Stellenantrag für $row[vorname] $row[nachname]</font><br>
<span class='sh'>Anträge können bis zum <font color='red'><b>$row_schluss[0]</b></font> abgegeben werden<br>
Antragszeitraum: <font color='red'><b>$row_schluss[antrag_von] - $row_schluss[antrag_bis]</b></font>
</span>
<img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></font></td>
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../images/box_e2.gif\">
<img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
</tr>
<tr>
<td width='1%' background='../images/box_l.gif'>
<img height='1' src='../images/blank.gif' width='22'>
</td>
<td>
<form id='teilnehmer1' style='display: none;' name='searchform1'><div>
<table cellspacing='0' style='width:100%;'>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Art der Praxisstelle*</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>";
$db = dbconnect();
$query1 = "SELECT artid, bezeichnung
FROM stan_stellenart
ORDER BY artid ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"5\" name=\"stellenart\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bezeichnung der Praxisstelle*:</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<!--<input type='text' name='bezeichnung' size='50'>-->
<input type=\"text\" id=\"bezeichnung\" name=\"bezeichnung\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event)\" size=\"50\">
<input type=\"hidden\" id=\"bezeichnung_hidden\" name=\"bezeichnung_ID\"><!-- THE ID OF the textstelle will be inserted into this hidden input -->
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Straße und Hausnummer der Praxisstelle*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='str' size='50' id='str'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Postfach*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='postfach' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>PLZ Ort*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='plz' size='5'>&nbsp;<input type='text' name='ort' size='40'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bundesland*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='bundesland' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Staat*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='staat' size='50'>
</td>
</tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Zeitraum der bei dieser Praxisstelle*: </b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type=\"text\" name=\"beg_tag\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"beg_jahr\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
bis
<input type=\"text\" name=\"ende_tag\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='abteilung' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Tel. der Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='telabteilung' size='50'>
</td>
</tr>
</table>
<br>
</div>
</form>
<form id='teilnehmer2' style='display: none;'><div>
<table cellspacing='0' style='width:100%;'>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Art der Praxisstelle*</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>";
$db = dbconnect();
$query1 = "SELECT artid, bezeichnung
FROM stan_stellenart
ORDER BY artid ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"5\" name=\"stellenart2\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bezeichnung der Praxisstelle*:</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<!--<input type='text' name='bezeichnung' size='50'>-->
<input type=\"text\" id=\"bezeichnung\" name=\"bezeichnung\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event)\" size=\"50\">
<input type=\"hidden\" id=\"bezeichnung_hidden\" name=\"bezeichnung_ID\"><!-- THE ID OF the textstelle will be inserted into this hidden input -->
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Straße und Hausnummer der Praxisstelle*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='str2' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Postfach*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='postfach2' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>PLZ Ort*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='plz2' size='5'>&nbsp;<input type='text' name='ort2' size='40'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bundesland*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='bundesland2' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Staat*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='staat2' size='50'>
</td>
</tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Zeitraum der bei dieser Praxisstelle*: </b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type=\"text\" name=\"beg_tag2\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon2\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"beg_jahr2\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
bis
<input type=\"text\" name=\"ende_tag2\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon2\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr2\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='abteilung2' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Tel. der Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='telabteilung2' size='50'>
</td>
</tr>
</table>
<br>
</div>
</form>
<form id='teilnehmer3' style='display: none;'><div>
<table cellspacing='0' style='width:100%;'>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Art der Praxisstelle*</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>";
$db = dbconnect();
$query1 = "SELECT artid, bezeichnung
FROM stan_stellenart
ORDER BY artid ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"5\" name=\"stellenart3\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bezeichnung der Praxisstelle*:</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<!--<input type='text' name='bezeichnung' size='50'>-->
<input type=\"text\" id=\"bezeichnung\" name=\"bezeichnung\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event)\" size=\"50\">
<input type=\"hidden\" id=\"bezeichnung_hidden\" name=\"bezeichnung_ID\"><!-- THE ID OF the textstelle will be inserted into this hidden input -->
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Straße und Hausnummer der Praxisstelle*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='str3' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Postfach*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='postfach3' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>PLZ Ort*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='plz3' size='5'>&nbsp;<input type='text' name='ort3' size='40'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bundesland*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='bundesland3' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Staat*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='staat3' size='50'>
</td>
</tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Zeitraum der bei dieser Praxisstelle*: </b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type=\"text\" name=\"beg_tag3\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon3\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"beg_jahr3\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
bis
<input type=\"text\" name=\"ende_tag3\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon3\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr3\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='abteilung3' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Tel. der Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='telabteilung3' size='50'>
</td>
</tr>
</table>
<br>
</div>
</form>
<form id='teilnehmer4' style='display: none;'><div>
<table cellspacing='0' style='width:100%;'>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Art der Praxisstelle*</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>";
$db = dbconnect();
$query1 = "SELECT artid, bezeichnung
FROM stan_stellenart
ORDER BY artid ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"5\" name=\"stellenart4\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bezeichnung der Praxisstelle*:</b>
</td>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<!--<input type='text' name='bezeichnung' size='50'>-->
<input type=\"text\" id=\"bezeichnung\" name=\"bezeichnung\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event)\" size=\"50\">
<input type=\"hidden\" id=\"bezeichnung_hidden\" name=\"bezeichnung_ID\"><!-- THE ID OF the textstelle will be inserted into this hidden input -->
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Straße und Hausnummer der Praxisstelle*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='str4' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Postfach*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='postfach4' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>PLZ Ort*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='plz4' size='5'>&nbsp;<input type='text' name='ort4' size='40'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Bundesland*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='bundesland4' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Staat*:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='staat4' size='50'>
</td>
</tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Zeitraum der bei dieser Praxisstelle*: </b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type=\"text\" name=\"beg_tag4\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon4\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"beg_jahr4\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
bis
<input type=\"text\" name=\"ende_tag4\" ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon4\" value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr4\" ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='abteilung4' size='50'>
</td>
</tr>
<tr>
<td width='10%' style='border-style: none; border-width: medium' height='0'>
&nbsp;
</td>
<td width='30%' style='border-style: none; border-width: medium' height='0'>
<b>Tel. der Abteilung:</b>
</td>
<td width='60%' align='left' style='border-style: none; border-width: medium' height='0'>
<input type='text' name='telabteilung4' size='50'>
</td>
</tr>
</table>
<br>
</div>
</form>
<form action="; echo $_SERVER['PHP_SELF'] . "?action=persdat"; echo" method=\"POST\" name='searchform'>
<table width='100%' bgcolor=#6487DC>
<tr>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<font color='#FFFFFF'><b>Vertiefungsbereich 1:</b></font>
";
$db = dbconnect();
$query1 = "SELECT vbid, bezeichnung
FROM stan_vertiefungsbereich
ORDER BY bezeichnung ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"1\" name=\"vert1\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'>$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
<td align=right>
<a style='cursor:pointer' onclick='addFields(1);'><font color='#FFFFFF'><b><u>Zeitraum Splitten</u></b></font></a>
</td>
</tr>
</table>
<span id='add1'></span>
<table width='100%' bgcolor=#6487DC>
<tr>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<font color='#FFFFFF'><b>Vertiefungsbereich 2:</b></font>
";
$db = dbconnect();
$query1 = "SELECT vbid, bezeichnung
FROM stan_vertiefungsbereich
ORDER BY bezeichnung ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"1\" name=\"vert2\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'>$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
<td align=right>
<a style='cursor:pointer' onclick='addFields(2);'><font color='#FFFFFF'><b><u>Zeitraum Splitten</u></b></font></a>
</td>
</tr>
</table>
<span id='add2'></span>
<table width='100%' bgcolor=#6487DC>
<tr>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<font color='#FFFFFF'><b>Vertiefungsbereich 3:</b></font>
";
$db = dbconnect();
$query1 = "SELECT vbid, bezeichnung
FROM stan_vertiefungsbereich
ORDER BY bezeichnung ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"1\" name=\"vert3\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'>$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
<td align=right>
<a style='cursor:pointer' onclick='addFields(3);'><font color='#FFFFFF'><b><u>Zeitraum Splitten</u></b></font></a>
</td>
</tr>
</table>
<span id='add3'></span>
<table width='100%' bgcolor=#6487DC>
<tr>
<td width='60%' style='border-style: none; border-width: medium' height='0'>
<font color='#FFFFFF'><b>Vertiefungsbereich 4:</b></font>
";
$db = dbconnect();
$query1 = "SELECT vbid, bezeichnung
FROM stan_vertiefungsbereich
ORDER BY bezeichnung ASC
";
$result1 = $db->query ($query1)
or die ("Cannot execute query");
echo "<select size=\"1\" name=\"vert4\">";
while ($row1 = $result1->fetch_array()){
echo "<option value='$row1[vbid]'>$row1[bezeichnung]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>\n";
}
echo"
</td>
<td align=right>
<a style='cursor:pointer' onclick='addFields(4);'><font color='#FFFFFF'><b><u>Zeitraum Splitten</u></b></font></a>
</td>
</tr>
</table>
<span id='add4'></span>
<br>
* = Pflichtfelder<br><br>
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\">
</form>
</td>
<td width='1%' background='../images/box_r.gif'>
<img height='1' src='../images/blank.gif' width='22'></td>
</tr>
<tr>
<td nowrap='nowrap' align='left' width='1%' background='../images/box_e3.gif'>
<img height='16' src='../images/blank.gif' width='22'></td>
<td nowrap='nowrap' align='left' width='98%' background='../images/box_bottom.gif'>
<img height='16' src='../images/blank.gif' width='8'></td>
<td nowrap='nowrap' align='right' width='1%' background='../images/box_e4.gif'>
<img height='16' src='../images/blank.gif' width='22'> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
";
break;
case "persdat":
$stellenart1 = $_POST[stellenart1]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung1 = $_POST[bezeichnung1];
$str1 = $_POST[str1];
$postfach1 = $_POST[postfach1];
$plz1 = $_POST[plz1];
$ort1 = $_POST[ort1];
$bundesland1 = $_POST[bundesland1];
$staat1 = $_POST[staat1];
$beginndatum1 = $_POST[beg_jahr1].'-'.$_POST[beg_mon1].'-'.$_POST[beg_tag1];
$enddatum1 = $_POST[ende_jahr1].'-'.$_POST[ende_mon1].'-'.$_POST[ende_tag1];
$stellenart2 = $_POST[stellenart2]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung2 = $_POST[bezeichnung2];
$str2 = $_POST[str2];
$postfach2 = $_POST[postfach2];
$plz2 = $_POST[plz2];
$ort2 = $_POST[ort2];
$bundesland2 = $_POST[bundesland2];
$staat2 = $_POST[staat2];
$beginndatum2 = $_POST[beg_jahr2].'-'.$_POST[beg_mon2].'-'.$_POST[beg_tag2];
$enddatum2 = $_POST[ende_jahr2].'-'.$_POST[ende_mon2].'-'.$_POST[ende_tag2];
$stellenart3 = $_POST[stellenart3]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung3 = $_POST[bezeichnung3];
$str3 = $_POST[str3];
$postfach3 = $_POST[postfach3];
$plz3 = $_POST[plz3];
$ort3 = $_POST[ort3];
$bundesland3 = $_POST[bundesland3];
$staat3 = $_POST[staat3];
$beginndatum3 = $_POST[beg_jahr3].'-'.$_POST[beg_mon3].'-'.$_POST[beg_tag3];
$enddatum3 = $_POST[ende_jahr3].'-'.$_POST[ende_mon3].'-'.$_POST[ende_tag3];
$stellenart4 = $_POST[stellenart4]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung4 = $_POST[bezeichnung4];
$str4 = $_POST[str4];
$postfach4 = $_POST[postfach4];
$plz4 = $_POST[plz4];
$ort4 = $_POST[ort4];
$bundesland4 = $_POST[bundesland4];
$staat4 = $_POST[staat4];
$beginndatum4 = $_POST[beg_jahr4].'-'.$_POST[beg_mon4].'-'.$_POST[beg_tag4];
$enddatum4 = $_POST[ende_jahr4].'-'.$_POST[ende_mon4].'-'.$_POST[ende_tag4];
$stellenart5 = $_POST[stellenart5]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung5 = $_POST[bezeichnung5];
$str5 = $_POST[str5];
$postfach5 = $_POST[postfach5];
$plz5 = $_POST[plz5];
$ort5 = $_POST[ort5];
$bundesland5 = $_POST[bundesland5];
$staat5 = $_POST[staat5];
$beginndatum5 = $_POST[beg_jahr5].'-'.$_POST[beg_mon5].'-'.$_POST[beg_tag5];
$enddatum5 = $_POST[ende_jahr5].'-'.$_POST[ende_mon5].'-'.$_POST[ende_tag5];
$stellenart6 = $_POST[stellenart6]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung6 = $_POST[bezeichnung6];
$str6 = $_POST[str6];
$postfach6 = $_POST[postfach6];
$plz6 = $_POST[plz6];
$ort6 = $_POST[ort6];
$bundesland6 = $_POST[bundesland6];
$staat6 = $_POST[staat6];
$beginndatum6 = $_POST[beg_jahr6].'-'.$_POST[beg_mon6].'-'.$_POST[beg_tag6];
$enddatum6 = $_POST[ende_jahr6].'-'.$_POST[ende_mon6].'-'.$_POST[ende_tag6];
$stellenart7 = $_POST[stellenart7]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung7 = $_POST[bezeichnung7];
$str7 = $_POST[str7];
$postfach7 = $_POST[postfach7];
$plz7 = $_POST[plz7];
$ort7 = $_POST[ort7];
$bundesland7 = $_POST[bundesland7];
$staat7 = $_POST[staat7];
$beginndatum7 = $_POST[beg_jahr7].'-'.$_POST[beg_mon7].'-'.$_POST[beg_tag7];
$enddatum7 = $_POST[ende_jahr7].'-'.$_POST[ende_mon7].'-'.$_POST[ende_tag7];
$stellenart8 = $_POST[stellenart8]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung8 = $_POST[bezeichnung8];
$str8 = $_POST[str8];
$postfach8 = $_POST[postfach8];
$plz8 = $_POST[plz8];
$ort8 = $_POST[ort8];
$bundesland8 = $_POST[bundesland8];
$staat8 = $_POST[staat8];
$beginndatum8 = $_POST[beg_jahr8].'-'.$_POST[beg_mon8].'-'.$_POST[beg_tag8];
$enddatum8 = $_POST[ende_jahr8].'-'.$_POST[ende_mon8].'-'.$_POST[ende_tag8];
$stellenart9 = $_POST[stellenart9]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung9 = $_POST[bezeichnung9];
$str9 = $_POST[str9];
$postfach9 = $_POST[postfach9];
$plz9 = $_POST[plz9];
$ort9 = $_POST[ort9];
$bundesland9 = $_POST[bundesland9];
$staat9 = $_POST[staat9];
$beginndatum9 = $_POST[beg_jahr9].'-'.$_POST[beg_mon9].'-'.$_POST[beg_tag9];
$enddatum9 = $_POST[ende_jahr9].'-'.$_POST[ende_mon9].'-'.$_POST[ende_tag9];
$stellenart10 = $_POST[stellenart10]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung10 = $_POST[bezeichnung10];
$str10 = $_POST[str10];
$postfach10 = $_POST[postfach10];
$plz10 = $_POST[plz10];
$ort10 = $_POST[ort10];
$bundesland10 = $_POST[bundesland10];
$staat10 = $_POST[staat10];
$beginndatum10 = $_POST[beg_jahr10].'-'.$_POST[beg_mon10].'-'.$_POST[beg_tag10];
$enddatum10 = $_POST[ende_jahr10].'-'.$_POST[ende_mon10].'-'.$_POST[ende_tag10];
$stellenart11 = $_POST[stellenart11]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung11 = $_POST[bezeichnung11];
$str11 = $_POST[str11];
$postfach11 = $_POST[postfach11];
$plz11 = $_POST[plz11];
$ort11 = $_POST[ort11];
$bundesland11 = $_POST[bundesland11];
$staat11 = $_POST[staat11];
$beginndatum11 = $_POST[beg_jahr11].'-'.$_POST[beg_mon11].'-'.$_POST[beg_tag11];
$enddatum11 = $_POST[ende_jahr11].'-'.$_POST[ende_mon11].'-'.$_POST[ende_tag11];
$stellenart12 = $_POST[stellenart12]; // Vom Formular gesendetes Objekt in Variable schreiben
$bezeichnung12 = $_POST[bezeichnung12];
$str12 = $_POST[str12];
$postfach12 = $_POST[postfach12];
$plz12 = $_POST[plz12];
$ort12 = $_POST[ort12];
$bundesland12 = $_POST[bundesland12];
$staat12 = $_POST[staat12];
$beginndatum12 = $_POST[beg_jahr12].'-'.$_POST[beg_mon12].'-'.$_POST[beg_tag12];
$enddatum12 = $_POST[ende_jahr12].'-'.$_POST[ende_mon12].'-'.$_POST[ende_tag12];
for ($i=1;$i<=sizeof($stellenart);$i++) { // Schleife, der die Dozenten aufaddiert bis alle ausgew&auml;hlen abgearbeitet sind.
if($stellenart[$i] != 1){ // wenn "keine Stelle - Datensatz wird nicht gespeichert" angeklicht, dann überspringen
echo "$_POST[vert1], $stellenart[$i], $bezeichnung[$i], $str[$i], $postfach[$i], $plz[$i], $ort[$i], $bundesland[$i] , $staat[$i], $beginndatum[$i], $enddatum[$i]<br><br>
<p align=\"center\"><a href=\"javascript:history.back()\">
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
";
}
}
echo "<p><p>";
for ($i=1;$i<=sizeof($stellenart2);$i++) { // Schleife, der die Dozenten aufaddiert bis alle ausgew&auml;hlen abgearbeitet sind.
if($stellenart2[$i] != 1){ // wenn "keine Stelle - Datensatz wird nicht gespeichert" angeklicht, dann überspringen
echo "$_POST[vert2], $stellenart2[$i], $bezeichnung2[$i], $str2[$i], $postfach2[$i], $plz2[$i], $ort2[$i], $bundesland2[$i] , $staat2[$i], $beginndatum2[$i], $enddatum2[$i]<br><br>";
}
}
echo "<p><p>";
for ($i=1;$i<=sizeof($stellenart3);$i++) { // Schleife, der die Dozenten aufaddiert bis alle ausgew&auml;hlen abgearbeitet sind.
if($stellenart3[$i] != 1){ // wenn "keine Stelle - Datensatz wird nicht gespeichert" angeklicht, dann überspringen
echo "$_POST[vert3], $stellenart3[$i], $bezeichnung3[$i], $str3[$i], $postfach3[$i], $plz3[$i], $ort3[$i], $bundesland3[$i] , $staat3[$i], $beginndatum3[$i], $enddatum3[$i]<br><br>";
}
}
echo "<p><p>";
for ($i=1;$i<=sizeof($stellenart4);$i++) { // Schleife, der die Dozenten aufaddiert bis alle ausgew&auml;hlen abgearbeitet sind.
if($stellenart4[$i] != 1){ // wenn "keine Stelle - Datensatz wird nicht gespeichert" angeklicht, dann überspringen
echo "$_POST[vert4], $stellenart4[$i], $bezeichnung4[$i], $str4[$i], $postfach4[$i], $plz4[$i], $ort4[$i], $bundesland4[$i] , $staat4[$i], $beginndatum4[$i], $enddatum4[$i]<br><br>";
}
}
}
?>