402 lines
18 KiB
PHP
Executable File
402 lines
18 KiB
PHP
Executable File
<?php
|
|
include("kurs/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
|
echo"
|
|
<html>
|
|
<head>
|
|
|
|
<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=document.getElementById('DivName2').style.display='none';>
|
|
<script type=\"text/javascript\" language=\"JavaScript\">
|
|
<!--
|
|
function splitt1(a, b, c){
|
|
var e=document.getElementById(a);
|
|
if(!e)return true;
|
|
if(e.style.display==\"none\"){
|
|
e.style.display=\"block\"
|
|
document.getElementById(b).innerHTML='<table width=10% bgcolor=#6487DC><tr><td onMouseOver=\"this.style.cursor=\"hand\";\" align=center><font color=\"#FFFFFF\"><b>löschen</b></font></td></tr></table>';
|
|
if(b == 'DivName'){
|
|
document.getElementById('DivName2').style.display='block';
|
|
}
|
|
} else {
|
|
e.style.display=\"none\"
|
|
document.getElementById(b).innerHTML='<table width=10% bgcolor=#6487DC><tr><td onMouseOver=\"this.style.cursor=\"hand\";\" align=center><font color=\"#FFFFFF\"><b>splitten</b></font></td></tr></table>';
|
|
document.getElementById('stellenart'+c).selectedIndex = 0;
|
|
document.getElementById('str'+c).value = '';
|
|
document.getElementById('bezeichnung'+c).value = '';
|
|
document.getElementById('postfach'+c).value = '';
|
|
document.getElementById('plz'+c).value = '';
|
|
document.getElementById('ort'+c).value = '';
|
|
document.getElementById('bundesland'+c).value = '';
|
|
document.getElementById('staat'+c).value = '';
|
|
document.getElementById('beg_tag'+c).value = '';
|
|
document.getElementById('beg_mon'+c).value = '';
|
|
document.getElementById('beg_jahr'+c).value = '';
|
|
document.getElementById('ende_tag'+c).value = '';
|
|
document.getElementById('ende_mon'+c).value = '';
|
|
document.getElementById('ende_jahr'+c).value = '';
|
|
document.getElementById('abteilung'+c).value = '';
|
|
document.getElementById('telabteilung'+c).value = '';
|
|
|
|
}
|
|
return true;
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
|
|
<table width=\"100%\">
|
|
<tr>
|
|
<td>
|
|
<a onclick=\"return splitt1('stell1', 'DivName', '2')\" href=\"javascript:void(0)\"><div id='DivName' onMouseOver=\"this.style.cursor='hand'\"><table width=10% bgcolor=#6487DC><tr><td onMouseOver=\"this.style.cursor=\"hand\";\" align=center><font color=\"#FFFFFF\"><b>splitten</b></font></td></tr></table></div></a>
|
|
|
|
<div id=\"stell1\" style=\"display: none;\">
|
|
<table cellspacing='0' style='width:100%;'>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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\" id='stellenart2'>";
|
|
while ($row1 = $result1->fetch_array()){
|
|
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung] </option>\n";
|
|
}
|
|
|
|
echo"
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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='bezeichnung2'id='bezeichnung2' size='50'>-->
|
|
<input type=\"text\" id=\"bezeichnung2\" name=\"bezeichnung2\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event,2)\" size=\"50\">
|
|
<input type=\"hidden\" id=\"bezeichnung_hidden2\" name=\"bezeichnung_ID2\"><!-- 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'>
|
|
|
|
</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' id='str2' name='str2' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='postfach2' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='plz2' size='5'> <input type='text' name='ort2' id='ort2' size='40'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='bundesland2' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='staat2' size='50'>
|
|
</td>
|
|
</tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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='beg_tag2' ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon2\" id='beg_mon2' value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name='beg_jahr2' id='beg_jahr2' ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
|
|
bis
|
|
<input type=\"text\" name=\"ende_tag2\" id='ende_tag2' ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon2\" id='ende_mon2' value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr2\" id='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'>
|
|
|
|
</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' id='abteilung2' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='telabteilung2' size='50'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
</div>
|
|
|
|
|
|
<br><br>
|
|
<a onclick=\"return splitt1('stell2', 'DivName2', '3')\" href=\"javascript:void(0)\"><div id='DivName2' onMouseOver=\"this.style.cursor='hand'\"><table width=10% bgcolor=#6487DC><tr><td onMouseOver=\"this.style.cursor=\"hand\";\" align=center><font color=\"#FFFFFF\"><b>splitten</b></font></td></tr></table></div></a>
|
|
|
|
<div id=\"stell2\" style=\"display: none;\">
|
|
<table cellspacing='0' style='width:100%;'>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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\" id='stellenart3'>";
|
|
while ($row1 = $result1->fetch_array()){
|
|
echo "<option value='$row1[artid]'";if($row1[artid] == 1){echo "selected";} echo">$row1[bezeichnung] </option>\n";
|
|
}
|
|
|
|
echo"
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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='bezeichnung3'id='bezeichnung3' size='50'>-->
|
|
<input type=\"text\" id=\"bezeichnung3\" name=\"bezeichnung3\" value=\"\" onkeyup=\"ajax_showOptions(this,'getStadt',event,3)\" size=\"50\">
|
|
<input type=\"hidden\" id=\"bezeichnung_hidden3\" name=\"bezeichnung_ID3\"><!-- 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'>
|
|
|
|
</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' id='str3' name='str3' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='postfach3' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='plz3' size='5'> <input type='text' name='ort3' id='ort3' size='40'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='bundesland3' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='staat3' size='50'>
|
|
</td>
|
|
</tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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='beg_tag3' ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"beg_mon3\" id='beg_mon3' value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name='beg_jahr3' id='beg_jahr3' ID=\"text2\" value='JJJJ' size=\"3\" onFocus=\"if(this.value=='JJJJ'){ this.value='';}\">
|
|
bis
|
|
<input type=\"text\" name=\"ende_tag3\" id='ende_tag3' ID=\"text\" size=\"1\" value='TT' onFocus=\"if(this.value=='TT'){ this.value='';}\">.<input type=\"text\" name=\"ende_mon3\" id='ende_mon3' value='MM' ID=\"text1\" size=\"1\" onFocus=\"if(this.value=='MM'){ this.value='';}\">.<input type=\"text\" name=\"ende_jahr3\" id='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'>
|
|
|
|
</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' id='abteilung3' size='50'>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width='10%' style='border-style: none; border-width: medium' height='0'>
|
|
|
|
</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' id='telabteilung3' size='50'>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
</div>
|
|
|
|
|
|
<br>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
";
|
|
?>
|