Änderungen Schwara
This commit is contained in:
@ -1177,6 +1177,7 @@ echo"
|
||||
|
||||
$query = "SELECT t1.saaid
|
||||
, t1.dst_id
|
||||
, t1.art
|
||||
, DATE_Format(t1.beginn, '%d.%m.%Y') beginn
|
||||
, DATE_Format(t1.ende, '%d.%m.%Y') ende
|
||||
, DATE_FORMAT(t1.beginn, '%Y%m%d') beginnform
|
||||
@ -1275,8 +1276,55 @@ echo"
|
||||
# Elsif rein: wenn $test AND $anz_aend[anz_aend] > 0
|
||||
# elseif anzahl 0 --> nachricht: Keine Änderungsaufträge vorhanden
|
||||
# else Fehler korrigieren
|
||||
|
||||
$res_ausl = $db->query("SELECT count(*) Anz
|
||||
FROM stan_antrag t1
|
||||
WHERE t1.status = (
|
||||
SELECT MAX(t2.status)
|
||||
FROM stan_antrag t2
|
||||
WHERE t1.aendid = t2.aendid
|
||||
)
|
||||
AND t1.uid = '$uid1'
|
||||
AND t1.status = '-1'
|
||||
AND (t1.zuweisung is NULL OR t1.zuweisung='Z')
|
||||
AND t1.art=6
|
||||
");
|
||||
$anz_ausl = $res_ausl->fetch_array();
|
||||
if(isset($anz_ausl['Anz']) and $anz_ausl['Anz'] >0){
|
||||
echo "<br>
|
||||
<script type='text/javascript'>
|
||||
function senden_aktiv(){
|
||||
if (document.getElementById('chk_ausland').checked){
|
||||
document.getElementById('senden').style.display='inline';
|
||||
}else{
|
||||
document.getElementById('senden').style.display='none';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='chk_ausland' onclick='senden_aktiv();' id='chk_ausland'></td>
|
||||
<td>
|
||||
<label for='chk_ausland'>Achtung! Sie sind verpflichtet, vor Antragsstellung für Praxisstellen im Ausland einen Stipendienantrag über das Akademische Auslandsamt/International Office der Hochschule einzureichen.<br>
|
||||
Informationen finden Sie auf der Webseite/Intranet der Hoschschule.<br>
|
||||
<font color='red'>Sie bestätigen ausdrücklich bei Praxisstellen im Ausland den Stipendienantrag abgegeben zu haben.</font></label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(!isset($fehler) AND $anz_aend['anz_aend'] > 0){ // Wenn alle Eintragungen stimmen und nicht verschickte Änderungsanträge vorhanden sind, dann Abschickenbutton anzeigen
|
||||
echo "<p align='center'><a href=".$_SERVER['PHP_SELF'] ."?action=aenderung><img src='../images/erstantrag_stellen.gif' border='0'></a></p>";
|
||||
if(isset($anz_ausl['Anz']) and $anz_ausl['Anz'] >0){
|
||||
echo "<p align='center'><a href='".$_SERVER['PHP_SELF'] ."?action=aenderung' id='senden' style='display:none'><img src='../images/erstantrag_stellen.gif' border='0'></a></p>";
|
||||
}else{
|
||||
echo "<p align='center'><a href=".$_SERVER['PHP_SELF'] ."?action=aenderung><img src='../images/erstantrag_stellen.gif' border='0'></a></p>";
|
||||
}
|
||||
|
||||
|
||||
}elseif($anz_aend['anz_aend'] == 0){
|
||||
echo "<p align='center'><img src='../images/keine_erstantrag.png' border='0'></p>";
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user