++ Dokumente
Test
admin
Import_CSV_Hogrefe.xlsx
administration_frame.php
bewerber_daten.php
datencheck.php
datencheck_excel.php
dokverw.php
downpdf.php
ergebnisse.php
fetch.php
hauptframe.php
index.php
indexframe.php
kand_del.php
liste_tn.php
logout.php
mail_test.php
menu_administration.php
menu_verwaltung.php
parameter.php
praxisstellen_edit.php
praxisstellen_news.php
prx_search.php
rangliste1.php
rangliste1_excel.php
rangliste2.php
rangliste2_excel.php
rangliste3.php
rangliste3_excel.php
rangliste_prepare.php
save_hs.php
save_note.php
tanimport.php
termine.php
termine.php_bcc
termine_kandidat.php
test_csv.php
titel.php
upload.php
verwaltung_frame.php
ajaxtabs
bewerbung
ckeditor5
classes
config
datepicker
fancybox-2.1.7
hogrefe
jquery
language
lib
media
mpdf
old_CKEditor_4.6.1
overlib
phpspreadsheet-1.13_php-7.4
phpspreadsheet_1.8.1.0_php-7.0
praxisstelle
status
templates
templates_c
upload
uploads
.gitignore
PHPExcel-1.8.zip
aufl.html
config.inc.php
cr_test.php
cron_remember_mail_dummy.php
cron_remember_mail_kehl.php
cron_remember_mail_lubu.php
cron_remember_upload.php
fetch_gebdat.php
func_age.php
func_fetch_tan.php
func_get_parameter.php
func_get_restplatz.php
func_id.php
func_notenskala.php
func_standard_hs.php
func_tangen.php
func_terminwahl.php
index.php
index.php_Ausbildungsjahr_dynamisch
index.php_Ausbildungsjahr_text
my.jpg
phpoffice_phpspreadsheet_1.13.0.0_require.zip
sepa-ueberweisung.jpg
sepa-ueberweisung2.jpg
tanimport.php
test.pdf
test.php
test1.php
ueberweisungstraeger.png
57 lines
1.7 KiB
PHP
Executable File
57 lines
1.7 KiB
PHP
Executable File
<?php
|
|
if(!isset($_SESSION)) { session_start(); }
|
|
|
|
require_once("../config/datenbankanbindung.php");
|
|
|
|
|
|
$resp_hs = $_POST['get_resp_hs'];
|
|
$art = $_POST['get_art'];
|
|
$ka_id = $_POST['get_ka_id'];
|
|
|
|
$db = dbconnect();
|
|
if($art == 'R'){
|
|
#zuständige Hochschule
|
|
$sql1 = $db->query("UPDATE bpm_kandidat
|
|
SET hochschule = '$resp_hs'
|
|
WHERE ka_id = '$ka_id'");
|
|
}
|
|
|
|
if($art == 'W'){
|
|
#Wunsch Hochschule
|
|
$result_countid = $db->query("SELECT count(*) Anz
|
|
FROM bpm_erw_daten
|
|
WHERE ka_id = '$ka_id'");
|
|
$row_countid = $result_countid->fetch_array();
|
|
if($resp_hs != ''){
|
|
if($row_countid['Anz'] == 0){
|
|
$sql1 = $db->query("INSERT INTO bpm_erw_daten (ka_id, wunsch_hs) VALUES ($ka_id, '$resp_hs')");
|
|
}else{
|
|
$sql1 = $db->query("UPDATE bpm_erw_daten
|
|
SET wunsch_hs = '$resp_hs'
|
|
WHERE ka_id = '$ka_id'");
|
|
}
|
|
}
|
|
}
|
|
|
|
if($art == 'Z'){
|
|
#zugewiesene Hochschule
|
|
$result_countid = $db->query("SELECT count(*) Anz
|
|
FROM bpm_erw_daten
|
|
WHERE ka_id = '$ka_id'");
|
|
$row_countid = $result_countid->fetch_array();
|
|
if($resp_hs != ''){
|
|
if($row_countid['Anz'] == 0){
|
|
$sql1 = $db->query("INSERT INTO bpm_erw_daten (ka_id, zugewiesene_hs) VALUES ($ka_id, '$resp_hs')");
|
|
}else{
|
|
$sql1 = $db->query("UPDATE bpm_erw_daten
|
|
SET zugewiesene_hs = '$resp_hs'
|
|
WHERE ka_id = '$ka_id'");
|
|
}
|
|
}
|
|
}
|
|
|
|
exit;
|
|
|
|
?>
|
|
|