first commit
This commit is contained in:
2
.gitignore
vendored
Executable file
2
.gitignore
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
upload/*.pdf
|
||||
uploads/*.pdf
|
BIN
admin/Import_CSV_Hogrefe.xlsx
Executable file
BIN
admin/Import_CSV_Hogrefe.xlsx
Executable file
Binary file not shown.
9
admin/administration_frame.php
Executable file
9
admin/administration_frame.php
Executable file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
1566
admin/bewerber_daten.html
Executable file
1566
admin/bewerber_daten.html
Executable file
File diff suppressed because it is too large
Load Diff
1294
admin/bewerber_daten.php
Executable file
1294
admin/bewerber_daten.php
Executable file
File diff suppressed because it is too large
Load Diff
210
admin/datencheck.php
Executable file
210
admin/datencheck.php
Executable file
@ -0,0 +1,210 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
#Anzahl der getesteten Kandidaten
|
||||
$result_anzget = $db->query("SELECT count(distinct ka_id) Anz
|
||||
FROM dvm_term_kand a, dvm_tanpool b
|
||||
WHERE a.tp_id = b.tp_id
|
||||
AND b.login_dat != '0000-00-00 00:00:00'");
|
||||
$row_anzget = $result_anzget->fetch_array();
|
||||
$smarty->assign('datenchk_anzget', $row_anzget['Anz']);
|
||||
|
||||
#Anzahl der Kandidaten mit ausstehendem Test
|
||||
$result_aussttest = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_tanpool b
|
||||
WHERE verw_dat != '0000-00-00 00:00:00'
|
||||
AND b.login_dat = '0000-00-00 00:00:00'");
|
||||
$row_aussttest = $result_aussttest->fetch_array();
|
||||
$smarty->assign('datenchk_aussttest', $row_aussttest['Anz']);
|
||||
|
||||
#Anzahl aller Anmeldung
|
||||
$result_alleranm = $db->query("SELECT count(distinct ka_id) Anz
|
||||
FROM dvm_term_kand a, dvm_tanpool b
|
||||
WHERE a.tp_id = b.tp_id
|
||||
AND b.verw_dat != '0000-00-00 00:00:00'");
|
||||
$row_alleranm = $result_alleranm->fetch_array();
|
||||
$smarty->assign('datenchk_alleranm', $row_alleranm['Anz']);
|
||||
|
||||
#Anzahl Durchfaller - komplizierter. Wenn er nach dem ersten Mal durchgefallen doch bestanden hat, gilt er nicht als Durchfaller
|
||||
$query = "SELECT ka_id, max(tp_id) tp_id
|
||||
FROM dvm_term_kand
|
||||
GROUP BY ka_id
|
||||
";
|
||||
|
||||
$result = $db->query($query) or die("Cannot execute query1");
|
||||
$zaehler = 0;
|
||||
while ($row = $result->fetch_array()) {
|
||||
$result_tan = $db->query("SELECT tan
|
||||
FROM dvm_tanpool
|
||||
WHERE tp_id = $row[tp_id]");
|
||||
$row_tan = $result_tan->fetch_array();
|
||||
|
||||
$result_bestanden = $db->query("SELECT bestanden, vorname, nachname, id
|
||||
FROM dvm_ergebnisse a, dvm_kandidat b
|
||||
WHERE a.ka_id = $row[ka_id]
|
||||
AND tan = '$row_tan[tan]'
|
||||
AND a.ka_id = b.ka_id
|
||||
");
|
||||
$row_bestanden = $result_bestanden->fetch_array();
|
||||
if($row_bestanden['bestanden'] == 0 and $row_bestanden['bestanden'] != ''){
|
||||
$zaehler++;
|
||||
# echo "$row_bestanden[nachname], $row_bestanden[vorname], $row_bestanden[id]<br>";
|
||||
}
|
||||
}
|
||||
$smarty->assign('datenchk_anzdurchfaller', $zaehler);
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT a.ka_id, perso, vorname, nachname, mail, date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
, a.hochschule
|
||||
, behinderung
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_upload WHERE upload_dat != '0000-00-00 00:00:00')
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY tm_datum DESC, nachname ASC, vorname ASC
|
||||
";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
$row_cnt = $result1->num_rows;
|
||||
$smarty->assign('dokverw_anzdb', $row_cnt);
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
$result_test = $db->query("SELECT summe
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = '$row1[ka_id]'
|
||||
AND bestanden = '1'");
|
||||
$row_test = $result_test->fetch_array();
|
||||
|
||||
$result_perso = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_kandidat
|
||||
WHERE perso = '$row1[perso]'
|
||||
");
|
||||
$row_perso = $result_perso->fetch_array();
|
||||
if($row_perso['Anz'] > 1){
|
||||
$perso_alert = "red";
|
||||
}else{
|
||||
$perso_alert = "black";
|
||||
}
|
||||
|
||||
|
||||
$result_anzhzb = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'HZB'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzhzb = $result_anzhzb->fetch_array();
|
||||
if($row_anzhzb['Anz'] > 0){
|
||||
$image_hzb = "ok.gif";
|
||||
}else{
|
||||
$image_hzb = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzzusage = $db->query("SELECT b.bez
|
||||
FROM dvm_dst_wunsch a, dvm_dienststellen b
|
||||
WHERE a.dst_id = b.dst_id
|
||||
AND a.zusage = 'J'
|
||||
AND a.ka_id = '$row1[ka_id]'");
|
||||
|
||||
$row_anzzusage = $result_anzzusage->fetch_array();
|
||||
if($row_anzzusage['bez'] != ''){
|
||||
$image_zusage = "ok.gif";
|
||||
$dstzusagebez = $row_anzzusage['bez'];
|
||||
}else{
|
||||
$image_zusage = "cross.jpg";
|
||||
$dstzusagebez = "";
|
||||
}
|
||||
|
||||
# Wunschhochschule
|
||||
$result_wunschhs = $db->query("SELECT wunsch_hs
|
||||
FROM dvm_erw_daten
|
||||
WHERE ka_id = '$row1[ka_id]'");
|
||||
$row_wunschhs = $result_wunschhs->fetch_array();
|
||||
if($row_wunschhs['wunsch_hs'] == 'E'){
|
||||
$wunsch_hs = "Egal";
|
||||
}elseif($row_wunschhs['wunsch_hs'] == 'K'){
|
||||
$wunsch_hs = "Kehl";
|
||||
}elseif($row_wunschhs['wunsch_hs'] == 'L'){
|
||||
$wunsch_hs = "Ludwigsburg";
|
||||
}
|
||||
|
||||
$result_anzzeug = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE (beschreibung = 'Zeugnis 1'
|
||||
OR beschreibung = 'Zeugnis 2')
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzzeug = $result_anzzeug->fetch_array();
|
||||
if($row_anzzeug['Anz'] >= 2){
|
||||
$image_zeug = "ok.gif";
|
||||
}else{
|
||||
$image_zeug = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzleben = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Lebenslauf'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzleben = $result_anzleben->fetch_array();
|
||||
if($row_anzleben['Anz'] >= 1){
|
||||
$image_leben = "ok.gif";
|
||||
}else{
|
||||
$image_leben = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_notehzb = $db->query("SELECT hzb, zeugnisschnitt
|
||||
FROM dvm_note
|
||||
WHERE ka_id = '$row1[ka_id]'");
|
||||
$row_notehzb = $result_notehzb->fetch_array();
|
||||
if($row_notehzb['hzb'] == "0.00" or $row_notehzb['hzb'] == ""){
|
||||
$image_notehzb = "cross.jpg";
|
||||
}else{
|
||||
$image_notehzb = "ok.gif";
|
||||
}
|
||||
|
||||
if($row_notehzb['zeugnisschnitt'] == "0.00" or $row_notehzb['zeugnisschnitt'] == ""){
|
||||
$image_noteschnitt = "cross.jpg";
|
||||
}else{
|
||||
$image_noteschnitt = "ok.gif";
|
||||
}
|
||||
|
||||
$row1['image_zusage'] = $image_zusage;
|
||||
$row1['perso_alert'] = $perso_alert;
|
||||
$row1['dstzusagebez'] = $dstzusagebez;
|
||||
$row1['image_noteschnitt'] = $image_noteschnitt;
|
||||
$row1['image_notehzb'] = $image_notehzb;
|
||||
$row1['image_leben'] = $image_leben;
|
||||
$row1['image_zeug'] = $image_zeug;
|
||||
$row1['anz_zeug'] = $row_anzzeug['Anz'];
|
||||
$row1['image_hzb'] = $image_hzb;
|
||||
$row1['testergebnis'] = $row_test['summe'];
|
||||
$row1['wunsch_hs'] = $wunsch_hs;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
160
admin/datencheck.php_20200723
Executable file
160
admin/datencheck.php_20200723
Executable file
@ -0,0 +1,160 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
#Anzahl der getesteten Kandidaten
|
||||
$result_anzget = $db->query("SELECT count(distinct ka_id) Anz
|
||||
FROM dvm_term_kand a, dvm_tanpool b
|
||||
WHERE a.tp_id = b.tp_id
|
||||
AND b.login_dat != '0000-00-00 00:00:00'");
|
||||
$row_anzget = $result_anzget->fetch_array();
|
||||
$smarty->assign('datenchk_anzget', $row_anzget['Anz']);
|
||||
|
||||
#Anzahl der Kandidaten mit ausstehendem Test
|
||||
$result_aussttest = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_tanpool b
|
||||
WHERE verw_dat != '0000-00-00 00:00:00'
|
||||
AND b.login_dat = '0000-00-00 00:00:00'");
|
||||
$row_aussttest = $result_aussttest->fetch_array();
|
||||
$smarty->assign('datenchk_aussttest', $row_aussttest['Anz']);
|
||||
|
||||
#Anzahl aller Anmeldung
|
||||
$result_alleranm = $db->query("SELECT count(distinct ka_id) Anz
|
||||
FROM dvm_term_kand a, dvm_tanpool b
|
||||
WHERE a.tp_id = b.tp_id
|
||||
AND b.verw_dat != '0000-00-00 00:00:00'");
|
||||
$row_alleranm = $result_alleranm->fetch_array();
|
||||
$smarty->assign('datenchk_alleranm', $row_alleranm['Anz']);
|
||||
|
||||
#Anzahl Durchfaller - komplizierter. Wenn er nach dem ersten Mal durchgefallen doch bestanden hat, gilt er nicht als Durchfaller
|
||||
$query = "SELECT ka_id, max(tp_id) tp_id
|
||||
FROM dvm_term_kand
|
||||
GROUP BY ka_id
|
||||
";
|
||||
|
||||
$result = $db->query($query) or die("Cannot execute query1");
|
||||
$zaehler = 0;
|
||||
while ($row = $result->fetch_array()) {
|
||||
$result_tan = $db->query("SELECT tan
|
||||
FROM dvm_tanpool
|
||||
WHERE tp_id = $row[tp_id]");
|
||||
$row_tan = $result_tan->fetch_array();
|
||||
|
||||
$result_bestanden = $db->query("SELECT bestanden
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = $row[ka_id]
|
||||
AND tan = '$row_tan[tan]'");
|
||||
$row_bestanden = $result_bestanden->fetch_array();
|
||||
if($row_bestanden['bestanden'] == 0 and $row_bestanden['bestanden'] != ''){
|
||||
$zaehler++;
|
||||
}
|
||||
}
|
||||
$smarty->assign('datenchk_anzdurchfaller', $zaehler);
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT a.ka_id, vorname, nachname, date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_upload WHERE upload_dat != '0000-00-00 00:00:00')
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY tm_datum DESC, nachname ASC, vorname ASC
|
||||
";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
$row_cnt = $result1->num_rows;
|
||||
$smarty->assign('dokverw_anzdb', $row_cnt);
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
$result_test = $db->query("SELECT summe
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = '$row1[ka_id]'
|
||||
AND bestanden = '1'");
|
||||
$row_test = $result_test->fetch_array();
|
||||
|
||||
$result_anzhzb = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'HZB'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzhzb = $result_anzhzb->fetch_array();
|
||||
if($row_anzhzb['Anz'] > 0){
|
||||
$image_hzb = "ok.gif";
|
||||
}else{
|
||||
$image_hzb = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzzeug = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Zeugnis'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzzeug = $result_anzzeug->fetch_array();
|
||||
if($row_anzzeug['Anz'] >= 2){
|
||||
$image_zeug = "ok.gif";
|
||||
}else{
|
||||
$image_zeug = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzleben = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Lebenslauf'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzleben = $result_anzleben->fetch_array();
|
||||
if($row_anzleben['Anz'] >= 1){
|
||||
$image_leben = "ok.gif";
|
||||
}else{
|
||||
$image_leben = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_notehzb = $db->query("SELECT hzb, zeugnisschnitt
|
||||
FROM dvm_note
|
||||
WHERE ka_id = '$row1[ka_id]'");
|
||||
$row_notehzb = $result_notehzb->fetch_array();
|
||||
if($row_notehzb['hzb'] == "0.00" or $row_notehzb['hzb'] == ""){
|
||||
$image_notehzb = "cross.jpg";
|
||||
}else{
|
||||
$image_notehzb = "ok.gif";
|
||||
}
|
||||
|
||||
if($row_notehzb['zeugnisschnitt'] == "0.00" or $row_notehzb['zeugnisschnitt'] == ""){
|
||||
$image_noteschnitt = "cross.jpg";
|
||||
}else{
|
||||
$image_noteschnitt = "ok.gif";
|
||||
}
|
||||
|
||||
$row1['image_noteschnitt'] = $image_noteschnitt;
|
||||
$row1['image_notehzb'] = $image_notehzb;
|
||||
$row1['image_leben'] = $image_leben;
|
||||
$row1['image_zeug'] = $image_zeug;
|
||||
$row1['anz_zeug'] = $row_anzzeug['Anz'];
|
||||
$row1['image_hzb'] = $image_hzb;
|
||||
$row1['testergebnis'] = $row_test['summe'];
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
283
admin/datencheck_excel.php
Executable file
283
admin/datencheck_excel.php
Executable file
@ -0,0 +1,283 @@
|
||||
<?php
|
||||
# Orner phpspreadsheet_1.8.1.0_php-7.0 für Hoschschule verwenden
|
||||
#require_once "../phpspreadsheet-1.13_php-7.4/vendor/autoload.php";
|
||||
require_once "../phpspreadsheet_1.8.1.0/vendor/autoload.php";
|
||||
require_once("../config.inc.php");
|
||||
|
||||
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
|
||||
$spreadsheet = new Spreadsheet();
|
||||
#$spreadsheet->getActiveSheet()->getPageSetup()->setFitToWidth(1);
|
||||
#$spreadsheet->getActiveSheet()->getPageSetup()->setFitToHeight(0);
|
||||
|
||||
$activeSheet = $spreadsheet->getActiveSheet();
|
||||
|
||||
$activeSheet->getStyle('A1:AB1')->applyFromArray(array(
|
||||
'font' => array(
|
||||
'bold' => true
|
||||
)
|
||||
));
|
||||
|
||||
|
||||
$activeSheet->setCellValue('A1', 'Bewerbernr.');
|
||||
$activeSheet->setCellValue('B1', 'Anrede');
|
||||
$activeSheet->setCellValue('C1', 'Vorname');
|
||||
$activeSheet->setCellValue('D1', 'Nachname');
|
||||
$activeSheet->setCellValue('E1', 'Ausweis');
|
||||
$activeSheet->setCellValue('F1', 'Mail');
|
||||
$activeSheet->setCellValue('G1', 'Straße');
|
||||
$activeSheet->setCellValue('H1', 'PLZ');
|
||||
$activeSheet->setCellValue('I1', 'Ort');
|
||||
$activeSheet->setCellValue('J1', 'Geburtsdatum');
|
||||
$activeSheet->setCellValue('K1', 'Testdatum');
|
||||
$activeSheet->setCellValue('L1', 'Zuständige Hochschule');
|
||||
$activeSheet->setCellValue('M1', 'Wunsch Hochschule');
|
||||
$activeSheet->setCellValue('N1', 'Zugewiesene Hochschule');
|
||||
$activeSheet->setCellValue('O1', 'Testergebnis');
|
||||
$activeSheet->setCellValue('P1', 'Verkürzung');
|
||||
$activeSheet->setCellValue('Q1', 'Schwerbehinderung');
|
||||
$activeSheet->setCellValue('R1', 'PDF Upload HZB');
|
||||
$activeSheet->setCellValue('S1', 'PDF Upload Zeugnisse');
|
||||
$activeSheet->setCellValue('T1', 'Lebenslauf');
|
||||
$activeSheet->setCellValue('U1', 'Note HZB');
|
||||
$activeSheet->setCellValue('V1', 'Notenwert HZB');
|
||||
$activeSheet->setCellValue('W1', 'Note Durchschnitt');
|
||||
$activeSheet->setCellValue('X1', 'Notewert Durchschnitt');
|
||||
$activeSheet->setCellValue('Y1', 'Bezeichnung Ausbildungsstelle');
|
||||
$activeSheet->setCellValue('Z1', 'Straße Ausbildungsstelle');
|
||||
$activeSheet->setCellValue('AA1', 'PLZ Ausbildungsstelle');
|
||||
$activeSheet->setCellValue('AB1', 'Ort Ausbildungsstelle');
|
||||
$activeSheet->freezePane('A2');
|
||||
|
||||
$query = $db->query("SELECT a.ka_id
|
||||
,CASE anrede
|
||||
WHEN 'W' THEN 'Frau'
|
||||
WHEN 'M' THEN 'Herr'
|
||||
ELSE '' END as Anrede
|
||||
,vorname
|
||||
,nachname
|
||||
,perso
|
||||
,mail
|
||||
,str
|
||||
,plz
|
||||
,ort
|
||||
,mail
|
||||
,date_format(gebdat, '%d.%m.%Y') Gebdat
|
||||
,date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum
|
||||
,CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
,behinderung
|
||||
,a.hochschule
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_upload WHERE upload_dat != '0000-00-00 00:00:00')
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY nachname ASC, vorname ASC
|
||||
");
|
||||
|
||||
if ($query->num_rows > 0) {
|
||||
$i = 2;
|
||||
while ($row = $query->fetch_assoc()) {
|
||||
|
||||
$result_test = $db->query("SELECT summe
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = '$row[ka_id]'
|
||||
AND bestanden = '1'");
|
||||
$row_test = $result_test->fetch_array();
|
||||
|
||||
# $result_rang3 = $db->query("SELECT rang3
|
||||
# FROM dvm_tmp_jahrgang_kandidat
|
||||
# WHERE ka_id = '$row[ka_id]'
|
||||
# ");
|
||||
# $row_rang3 = $result_rang3->fetch_array();
|
||||
|
||||
if ($row['verkuerzung'] == 'J') {
|
||||
$verkuerzung = 'Ja';
|
||||
} else {
|
||||
$verkuerzung = '';
|
||||
}
|
||||
if ($row['behinderung'] == 'J') {
|
||||
$behinderung = 'Ja';
|
||||
} else {
|
||||
$behinderung = '';
|
||||
}
|
||||
|
||||
$result_anzhzb = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'HZB'
|
||||
AND ka_id = '$row[ka_id]'");
|
||||
$row_anzhzb = $result_anzhzb->fetch_array();
|
||||
if ($row_anzhzb['Anz'] > 0) {
|
||||
$pdf_hzb = "Ja";
|
||||
} else {
|
||||
$pdf_hzb = "Nein";
|
||||
}
|
||||
|
||||
$result_anzzeug = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung like 'Zeugnis%'
|
||||
AND ka_id = '$row[ka_id]'");
|
||||
$row_anzzeug = $result_anzzeug->fetch_array();
|
||||
|
||||
$result_anzleben = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Lebenslauf'
|
||||
AND ka_id = '$row[ka_id]'");
|
||||
$row_anzleben = $result_anzleben->fetch_array();
|
||||
if ($row_anzleben['Anz'] >= 1) {
|
||||
$leben = "Ja";
|
||||
} else {
|
||||
$leben = "Nein";
|
||||
}
|
||||
|
||||
$result_notehzb = $db->query("SELECT hzb, zeugnisschnitt
|
||||
FROM dvm_note
|
||||
WHERE ka_id = '$row[ka_id]'");
|
||||
$row_notehzb = $result_notehzb->fetch_array();
|
||||
if ($row_notehzb['hzb'] == "0.00" or $row_notehzb['hzb'] == "") {
|
||||
$notehzb = "Nein";
|
||||
$note_hzb = '';
|
||||
} else {
|
||||
$notehzb = "Ja";
|
||||
$note_hzb = number_format($row_notehzb['hzb'], 1, ',', '.');
|
||||
}
|
||||
|
||||
if ($row_notehzb['zeugnisschnitt'] == "0.00" or $row_notehzb['zeugnisschnitt'] == "") {
|
||||
$noteschnitt = "Nein";
|
||||
$note_wert = '';
|
||||
} else {
|
||||
$noteschnitt = "Ja";
|
||||
$note_wert = number_format($row_notehzb['zeugnisschnitt'], 1, ',', '.');
|
||||
}
|
||||
|
||||
$result_dst = $db->query("SELECT bez, str, plz, ort
|
||||
FROM dvm_dienststellen a
|
||||
WHERE dst_id IN (SELECT dst_id
|
||||
FROM dvm_dst_wunsch b
|
||||
WHERE a.dst_id = b.dst_id
|
||||
AND b.ka_id = '$row[ka_id]'
|
||||
AND zusage ='J')");
|
||||
$row_dst = $result_dst->fetch_array();
|
||||
if ($row_dst['bez'] != "") {
|
||||
$dst_bez = $row_dst['bez'];
|
||||
$dst_str = $row_dst['str'];
|
||||
$dst_plz = $row_dst['plz'];
|
||||
$dst_ort = $row_dst['ort'];
|
||||
} else {
|
||||
$dst_bez = '';
|
||||
$dst_str = '';
|
||||
$dst_plz = '';
|
||||
$dst_ort = '';
|
||||
}
|
||||
|
||||
$result_erwhs = $db->query("SELECT wunsch_hs
|
||||
FROM dvm_erw_daten
|
||||
WHERE ka_id = '$row[ka_id]'
|
||||
");
|
||||
$row_erwhs = $result_erwhs->fetch_array();
|
||||
|
||||
if($row_erwhs['wunsch_hs'] == 'E'){
|
||||
$wunsch_hs = "Egal";
|
||||
}elseif($row_erwhs['wunsch_hs'] == 'K'){
|
||||
$wunsch_hs = "Kehl";
|
||||
}elseif($row_erwhs['wunsch_hs'] == 'L'){
|
||||
$wunsch_hs = "Ludwigsburg";
|
||||
}elseif($row_erwhs['wunsch_hs'] == ''){
|
||||
$wunsch_hs = "";
|
||||
}
|
||||
|
||||
if($row_erwhs['zugewiesene_hs'] == 'O'){
|
||||
$zugewiesene_hs = "Offen";
|
||||
}elseif($row_erwhs['zugewiesene_hs'] == 'K'){
|
||||
$zugewiesene_hs = "Kehl";
|
||||
}elseif($row_erwhs['zugewiesene_hs'] == 'L'){
|
||||
$zugewiesene_hs = "Ludwigsburg";
|
||||
}elseif($row_erwhs['zugewiesene_hs'] == ''){
|
||||
$zugewiesene_hs = "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
$activeSheet->setCellValue('A' . $i, $row['ka_id']);
|
||||
$activeSheet->setCellValue('B' . $i, "$row[Anrede]");
|
||||
$activeSheet->setCellValue('C' . $i, "$row[vorname]");
|
||||
$activeSheet->setCellValue('D' . $i, "$row[nachname]");
|
||||
$activeSheet->setCellValue('E' . $i, "$row[perso]");
|
||||
$activeSheet->setCellValue('F' . $i, "$row[mail]");
|
||||
$activeSheet->setCellValue('G' . $i, "$row[str]");
|
||||
$activeSheet->setCellValue('H' . $i, "$row[plz]");
|
||||
$activeSheet->setCellValue('I' . $i, "$row[ort]");
|
||||
$activeSheet->setCellValue('J' . $i, "$row[Gebdat]");
|
||||
$activeSheet->setCellValue('K' . $i, "$row[tm_datum] ($row[tm_standort])");
|
||||
$activeSheet->setCellValue('L' . $i, $row['hochschule']);
|
||||
$activeSheet->setCellValue('M' . $i, $wunsch_hs);
|
||||
$activeSheet->setCellValue('N' . $i, $zugewiesene_hs);
|
||||
$activeSheet->setCellValue('O' . $i, "$row_test[summe] / 130");
|
||||
$activeSheet->setCellValue('P' . $i, $verkuerzung);
|
||||
$activeSheet->setCellValue('Q' . $i, $behinderung);
|
||||
$activeSheet->setCellValue('R' . $i, $pdf_hzb);
|
||||
$activeSheet->setCellValue('S' . $i, "$row_anzzeug[Anz] / 2");
|
||||
$activeSheet->setCellValue('T' . $i, $leben);
|
||||
$activeSheet->setCellValue('U' . $i, $notehzb);
|
||||
$activeSheet->setCellValue('V' . $i, $note_hzb);
|
||||
$activeSheet->setCellValue('W' . $i, $noteschnitt);
|
||||
$activeSheet->setCellValue('X' . $i, $note_wert);
|
||||
$activeSheet->setCellValue('Y' . $i, $dst_bez);
|
||||
$activeSheet->setCellValue('Z' . $i, $dst_str);
|
||||
$activeSheet->setCellValue('AA' . $i, $dst_plz);
|
||||
$activeSheet->setCellValue('AB' . $i, $dst_ort);
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$spreadsheet->getActiveSheet()->setTitle("Datencheck");
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('A')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('C')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('D')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('E')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('F')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('G')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('H')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('I')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('J')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('K')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('L')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('M')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('N')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('O')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('P')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('Q')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('R')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('S')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('T')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('U')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('V')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('W')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('X')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('Y')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('Z')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('AA')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('AB')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->setSelectedCell('A1');
|
||||
$writer = new Xlsx($spreadsheet);
|
||||
$filename = 'Datencheck.xlsx';
|
||||
|
||||
header('Content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
||||
header('Content-Disposition: attachment;filename=' . $filename);
|
||||
header('Cache-Control: max-age=0');
|
||||
$writer->save('php://output');
|
||||
|
||||
?>
|
110
admin/dokverw.php
Executable file
110
admin/dokverw.php
Executable file
@ -0,0 +1,110 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_restplatz.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
$verz = "../uploads/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT up_id, file, ka_id
|
||||
FROM dvm_upload
|
||||
WHERE upload_dat != '0000-00-00 00:00:00'";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
$row_cnt = $result1->num_rows;
|
||||
$smarty->assign('dokverw_anzdb', $row_cnt);
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$result_kand = $db->query("SELECT vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = '$row1[ka_id]'");
|
||||
$row_kand = $result_kand->fetch_array();
|
||||
if (file_exists($row1['file'])) {
|
||||
$exists = 1;
|
||||
} else {
|
||||
$exists = 0;
|
||||
}
|
||||
|
||||
$row1['vorname'] = $row_kand['vorname'];
|
||||
$row1['nachname'] = $row_kand['nachname'];
|
||||
$row1['exists'] = $exists;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
|
||||
$dir = $_SERVER["DOCUMENT_ROOT"].dirname($_SERVER['PHP_SELF'])."/$verz";
|
||||
|
||||
$folder = dir($dir);
|
||||
while ($dateiname = $folder->read()) {
|
||||
if (filetype($dir.$dateiname) != "dir") {
|
||||
$ext = strrchr($dateiname, '.');
|
||||
if($ext == '.pdf'){
|
||||
$result_checkdoc = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE file ='$verz$dateiname'
|
||||
LIMIT 1");
|
||||
$row_checkdoc = $result_checkdoc->fetch_array();
|
||||
if($row_checkdoc['Anz'] == 0){
|
||||
$exists2 = 0;
|
||||
$vorname = "";
|
||||
$nachname = "";
|
||||
}else{
|
||||
$result_checkdoc2 = $db->query("SELECT ka_id
|
||||
FROM dvm_upload
|
||||
WHERE file ='$verz$dateiname'
|
||||
LIMIT 1");
|
||||
$row_checkdoc2 = $result_checkdoc2->fetch_array();
|
||||
|
||||
$result_kand = $db->query("SELECT vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = '$row_checkdoc2[ka_id]'");
|
||||
$row_kand = $result_kand->fetch_array();
|
||||
$vorname = $row_kand['vorname'];
|
||||
$nachname = $row_kand['nachname'];
|
||||
$exists2 = 1;
|
||||
}
|
||||
$row2['vorname'] = $vorname;
|
||||
$row2['nachname'] = $nachname;
|
||||
$row2['file'] = $dateiname;
|
||||
$row2['exists'] = $exists2;
|
||||
$row2['dateiname'] = $dateiname;
|
||||
$table_data2[] = $row2;
|
||||
}
|
||||
}
|
||||
}
|
||||
$smarty->assign('table_data2', $table_data2);
|
||||
$cntserver = count($table_data2);
|
||||
$smarty->assign('dokverw_anzserver', $cntserver);
|
||||
}
|
||||
if ($action == 'delserver') {
|
||||
$file = $verz.$_GET['file'];
|
||||
@unlink($file);
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
if ($action == 'deldb') {
|
||||
$up_id = $_GET['up_id'];
|
||||
$sql1 = $db->query("DELETE FROM dvm_upload
|
||||
WHERE up_id = $up_id
|
||||
");
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
27
admin/downpdf.php
Executable file
27
admin/downpdf.php
Executable file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
require_once("../config.inc.php");
|
||||
if($_SESSION["global_username"] == ''){
|
||||
echo"<script type='text/javascript'>window.top.location.href = \"index.php\";</script>";
|
||||
exit;
|
||||
}
|
||||
$file = $_GET["file"];
|
||||
if (file_exists($file)) {
|
||||
header("Content-Type: application/octet-stream");
|
||||
header("Content-Disposition: attachment; filename=" . urlencode(basename($file)));
|
||||
header("Content-Type: application/download");
|
||||
header("Content-Description: File Transfer");
|
||||
header("Content-Length: " . filesize($file));
|
||||
|
||||
flush(); // This doesn't really matter.
|
||||
|
||||
$fp = fopen($file, "r");
|
||||
while (!feof($fp)) {
|
||||
echo fread($fp, 65536);
|
||||
flush(); // This is essential for large downloads
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
}else{
|
||||
echo "Datei nicht gefunden";
|
||||
}
|
||||
?>
|
123
admin/ergebnisse.php
Executable file
123
admin/ergebnisse.php
Executable file
@ -0,0 +1,123 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
|
||||
$query1 = "SELECT a.tm_id, date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine a, dvm_term_kand b, dvm_ergebnisse c
|
||||
WHERE a.tm_id=b.tm_id
|
||||
AND b.ka_id = c.ka_id
|
||||
AND a.tm_datum > ADDDATE(now(), -365)
|
||||
AND a.tm_datum < now()
|
||||
GROUP BY a.tm_id, tm_datum_form, tm_standort
|
||||
ORDER BY tm_datum desc";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
if ($row1['tm_standort'] == 'L') {
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if ($row1['tm_standort'] == 'K') {
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
$row1['tm_standort'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if ($action == 'ausgabe') {
|
||||
if (isset($_POST["testtermin"])) {
|
||||
$testtermin = $_POST["testtermin"];
|
||||
} else {
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
}
|
||||
|
||||
$_SESSION["testtermin"] = $testtermin;
|
||||
|
||||
$result = $db->query("SELECT date_format(tm_datum, '%d.%m.%Y') tm_datum, tm_standort
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $testtermin");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
if ($row['tm_standort'] == 'L') {
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if ($row['tm_standort'] == 'K') {
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
$smarty->assign('erg_datum', $row['tm_datum']);
|
||||
$smarty->assign('erg_standort', $standort);
|
||||
|
||||
$query1 = "SELECT vorname, nachname, a.ka_id, a.tan, satzerg, analogie, rechenaufgaben, zahlenreihen, rechenzeichen, matrizen, merkf, summe, bestanden, a.eg_id
|
||||
FROM dvm_ergebnisse a, dvm_kandidat b, dvm_term_kand c, dvm_termine d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.ka_id = c.ka_id
|
||||
AND c.tm_id = d.tm_id
|
||||
AND c.tp_id = e.tp_id
|
||||
AND e.tan = a.tan
|
||||
AND d.tm_id = $testtermin
|
||||
ORDER BY nachname ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$row1['tm_standort'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'del') {
|
||||
$ka_id = $_GET['ka_id'];
|
||||
$eg_id = $_GET['eg_id'];
|
||||
|
||||
$result = $db->query("SELECT vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = $ka_id");
|
||||
$row = $result->fetch_array();
|
||||
$smarty->assign('del_name', "$row[vorname] $row[nachname]");
|
||||
$smarty->assign('del_eg_id', $eg_id);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'del2') {
|
||||
$eg_id = $_GET['eg_id'];
|
||||
|
||||
$sql1 = $db->query("UPDATE dvm_ergebnisse
|
||||
SET summe = 0
|
||||
,bestanden='0'
|
||||
WHERE eg_id= $eg_id");
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=ausgabe\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
85
admin/fetch.php
Executable file
85
admin/fetch.php
Executable file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
$db = dbconnect();
|
||||
$output = '';
|
||||
$script = '';
|
||||
$script = $_POST['script'];
|
||||
|
||||
if(isset($_POST["query"]))
|
||||
{
|
||||
$search = mysqli_real_escape_string($db, $_POST["query"]);
|
||||
if($script == "kand_del" OR $script == "termine_kandidat"){
|
||||
$query = "
|
||||
SELECT a.ka_id, vorname, nachname
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c
|
||||
WHERE a.ka_id =b.ka_id
|
||||
AND b.tp_id =c.tp_id
|
||||
AND c.login_dat = '0000-00-00 00:00:00'
|
||||
AND (vorname LIKE '%".$search."%'
|
||||
OR nachname LIKE '%".$search."%')
|
||||
ORDER BY nachname ASC, vorname ASC";
|
||||
}else{
|
||||
$query = "
|
||||
SELECT ka_id, vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE vorname LIKE '%".$search."%'
|
||||
OR nachname LIKE '%".$search."%'
|
||||
";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if($script == "kand_del" OR $script == "termine_kandidat"){
|
||||
$query = "
|
||||
SELECT a.ka_id, vorname, nachname
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c
|
||||
WHERE a.ka_id =b.ka_id
|
||||
AND b.tp_id =c.tp_id
|
||||
AND c.login_dat = '0000-00-00 00:00:00'
|
||||
ORDER BY nachname ASC, vorname ASC";
|
||||
}else{
|
||||
$query = "
|
||||
SELECT ka_id, vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
ORDER BY nachname, vorname";
|
||||
}
|
||||
}
|
||||
$result = mysqli_query($db, $query);
|
||||
if(mysqli_num_rows($result) > 0)
|
||||
{
|
||||
while($row = mysqli_fetch_array($result))
|
||||
{
|
||||
|
||||
$result2 = $db->query("SELECT date_format(tm_datum, '%d.%m.%Y - %H:%i Uhr') tm_datum_form, tm_datum
|
||||
FROM dvm_term_kand a, dvm_termine b
|
||||
WHERE a.tm_id = b.tm_id
|
||||
AND a.ka_id = '$row[ka_id]'
|
||||
ORDER BY tk_id DESC
|
||||
LIMIT 1");
|
||||
$row2 = $result2->fetch_array();
|
||||
if($row2['tm_datum'] == '0000-00-00 00:00:00'){
|
||||
$tm_datum_form = "-";
|
||||
}else{
|
||||
$tm_datum_form = $row2['tm_datum_form'];
|
||||
}
|
||||
|
||||
|
||||
if(mysqli_num_rows($result) == 1){
|
||||
$output .= "
|
||||
<option value='$row[ka_id]' selected>$row[nachname], $row[vorname] ($tm_datum_form)</option>
|
||||
";
|
||||
|
||||
}else{
|
||||
$output .= "
|
||||
<option value='$row[ka_id]'>$row[nachname], $row[vorname] ($tm_datum_form)</option>
|
||||
";
|
||||
|
||||
}
|
||||
}
|
||||
echo $output;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Data Not Found';
|
||||
}
|
||||
?>
|
9
admin/hauptframe.php
Executable file
9
admin/hauptframe.php
Executable file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
86
admin/index.php
Executable file
86
admin/index.php
Executable file
@ -0,0 +1,86 @@
|
||||
<?php
|
||||
## INDEX gegen DB
|
||||
session_start();
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
|
||||
$action = $_GET['action'];
|
||||
if($action == ''){
|
||||
if(isset($_GET['error'])){
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('index_error', 1);
|
||||
|
||||
if($errorno == 1){
|
||||
$smarty->assign('index_error_text', "Es müssen alle Felder ausgefüllt werden");
|
||||
}
|
||||
|
||||
if($errorno == 2){
|
||||
$smarty->assign('index_error_text', "Der Benutzername ist im System nicht vorhanden");
|
||||
}
|
||||
|
||||
if($errorno == 3){
|
||||
$smarty->assign('index_error_text', "Der Benutzername oder das Passwort ist nicht korrekt.");
|
||||
}
|
||||
|
||||
# Daten aufbereiten bei Fehler
|
||||
if(isset($_SESSION["global_username"])){
|
||||
$smarty->assign('index_user', $_SESSION["global_username"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if($action == 'anmeld'){
|
||||
$username=strtoupper($_POST["user"]); //remove case sensitivity on the username
|
||||
$password=$_POST["password"];
|
||||
|
||||
if($_POST["user"] != ""){
|
||||
$_SESSION["global_username"]=$username;
|
||||
}
|
||||
|
||||
if($username == "" OR $password == ""){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=".$_SERVER['PHP_SELF']."?error=1\">";
|
||||
}else{
|
||||
|
||||
|
||||
$db = dbconnect();
|
||||
$result = $db->query("SELECT dvmuid, uid, passwort FROM dvm_admin WHERE UPPER(uid)='$username'");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
|
||||
if ($username != strtoupper($row['uid'])) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=".$_SERVER['PHP_SELF']."?error=2\">";
|
||||
}
|
||||
// Passwort falsch
|
||||
elseif (md5($password) != $row['passwort']){ //verschlüsseltes Passwort überprüfen
|
||||
# Cookies werden bereits gesetzt, falls sich jemand ein passwort zusenden lässt.
|
||||
$_SESSION["global_uid"] = $row['dvmuid'];
|
||||
$_SESSION["global_username"] = $row['uid'];
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=".$_SERVER['PHP_SELF']."?error=3\">";
|
||||
}else{
|
||||
$db = dbconnect();
|
||||
$datum=date("Y-m-d H:i:s");
|
||||
$ip=getenv("REMOTE_ADDR");
|
||||
$agent=getenv("HTTP_USER_AGENT");
|
||||
$user_admin = $row['dvmuid'];
|
||||
$_SESSION["global_uid"] = $user_admin;
|
||||
$_SESSION["global_username"] = $row['uid'];
|
||||
$result_1 = $db->query("INSERT INTO dvm_adminlog (Datum, IP, user_agent, dvmuid) VALUES ('$datum', '$ip', '$agent', '$user_admin')");
|
||||
$smarty->assign('index_login', "1");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
8
admin/indexframe.php
Executable file
8
admin/indexframe.php
Executable file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
111
admin/kand_del.php
Executable file
111
admin/kand_del.php
Executable file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
|
||||
# Dropdown befüllen übernimmt ajax:fetch.php
|
||||
# $query1 = "SELECT a.ka_id, vorname, nachname, date_format(gebdat, '%d.%m.%Y') geb_format
|
||||
# FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c
|
||||
# WHERE a.ka_id =b.ka_id
|
||||
# AND b.tp_id =c.tp_id
|
||||
# AND c.login_dat = '0000-00-00 00:00:00'
|
||||
# ORDER BY nachname ASC, vorname ASC";
|
||||
#
|
||||
# $result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
#
|
||||
#
|
||||
# while ($row1 = $result1->fetch_array()) {
|
||||
# $table_data1[] = $row1;
|
||||
# }
|
||||
# $smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if ($action == 'nachfrage') {
|
||||
$ka_id = $_POST['user'];
|
||||
|
||||
$result_id = $db->query("SELECT vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = '$ka_id'");
|
||||
$row_id = $result_id->fetch_array();
|
||||
|
||||
$smarty->assign('kand_name', "$row_id[vorname] $row_id[nachname]");
|
||||
$smarty->assign('kand_ka_id', $ka_id);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'delkand') {
|
||||
$ka_id = $_GET['ka_id'];
|
||||
|
||||
|
||||
$result_del = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c
|
||||
WHERE a.ka_id =b.ka_id
|
||||
AND b.tp_id =c.tp_id
|
||||
AND c.login_dat = '0000-00-00 00:00:00'
|
||||
AND a.ka_id = $ka_id
|
||||
");
|
||||
$row_del = $result_del->fetch_array();
|
||||
|
||||
# Kandidat war inzwischen nicht beim Test angemeldet
|
||||
if ($row_del['Anz'] == 1) {
|
||||
|
||||
#Aktuelle Tan ermitteln
|
||||
$result_tan = $db->query("SELECT a.tp_id, tan
|
||||
FROM dvm_tanpool a, dvm_term_kand b
|
||||
WHERE a.tp_id = b.tp_id
|
||||
AND b.ka_id = '$ka_id'
|
||||
ORDER BY b.tk_id DESC
|
||||
LIMIT 1");
|
||||
$row_tan = $result_tan->fetch_array();
|
||||
$tan = $row_tan['tan'];
|
||||
$tp_id = $row_tan['tp_id'];
|
||||
|
||||
|
||||
$sql1 = $db->query("DELETE FROM dvm_term_kand
|
||||
WHERE tp_id = $tp_id
|
||||
AND ka_id= $ka_id");
|
||||
|
||||
$sql1 = $db->query("DELETE FROM dvm_sonstige_mail
|
||||
WHERE ka_id= $ka_id");
|
||||
|
||||
# TAN wieder freigeben
|
||||
$sql2 = $db->query("UPDATE dvm_tanpool
|
||||
SET verw_dat = '0000-00-00 00:00:00'
|
||||
,login_dat = '0000-00-00 00:00:00'
|
||||
WHERE tp_id= $tp_id
|
||||
AND tan = '$tan'");
|
||||
|
||||
# Prüfen, ob es noch eine alte Bewerbung zum Test gibt, den er nicht bestanden hatte. Dann sollen die Stammdaten erhalten bleiben
|
||||
$result_del2 = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_term_kand
|
||||
WHERE ka_id ='$ka_id'
|
||||
");
|
||||
$row_del2 = $result_del2->fetch_array();
|
||||
|
||||
if($row_del2['Anz'] == 0){
|
||||
$sql3 = $db->query("DELETE FROM dvm_kandidat
|
||||
WHERE ka_id= $ka_id");
|
||||
}
|
||||
}
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
111
admin/liste_bestanden.php
Executable file
111
admin/liste_bestanden.php
Executable file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT a.ka_id, vorname, nachname, date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY nachname ASC, vorname ASC
|
||||
";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
$row_cnt = $result1->num_rows;
|
||||
$smarty->assign('dokverw_anzdb', $row_cnt);
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
$result_test = $db->query("SELECT summe
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = '$row1[ka_id]'
|
||||
AND bestanden = '1'");
|
||||
$row_test = $result_test->fetch_array();
|
||||
|
||||
$result_anzhzb = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'HZB'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzhzb = $result_anzhzb->fetch_array();
|
||||
if($row_anzhzb['Anz'] > 0){
|
||||
$image_hzb = "ok.gif";
|
||||
}else{
|
||||
$image_hzb = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzzeug = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Zeugnis'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzzeug = $result_anzzeug->fetch_array();
|
||||
if($row_anzzeug['Anz'] >= 2){
|
||||
$image_zeug = "ok.gif";
|
||||
}else{
|
||||
$image_zeug = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_anzleben = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_upload
|
||||
WHERE beschreibung = 'Lebenslauf'
|
||||
AND ka_id = '$row1[ka_id]'");
|
||||
$row_anzleben = $result_anzleben->fetch_array();
|
||||
if($row_anzleben['Anz'] >= 1){
|
||||
$image_leben = "ok.gif";
|
||||
}else{
|
||||
$image_leben = "cross.jpg";
|
||||
}
|
||||
|
||||
$result_notehzb = $db->query("SELECT hzb, zeugnisschnitt
|
||||
FROM dvm_note
|
||||
WHERE ka_id = '$row1[ka_id]'");
|
||||
$row_notehzb = $result_notehzb->fetch_array();
|
||||
if($row_notehzb['hzb'] == "0.00" or $row_notehzb['hzb'] == ""){
|
||||
$image_notehzb = "cross.jpg";
|
||||
}else{
|
||||
$image_notehzb = "ok.gif";
|
||||
}
|
||||
|
||||
if($row_notehzb['zeugnisschnitt'] == "0.00" or $row_notehzb['zeugnisschnitt'] == ""){
|
||||
$image_noteschnitt = "cross.jpg";
|
||||
}else{
|
||||
$image_noteschnitt = "ok.gif";
|
||||
}
|
||||
|
||||
$row1['image_noteschnitt'] = $image_noteschnitt;
|
||||
$row1['image_notehzb'] = $image_notehzb;
|
||||
$row1['image_leben'] = $image_leben;
|
||||
$row1['image_zeug'] = $image_zeug;
|
||||
$row1['anz_zeug'] = $row_anzzeug['Anz'];
|
||||
$row1['image_hzb'] = $image_hzb;
|
||||
$row1['testergebnis'] = $row_test['summe'];
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
262
admin/liste_tn.php
Executable file
262
admin/liste_tn.php
Executable file
@ -0,0 +1,262 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
|
||||
$query1 = "SELECT a.tm_id, date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine a, dvm_term_kand b
|
||||
WHERE a.tm_id=b.tm_id
|
||||
AND a.tm_datum > ADDDATE(now(), -7)
|
||||
GROUP BY a.tm_id, tm_datum_form, tm_standort
|
||||
ORDER BY tm_datum ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
if($row1['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row1['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
$row1['tm_standort'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if ($action == 'ausgabe') {
|
||||
$testtermin = $_POST["testtermin"];
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $testtermin");
|
||||
$row_get_termin = $query_termin->fetch_array();
|
||||
|
||||
if($row_get_termin['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row_get_termin['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
|
||||
$buffer = '<page backtop="7mm" backbottom="10mm" style="font-size: 11pt">';
|
||||
$buffer .= "<style type='text/css'>
|
||||
.td1 { border:0.3px solid black; }
|
||||
.td_foot { border: none; }
|
||||
body { font-size: 14px; }
|
||||
h1 { font-size: 22px; }
|
||||
table { font-size: 12px; }
|
||||
td{padding: 3px;}
|
||||
table.page_footer {width: 100%; border: none; padding: 20mm}
|
||||
.fcol{color: #0C25BF;}
|
||||
.td2 { border:0.3px solid black;
|
||||
height:1.0cm;
|
||||
}
|
||||
</style>";
|
||||
|
||||
$buffer.="<h1><p align='center'>$row_get_termin[tm_datum_form], $standort</p></h1>
|
||||
<table cellspacing='0' cellpadding='0' border='0.3'>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class='td1' width='180'>
|
||||
<b>Name</b>
|
||||
</td>
|
||||
<td class='td1' width='80'>
|
||||
<b>Geburtstag</b>
|
||||
</td>
|
||||
<td class='td1' width='80'>
|
||||
<b>Minderjährig</b>
|
||||
</td>
|
||||
<td class='td1' width='100'>
|
||||
<b>ID</b>
|
||||
</td>
|
||||
<td class='td1' width='140'>
|
||||
<b>Mail</b>
|
||||
</td>
|
||||
<td class='td1' width='60'>
|
||||
<b>TAN</b>
|
||||
</td>
|
||||
<td class='td1' width='100'>
|
||||
<b>Link</b>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>";
|
||||
$query1 = "SELECT anrede, perso, vorname, nachname, str, plz, ort, alter18, id, date_format(gebdat,'%d.%m.%Y') gebdat_form, tan, tinyurl, mail
|
||||
FROM dvm_term_kand a, dvm_tanpool b, dvm_kandidat c
|
||||
WHERE a.tp_id= b.tp_id
|
||||
AND a.ka_id = c.ka_id
|
||||
AND a.tm_id = $testtermin
|
||||
ORDER BY nachname, vorname
|
||||
";
|
||||
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
$smarty->assign('termine_aktdat', date("d.m.Y H:i", time() ) ) ;
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
if($row1['alter18'] == 0){
|
||||
$minderj = 'ja';
|
||||
}
|
||||
if($row1['alter18'] == 1){
|
||||
$minderj = 'nein';
|
||||
}
|
||||
if($row1['perso'] != ''){
|
||||
$ausweis = "<br>Ausweis: $row1[perso]";
|
||||
}else{
|
||||
$ausweis = "";
|
||||
}
|
||||
$buffer.="
|
||||
<tr>
|
||||
<td class='td1' width='180'>
|
||||
$row1[nachname], $row1[vorname] ($row1[anrede])<br>
|
||||
$row1[str]<br>
|
||||
$row1[plz] $row1[ort]
|
||||
$ausweis
|
||||
</td>
|
||||
<td class='td1' width='80'>
|
||||
$row1[gebdat_form]
|
||||
</td>
|
||||
<td class='td1' width='80'>
|
||||
$minderj
|
||||
</td>
|
||||
<td class='td1' width='100'>
|
||||
$row1[id]
|
||||
</td>
|
||||
<td class='td1' width='140'>
|
||||
$row1[mail]
|
||||
</td>
|
||||
<td class='td1' width='60'>
|
||||
$row1[tan]
|
||||
</td>
|
||||
<td class='td1' width='100'>
|
||||
$row1[tinyurl]
|
||||
</td>
|
||||
</tr>";
|
||||
}
|
||||
|
||||
$buffer.="
|
||||
</table>
|
||||
</page>";
|
||||
|
||||
require_once("../mpdf/vendor/autoload.php");
|
||||
$mpdf = new \Mpdf\Mpdf([
|
||||
'mode' => 'utf-8',
|
||||
'format' => 'A4',
|
||||
'orientation' => 'P',
|
||||
'margin_top' => 10,
|
||||
'margin_bottom' => 10,
|
||||
'margin_left' => 10,
|
||||
'margin_right' => 16,
|
||||
'default_font' => 'arial'
|
||||
]);
|
||||
|
||||
|
||||
|
||||
$query2 = "SELECT anrede, vorname, nachname, str, plz, ort, alter18, id, date_format(gebdat,'%d.%m.%Y') gebdat_form, tan, tinyurl, mail, hochschule
|
||||
FROM dvm_term_kand a, dvm_tanpool b, dvm_kandidat c
|
||||
WHERE a.tp_id= b.tp_id
|
||||
AND a.ka_id = c.ka_id
|
||||
AND a.tm_id = $testtermin
|
||||
ORDER BY nachname, vorname
|
||||
";
|
||||
|
||||
|
||||
$result2 = $db->query($query2) or die("Cannot execute query2");
|
||||
|
||||
$smarty->assign('termine_aktdat', date("d.m.Y H:i", time() ) ) ;
|
||||
while ($row2 = $result2->fetch_array()) {
|
||||
|
||||
if($row2['alter18'] == 0){
|
||||
$minderj = 'ja';
|
||||
}
|
||||
if($row2['alter18'] == 1){
|
||||
$minderj = 'nein';
|
||||
}
|
||||
|
||||
if($row2['hochschule'] == 'Ludwigsburg'){
|
||||
$link = "https://www.hs-ludwigsburg.de/studium/digitales-verwaltungsmanagement-ba/bewerbung-zugang.html";
|
||||
}
|
||||
if($row2['hochschule'] == 'Kehl'){
|
||||
$link = "http://www.hs-kehl.de/studieninteressierte/bachelor-studiengaenge/digitales-verwaltungsmanagement-ba/bewerbung/";
|
||||
}
|
||||
if($row2['hochschule'] == 'NA'){
|
||||
$link = "http://www.hs-kehl.de/studieninteressierte/bachelor-studiengaenge/digitales-verwaltungsmanagement-ba/bewerbung/ bzw.<br>https://www.hs-ludwigsburg.de/studium/digitales-verwaltungsmanagement-ba/bewerbung-zugang.html";
|
||||
}
|
||||
$buffer.="
|
||||
<pagebreak>
|
||||
<page backtop='7mm' backbottom='10mm' style='font-size: 11pt'>
|
||||
<h1>Anmeldedaten für $row2[vorname] $row2[nachname] ($row2[gebdat_form])</h1>
|
||||
<br><br>
|
||||
Bitte bewahren Sie die nachfolgenden Anmeldedaten für das gesamte Bewerbungsverfahren auf.
|
||||
<br>
|
||||
<br>
|
||||
<table cellspacing='0' cellpadding='0' border='0.3'>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class='td2' width='350'>
|
||||
<b>Persönliche ID</b>
|
||||
</td>
|
||||
<td class='td2' width='350'>
|
||||
<b>Passwort/TAN</b>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tr>
|
||||
<td class='td2'>
|
||||
$row2[id]
|
||||
</td>
|
||||
<td class='td2'>
|
||||
$row2[tan]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
Weiterführende Links:
|
||||
<table cellspacing='0' cellpadding='0' border='0.3'>
|
||||
<tr>
|
||||
<td class='td2' width='150'>
|
||||
<b>Weitere Informationen: </b>
|
||||
</td>
|
||||
<td class='td2' width='550'>
|
||||
$link
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</page>";
|
||||
}
|
||||
#$mpdf->setFooter("Teilnehmerliste|$row_get_termin[tm_datum_form], $standort|{PAGENO} / {nb}");
|
||||
$mpdf->setFooter("Testteilnehmer||$row_get_termin[tm_datum_form], $standort");
|
||||
|
||||
|
||||
|
||||
$mpdf->WriteHTML($buffer);
|
||||
|
||||
// Output a PDF file directly to the browser
|
||||
$mpdf->Output();
|
||||
|
||||
|
||||
}
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
12
admin/logout.php
Executable file
12
admin/logout.php
Executable file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
session_destroy();
|
||||
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
151
admin/mail_test.php
Executable file
151
admin/mail_test.php
Executable file
@ -0,0 +1,151 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_parameter.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
|
||||
$query1 = "SELECT a.tm_id, date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine a, dvm_term_kand b
|
||||
WHERE a.tm_id=b.tm_id
|
||||
AND a.tm_datum > ADDDATE(now(), -7)
|
||||
GROUP BY a.tm_id, tm_datum_form, tm_standort
|
||||
ORDER BY tm_datum ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
if($row1['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row1['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
$row1['tm_standort'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if ($action == 'mailsenden_test') {
|
||||
$testtermin = $_POST["testtermin"];
|
||||
$_SESSION["testtermin"] = $testtermin;
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $testtermin");
|
||||
$row_get_termin = $query_termin->fetch_array();
|
||||
|
||||
if($row_get_termin['tm_standort'] == 'L'){
|
||||
$sender = 'Hochschule Ludwigsburg';
|
||||
$sendermail = trim(get_parameter(8));
|
||||
}
|
||||
if($row_get_termin['tm_standort'] == 'K'){
|
||||
$sender = 'Hochschule Kehl';
|
||||
$sendermail = trim(get_parameter(7));
|
||||
}
|
||||
$smarty->assign('mail_sender', $sender);
|
||||
$smarty->assign('mail_sendermail', $sendermail);
|
||||
|
||||
$query1 = "SELECT vorname, nachname, mail
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id IN (SELECT ka_id FROM dvm_term_kand WHERE tm_id = $testtermin)";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
$mail = "";
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail .= $row1['mail'].", ";
|
||||
}
|
||||
$mail = substr($mail,0,-2);
|
||||
$smarty->assign('empfaenger', $mail);
|
||||
}
|
||||
|
||||
if ($action == 'mailsenden2_test') {
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $testtermin");
|
||||
$row_get_termin = $query_termin->fetch_array();
|
||||
|
||||
if($row_get_termin['tm_standort'] == 'L'){
|
||||
$sender = 'Hochschule Ludwigsburg';
|
||||
$sendermail = trim(get_parameter(8));
|
||||
}
|
||||
if($row_get_termin['tm_standort'] == 'K'){
|
||||
$sender = 'Hochschule Kehl';
|
||||
$sendermail = trim(get_parameter(7));
|
||||
}
|
||||
|
||||
$empfaenger_alle = $_POST['mail_mail'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = $_POST['text'];
|
||||
|
||||
$empf_array = explode(",", $empfaenger_alle);
|
||||
# echo "
|
||||
# <pre>
|
||||
# From: $sender - $sendermail<br>
|
||||
# $empfaenger<br>
|
||||
# $betreff<br>
|
||||
# $text<br>";
|
||||
# #print_r($empf_array);
|
||||
# echo "</pre>";
|
||||
# exit;
|
||||
|
||||
$style ="<head><style>p {margin: 0;}</style></head>";
|
||||
$text = $style.$text;
|
||||
|
||||
for($i=0;$i<count($empf_array);$i++){
|
||||
$empfaenger = trim($empf_array[$i]);
|
||||
|
||||
$query_kaid = $db->query("SELECT ka_id
|
||||
FROM dvm_kandidat
|
||||
WHERE mail = '$empfaenger'");
|
||||
$row_kaid = $query_kaid->fetch_array();
|
||||
|
||||
|
||||
## Mailversand:
|
||||
$headers = "From: $sender <$sendermail>\r\n";
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\r\n";
|
||||
$return = @mail($empfaenger, $betreff, $text, $headers);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$text_db = addslashes($text);
|
||||
$betreff_db = addslashes($betreff);
|
||||
if ($return) {
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '$row_kaid[ka_id]', '$empfaenger', '$betreff', '$text_db', 'V', '$datum_db')
|
||||
");
|
||||
$smarty->assign('mail_senderg', "Die Mail wurde verschickt!");
|
||||
} else {
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '$row_kaid[ka_id]', '$empfaenger', '$betreff', '$text_db', 'F', '$datum_db')
|
||||
");
|
||||
$smarty->assign('mail_senderg', "Die Mail konnte nicht verschickt werden!<br>Prüfen Sie die Mailadresse das Kandidaten.");
|
||||
}
|
||||
}
|
||||
}
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
16
admin/menu_administration.php
Executable file
16
admin/menu_administration.php
Executable file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
$action = $_GET['action'];
|
||||
|
||||
if($action == ''){
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
16
admin/menu_verwaltung.php
Executable file
16
admin/menu_verwaltung.php
Executable file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
$action = $_GET['action'];
|
||||
|
||||
if($action == ''){
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
84
admin/parameter.php
Executable file
84
admin/parameter.php
Executable file
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$query1 = "SELECT pid, beschreibung, wert
|
||||
FROM dvm_parameter
|
||||
ORDER BY sort ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
$result_ct = $db->query("SELECT count(*) Anz FROM dvm_tanpool where verw_dat = '0000-00-00 00:00:00'");
|
||||
$row_ct = $result_ct->fetch_array();
|
||||
$smarty->assign('parameter_anzahltan', "$row_ct[Anz]");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
# Passwort f<>r die Praxisstellen wird verschl<68>sselt gespeichert
|
||||
|
||||
if(!isset($zaehler) or $zaehler == 1){
|
||||
$zaehler = 0;
|
||||
}else{
|
||||
$zaehler = 1;
|
||||
}
|
||||
$row1['zaehler'] = $zaehler;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if($action == 'save'){
|
||||
|
||||
|
||||
$query2 = "SELECT pid
|
||||
FROM dvm_parameter
|
||||
ORDER BY pid ASC";
|
||||
$result2 = $db->query( $query2)
|
||||
or die ("Cannot execute query2");
|
||||
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
$pid = $row2['pid'];
|
||||
$pid_value = $_POST[$pid];
|
||||
|
||||
|
||||
$sql1 = $db->query( "UPDATE dvm_parameter
|
||||
SET wert = '$pid_value'
|
||||
WHERE pid = $pid
|
||||
" );
|
||||
|
||||
}
|
||||
|
||||
if(!$sql1){
|
||||
$error = TRUE;
|
||||
$error_reason .= "Fehler beim Update [dvm_parameter]<br>";
|
||||
}else{
|
||||
$error = FALSE;
|
||||
$smarty->assign('parameter_inserterr', "2");
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2; URL=".$_SERVER['PHP_SELF'] ."?\">";
|
||||
}
|
||||
|
||||
if($error){
|
||||
$smarty->assign('parameter_inserterr', "1");
|
||||
$smarty->assign('parameter_reason', "$error_reason"); // Kein Mailversand
|
||||
} // Ende IF : Insert hat geklappt
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
224
admin/praxisstellen_edit.php
Executable file
224
admin/praxisstellen_edit.php
Executable file
@ -0,0 +1,224 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_restplatz.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
if (isset($_GET['edit'])) {
|
||||
$_SESSION["prxedit_status"] = 'edit';
|
||||
$id = $_GET['edit'];
|
||||
$_SESSION["prxedit_id"] = $id;
|
||||
|
||||
} else {
|
||||
$_SESSION["prxedit_status"] = 'neu';
|
||||
unset($_SESSION['prxedit_user']);
|
||||
unset($_SESSION['prxedit_username']);
|
||||
}
|
||||
|
||||
# Falls von bewerber_daten kommend
|
||||
if($_GET['ka_id'] != ''){
|
||||
$user = $_GET['ka_id'];
|
||||
$result_name = $db->query("SELECT vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = $user");
|
||||
$row_name = $result_name->fetch_array();
|
||||
$_SESSION["prxedit_user"] = $user;
|
||||
$_SESSION["prxedit_username"] = "$row_name[vorname] $row_name[nachname]";
|
||||
# Falls aus bewerber_daten.php kommend, bietet man einen zurückbutton an
|
||||
$smarty->assign('prxedit_value_user', $_SESSION["prxedit_user"]);
|
||||
$smarty->assign('prxedit_value_username', $_SESSION["prxedit_username"]);
|
||||
}
|
||||
|
||||
# -- Fehlermeldungen -- #
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('prxedit_error', 1);
|
||||
|
||||
$smarty->assign('prxedit_value_art', $_SESSION["prxedit_value_art"]);
|
||||
$smarty->assign('prxedit_value_name', $_SESSION["prxedit_value_name"]);
|
||||
$smarty->assign('prxedit_value_str', $_SESSION["prxedit_value_str"]);
|
||||
$smarty->assign('prxedit_value_plz', $_SESSION["prxedit_value_plz"]);
|
||||
$smarty->assign('prxedit_value_ort', $_SESSION["prxedit_value_ort"]);
|
||||
$smarty->assign('prxedit_value_mail', $_SESSION["prxedit_value_mail"]);
|
||||
$smarty->assign('prxedit_value_gueltigvon', $_SESSION["prxedit_value_gueltigvon"]);
|
||||
$smarty->assign('prxedit_value_gueltigbis', $_SESSION["prxedit_value_gueltigbis"]);
|
||||
|
||||
|
||||
|
||||
if ($errorno == 3) {
|
||||
# ungültiges Datum
|
||||
$smarty->assign('prxedit_error_text', "Das eingegebene Gültig von Datum ist nicht korrekt. Bitte korrigieren Sie das Datum!");
|
||||
}
|
||||
if ($errorno == 4) {
|
||||
# ungültiges Datum
|
||||
$smarty->assign('prxedit_error_text', "Das eingegebene Gültig bis Datum ist nicht korrekt. Bitte korrigieren Sie das Datum!");
|
||||
}
|
||||
}
|
||||
|
||||
# --- Wenn Werte editiert werden ------------
|
||||
if ($_SESSION["prxedit_status"] == 'edit') {
|
||||
|
||||
$result_edit = $db->query("SELECT dst_id, bezeichnung, name, str, plz, ort, mail, date_format(gueltig_von, '%d.%m.%Y') gueltig_von_form, date_format(gueltig_bis, '%d.%m.%Y') gueltig_bis_form
|
||||
FROM dvm_dienststellen
|
||||
WHERE dst_id = $id");
|
||||
$row_edit = $result_edit->fetch_array();
|
||||
if($row_edit['gueltig_von_form'] == '00.00.0000'){
|
||||
$gueltig_von_form = "";
|
||||
}else{
|
||||
$gueltig_von_form = $row_edit['gueltig_von_form'];
|
||||
}
|
||||
if($row_edit['gueltig_bis_form'] == '00.00.0000'){
|
||||
$gueltig_bis_form = "";
|
||||
}else{
|
||||
$gueltig_bis_form = $row_edit['gueltig_bis_form'];
|
||||
}
|
||||
$smarty->assign('prxedit_value_art', "$row_edit[bezeichnung]");
|
||||
$smarty->assign('prxedit_value_name', "$row_edit[name]");
|
||||
$smarty->assign('prxedit_value_str', "$row_edit[str]");
|
||||
$smarty->assign('prxedit_value_plz', "$row_edit[plz]");
|
||||
$smarty->assign('prxedit_value_ort', "$row_edit[ort]");
|
||||
$smarty->assign('prxedit_value_mail', "$row_edit[mail]");
|
||||
$smarty->assign('prxedit_value_gueltigvon', "$gueltig_von_form");
|
||||
$smarty->assign('prxedit_value_gueltigbis', "$gueltig_bis_form");
|
||||
|
||||
}
|
||||
# --- Wenn Werte editiert werden Ende -------
|
||||
|
||||
if ($_GET['editende'] == 1) {
|
||||
# Editieren ist beendet, als ein update auf einen Datensatz. Dann ist der status wieder Neu, damit wird wieder ein Insert durchgeführt
|
||||
$_SESSION["prxedit_status"] = 'neu';
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'save') {
|
||||
|
||||
$art = $_POST['art'];
|
||||
$name = $_POST['name'];
|
||||
$str = $_POST['str'];
|
||||
$plz = $_POST['plz'];
|
||||
$ort = $_POST['ort'];
|
||||
$mail = $_POST['mail'];
|
||||
$gueltigvon = $_POST['gueltigvon'];
|
||||
$gueltigbis = $_POST['gueltigbis'];
|
||||
|
||||
|
||||
|
||||
$_SESSION["prxedit_value_art"] = $art;
|
||||
$_SESSION["prxedit_value_name"] = $name;
|
||||
$_SESSION["prxedit_value_str"] = $str;
|
||||
$_SESSION["prxedit_value_plz"] = $plz;
|
||||
$_SESSION["prxedit_value_ort"] = $ort;
|
||||
$_SESSION["prxedit_value_mail"] = $mail;
|
||||
|
||||
$gueltigvon_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $gueltigvon);
|
||||
$gueltigbis_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $gueltigbis);
|
||||
|
||||
|
||||
function validateDate($date, $format = 'Y-m-d')
|
||||
{
|
||||
$d = DateTime::createFromFormat($format, $date);
|
||||
return $d && $d->format($format) == $date;
|
||||
}
|
||||
|
||||
if(!validateDate($gueltigvon_form) AND $gueltigvon_form != ''){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=3\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
if(!validateDate($gueltigbis_form) AND $gueltigbis_form != ''){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=4\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
if($gueltigvon_form == ''){
|
||||
$gueltigvon_form ='0000-00-00';
|
||||
}
|
||||
|
||||
if($gueltigbis_form == ''){
|
||||
$gueltigbis_form ='0000-00-00';
|
||||
}
|
||||
|
||||
$bez = $art." ".$name;
|
||||
|
||||
#$datum = date("Y-m-d H:i:s");
|
||||
if ($_SESSION["prxedit_status"] == 'neu') {
|
||||
|
||||
$sql1 = $db->query("INSERT INTO dvm_dienststellen ( bezeichnung
|
||||
, name
|
||||
, bez
|
||||
, str
|
||||
, plz
|
||||
, ort
|
||||
, mail
|
||||
, gueltig_von
|
||||
, gueltig_bis
|
||||
)
|
||||
VALUES
|
||||
( '$art'
|
||||
, '$name'
|
||||
, '$bez'
|
||||
, '$str'
|
||||
, '$plz'
|
||||
, '$ort'
|
||||
, '$mail'
|
||||
, '$gueltigvon_form'
|
||||
, '$gueltigbis_form'
|
||||
)
|
||||
");
|
||||
}
|
||||
|
||||
if ($_SESSION["prxedit_status"] == 'edit') {
|
||||
$id = $_SESSION["prxedit_id"];
|
||||
$ka_id = $_SESSION["prxedit_user"];
|
||||
|
||||
$result = $db->query("UPDATE dvm_dienststellen
|
||||
SET bezeichnung = '$art'
|
||||
, name = '$name'
|
||||
, bez = '$bez'
|
||||
, str = '$str'
|
||||
, plz = '$plz'
|
||||
, ort = '$ort'
|
||||
, mail = '$mail'
|
||||
, gueltig_von = '$gueltigvon_form'
|
||||
, gueltig_bis = '$gueltigbis_form'
|
||||
WHERE dst_id = $id
|
||||
");
|
||||
|
||||
unset($_SESSION['prxedit_id']);
|
||||
}
|
||||
# Dann bekommts beim refresh den status neu, also es wird beim Abschicken ein Insert gemacht
|
||||
$editende = 1;
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende&ka_id=$ka_id\">";
|
||||
|
||||
|
||||
}
|
||||
if ($action == 'del') {
|
||||
$id = $_GET['id'];
|
||||
|
||||
$del1 = $db->query("DELETE FROM dvm_termine WHERE id = $id");
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
151
admin/praxisstellen_news.php
Executable file
151
admin/praxisstellen_news.php
Executable file
@ -0,0 +1,151 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_restplatz.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
if (isset($_GET['edit'])) {
|
||||
$_SESSION["news_status"] = 'edit';
|
||||
$pn_id = $_GET['edit'];
|
||||
$_SESSION["news_pn_id"] = $pn_id;
|
||||
} else {
|
||||
$_SESSION["news_status"] = 'neu';
|
||||
}
|
||||
|
||||
# -- Fehlermeldungen -- #
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('news_error', 1);
|
||||
|
||||
$smarty->assign('news_value_headline', $_SESSION["news_value_headline"]);
|
||||
$smarty->assign('news_value_text', $_SESSION["news_value_text"]);
|
||||
|
||||
if ($errorno == 1) {
|
||||
# ungültiges Datum
|
||||
$smarty->assign('news_error_text', "Bitte füllen Sie alle Felder aus!");
|
||||
}
|
||||
}
|
||||
|
||||
# --- Wenn Werte editiert werden ------------
|
||||
if ($_SESSION["news_status"] == 'edit') {
|
||||
$result_edit = $db->query("SELECT pn_id, pn_headline, pn_text
|
||||
FROM dvm_prxnews
|
||||
WHERE pn_id = $pn_id");
|
||||
$row_edit = $result_edit->fetch_array();
|
||||
$smarty->assign('news_value_headline', "$row_edit[pn_headline]");
|
||||
$smarty->assign('news_value_text', "$row_edit[pn_text]");
|
||||
|
||||
}
|
||||
# --- Wenn Werte editiert werden Ende -------
|
||||
|
||||
if ($_GET['editende'] == 1) {
|
||||
# Editieren ist beendet, als ein update auf einen Datensatz. Dann ist der status wieder Neu, damit wird wieder ein Insert durchgeführt
|
||||
$_SESSION["news_status"] = 'neu';
|
||||
}
|
||||
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT pn_id, pn_headline, pn_text, date_format(pn_date, '%d.%m.%Y - %H:%i Uhr') pn_date_form
|
||||
FROM dvm_prxnews
|
||||
ORDER BY pn_date DESC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'save') {
|
||||
|
||||
$headline = $_POST['headline'];
|
||||
$text = $_POST['text'];
|
||||
|
||||
$_SESSION["news_value_headline"] = $headline;
|
||||
$_SESSION["news_value_text"] = $text;
|
||||
|
||||
|
||||
if($text == "" or $headline == ""){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
$datum = date("Y-m-d H:i:s");
|
||||
$headline_db = addslashes($headline);
|
||||
$text_db = addslashes($text);
|
||||
|
||||
if ($_SESSION["news_status"] == 'neu') {
|
||||
|
||||
$sql1 = $db->query("INSERT INTO dvm_prxnews ( pn_headline
|
||||
, pn_text
|
||||
, pn_date
|
||||
)
|
||||
VALUES
|
||||
( '$headline_db'
|
||||
, '$text_db'
|
||||
, '$datum'
|
||||
)
|
||||
");
|
||||
}
|
||||
|
||||
if ($_SESSION["news_status"] == 'edit') {
|
||||
$pn_id = $_SESSION["news_pn_id"];
|
||||
|
||||
$result = $db->query("UPDATE dvm_prxnews
|
||||
SET pn_headline = '$headline_db'
|
||||
, pn_text = '$text_db'
|
||||
WHERE pn_id = $pn_id
|
||||
");
|
||||
|
||||
unset($_SESSION['news_pn_id']);
|
||||
|
||||
}
|
||||
# Dann bekommts beim refresh den status neu, also es wird beim Abschicken ein Insert gemacht
|
||||
$editende = 1;
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'show') {
|
||||
$pn_id = $_GET['pn_id'];
|
||||
$result_show = $db->query("SELECT pn_headline, pn_text
|
||||
FROM dvm_prxnews
|
||||
WHERE pn_id = $pn_id
|
||||
");
|
||||
$row_show = $result_show->fetch_array();
|
||||
$smarty->assign('prx_show_headline', $row_show['pn_headline']);
|
||||
$smarty->assign('prx_show_text', $row_show['pn_text']);
|
||||
}
|
||||
|
||||
if ($action == 'del') {
|
||||
$pn_id = $_GET['pn_id'];
|
||||
|
||||
$del1 = $db->query("DELETE FROM dvm_prxnews WHERE pn_id = $pn_id");
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
104
admin/prx_search.php
Executable file
104
admin/prx_search.php
Executable file
@ -0,0 +1,104 @@
|
||||
<?php
|
||||
require_once("../config.inc.php");
|
||||
$db = dbconnect();
|
||||
$result1 = $db->query("SELECT dst_id, bezeichnung, name, str, plz, ort, mail, date_format(gueltig_von, '%d.%m.%Y') gueltig_von_form, date_format(gueltig_bis, '%d.%m.%Y') gueltig_bis_form, gueltig_von, gueltig_bis
|
||||
FROM dvm_dienststellen
|
||||
WHERE upper(name) LIKE '%" . strtoupper($_GET['search']) . "%'
|
||||
OR plz LIKE '%" . $_GET['search'] . "%'
|
||||
OR bezeichnung LIKE '%" . $_GET['search'] . "%'
|
||||
ORDER BY name ASC");
|
||||
echo "<table width='100%' border='1' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td style='padding-left:5px'>
|
||||
<b>#</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Behördenart</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Name</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Straße</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>PLZ</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Ort</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Mailadresse</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Gültig von</b>
|
||||
</td>
|
||||
<td style='padding-left:5px'>
|
||||
<b>Gültig bis</b>
|
||||
</td>
|
||||
<td align='center'>
|
||||
<b>Edit</b>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
while($row = $result1->fetch_array())
|
||||
{
|
||||
if($row['gueltig_von'] != '0000-00-00'){
|
||||
$gueltig_von = $row['gueltig_von_form'];
|
||||
}else{
|
||||
$gueltig_von = '';
|
||||
}
|
||||
|
||||
if($row['gueltig_bis'] != '0000-00-00'){
|
||||
$gueltig_bis = $row['gueltig_bis_form'];
|
||||
}else{
|
||||
$gueltig_bis = '';
|
||||
}
|
||||
|
||||
|
||||
$lnnr++;
|
||||
echo '<tr>';
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo $lnnr;
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['bezeichnung']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['name']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['str']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['plz']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['ort']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $row['mail']);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $gueltig_von);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td style="padding-left:5px">';
|
||||
echo preg_replace('/(' . $_GET['search'] . ')/Usi', '<span class="result">\\1</span>', $gueltig_bis);
|
||||
echo '</td>';
|
||||
|
||||
echo '<td align="center">';
|
||||
echo '<a href=?edit='.$row['dst_id'].'><img title = "Stelle bearbeiten" border="0" height=10 src="../templates/modern/images/edit.png"></a>';
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
echo "</table>";
|
||||
?>
|
72
admin/rangliste2.php
Executable file
72
admin/rangliste2.php
Executable file
@ -0,0 +1,72 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT a.ka_id, vorname, nachname, date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
, summe
|
||||
, id
|
||||
, mail
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_upload WHERE upload_dat != '0000-00-00 00:00:00')
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY summe DESC, nachname ASC, vorname ASC
|
||||
";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
$row_cnt = $result1->num_rows;
|
||||
$smarty->assign('dokverw_anzdb', $row_cnt);
|
||||
|
||||
$rangliste = 0;
|
||||
$lfd_nr2 = 0;
|
||||
$lfd_nr3 = 0;
|
||||
$summevorher = 0;
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
$lfd_nr2++;
|
||||
|
||||
$summe = $row1['summe'];
|
||||
if($summe == $summevorher){
|
||||
$rangliste = $lfd_nr3;
|
||||
}else{
|
||||
$rangliste = $lfd_nr2;
|
||||
$lfd_nr3 = $lfd_nr2;
|
||||
}
|
||||
$summevorher = $row1['summe'];
|
||||
|
||||
|
||||
$row1['rangliste'] = $rangliste;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
103
admin/rangliste2_excel.php
Executable file
103
admin/rangliste2_excel.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
|
||||
require_once "../phpspreadsheet_1.8.1.0/vendor/autoload.php";
|
||||
require_once("../config.inc.php");
|
||||
|
||||
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
|
||||
$spreadsheet = new Spreadsheet();
|
||||
#$spreadsheet->getActiveSheet()->getPageSetup()->setFitToWidth(1);
|
||||
#$spreadsheet->getActiveSheet()->getPageSetup()->setFitToHeight(0);
|
||||
|
||||
$activeSheet = $spreadsheet->getActiveSheet();
|
||||
|
||||
$activeSheet->getStyle('A1:G1')->applyFromArray(
|
||||
array(
|
||||
'font' => array(
|
||||
'bold' => true
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
$activeSheet->setCellValue('A1', 'Ranglistenplatz');
|
||||
$activeSheet->setCellValue('B1', 'Vorname');
|
||||
$activeSheet->setCellValue('C1', 'Nachname');
|
||||
$activeSheet->setCellValue('D1', 'Mail');
|
||||
$activeSheet->setCellValue('E1', 'ID');
|
||||
$activeSheet->setCellValue('F1', 'Testdatum');
|
||||
$activeSheet->setCellValue('G1', 'Ergebnis');
|
||||
$activeSheet->freezePane('H2');
|
||||
|
||||
$query = $db->query("SELECT a.ka_id, vorname, nachname, date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, CASE tm_standort
|
||||
WHEN 'L' THEN 'Ludwigsburg'
|
||||
WHEN 'K' THEN 'Kehl'
|
||||
ELSE '' END as tm_standort
|
||||
, summe
|
||||
, id
|
||||
, mail
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_ergebnisse d, dvm_tanpool e
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND a.ka_id = d.ka_id
|
||||
AND b.tp_id = e.tp_id
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_ergebnisse)
|
||||
AND a.ka_id IN (SELECT distinct ka_id FROM dvm_upload WHERE upload_dat != '0000-00-00 00:00:00')
|
||||
AND d.bestanden = '1'
|
||||
AND e.tan=d.tan
|
||||
ORDER BY summe DESC, nachname ASC, vorname ASC
|
||||
");
|
||||
|
||||
if($query->num_rows > 0) {
|
||||
$i = 2;
|
||||
$rangliste = 0;
|
||||
$lfd_nr2 = 0;
|
||||
$lfd_nr3 = 0;
|
||||
$summevorher = 0;
|
||||
|
||||
while($row = $query->fetch_assoc()) {
|
||||
|
||||
$lfd_nr2++;
|
||||
|
||||
$summe = $row['summe'];
|
||||
if($summe == $summevorher){
|
||||
$rangliste = $lfd_nr3;
|
||||
}else{
|
||||
$rangliste = $lfd_nr2;
|
||||
$lfd_nr3 = $lfd_nr2;
|
||||
}
|
||||
$summevorher = $row['summe'];
|
||||
|
||||
$activeSheet->setCellValue('A'.$i , $rangliste);
|
||||
$activeSheet->setCellValue('B'.$i , $row['nachname']);
|
||||
$activeSheet->setCellValue('C'.$i , $row['vorname']);
|
||||
$activeSheet->setCellValue('D'.$i , $row['mail']);
|
||||
$activeSheet->setCellValue('E'.$i , $row['id']);
|
||||
$activeSheet->setCellValue('F'.$i , "$row[tm_datum] ($row[tm_standort])");
|
||||
$activeSheet->setCellValue('G'.$i , $row['summe']);
|
||||
$i++;
|
||||
}
|
||||
|
||||
}
|
||||
$spreadsheet->getActiveSheet()->setTitle("Rangliste 2");
|
||||
$spreadsheet->getActiveSheet()->setSelectedCell('A1');
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('A')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('B')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('C')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('D')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('E')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('F')->setAutoSize(true);
|
||||
$spreadsheet->getActiveSheet()->getColumnDimension('G')->setAutoSize(true);
|
||||
|
||||
$writer = new Xlsx($spreadsheet);
|
||||
$filename = 'Rangliste2.xlsx';
|
||||
|
||||
header('Content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
||||
header('Content-Disposition: attachment;filename='. $filename);
|
||||
header('Cache-Control: max-age=0');
|
||||
$writer->save('php://output');
|
||||
|
||||
?>
|
88
admin/save_note.php
Executable file
88
admin/save_note.php
Executable file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
require_once("../func_notenskala.php");
|
||||
|
||||
function floor3($val, $precision) {
|
||||
$pos = strpos($val, '.');
|
||||
$zahl = substr($val, 0, $pos+1+$precision);
|
||||
return $zahl;
|
||||
}
|
||||
|
||||
$notenart = $_POST['get_notenart'];
|
||||
$note = floor3(str_replace(',','.',str_replace('.','', $_POST['get_note'])),1);
|
||||
$notenskala = $_POST['get_notenskala'];
|
||||
|
||||
$ka_id = $_SESSION["username"];;
|
||||
|
||||
$db = dbconnect();
|
||||
|
||||
|
||||
#echo $hzbnote;
|
||||
|
||||
if($notenart == "Keine"){
|
||||
NULL;
|
||||
echo "reload";
|
||||
}
|
||||
|
||||
if($notenart == "HZB"){
|
||||
$durchschnittnote = "0.00";
|
||||
$durchschnittpunkte = "0.00";
|
||||
$erfdat_schnitt = "0000-00-00 00:00:00";
|
||||
|
||||
if($notenskala == "Punkte"){
|
||||
$hzbnote = notenskala($note);
|
||||
$hzbpunkte = $note;
|
||||
$erfdat_hzb = date("Y-m-d H:i:s");
|
||||
}elseif($notenskala == "Noten"){
|
||||
$hzbnote = $note;
|
||||
$hzbpunkte = "0.00";
|
||||
$erfdat_hzb = date("Y-m-d H:i:s");
|
||||
}
|
||||
}
|
||||
|
||||
if($notenart == "Durchschnitt"){
|
||||
$hzb = "0.00";
|
||||
$hzb_punkte = "0.00";
|
||||
$erfdat_hzb = "0000-00-00 00:00:00";
|
||||
|
||||
if($notenskala == "Punkte"){
|
||||
$durchschnittnote = notenskala($note);
|
||||
echo "notenwert1||(= Note: ".number_format($durchschnittnote, 1, ',', '.').")";
|
||||
$durchschnittpunkte = $note;
|
||||
$erfdat_schnitt = date("Y-m-d H:i:s");
|
||||
|
||||
}elseif($notenskala == "Noten"){
|
||||
$durchschnittnote = $note;
|
||||
$durchschnittpunkte = "0.00";
|
||||
$erfdat_schnitt = date("Y-m-d H:i:s");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$query_anz = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_note
|
||||
WHERE ka_id = $ka_id");
|
||||
$row_anz = $query_anz->fetch_array();
|
||||
if($row_anz['Anz'] == 0){
|
||||
#Insert
|
||||
$sql1 = $db->query("INSERT INTO dvm_note (ka_id, hzb, hzb_punkte, zeugnisschnitt, zeugnisschnitt_punkte, erfdat_hzb, erfdat_schnitt) VALUES('$ka_id', '$hzbnote', '$hzbpunkte', '$durchschnittnote', '$durchschnittpunkte', '$erfdat_hzb', '$erfdat_schnitt')");
|
||||
}else{
|
||||
#Update
|
||||
$sql1 = $db->query("UPDATE dvm_note
|
||||
SET hzb = '$hzbnote'
|
||||
,hzb_punkte = '$hzbpunkte'
|
||||
,zeugnisschnitt = '$durchschnittnote'
|
||||
,zeugnisschnitt_punkte = '$durchschnittpunkte'
|
||||
,erfdat_hzb = '$erfdat_hzb'
|
||||
,erfdat_schnitt = '$erfdat_schnitt'
|
||||
WHERE ka_id = '$ka_id'");
|
||||
}
|
||||
|
||||
|
||||
|
||||
exit;
|
||||
|
||||
?>
|
||||
|
274
admin/tanimport.php
Executable file
274
admin/tanimport.php
Executable file
@ -0,0 +1,274 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
#########Konfiguration#######################################
|
||||
$verz = "upload_csv/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
$trennzeichen_excel = "\t"; // Das Trennzeichen das Excel für CVS-Dateien nimmt ist je nach Excelversion unterschiedlich:
|
||||
// Entweder $trennzeichen_excel = ";"; --> Semikolon
|
||||
// oder $trennzeichen_excel = ","; --> Komma
|
||||
#############################################################
|
||||
|
||||
|
||||
|
||||
|
||||
$_SESSION["ck_verz"] = $verz;
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
# Den Testtermin wählt man, damit jede Hochschule seine eigenen Daten importieren kann. Wenn eine Hochschule am selben TAg einen Test hat vermeidet man dass ein halbfertiger Test importiert wird
|
||||
if (isset($_POST["testtermin"])) {
|
||||
$testtermin = $_POST["testtermin"];
|
||||
} else {
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
}
|
||||
|
||||
$_SESSION["testtermin"] = $testtermin;
|
||||
|
||||
|
||||
# Uploadverzeichnis aufräumen. Temporäre Dateien, die älter als 2 Wochen sind, werden gelöscht
|
||||
$dir = $_SERVER["DOCUMENT_ROOT"].dirname($_SERVER['PHP_SELF'])."/$verz";
|
||||
$folder = dir($dir);
|
||||
while ($dateiname = $folder->read()) {
|
||||
if (filetype($dir.$dateiname) != "dir") {
|
||||
if (strtotime("-2 weeks") >
|
||||
@filemtime($dir.$dateiname)) {
|
||||
if (@unlink($dir.$dateiname) != false){
|
||||
# echo $dateiname.' wurde gelöscht<br>';
|
||||
}else{
|
||||
# echo $dateiname.' konnte nichtgelöscht werden<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$result_ct = $db->query("SELECT count(*) Anz FROM dvm_tanpool where verw_dat = '0000-00-00 00:00:00'");
|
||||
$row_ct = $result_ct->fetch_array();
|
||||
$smarty->assign('tanimp_anzahltan', "$row_ct[Anz]");
|
||||
|
||||
# Fehler beim Upload anzeigen
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
$smarty->assign('index_error', 1);
|
||||
|
||||
if ($errorno == 1) {
|
||||
$smarty->assign('index_error_text', "Es dürfen nur CSV Dateien hochgeladen werden.");
|
||||
}
|
||||
if ($errorno == 2) {
|
||||
# Tabelle dvm_parameter
|
||||
$size_mb = trim(get_parameter(12));
|
||||
$smarty->assign('index_error_text', "Die Datei ist zu groß. Die Dateigröße darf max. $size_mb MB betragen.");
|
||||
}
|
||||
if ($errorno == 3) {
|
||||
$smarty->assign('index_error_text', "Vorgang wurde abgebrochen. Die Datei wurde vom Server gelöscht");
|
||||
}
|
||||
if ($errorno == 4) {
|
||||
$smarty->assign('index_error_text', "Vorgang wurde abgebrochen. Die Datei wurde nicht vom Server gelöscht");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($action == 'csvimp') {
|
||||
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
$name = $_FILES['file']['name'];
|
||||
|
||||
$type = $_FILES['file']['type'];
|
||||
$size = $_FILES['file']['size'];
|
||||
$einheit = "Byte"; // Für die Efolgsmeldung.
|
||||
|
||||
$limitedext = array(
|
||||
".csv"
|
||||
); //Erlaubte Dateieindung beim Upload
|
||||
|
||||
$extlimit = "yes"; //Do you want to limit the extensions of files uploaded
|
||||
$ext = strrchr($name, '.');
|
||||
|
||||
if (($extlimit == "yes") && (!in_array($ext, $limitedext))) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
# Tabelle dvm_parameter
|
||||
$size_mb = trim(get_parameter(12));
|
||||
$size_bt = $size_mb * 1024 * 1024;
|
||||
|
||||
if ($size > $size_bt) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=2\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
$name = str_replace(array(
|
||||
"ä",
|
||||
"ö",
|
||||
"ü",
|
||||
"ß",
|
||||
"Ä",
|
||||
"Ö",
|
||||
"Ü",
|
||||
" "
|
||||
), array(
|
||||
"ae",
|
||||
"oe",
|
||||
"ue",
|
||||
"ss",
|
||||
"Ae",
|
||||
"Oe",
|
||||
"Ue",
|
||||
"_"
|
||||
), $name);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$heuteformat = date("H-i-s_Y-m-d", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$neu = $heuteformat . "_" . $name;
|
||||
$_SESSION["ck_neu"] = $neu;
|
||||
move_uploaded_file("$tempname", "$verz$neu"); // Unterverzeichnisse wie folgt: copy("$tempname", "pdf/$neu");
|
||||
|
||||
$handle = fopen("$verz$neu", "r"); // Datei zum Lesen öffnen
|
||||
|
||||
|
||||
# Hier vor der Schleife erste Zeile holen und ignorieren. Enthält Überschrift
|
||||
# fgetcsv($handle, 0, $trennzeichen_excel);
|
||||
|
||||
while (($data = fgetcsv($handle, 0, $trennzeichen_excel)) !== FALSE) { // Daten werden aus der Datei in ein Array $data gelesen
|
||||
if(!isset($zaehler) or $zaehler == 1){
|
||||
$zaehler = 0;
|
||||
}else{
|
||||
$zaehler = 1;
|
||||
}
|
||||
|
||||
$tan = $data[3];
|
||||
$tinyurl = $data[4];
|
||||
|
||||
$row1['zaehler'] = $zaehler;
|
||||
$row1['tan'] = $tan;
|
||||
$row1['tinyurl'] = $tinyurl;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
fclose($handle);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'csvimp2') {
|
||||
$neu = $_SESSION["ck_neu"]; //CSV-Dateinamen um Datei löschen zu können
|
||||
$verz = $_SESSION["ck_verz"]; //Uploadverzeichnis aus Cookie holen
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
|
||||
|
||||
if ($_POST['import'] == "0") // DS sollen nicht importiert werden
|
||||
{
|
||||
$dateiname = "$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
# Abbruch, datei gelöscht
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=3\">";
|
||||
exit;
|
||||
} else {
|
||||
# Abbruch, datei nicht gelöscht
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=4\">";
|
||||
exit;
|
||||
} // End if
|
||||
|
||||
} elseif ($_POST['import'] == "1") // DS sollen importiert werden
|
||||
{
|
||||
$handle = fopen("$verz$neu", "r"); // Datei zum Lesen öffnen
|
||||
|
||||
|
||||
while (($data = fgetcsv($handle, 0, $trennzeichen_excel)) !== FALSE) { // Daten werden aus der Datei in ein Array $data gelesen
|
||||
|
||||
$dummy_vorname = $data[0];
|
||||
$dummy_name = $data[1];
|
||||
$tan = $data[3];
|
||||
$tinyurl = $data[4];
|
||||
|
||||
$result_ct = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_tanpool
|
||||
WHERE tan = '$tan'");
|
||||
$row_ct = $result_ct->fetch_array();
|
||||
|
||||
if ($row_ct['Anz'] == 0) {
|
||||
# keine TANs vorhanden, insert
|
||||
|
||||
$sql1 = $db->query("insert into dvm_tanpool (dummy_name
|
||||
, dummy_vorname
|
||||
, tan
|
||||
, tinyurl
|
||||
, aktiv)
|
||||
VALUES ( '$dummy_name'
|
||||
, '$dummy_vorname'
|
||||
, '$tan'
|
||||
, '$tinyurl'
|
||||
, 'A'
|
||||
)");
|
||||
if (!$sql1) {
|
||||
$hinweis['hinweis'] = "TAN: " . $tan . " Fehler: TAN nicht gespeichert<br>";
|
||||
$smarty->assign('index_error', 1);
|
||||
}
|
||||
} else {
|
||||
# Ergebnisse gibt es schon, kein insert
|
||||
$hinweis['hinweis'] = "TAN: " . $tan . " schon vorhanden<br>";
|
||||
$smarty->assign('index_error', 1);
|
||||
}
|
||||
|
||||
$table_data2[] = $hinweis;
|
||||
}
|
||||
$smarty->assign('table_data2', $table_data2);
|
||||
|
||||
|
||||
fclose($handle);
|
||||
|
||||
} else { // Es wurde kein Radiobutton gewählt! Technisch aber ausgeschlossen
|
||||
|
||||
echo "sie müssen eine Auswahl treffen";
|
||||
|
||||
}
|
||||
|
||||
function deleteFiles($verz)
|
||||
{
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir($handle)) {
|
||||
if ($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz . $file;
|
||||
|
||||
if (@unlink($datei)) {
|
||||
$error = TRUE;
|
||||
} else {
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
} // ende Action
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
404
admin/termine.php
Executable file
404
admin/termine.php
Executable file
@ -0,0 +1,404 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_restplatz.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
if (isset($_GET['edit'])) {
|
||||
$_SESSION["termine_status"] = 'edit';
|
||||
$tm_id = $_GET['edit'];
|
||||
$_SESSION["termine_tm_id"] = $tm_id;
|
||||
} else {
|
||||
$_SESSION["termine_status"] = 'neu';
|
||||
}
|
||||
|
||||
# -- Fehlermeldungen -- #
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('termine_error', 1);
|
||||
|
||||
$smarty->assign('termine_value_datum', $_SESSION["termine_value_tm_datum"]);
|
||||
$smarty->assign('termine_value_zeit', $_SESSION["termine_value_tm_zeit"]);
|
||||
$smarty->assign('termine_value_tm_standort', $_SESSION["termine_value_tm_standort"]);
|
||||
$smarty->assign('termine_value_tm_plaetze', $_SESSION["termine_value_tm_plaetze"]);
|
||||
$smarty->assign('termine_value_tm_raum', $_SESSION["termine_value_tm_raum"]);
|
||||
$smarty->assign('termine_value_tm_referenznr', $_SESSION["termine_value_tm_referenznr"]);
|
||||
|
||||
if ($errorno == 3) {
|
||||
# ungültiges Datum
|
||||
$smarty->assign('termine_error_text', "Das eingegebene Datum ist nicht korrekt. Bitte korrigieren Sie das Datum!");
|
||||
}
|
||||
}
|
||||
|
||||
# --- Wenn Werte editiert werden ------------
|
||||
if ($_SESSION["termine_status"] == 'edit') {
|
||||
$result_edit = $db->query("SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $tm_id");
|
||||
$row_edit = $result_edit->fetch_array();
|
||||
$smarty->assign('termine_value_datum', "$row_edit[datum]");
|
||||
$smarty->assign('termine_value_zeit', "$row_edit[zeit]");
|
||||
$smarty->assign('termine_value_tm_standort', "$row_edit[tm_standort]");
|
||||
$smarty->assign('termine_value_tm_plaetze', "$row_edit[tm_plaetze]");
|
||||
$smarty->assign('termine_value_tm_raum', "$row_edit[tm_raum]");
|
||||
$smarty->assign('termine_value_tm_referenznr', "$row_edit[tm_referenznr]");
|
||||
|
||||
}
|
||||
# --- Wenn Werte editiert werden Ende -------
|
||||
|
||||
if ($_GET['editende'] == 1) {
|
||||
# Editieren ist beendet, als ein update auf einen Datensatz. Dann ist der status wieder Neu, damit wird wieder ein Insert durchgeführt
|
||||
$_SESSION["termine_status"] = 'neu';
|
||||
}
|
||||
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_datum > DATE_SUB( NOW() , INTERVAL 30 DAY )
|
||||
ORDER BY tm_datum ASC, zeit ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
if($row1['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row1['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
$restplatz = get_restplatz($row1['tm_id']);
|
||||
if($restplatz != $row1['tm_plaetze']){
|
||||
$disable = 0;
|
||||
}else{
|
||||
$disable = 1;
|
||||
}
|
||||
$row1['restplatz'] = $restplatz;
|
||||
$row1['tm_disable'] = $disable;
|
||||
$row1['standort_form'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'save') {
|
||||
|
||||
$tm_datum = $_POST['tm_datum'];
|
||||
$tm_zeit = $_POST['tm_zeit'];
|
||||
$tm_plaetze = $_POST['tm_plaetze'];
|
||||
$tm_standort = $_POST['tm_standort'];
|
||||
$tm_raum = $_POST['tm_raum'];
|
||||
$tm_referenznr = trim($_POST['tm_referenznr']);
|
||||
|
||||
|
||||
$_SESSION["termine_value_tm_datum"] = $tm_datum;
|
||||
$_SESSION["termine_value_tm_zeit"] = $tm_zeit;
|
||||
$_SESSION["termine_value_tm_plaetze"] = $tm_plaetze;
|
||||
$_SESSION["termine_value_tm_standort"] = $tm_standort;
|
||||
$_SESSION["termine_value_tm_raum"] = $tm_raum;
|
||||
$_SESSION["termine_value_tm_referenznr"] = $tm_referenznr;
|
||||
|
||||
$tm_datum_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $tm_datum);
|
||||
$testdatum = $tm_datum_form." ".$tm_zeit.":00";
|
||||
$_SESSION["termine_value_tm_testdatum"] = $testdatum;
|
||||
function validateDate($date, $format = 'Y-m-d')
|
||||
{
|
||||
$d = DateTime::createFromFormat($format, $date);
|
||||
return $d && $d->format($format) == $date;
|
||||
}
|
||||
|
||||
if(!validateDate($tm_datum_form)){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=3\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
#$datum = date("Y-m-d H:i:s");
|
||||
if ($_SESSION["termine_status"] == 'neu') {
|
||||
$sql1 = $db->query("INSERT INTO dvm_termine ( tm_datum
|
||||
, tm_standort
|
||||
, tm_plaetze
|
||||
, tm_raum
|
||||
, tm_referenznr
|
||||
)
|
||||
VALUES
|
||||
( '$testdatum'
|
||||
, '$tm_standort'
|
||||
, '$tm_plaetze'
|
||||
, '$tm_raum'
|
||||
, '$tm_referenznr'
|
||||
)
|
||||
");
|
||||
}
|
||||
|
||||
if ($_SESSION["termine_status"] == 'edit') {
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
|
||||
# Prüfen, ob zu diesem Termin bereits Kandidaten gebucht sind. Wenn ja, dann Weiterleitung zum Mailanschreiben und dann Termin ändern
|
||||
$result_vorh = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_term_kand
|
||||
WHERE tm_id ='$tm_id'
|
||||
");
|
||||
$row_vorh = $result_vorh->fetch_array();
|
||||
|
||||
# Prüfen, ob der Kandidat angeschrieben werden muss. Nur bei einer Änderung der Anzahl muss der Kandidat nicht extra informiert werden
|
||||
$result_vorh1 = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_termine
|
||||
WHERE tm_id ='$tm_id'
|
||||
AND (tm_datum != '$testdatum'
|
||||
OR tm_standort != '$tm_standort'
|
||||
OR tm_raum != '$tm_raum'
|
||||
OR tm_referenznr != '$tm_referenznr'
|
||||
)
|
||||
");
|
||||
$row_vorh1 = $result_vorh1->fetch_array();
|
||||
if($row_vorh['Anz'] != 0 AND $row_vorh1['Anz'] != 0){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=mailterminupdate\">";
|
||||
exit;
|
||||
}else{
|
||||
$result = $db->query("UPDATE dvm_termine
|
||||
SET tm_datum = '$testdatum'
|
||||
, tm_standort = '$tm_standort'
|
||||
, tm_plaetze = '$tm_plaetze'
|
||||
, tm_raum = '$tm_raum'
|
||||
, tm_referenznr = '$tm_referenznr'
|
||||
WHERE tm_id = $tm_id
|
||||
");
|
||||
|
||||
unset($_SESSION['termine_tm_id']);
|
||||
}
|
||||
|
||||
}
|
||||
# Dann bekommts beim refresh den status neu, also es wird beim Abschicken ein Insert gemacht
|
||||
$editende = 1;
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
|
||||
|
||||
}
|
||||
if ($action == 'del') {
|
||||
$tm_id = $_GET['tm_id'];
|
||||
|
||||
$del1 = $db->query("DELETE FROM dvm_termine WHERE tm_id = $tm_id");
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
|
||||
if ($action == 'mailterminupdate') {
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT mail
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id IN (SELECT ka_id
|
||||
FROM dvm_term_kand
|
||||
WHERE tm_id = $tm_id)
|
||||
ORDER BY nachname ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail .= "$row1[mail], ";
|
||||
}
|
||||
$mail_lubu = get_parameter(8);
|
||||
$mail_kehl = get_parameter(7);
|
||||
|
||||
$mail_an = "$mail_kehl, $mail_lubu";
|
||||
$mail_bcc = substr(trim($mail),0,-1);
|
||||
$smarty->assign('mtupd_mailadressen_an', "$mail_an");
|
||||
$smarty->assign('mtupd_mailadressen_bcc', "$mail_bcc");
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'mailsenden2') {
|
||||
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
$tm_plaetze = $_SESSION["termine_value_tm_plaetze"];
|
||||
$tm_standort = $_SESSION["termine_value_tm_standort"];
|
||||
$tm_raum = $_SESSION["termine_value_tm_raum"];
|
||||
$tm_referenznr = $_SESSION["termine_value_tm_referenznr"];
|
||||
$testdatum = $_SESSION["termine_value_tm_testdatum"];
|
||||
$empfaenger_an = $_POST['empfaenger_an'];
|
||||
$empfaenger_bcc = $_POST['empfaenger_bcc'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = $_POST['text'];
|
||||
$absender = $_POST['absender'];
|
||||
|
||||
if($absender == 'Kehl'){
|
||||
$sendermail = get_parameter(7);
|
||||
$sender = 'Hochschule Kehl';
|
||||
}
|
||||
|
||||
if($absender == 'Ludwigsburg'){
|
||||
$sendermail = get_parameter(8);
|
||||
$sender = 'Hochschule Ludwigsburg';
|
||||
}
|
||||
|
||||
# Update
|
||||
$result = $db->query("UPDATE dvm_termine
|
||||
SET tm_datum = '$testdatum'
|
||||
, tm_standort = '$tm_standort'
|
||||
, tm_plaetze = '$tm_plaetze'
|
||||
, tm_raum = '$tm_raum'
|
||||
, tm_referenznr = '$tm_referenznr'
|
||||
WHERE tm_id = $tm_id
|
||||
");
|
||||
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, tm_standort, tm_raum, tm_plaetze, tm_referenznr FROM dvm_termine WHERE tm_id='$tm_id'");
|
||||
$row_termin = $query_termin->fetch_array();
|
||||
if($row_termin['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg - Reuteallee 36, 71634 Ludwigsburg';
|
||||
$sendermail = get_parameter(8);
|
||||
}
|
||||
|
||||
if($row_termin['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl - Kinzigallee 1, 77694 Kehl';
|
||||
$sendermail = get_parameter(7);
|
||||
}
|
||||
$text = $text."
|
||||
<br>
|
||||
<br>
|
||||
Neue Daten:
|
||||
<figure class='table' style='float:left;'>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Testtag:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_datum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Hochschule:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$standort
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Gebäude / Raum:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_raum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</figure>
|
||||
";
|
||||
|
||||
$query1 = "SELECT mail, ka_id
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id IN (SELECT ka_id
|
||||
FROM dvm_term_kand
|
||||
WHERE tm_id = $tm_id)
|
||||
ORDER BY nachname ASC";
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1a $tm_id");
|
||||
$lnnr = 0;
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail[$lnnr]['mail'] = "$row1[mail]";
|
||||
$mail[$lnnr]['ka_id'] = "$row1[ka_id]";
|
||||
$lnnr++;
|
||||
}
|
||||
$lfdnr = $lfdnr++;
|
||||
# Mail auch an die zuständige HS
|
||||
$mail[$lnnr][mail]= $sendermail;
|
||||
$mail[$lnnr][ka_id]= "";
|
||||
|
||||
#echo "<pre>";
|
||||
#print_r($mail);
|
||||
#echo "</pre><hr>";
|
||||
#exit;
|
||||
#echo "
|
||||
#From: $sender - $sendermail<br>
|
||||
#$empfaenger<br>
|
||||
#$betreff<br>
|
||||
#echo "$text<br>";
|
||||
#echo "</pre>";
|
||||
#$hochschule<br>";
|
||||
#exit;
|
||||
|
||||
#Beim CKEDITOR die <p> Tags mit Zeilenabstand 0 in der Mail
|
||||
$style ="<head>
|
||||
<style>
|
||||
p {margin: 0;}
|
||||
</style>
|
||||
</head>
|
||||
";
|
||||
$text = $style.$text;
|
||||
|
||||
for($i=0;$i<count($mail);$i++){
|
||||
## Mailversand:
|
||||
$headers = "From: $sender <$sendermail>\r\n";
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\r\n";
|
||||
$return = @mail($empfaenger, $betreff, $text, $headers);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$text_db = addslashes($text);
|
||||
|
||||
if($mail[$i][ka_id] != ""){
|
||||
# Mail an HS soll nicht protokolliert werden
|
||||
if($return){
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '".$mail[$i][ka_id]."', '".$mail[$i][mail]."', '$betreff', '$text_db', 'V', '$datum_db')
|
||||
");
|
||||
$smarty->assign('mail_senderg', "Die Mail wurde verschickt!");
|
||||
}else{
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '".$mail[$i][ka_id]."', '".$mail[$i][mail]."', '$betreff', '$text_db', 'F', '$datum_db')
|
||||
");
|
||||
|
||||
$err = 1;
|
||||
$mail_err .= $mail[$i][mail]."<br>";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unset($_SESSION['termine_tm_id']);
|
||||
$editende = 1;
|
||||
|
||||
|
||||
if($err == 1){
|
||||
$smarty->assign('mail_senderg', "Die Mails konnten nicht verschickt werden!<br>Prüfen Sie die folgenden Mailadressen:<br><br>$mail_err");
|
||||
}else{
|
||||
$smarty->assign('mail_senderg', "Die Mails wurden verschickt!");
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
}
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
352
admin/termine.php_bcc
Executable file
352
admin/termine.php_bcc
Executable file
@ -0,0 +1,352 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
require_once("../func_get_restplatz.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
if (isset($_GET['edit'])) {
|
||||
$_SESSION["termine_status"] = 'edit';
|
||||
$tm_id = $_GET['edit'];
|
||||
$_SESSION["termine_tm_id"] = $tm_id;
|
||||
} else {
|
||||
$_SESSION["termine_status"] = 'neu';
|
||||
}
|
||||
|
||||
# -- Fehlermeldungen -- #
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('termine_error', 1);
|
||||
|
||||
$smarty->assign('termine_value_datum', $_SESSION["termine_value_tm_datum"]);
|
||||
$smarty->assign('termine_value_zeit', $_SESSION["termine_value_tm_zeit"]);
|
||||
$smarty->assign('termine_value_tm_standort', $_SESSION["termine_value_tm_standort"]);
|
||||
$smarty->assign('termine_value_tm_plaetze', $_SESSION["termine_value_tm_plaetze"]);
|
||||
$smarty->assign('termine_value_tm_raum', $_SESSION["termine_value_tm_raum"]);
|
||||
$smarty->assign('termine_value_tm_referenznr', $_SESSION["termine_value_tm_referenznr"]);
|
||||
|
||||
if ($errorno == 3) {
|
||||
# ungültiges Datum
|
||||
$smarty->assign('termine_error_text', "Das eingegebene Datum ist nicht korrekt. Bitte korrigieren Sie das Datum!");
|
||||
}
|
||||
}
|
||||
|
||||
# --- Wenn Werte editiert werden ------------
|
||||
if ($_SESSION["termine_status"] == 'edit') {
|
||||
$result_edit = $db->query("SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = $tm_id");
|
||||
$row_edit = $result_edit->fetch_array();
|
||||
$smarty->assign('termine_value_datum', "$row_edit[datum]");
|
||||
$smarty->assign('termine_value_zeit', "$row_edit[zeit]");
|
||||
$smarty->assign('termine_value_tm_standort', "$row_edit[tm_standort]");
|
||||
$smarty->assign('termine_value_tm_plaetze', "$row_edit[tm_plaetze]");
|
||||
$smarty->assign('termine_value_tm_raum', "$row_edit[tm_raum]");
|
||||
$smarty->assign('termine_value_tm_referenznr', "$row_edit[tm_referenznr]");
|
||||
|
||||
}
|
||||
# --- Wenn Werte editiert werden Ende -------
|
||||
|
||||
if ($_GET['editende'] == 1) {
|
||||
# Editieren ist beendet, als ein update auf einen Datensatz. Dann ist der status wieder Neu, damit wird wieder ein Insert durchgeführt
|
||||
$_SESSION["termine_status"] = 'neu';
|
||||
}
|
||||
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_datum > now()
|
||||
ORDER BY tm_datum ASC, zeit ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
if($row1['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row1['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
$restplatz = get_restplatz($row1['tm_id']);
|
||||
if($restplatz != $row1['tm_plaetze']){
|
||||
$disable = 0;
|
||||
}else{
|
||||
$disable = 1;
|
||||
}
|
||||
$row1['restplatz'] = $restplatz;
|
||||
$row1['tm_disable'] = $disable;
|
||||
$row1['standort_form'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'save') {
|
||||
|
||||
$tm_datum = $_POST['tm_datum'];
|
||||
$tm_zeit = $_POST['tm_zeit'];
|
||||
$tm_plaetze = $_POST['tm_plaetze'];
|
||||
$tm_standort = $_POST['tm_standort'];
|
||||
$tm_raum = $_POST['tm_raum'];
|
||||
$tm_referenznr = trim($_POST['tm_referenznr']);
|
||||
|
||||
|
||||
$_SESSION["termine_value_tm_datum"] = $tm_datum;
|
||||
$_SESSION["termine_value_tm_zeit"] = $tm_zeit;
|
||||
$_SESSION["termine_value_tm_plaetze"] = $tm_plaetze;
|
||||
$_SESSION["termine_value_tm_standort"] = $tm_standort;
|
||||
$_SESSION["termine_value_tm_raum"] = $tm_raum;
|
||||
$_SESSION["termine_value_tm_referenznr"] = $tm_referenznr;
|
||||
|
||||
$tm_datum_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $tm_datum);
|
||||
$testdatum = $tm_datum_form." ".$tm_zeit.":00";
|
||||
$_SESSION["termine_value_tm_testdatum"] = $testdatum;
|
||||
function validateDate($date, $format = 'Y-m-d')
|
||||
{
|
||||
$d = DateTime::createFromFormat($format, $date);
|
||||
return $d && $d->format($format) == $date;
|
||||
}
|
||||
|
||||
if(!validateDate($tm_datum_form)){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=3\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
#$datum = date("Y-m-d H:i:s");
|
||||
if ($_SESSION["termine_status"] == 'neu') {
|
||||
$sql1 = $db->query("INSERT INTO dvm_termine ( tm_datum
|
||||
, tm_standort
|
||||
, tm_plaetze
|
||||
, tm_raum
|
||||
, tm_referenznr
|
||||
)
|
||||
VALUES
|
||||
( '$testdatum'
|
||||
, '$tm_standort'
|
||||
, '$tm_plaetze'
|
||||
, '$tm_raum'
|
||||
, '$tm_referenznr'
|
||||
)
|
||||
");
|
||||
}
|
||||
|
||||
if ($_SESSION["termine_status"] == 'edit') {
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
|
||||
# Prüfen, ob zu diesem Termin bereits Kandidaten gebucht sind. Wenn ja, dann Weiterleitung zum Mailanschreiben und dann Termin ändern
|
||||
$result_vorh = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_term_kand
|
||||
WHERE tm_id ='$tm_id'
|
||||
");
|
||||
$row_vorh = $result_vorh->fetch_array();
|
||||
|
||||
# Prüfen, ob der Kandidat angeschrieben werden muss. Nur bei einer Änderung der Anzahl muss der Kandidat nicht extra informiert werden
|
||||
$result_vorh1 = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_termine
|
||||
WHERE tm_id ='$tm_id'
|
||||
AND (tm_datum != '$testdatum'
|
||||
OR tm_standort != '$tm_standort'
|
||||
OR tm_raum != '$tm_raum'
|
||||
OR tm_referenznr != '$tm_referenznr'
|
||||
)
|
||||
");
|
||||
$row_vorh1 = $result_vorh1->fetch_array();
|
||||
if($row_vorh['Anz'] != 0 AND $row_vorh1['Anz'] != 0){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=mailterminupdate\">";
|
||||
exit;
|
||||
}else{
|
||||
$result = $db->query("UPDATE dvm_termine
|
||||
SET tm_datum = '$testdatum'
|
||||
, tm_standort = '$tm_standort'
|
||||
, tm_plaetze = '$tm_plaetze'
|
||||
, tm_raum = '$tm_raum'
|
||||
, tm_referenznr = '$tm_referenznr'
|
||||
WHERE tm_id = $tm_id
|
||||
");
|
||||
|
||||
unset($_SESSION['termine_tm_id']);
|
||||
}
|
||||
|
||||
}
|
||||
# Dann bekommts beim refresh den status neu, also es wird beim Abschicken ein Insert gemacht
|
||||
$editende = 1;
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
|
||||
|
||||
}
|
||||
if ($action == 'del') {
|
||||
$tm_id = $_GET['tm_id'];
|
||||
|
||||
$del1 = $db->query("DELETE FROM dvm_termine WHERE tm_id = $tm_id");
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "\">";
|
||||
}
|
||||
|
||||
if ($action == 'mailterminupdate') {
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT mail
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id IN (SELECT ka_id
|
||||
FROM dvm_term_kand
|
||||
WHERE tm_id = $tm_id)
|
||||
ORDER BY nachname ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail .= "$row1[mail], ";
|
||||
}
|
||||
$mail_lubu = get_parameter(8);
|
||||
$mail_kehl = get_parameter(7);
|
||||
|
||||
$mail_an = "$mail_kehl, $mail_lubu";
|
||||
$mail_bcc = substr(trim($mail),0,-1);
|
||||
$smarty->assign('mtupd_mailadressen_an', "$mail_an");
|
||||
$smarty->assign('mtupd_mailadressen_bcc', "$mail_bcc");
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'mailsenden2') {
|
||||
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
$tm_plaetze = $_SESSION["termine_value_tm_plaetze"];
|
||||
$tm_standort = $_SESSION["termine_value_tm_standort"];
|
||||
$tm_raum = $_SESSION["termine_value_tm_raum"];
|
||||
$tm_referenznr = $_SESSION["termine_value_tm_referenznr"];
|
||||
$testdatum = $_SESSION["termine_value_tm_testdatum"];
|
||||
$empfaenger_an = $_POST['empfaenger_an'];
|
||||
$empfaenger_bcc = $_POST['empfaenger_bcc'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = $_POST['text'];
|
||||
$absender = $_POST['absender'];
|
||||
|
||||
if($absender == 'Kehl'){
|
||||
$sendermail = get_parameter(7);
|
||||
$sender = 'Hochschule Kehl';
|
||||
}
|
||||
|
||||
if($absender == 'Ludwigsburg'){
|
||||
$sendermail = get_parameter(8);
|
||||
$sender = 'Hochschule Ludwigsburg';
|
||||
}
|
||||
|
||||
# Update
|
||||
$result = $db->query("UPDATE dvm_termine
|
||||
SET tm_datum = '$testdatum'
|
||||
, tm_standort = '$tm_standort'
|
||||
, tm_plaetze = '$tm_plaetze'
|
||||
, tm_raum = '$tm_raum'
|
||||
, tm_referenznr = '$tm_referenznr'
|
||||
WHERE tm_id = $tm_id
|
||||
");
|
||||
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, tm_standort, tm_raum, tm_plaetze, tm_referenznr FROM dvm_termine WHERE tm_id='$tm_id'");
|
||||
$row_termin = $query_termin->fetch_array();
|
||||
if($row_termin['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg - Reuteallee 36, 71634 Ludwigsburg';
|
||||
}
|
||||
|
||||
if($row_termin['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl - Kinzigallee 1, 77694 Kehl';
|
||||
}
|
||||
$text = $text."
|
||||
<br>
|
||||
<br>
|
||||
Neue Daten:<br>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Testtag:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_datum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Hochschule:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$standort
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Gebäude / Raum:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_raum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
";
|
||||
|
||||
#echo "
|
||||
#From: $sender - $sendermail<br>
|
||||
#$empfaenger<br>
|
||||
#$betreff<br>
|
||||
#$text<br>
|
||||
#$hochschule<br>";
|
||||
#exit;
|
||||
|
||||
|
||||
|
||||
## Mailversand:
|
||||
$headers = "From: $sender <$sendermail>\r\n";
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\r\n";
|
||||
$headers .= "Bcc: $empfaenger_bcc\n";
|
||||
|
||||
$return = @mail($empfaenger_an, $betreff, $text, $headers);
|
||||
|
||||
if ($return) {
|
||||
$smarty->assign('mail_senderg', "Die Mail wurde verschickt!");
|
||||
} else {
|
||||
$smarty->assign('mail_senderg', "Die Mail konnte nicht verschickt werden!<br>Prüfen Sie die Mailadressen.");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
unset($_SESSION['termine_tm_id']);
|
||||
$editende = 1;
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
343
admin/termine_kandidat.php
Executable file
343
admin/termine_kandidat.php
Executable file
@ -0,0 +1,343 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../func_get_restplatz.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
$verz = "../uploads/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
unset($_SESSION["username"]);
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
# Dropdown befüllen übernimmt ajax:fetch.php
|
||||
# $query1 = "SELECT ka_id, vorname, nachname
|
||||
# FROM dvm_kandidat
|
||||
# ORDER BY nachname, vorname";
|
||||
#
|
||||
# $result1 = $db->query($query1) or die("Cannot execute query1a");
|
||||
#
|
||||
#
|
||||
# while ($row1 = $result1->fetch_array()) {
|
||||
# $table_data1[] = $row1;
|
||||
# }
|
||||
# $smarty->assign('table_data1', $table_data1);
|
||||
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
$smarty->assign('bewerber_error', 1);
|
||||
if ($errorno == 1) {
|
||||
$smarty->assign('bewerber_error_text', "Es muss ein Bewerber ausgewählt werden.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if ($action == 'ausgabe') {
|
||||
if (isset($_POST['user'])) {
|
||||
$username = mb_strtoupper($_POST["user"]); //remove case sensitivity on the username
|
||||
} else {
|
||||
$username = $_SESSION["username"];
|
||||
}
|
||||
|
||||
$_SESSION["username"] = $username;
|
||||
|
||||
if(isset($_GET['error'])){
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
$smarty->assign('termine_error', 1);
|
||||
|
||||
if($errorno == 1){
|
||||
$smarty->assign('termine_error_text', "Es muss ein Termin gewählt werden");
|
||||
}
|
||||
}
|
||||
|
||||
if ($username == "") {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
# Kandidat
|
||||
$result_kandidat = $db->query("SELECT anrede, vorname, nachname
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = '$username'
|
||||
");
|
||||
$row_kandidat = $result_kandidat->fetch_array();
|
||||
if($row_kandidat['anrede'] == 'W'){
|
||||
$anrede = 'Frau';
|
||||
}
|
||||
if($row_kandidat['anrede'] == 'M'){
|
||||
$anrede = 'Herrn';
|
||||
}
|
||||
$smarty->assign('term_kand_anrede', $anrede);
|
||||
$smarty->assign('term_kand_vorname', $row_kandidat['vorname']);
|
||||
$smarty->assign('term_kand_nachname', $row_kandidat['nachname']);
|
||||
|
||||
# Wo ist der Kandidat bisher eingebucht
|
||||
$result_bisher = $db->query("SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_id = (SELECT tm_id
|
||||
FROM dvm_term_kand
|
||||
WHERE ka_id = '$username'
|
||||
ORDER BY tk_id desc
|
||||
LIMIT 1)
|
||||
");
|
||||
$row_bisher = $result_bisher->fetch_array();
|
||||
if($row_bisher['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row_bisher['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
$smarty->assign('term_kand_datum', $row_bisher['datum']);
|
||||
$smarty->assign('term_kand_zeit', $row_bisher['zeit']);
|
||||
$smarty->assign('term_kand_tm_id', $row_bisher['tm_id']);
|
||||
$smarty->assign('term_kand_standort', $standort);
|
||||
|
||||
# Gespeicherte Termine
|
||||
$query1 = "SELECT tm_id, date_format(tm_datum, '%d.%m.%Y') datum, date_format(tm_datum, '%H:%i') zeit, tm_standort, tm_plaetze, tm_raum, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_datum > NOW()
|
||||
ORDER BY tm_datum ASC, zeit ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
if($row1['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if($row1['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
$restplatz = get_restplatz($row1['tm_id']);
|
||||
if($restplatz != $row1['tm_plaetze']){
|
||||
$disable = 0;
|
||||
}else{
|
||||
$disable = 1;
|
||||
}
|
||||
$row1['restplatz'] = $restplatz;
|
||||
$row1['tm_disable'] = $disable;
|
||||
$row1['standort_form'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'mail') {
|
||||
$tm_id = $_POST['tm_id'];
|
||||
|
||||
$username = $_SESSION["username"];
|
||||
|
||||
if($tm_id == ""){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=".$_SERVER['PHP_SELF']."?action=ausgabe&error=1\">";
|
||||
exit;
|
||||
}
|
||||
$_SESSION["termine_tm_id"] = $tm_id;
|
||||
|
||||
# Gespeicherte Werte
|
||||
$query1 = "SELECT mail
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = '$username'
|
||||
LIMIT 1";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail .= "$row1[mail]";
|
||||
}
|
||||
|
||||
$smarty->assign('mtupd_mailadressen_an', "$mail");
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($action == 'mailsenden2') {
|
||||
|
||||
$tm_id = $_SESSION["termine_tm_id"];
|
||||
$username = $_SESSION["username"];
|
||||
$empfaenger = $_POST['empfaenger_an'];
|
||||
$betreff = $_POST['betreff'];
|
||||
$text = $_POST['text'];
|
||||
$absender = $_POST['absender'];
|
||||
|
||||
if($absender == 'Kehl'){
|
||||
$sendermail = get_parameter(7);
|
||||
$sender = 'Hochschule Kehl';
|
||||
}
|
||||
|
||||
if($absender == 'Ludwigsburg'){
|
||||
$sendermail = get_parameter(8);
|
||||
$sender = 'Hochschule Ludwigsburg';
|
||||
}
|
||||
|
||||
# Update
|
||||
$result_curid = $db->query("SELECT tp_id
|
||||
FROM dvm_term_kand
|
||||
WHERE ka_id = $username
|
||||
ORDER BY tp_id desc
|
||||
LIMIT 1
|
||||
");
|
||||
$row_curid = $result_curid->fetch_array();
|
||||
$akt_tpid = $row_curid['tp_id'];
|
||||
|
||||
$result = $db->query("UPDATE dvm_term_kand
|
||||
SET tm_id = '$tm_id'
|
||||
WHERE tp_id = $akt_tpid
|
||||
");
|
||||
|
||||
$query_termin = $db->query("SELECT date_format(tm_datum, '%d.%m.%Y um %H:%i Uhr') tm_datum, tm_standort, tm_raum, tm_plaetze, tm_referenznr
|
||||
FROM dvm_termine
|
||||
WHERE tm_id='$tm_id'");
|
||||
|
||||
$row_termin = $query_termin->fetch_array();
|
||||
if($row_termin['tm_standort'] == 'L'){
|
||||
$standort = 'Ludwigsburg - Reuteallee 36, 71634 Ludwigsburg';
|
||||
$sendermail = get_parameter(8);
|
||||
}
|
||||
|
||||
if($row_termin['tm_standort'] == 'K'){
|
||||
$standort = 'Kehl - Kinzigallee 1, 77694 Kehl';
|
||||
$sendermail = get_parameter(7);
|
||||
}
|
||||
$text = $text."
|
||||
<br>
|
||||
<br>
|
||||
Neue Daten:
|
||||
<figure class='table' style='float:left;'>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Testtag:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_datum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Hochschule:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$standort
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
<b>Gebäude / Raum:</b>
|
||||
</font>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<font face='Arial' size='2'>
|
||||
$row_termin[tm_raum]
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</figure>
|
||||
";
|
||||
|
||||
$query1 = "SELECT mail, ka_id
|
||||
FROM dvm_kandidat
|
||||
WHERE ka_id = $username
|
||||
ORDER BY nachname ASC";
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1a $tm_id");
|
||||
$lnnr = 0;
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$mail[$lnnr]['mail'] = "$row1[mail]";
|
||||
$mail[$lnnr]['ka_id'] = "$row1[ka_id]";
|
||||
$lnnr++;
|
||||
}
|
||||
$lfdnr = $lfdnr++;
|
||||
# Mail auch an die zuständige HS
|
||||
$mail[$lnnr][mail]= $sendermail;
|
||||
$mail[$lnnr][ka_id]= "";
|
||||
|
||||
#echo "<pre>";
|
||||
#print_r($mail);
|
||||
#echo "</pre><hr>";
|
||||
#exit;
|
||||
#echo "
|
||||
#From: $sender - $sendermail<br>
|
||||
#$empfaenger<br>
|
||||
#$betreff<br>
|
||||
#echo "$text<br>";
|
||||
#echo "</pre>";
|
||||
#$hochschule<br>";
|
||||
#exit;
|
||||
|
||||
#Beim CKEDITOR die <p> Tags mit Zeilenabstand 0 in der Mail
|
||||
$style ="<head>
|
||||
<style>
|
||||
p {margin: 0;}
|
||||
</style>
|
||||
</head>
|
||||
";
|
||||
$text = $style.$text;
|
||||
|
||||
for($i=0;$i<count($mail);$i++){
|
||||
## Mailversand:
|
||||
$headers = "From: $sender <$sendermail>\r\n";
|
||||
$headers .= "MIME-Version: 1.0\r\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\r\n";
|
||||
$return = @mail($empfaenger, $betreff, $text, $headers);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$text_db = addslashes($text);
|
||||
|
||||
if($mail[$i][ka_id] != ""){
|
||||
# Mail an HS soll nicht protokolliert werden
|
||||
if($return){
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '".$mail[$i][ka_id]."', '".$mail[$i][mail]."', '$betreff', '$text_db', 'V', '$datum_db')
|
||||
");
|
||||
$smarty->assign('mail_senderg', "Die Mail wurde verschickt!");
|
||||
}else{
|
||||
$sql1 = $db->query("INSERT INTO dvm_sonstige_mail (sender, sendermail, ka_id, empfaenger, mail_betreff, mail_text, status, sendedat)
|
||||
VALUES ('$sender', '$sendermail', '".$mail[$i][ka_id]."', '".$mail[$i][mail]."', '$betreff', '$text_db', 'F', '$datum_db')
|
||||
");
|
||||
|
||||
$err = 1;
|
||||
$mail_err .= $mail[$i][mail]."<br>";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unset($_SESSION['termine_tm_id']);
|
||||
$editende = 1;
|
||||
|
||||
|
||||
if($err == 1){
|
||||
$smarty->assign('mail_senderg', "Die Mails konnten nicht verschickt werden!<br>Prüfen Sie die folgenden Mailadressen:<br><br>$mail_err");
|
||||
}else{
|
||||
$smarty->assign('mail_senderg', "Die Mails wurden verschickt!");
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2; URL=" . $_SERVER['PHP_SELF'] . "?editende=$editende\">";
|
||||
}
|
||||
}
|
||||
// ende Action
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
889
admin/test_csv.php
Executable file
889
admin/test_csv.php
Executable file
@ -0,0 +1,889 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
#########Konfiguration#######################################
|
||||
$verz = "upload_csv/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
$trennzeichen_excel = "\t"; // Das Trennzeichen das Excel für CVS-Dateien nimmt ist je nach Excelversion unterschiedlich:
|
||||
// Entweder $trennzeichen_excel = ";"; --> Semikolon
|
||||
// oder $trennzeichen_excel = ","; --> Komma
|
||||
#############################################################
|
||||
|
||||
|
||||
|
||||
|
||||
$_SESSION["ck_verz"]=$verz;
|
||||
|
||||
$limitedext = array(".csv"); //Erlaubte Dateieindung beim Upload
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$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ür Vergleiche erforderlich
|
||||
|
||||
function deleteFiles($verz){
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir ($handle)) {
|
||||
if($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz.$file;
|
||||
|
||||
if(@unlink($datei)){
|
||||
$error = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>CSV Upload</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\" allign=\"center\" width=\"50%\" 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\">CSV Upload</font><br>
|
||||
<span class=\"sh\">Import eines Studienjahrgangs</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 action='".$_SERVER['PHP_SELF'] . "?action=csvimp" ."' enctype=\"multipart/form-data\" method='post'>
|
||||
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-width:0; border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber1\" height=\"142\">
|
||||
<tr>
|
||||
<td width=\"60%\" style=\"border-style: none; border-width: medium\" >
|
||||
<b>Datei wählen:</b><br>Erlaubte Dateiendungen: *.csv
|
||||
</td>
|
||||
<td width=\"40%\"align=\"left\" style=\"border-style: none; border-width: medium\" >
|
||||
<p>
|
||||
<input name=\"file\" type=\"file\" size=\"30\"></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"60%\" style=\"border-style: none; border-width: medium\">
|
||||
</td>
|
||||
<td width=\"40%\"align=\"right\" style=\"border-style: none; border-width: medium\">
|
||||
<p>
|
||||
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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>";
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'csvimp') {
|
||||
|
||||
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
$name = $_FILES['file']['name'];
|
||||
|
||||
$type = $_FILES['file']['type'];
|
||||
$size = $_FILES['file']['size'];
|
||||
$einheit = "Byte"; // Für die Efolgsmeldung.
|
||||
|
||||
$extlimit = "yes"; //Do you want to limit the extensions of files uploaded
|
||||
$ext = strrchr($name,'.');
|
||||
if (($extlimit == "yes") && (!in_array($ext,$limitedext))) {
|
||||
|
||||
$err[] = "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Falscher Dateityp</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=\"98%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Falscher Dateityp</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>
|
||||
<br>
|
||||
<p align=\"center\">Es dürfen nur csv-Dateien hochgeladen werden!
|
||||
<p>
|
||||
<p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\">
|
||||
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a>
|
||||
</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\">
|
||||
<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>";
|
||||
}
|
||||
|
||||
if($size > "9900000") {
|
||||
$err[] = "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Datei zu groß</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=\"98%\" background=\"../images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Datei zu groß</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>
|
||||
<br>
|
||||
<p align=\"center\">Die Datei welche Sie hochladen wollen, ist zu gross!<br>Maximale Dateigroesse beträgt 9.900 KB!
|
||||
<p>
|
||||
<p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\">
|
||||
<img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a>
|
||||
</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\">
|
||||
<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>";
|
||||
}
|
||||
$name = str_replace (array("ä", "ö", "ü", "ß", "Ä", "Ö", "Ü"," "), array("ae", "oe", "ue", "ss", "Ae", "Oe", "Ue", "_"), $name);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$heuteformat = date("H-i-s_Y-m-d", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$neu = $heuteformat."_".$name;
|
||||
$_SESSION["ck_neu"]=$neu;
|
||||
|
||||
If(empty($err)) {
|
||||
move_uploaded_file("$tempname", "$verz$neu"); // Unterverzeichnisse wie folgt: copy("$tempname", "pdf/$neu");
|
||||
|
||||
$row = 1; // Anzahl der Arrays
|
||||
$handle = fopen ("$verz$neu","r"); // Datei zum Lesen öffnen
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Datensätze prüfen</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width='150%' cellpadding=\"0\" height=\"90%\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" 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\">Datensätze prüfen</font><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>
|
||||
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\">
|
||||
<tr>
|
||||
<td width=\"4%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">uid</font></b>
|
||||
</td>
|
||||
<td width=\"10%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Nachname</font></b>
|
||||
</td>
|
||||
<td width=\"10%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Vorname</font></b>
|
||||
</td>
|
||||
<td width=\"1%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Matrikelnr.</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">KFZ</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">HS</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">PLZ</font></b>
|
||||
</td>
|
||||
<td width=\"13%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Ort</font></b>
|
||||
</td>
|
||||
<td width=\"14%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Straße</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Stg</font></b>
|
||||
</td>
|
||||
<td width=\"11%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">StgText</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">AG</font></b>
|
||||
</td>
|
||||
<td width=\"2%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Jahr</font></b>
|
||||
</td>
|
||||
<td width=\"3%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Passwort</font></b>
|
||||
</td>
|
||||
<td width=\"44%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Mail</font></b>
|
||||
</td>
|
||||
</tr>";
|
||||
|
||||
|
||||
while ( ($data = fgetcsv ($handle, 0, $trennzeichen_excel)) !== FALSE ) // Daten werden aus der Datei in ein Array $data gelesen
|
||||
{
|
||||
$num = count ($data); // Felder im Array $data werden gezählt
|
||||
//print "<p> $num fields in line $row: <br>\n";
|
||||
print "\n";
|
||||
$row++; // Anzahl der Arrays wird
|
||||
// inkrementiert
|
||||
|
||||
$passwd = str_replace(".", "", $data[13]);
|
||||
|
||||
print "<tr>";
|
||||
// for ($c=0; $c < $num; $c++) { // FOR-Schleife: Oder Anzahl der zu importierenden Felder ($num)
|
||||
print "<td><font size=\"1\">".strtolower($data[0]) . "</td>\n"; // uid
|
||||
print "<td><font size=\"1\">".$data[1] . "</td>\n"; // Nacname
|
||||
print "<td><font size=\"1\">".$data[2] . "</td>\n"; // Vorname
|
||||
print "<td><font size=\"1\">".$data[3] . "</td>\n"; // Matrikelnr
|
||||
print "<td><font size=\"1\">".$data[4] . "</td>\n"; // KFZ
|
||||
print "<td><font size=\"1\">".$data[5] . "</td>\n"; // HS
|
||||
print "<td><font size=\"1\">".$data[6] . "</td>\n"; // PLZ
|
||||
print "<td><font size=\"1\">".$data[7] . "</td>\n"; // ORT
|
||||
print "<td><font size=\"1\">".$data[8] . "</td>\n"; // Straße
|
||||
print "<td><font size=\"1\">".$data[9] . "</td>\n"; // STG
|
||||
print "<td><font size=\"1\">".$data[10] . "</td>\n"; // StgText
|
||||
print "<td><font size=\"1\">".strtoupper($data[11]) . "</td>\n"; // AG
|
||||
print "<td><font size=\"1\">".$data[12] . "</td>\n"; // Jahrgang
|
||||
#print "<td><font size=\"1\">".strtolower($data[12]) . "</td>\n"; // Passwort in Kleinbuchstaben
|
||||
print "<td><font size=\"1\">".$passwd . "</td>\n"; // Passwort
|
||||
print "<td><font size=\"1\">".$data[14] . "</td>\n"; // Mail
|
||||
// }
|
||||
print "</tr>";
|
||||
$ln_inserts[]++; //zählt die Anzahl der importierenden DS
|
||||
}
|
||||
echo "
|
||||
</table>
|
||||
</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>
|
||||
<br>";
|
||||
$zahl=count($ln_inserts);
|
||||
|
||||
echo"
|
||||
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width='40%' cellpadding=\"0\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" 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\">Sollen die $zahl Datensätze importiert werden?</font><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>
|
||||
<form action='".$_SERVER['PHP_SELF'] . "?action=csvimp2" ."' enctype=\"multipart/form-data\" method='post'>
|
||||
<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\">
|
||||
<tr>
|
||||
<td width=\"70%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Auswahl</font></b>
|
||||
</td>
|
||||
<td width=\"30%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Markieren</font></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\"><font size=\"1\">Datensätze nicht importieren
|
||||
</td>
|
||||
<td width=\"30%\"><font size=\"1\"><input type=\"radio\" name=\"import\" value=\"0\" checked>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\"><font size=\"1\">Datensätze importieren
|
||||
</td>
|
||||
<td width=\"30%\"><font size=\"1\"><input type=\"radio\" name=\"import\" value=\"1\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\">
|
||||
|
||||
</td>
|
||||
<td width=\"30%\">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\">
|
||||
|
||||
</td width=\"30%\">
|
||||
<td>
|
||||
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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>
|
||||
";
|
||||
}else {
|
||||
|
||||
foreach($err as $error)
|
||||
echo "$error";
|
||||
exit;
|
||||
} //Ende if error
|
||||
fclose ($handle);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'csvimp2') {
|
||||
$neu=$_SESSION["ck_neu"]; //CSV-Dateinamen um Datei löschen zu können
|
||||
$verz=$_SESSION["ck_verz"]; //Uploadverzeichnis aus Cookie holen
|
||||
|
||||
|
||||
if ($_POST['import'] == "0") // DS sollen nicht importiert werden
|
||||
{
|
||||
$dateiname="$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
echo"
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Import beendet</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\">Importvorgang abgebrochen</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\">Datemsätze wurden nicht importiert!<br>Die CSV-Datei wurde vom Server gelöscht!
|
||||
</p>
|
||||
<p align=\"center\"><a href=\"javascript:window.close()\">
|
||||
<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>";
|
||||
|
||||
}else{
|
||||
|
||||
echo"
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Datei nicht gelöscht</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\">Importvorgang abgebrochen</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\">Datemsätze wurden nicht importiert!<br>Die CSV-Datei ($neu) konnte <b>nicht</b> vom Server gelöscht werden!
|
||||
</p>
|
||||
<p align=\"center\"><a href=\"javascript:window.close()\">
|
||||
<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>";
|
||||
} // End if
|
||||
|
||||
} elseif($_POST['import'] == "1") // DS sollen importiert werden
|
||||
{
|
||||
$row = 1; // Anzahl der Arrays
|
||||
$handle = fopen ("$verz$neu","r"); // Datei zum Lesen öffnen
|
||||
while ( ($data = fgetcsv ($handle, 1000, $trennzeichen_excel)) !== FALSE ) // Daten werden aus der Datei in ein Array $data gelesen
|
||||
{
|
||||
$num = count ($data); // Felder im Array $data werden gezählt
|
||||
//print "<p> $num fields in line $row: <br>\n";
|
||||
print "\n";
|
||||
$row++; // Anzahl der Arrays wird
|
||||
// inkrementiert
|
||||
#$pwd = strtolower($data[13]);
|
||||
$pwd = str_replace(".", "", $data[13]);
|
||||
$passwd = md5($pwd);
|
||||
$uid = strtolower($data[0]);
|
||||
|
||||
$geb = preg_split('/\./', $data[13]);
|
||||
$tag = $geb[0];
|
||||
$mon = $geb[1];
|
||||
$jahr = $geb[2];
|
||||
$gebtag = "$jahr-$mon-$tag";
|
||||
//$passwd = mysql_escape_string($passwd);
|
||||
|
||||
|
||||
// ACHTUNG: AN DIESER ZEILE NICHTS ÄNDERN, da die erste Zeile des Strings rausgefiltert wird bei der Ausgabe der nichtimportierten DS
|
||||
$insert[] .= "INSERT INTO stud (uid, nachname, vorname, mtknr, pokfz, hs, poplz, poOrt, poStrasse, stg, stgText, AG, Jahrgang, Pwd, mail, geburtstag) VALUES ( lower('$data[0]')
|
||||
,'$data[1]'
|
||||
,'$data[2]'
|
||||
,'$data[3]'
|
||||
,'$data[4]'
|
||||
,'$data[5]'
|
||||
,'$data[6]'
|
||||
,'$data[7]'
|
||||
,'$data[8]'
|
||||
,'$data[9]'
|
||||
,'$data[10]'
|
||||
,upper('$data[11]')
|
||||
,'$data[12]'
|
||||
,'$passwd'
|
||||
,'$data[14]'
|
||||
,'$gebtag'
|
||||
)
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
for ($i=0;$i<sizeof($insert);$i++)
|
||||
{
|
||||
$sql = mysql_query("$insert[$i]");
|
||||
if (!$sql) {
|
||||
$unimported[]= $insert[$i];
|
||||
}
|
||||
}
|
||||
fclose ($handle);
|
||||
$dateiname="$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
|
||||
$y = str_replace (array("INSERT INTO stud (uid, nachname, vorname, mtknr, pokfz, hs, poplz, poOrt, poStrasse, stg, stgText, AG, Jahrgang, Pwd, mail, geburtstag) VALUES ( lower('"), array(""), $unimported);
|
||||
|
||||
echo"
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Import beendet</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\">Importvorgang erfolgreich</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\">Der Importvorgang wurde erfolgreich beendet!<br>Die CSV-Datei wurde vom Server gelöscht!
|
||||
</p>";
|
||||
$num1 = count ($y); // Anzahl der nicht importierten UIDs
|
||||
if ($y != "")
|
||||
{
|
||||
echo"Es wurden $num1 Datensätze nicht importiert<br>
|
||||
Wahrscheinlich ist die UID bereits in der Datenbank vorhanden,<br>
|
||||
oder eines der Felder ist zu lang:
|
||||
<p>";
|
||||
}
|
||||
// Ausgabe der nicht importierten DS
|
||||
for ($i=0;$i<sizeof($y);$i++)
|
||||
{
|
||||
$b = strpos ($y[$i], "'");
|
||||
$e = substr($y[$i], 0, $b);
|
||||
|
||||
print strtolower($e); // Ausgabe der nicht importierten UIDs
|
||||
echo"<br>";
|
||||
}
|
||||
echo"
|
||||
<p align=\"center\"><a href=\"../hauptframe_welcome.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>";
|
||||
|
||||
}else{
|
||||
|
||||
echo"
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
|
||||
<title>Datei nicht gelöscht</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\">Importvorgang erfolgreich</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\">Der Importvorgang wurde erfolgreich beendet!<br>Die CSV-Datei ($neu) konnte <b>nicht</b> vom Server gelöscht werden!
|
||||
</p>";
|
||||
$num1 = count ($y); // Anzahl der nicht importierten UIDs
|
||||
if ($y != "")
|
||||
{
|
||||
echo"Es wurden $num1 Datensätze nicht importiert<br>
|
||||
Wahrscheinlich ist die UID bereits in der Datenbank vorhanden,<br>
|
||||
oder eines der Felder ist zu lang:
|
||||
<p>";
|
||||
}
|
||||
// Ausgabe der nicht importierten DS
|
||||
for ($i=0;$i<sizeof($y);$i++)
|
||||
{
|
||||
$b = strpos ($y[$i], "'");
|
||||
$e = substr($y[$i], 0, $b);
|
||||
|
||||
print strtolower($e); // Ausgabe der nicht importierten UIDs
|
||||
echo"<br>";
|
||||
}
|
||||
echo"
|
||||
<p align=\"center\"><a href=\"javascript:window.close()\">
|
||||
<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>";
|
||||
} // End if
|
||||
|
||||
}else { // Es wurde kein Radiobutton gewählt! Technisch aber ausgeschlossen
|
||||
|
||||
echo "sie müssen eine Auswahl treffen";
|
||||
|
||||
}
|
||||
|
||||
function deleteFiles($verz){
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir ($handle)) {
|
||||
if($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz.$file;
|
||||
|
||||
if(@unlink($datei)){
|
||||
$error = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
} // ende Action
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
51
admin/titel.php
Executable file
51
admin/titel.php
Executable file
@ -0,0 +1,51 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
if($_SESSION["global_username"] == ''){
|
||||
echo"<script type='text/javascript'>window.top.location.href = \"index.php\";</script>";
|
||||
}
|
||||
|
||||
/*
|
||||
$db = dbconnect();
|
||||
|
||||
#Hat User ein Adminrecht
|
||||
|
||||
$result_admin = $db->query("SELECT count(*) Anz FROM dep_rollen_user_zuord WHERE imtuid = '$uid' AND roid='1'");
|
||||
#echo "SELECT count(*) Anz FROM dep_rollen_user_zuord WHERE imtuid = '$uid' AND roid='1'<br>";
|
||||
$row_admin = $result_admin->fetch_array();
|
||||
|
||||
if($row_admin[Anz] > 0){
|
||||
$smarty->assign('titel_admin', "1");
|
||||
}
|
||||
|
||||
|
||||
$result_ausschuss = $db->query("SELECT count(*) Anz FROM dep_rollen_user_zuord WHERE imtuid = '$uid' AND roid in (4,5)");
|
||||
$row_ausschuss = $result_ausschuss->fetch_array();
|
||||
|
||||
if($row_ausschuss[Anz] > 0){
|
||||
$smarty->assign('titel_ausschuss', "1");
|
||||
}
|
||||
|
||||
|
||||
$result_beteiligte = $db->query("SELECT count(*) Anz FROM dep_rollen_user_zuord WHERE imtuid = '$uid' AND roid='3'");
|
||||
$row_beteiligte = $result_beteiligte->fetch_array();
|
||||
|
||||
if($row_beteiligte[Anz] > 0){
|
||||
$smarty->assign('titel_beteiligte', "1");
|
||||
}
|
||||
|
||||
|
||||
$result_gutachter = $db->query("SELECT count(*) Anz FROM dep_rollen_user_zuord WHERE imtuid = '$uid' AND roid='2'");
|
||||
$row_gutachter = $result_gutachter->fetch_array();
|
||||
|
||||
if($row_gutachter[Anz] > 0){
|
||||
$smarty->assign('titel_gutachter', "1");
|
||||
}
|
||||
|
||||
*/
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
?>
|
402
admin/upload.php
Executable file
402
admin/upload.php
Executable file
@ -0,0 +1,402 @@
|
||||
<?php
|
||||
session_start();
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once("../language/german.inc.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
|
||||
if (isset($_GET['action'])) {
|
||||
$action = $_GET['action'];
|
||||
} else {
|
||||
$action = '';
|
||||
}
|
||||
|
||||
|
||||
#########Konfiguration#######################################
|
||||
$verz = "upload_csv/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
$trennzeichen_excel = "\t"; // Das Trennzeichen das Excel für CVS-Dateien nimmt ist je nach Excelversion unterschiedlich:
|
||||
// Entweder $trennzeichen_excel = ";"; --> Semikolon
|
||||
// oder $trennzeichen_excel = ","; --> Komma
|
||||
#############################################################
|
||||
|
||||
|
||||
|
||||
|
||||
$_SESSION["ck_verz"] = $verz;
|
||||
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
$german = $db->query("SET lc_time_names = 'de_DE';");
|
||||
|
||||
$query1 = "SELECT a.tm_id, date_format(tm_datum, '%a, %d.%m.%Y - %H:%i Uhr')tm_datum_form, tm_standort
|
||||
FROM dvm_termine a, dvm_term_kand b
|
||||
WHERE a.tm_id=b.tm_id
|
||||
AND a.tm_datum > ADDDATE(now(), -7)
|
||||
GROUP BY a.tm_id, tm_datum_form, tm_standort
|
||||
ORDER BY tm_datum ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1");
|
||||
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
|
||||
if ($row1['tm_standort'] == 'L') {
|
||||
$standort = 'Ludwigsburg';
|
||||
}
|
||||
if ($row1['tm_standort'] == 'K') {
|
||||
$standort = 'Kehl';
|
||||
}
|
||||
|
||||
$row1['tm_standort'] = $standort;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
}
|
||||
|
||||
if ($action == 'upload') {
|
||||
# Den Testtermin wählt man, damit jede Hochschule seine eigenen Daten importieren kann. Wenn eine Hochschule am selben TAg einen Test hat vermeidet man dass ein halbfertiger Test importiert wird
|
||||
if (isset($_POST["testtermin"])) {
|
||||
$testtermin = $_POST["testtermin"];
|
||||
} else {
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
}
|
||||
|
||||
$_SESSION["testtermin"] = $testtermin;
|
||||
|
||||
|
||||
# Uploadverzeichnis aufräumen. Temporäre Dateien, die älter als 2 Wochen sind, werden gelöscht
|
||||
$dir = $_SERVER["DOCUMENT_ROOT"].dirname($_SERVER['PHP_SELF'])."/$verz";
|
||||
$folder = dir($dir);
|
||||
while ($dateiname = $folder->read()) {
|
||||
if (filetype($dir.$dateiname) != "dir") {
|
||||
if (strtotime("-2 weeks") >
|
||||
@filemtime($dir.$dateiname)) {
|
||||
if (@unlink($dir.$dateiname) != false){
|
||||
# echo $dateiname.' wurde gelöscht<br>';
|
||||
}else{
|
||||
# echo $dateiname.' konnte nichtgelöscht werden<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Fehler beim Upload anzeigen
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
$smarty->assign('index_error', 1);
|
||||
|
||||
if ($errorno == 1) {
|
||||
$smarty->assign('index_error_text', "Es dürfen nur CSV Dateien hochgeladen werden.");
|
||||
}
|
||||
if ($errorno == 2) {
|
||||
# Tabelle dvm_parameter
|
||||
$size_mb = trim(get_parameter(12));
|
||||
$smarty->assign('index_error_text', "Die Datei ist zu groß. Die Dateigröße darf max. $size_mb MB betragen.");
|
||||
}
|
||||
if ($errorno == 3) {
|
||||
$smarty->assign('index_error_text', "Vorgang wurde abgebrochen. Die Datei wurde vom Server gelöscht");
|
||||
}
|
||||
if ($errorno == 4) {
|
||||
$smarty->assign('index_error_text', "Vorgang wurde abgebrochen. Die Datei wurde nicht vom Server gelöscht");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($action == 'csvimp') {
|
||||
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
$name = $_FILES['file']['name'];
|
||||
|
||||
$type = $_FILES['file']['type'];
|
||||
$size = $_FILES['file']['size'];
|
||||
$einheit = "Byte"; // Für die Efolgsmeldung.
|
||||
|
||||
$limitedext = array(
|
||||
".csv"
|
||||
); //Erlaubte Dateieindung beim Upload
|
||||
|
||||
$extlimit = "yes"; //Do you want to limit the extensions of files uploaded
|
||||
$ext = strrchr($name, '.');
|
||||
|
||||
if (($extlimit == "yes") && (!in_array($ext, $limitedext))) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=upload&error=1\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
# Tabelle dvm_parameter
|
||||
$size_mb = trim(get_parameter(12));
|
||||
$size_bt = $size_mb * 1024 * 1024;
|
||||
|
||||
if ($size > $size_bt) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=upload&error=2\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
$name = str_replace(array(
|
||||
"ä",
|
||||
"ö",
|
||||
"ü",
|
||||
"ß",
|
||||
"Ä",
|
||||
"Ö",
|
||||
"Ü",
|
||||
" "
|
||||
), array(
|
||||
"ae",
|
||||
"oe",
|
||||
"ue",
|
||||
"ss",
|
||||
"Ae",
|
||||
"Oe",
|
||||
"Ue",
|
||||
"_"
|
||||
), $name);
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$heuteformat = date("H-i-s_Y-m-d", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$neu = $heuteformat . "_" . $name;
|
||||
$_SESSION["ck_neu"] = $neu;
|
||||
move_uploaded_file("$tempname", "$verz$neu"); // Unterverzeichnisse wie folgt: copy("$tempname", "pdf/$neu");
|
||||
|
||||
$handle = fopen("$verz$neu", "r"); // Datei zum Lesen öffnen
|
||||
|
||||
# Bestehnswert 65 Punkte
|
||||
$bestehenswert = trim(get_parameter(11));
|
||||
|
||||
# Hier vor der Schleife erste Zeile holen und ignorieren. Enthält Überschrift
|
||||
fgetcsv($handle, 0, $trennzeichen_excel);
|
||||
|
||||
while (($data = fgetcsv($handle, 0, $trennzeichen_excel)) !== FALSE) { // Daten werden aus der Datei in ein Array $data gelesen
|
||||
#2020-02-23T17:44:56
|
||||
$tag = substr($data[11], 8, 2);
|
||||
$monat = substr($data[11], 5, 2);
|
||||
$jahr = substr($data[11], 0, 4);
|
||||
$std = substr($data[11], 11, 2);
|
||||
$min = substr($data[11], 14, 2);
|
||||
$sek = substr($data[11], 17, 2);
|
||||
$datum = "$tag.$monat.$jahr - $std:$min:$sek";
|
||||
$datum_db = "$jahr-$monat-$tag";
|
||||
$tan = $data[7];
|
||||
|
||||
|
||||
$result_ct = $db->query("SELECT concat(vorname,' ', nachname) name, date_format(tm_datum, '%Y-%m-%d') tm_datum
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_tanpool d
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND b.tp_id = d.tp_id
|
||||
AND d.tan = '$tan'
|
||||
AND c.tm_id = $testtermin");
|
||||
$row_ct = $result_ct->fetch_array();
|
||||
|
||||
if ($row_ct['name'] != '' AND $row_ct['tm_datum'] == $datum_db) {
|
||||
|
||||
$satzerg_raw = $data[13];
|
||||
$analogie_raw = $data[14];
|
||||
#$gemeinsamkeiten_raw = $data[15];
|
||||
$rechenaufgaben_raw = $data[16];
|
||||
$zahlenreihen_raw = $data[17];
|
||||
$rechenzeichen_raw = $data[18];
|
||||
$matrizen_raw = $data[21];
|
||||
$merkf_raw = $data[27];
|
||||
|
||||
$row1['tan'] = $tan;
|
||||
$row1['name'] = $row_ct['name'];
|
||||
$row1['datum'] = $datum;
|
||||
$row1['satzerg_raw'] = $satzerg_raw;
|
||||
$row1['analogie_raw'] = $analogie_raw;
|
||||
#$row1['gemeinsamkeiten_raw'] = $gemeinsamkeiten_raw;
|
||||
$row1['rechenaufgaben_raw'] = $rechenaufgaben_raw;
|
||||
$row1['zahlenreihen_raw'] = $zahlenreihen_raw;
|
||||
$row1['rechenzeichen_raw'] = $rechenzeichen_raw;
|
||||
$row1['matrizen_raw'] = $matrizen_raw;
|
||||
$row1['merkf_raw'] = $merkf_raw;
|
||||
|
||||
# In die Berechnung fliest verb/num Intelligenz nicht mit ein. Das sind interne Berechnungen und keine Testaufgaben
|
||||
$summe = $satzerg_raw + $analogie_raw + $rechenaufgaben_raw + $zahlenreihen_raw + $rechenzeichen_raw + $matrizen_raw + $merkf_raw;
|
||||
$row1['summe'] = $summe;
|
||||
if ($summe >= $bestehenswert) {
|
||||
$bestanden = 1;
|
||||
} else {
|
||||
$bestanden = 0;
|
||||
}
|
||||
$row1['bestanden'] = $bestanden;
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
fclose($handle);
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'csvimp2') {
|
||||
$neu = $_SESSION["ck_neu"]; //CSV-Dateinamen um Datei löschen zu können
|
||||
$verz = $_SESSION["ck_verz"]; //Uploadverzeichnis aus Cookie holen
|
||||
$testtermin = $_SESSION["testtermin"];
|
||||
|
||||
|
||||
if ($_POST['import'] == "0") // DS sollen nicht importiert werden
|
||||
{
|
||||
$dateiname = "$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
# Abbruch, datei gelöscht
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=upload&error=3\">";
|
||||
exit;
|
||||
} else {
|
||||
# Abbruch, datei nicht gelöscht
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?action=upload&error=4\">";
|
||||
exit;
|
||||
} // End if
|
||||
|
||||
} elseif ($_POST['import'] == "1") // DS sollen importiert werden
|
||||
{
|
||||
$handle = fopen("$verz$neu", "r"); // Datei zum Lesen öffnen
|
||||
|
||||
# Bestehnswert 65 Punkte
|
||||
$bestehenswert = trim(get_parameter(11));
|
||||
|
||||
# Hier vor der Schleife erste Zeile holen und ignorieren. Enthält Überschrift
|
||||
fgetcsv($handle, 0, $trennzeichen_excel);
|
||||
|
||||
while (($data = fgetcsv($handle, 0, $trennzeichen_excel)) !== FALSE) { // Daten werden aus der Datei in ein Array $data gelesen
|
||||
|
||||
#2020-02-23T17:44:56
|
||||
$tag = substr($data[11], 8, 2);
|
||||
$monat = substr($data[11], 5, 2);
|
||||
$jahr = substr($data[11], 0, 4);
|
||||
$std = substr($data[11], 11, 2);
|
||||
$min = substr($data[11], 14, 2);
|
||||
$sek = substr($data[11], 17, 2);
|
||||
$datum = "$tag.$monat.$jahr - $std:$min:$sek";
|
||||
$datum_db = "$jahr-$monat-$tag";
|
||||
$tan = $data[7];
|
||||
|
||||
$result_ct = $db->query("SELECT a.ka_id, concat(vorname,' ', nachname) name, date_format(tm_datum, '%Y-%m-%d') tm_datum
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_termine c, dvm_tanpool d
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tm_id = c.tm_id
|
||||
AND b.tp_id = d.tp_id
|
||||
AND d.tan = '$tan'
|
||||
AND c.tm_id = $testtermin");
|
||||
$row_ct = $result_ct->fetch_array();
|
||||
|
||||
if ($row_ct['name'] != '' AND $row_ct['tm_datum'] == $datum_db) {
|
||||
|
||||
$satzerg_raw = $data[13];
|
||||
$analogie_raw = $data[14];
|
||||
#$gemeinsamkeiten_raw = $data[15];
|
||||
$rechenaufgaben_raw = $data[16];
|
||||
$zahlenreihen_raw = $data[17];
|
||||
$rechenzeichen_raw = $data[18];
|
||||
$matrizen_raw = $data[21];
|
||||
$merkf_raw = $data[27];
|
||||
$summe = $satzerg_raw + $analogie_raw + $rechenaufgaben_raw + $zahlenreihen_raw + $rechenzeichen_raw + $matrizen_raw + $merkf_raw;
|
||||
if ($summe >= $bestehenswert) {
|
||||
$bestanden = 1;
|
||||
} else {
|
||||
$bestanden = 0;
|
||||
# Tan Inaktiv setzen
|
||||
$result_1 = $db->query("UPDATE dvm_tanpool
|
||||
SET aktiv='I'
|
||||
WHERE tan = '$tan'");
|
||||
}
|
||||
$result_ct1 = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_ergebnisse
|
||||
WHERE ka_id = $row_ct[ka_id]
|
||||
AND tan = '$tan'");
|
||||
$row_ct1 = $result_ct1->fetch_array();
|
||||
if ($row_ct1['Anz'] == 0) {
|
||||
# keine Ergebnisse vorhanden, insert
|
||||
|
||||
$sql1 = $db->query("insert into dvm_ergebnisse (ka_id
|
||||
, tan
|
||||
, satzerg
|
||||
, analogie
|
||||
, rechenaufgaben
|
||||
, zahlenreihen
|
||||
, rechenzeichen
|
||||
, matrizen
|
||||
, merkf
|
||||
, summe
|
||||
, bestanden)
|
||||
VALUES ('$row_ct[ka_id]'
|
||||
, '$tan'
|
||||
, '$satzerg_raw'
|
||||
, '$analogie_raw'
|
||||
, '$rechenaufgaben_raw'
|
||||
, '$zahlenreihen_raw'
|
||||
, '$rechenzeichen_raw'
|
||||
, '$matrizen_raw'
|
||||
, '$merkf_raw'
|
||||
, '$summe'
|
||||
, '$bestanden')");
|
||||
if (!$sql1) {
|
||||
$hinweis['hinweis'] = "TAN: " . $tan . " Fehler: Ergebnis nicht gespeichert<br>";
|
||||
$smarty->assign('index_error', 1);
|
||||
}
|
||||
} else {
|
||||
# Ergebnisse gibt es schon, kein insert
|
||||
$hinweis['hinweis'] = "TAN: " . $tan . " Ergebnisse schon gespeichert<br>";
|
||||
$smarty->assign('index_error', 1);
|
||||
}
|
||||
|
||||
} else {
|
||||
# Testdatum stimmt nicht, kein Student gefunden
|
||||
$hinweis['hinweis'] = "TAN: " . $tan . " in der CSV gehört nicht zu diesem Datum (Kein Fehler)<br>";
|
||||
$smarty->assign('index_error', 1);
|
||||
}
|
||||
$table_data2[] = $hinweis;
|
||||
}
|
||||
$smarty->assign('table_data2', $table_data2);
|
||||
|
||||
|
||||
fclose($handle);
|
||||
|
||||
} else { // Es wurde kein Radiobutton gewählt! Technisch aber ausgeschlossen
|
||||
|
||||
echo "sie müssen eine Auswahl treffen";
|
||||
|
||||
}
|
||||
|
||||
function deleteFiles($verz)
|
||||
{
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir($handle)) {
|
||||
if ($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz . $file;
|
||||
|
||||
if (@unlink($datei)) {
|
||||
$error = TRUE;
|
||||
} else {
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
} // ende Action
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/admin/$templatename");
|
||||
|
||||
?>
|
6
admin/verwaltung_frame.php
Executable file
6
admin/verwaltung_frame.php
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
$smarty = new SmartyAdmin();
|
||||
require_once "../language/german.inc.php";
|
BIN
ajaxtabs/Thumbs.db
Executable file
BIN
ajaxtabs/Thumbs.db
Executable file
Binary file not shown.
224
ajaxtabs/ajaxtabs.js
Executable file
224
ajaxtabs/ajaxtabs.js
Executable file
@ -0,0 +1,224 @@
|
||||
//** Ajax Tabs Content script v2.0- <20> Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
|
||||
//** Updated Oct 21st, 07 to version 2.0. Contains numerous improvements
|
||||
//** Updated Feb 18th, 08 to version 2.1: Adds a public "tabinstance.cycleit(dir)" method to cycle forward or backward between tabs dynamically. Only .js file changed from v2.0.
|
||||
//** Updated April 8th, 08 to version 2.2:
|
||||
// -Adds support for expanding a tab using a URL parameter (ie: http://mysite.com/tabcontent.htm?tabinterfaceid=0)
|
||||
// -Modified Ajax routine so testing the script out locally in IE7 now works
|
||||
|
||||
var ddajaxtabssettings={}
|
||||
ddajaxtabssettings.bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no)
|
||||
ddajaxtabssettings.loadstatustext="<img src='ajaxtabs/loading.gif' /> Requesting content..."
|
||||
|
||||
|
||||
////NO NEED TO EDIT BELOW////////////////////////
|
||||
|
||||
function ddajaxtabs(tabinterfaceid, contentdivid){
|
||||
this.tabinterfaceid=tabinterfaceid //ID of Tab Menu main container
|
||||
this.tabs=document.getElementById(tabinterfaceid).getElementsByTagName("a") //Get all tab links within container
|
||||
this.enabletabpersistence=true
|
||||
this.hottabspositions=[] //Array to store position of tabs that have a "rel" attr defined, relative to all tab links, within container
|
||||
this.currentTabIndex=0 //Index of currently selected hot tab (tab with sub content) within hottabspositions[] array
|
||||
this.contentdivid=contentdivid
|
||||
|
||||
this.defaultHTML=""
|
||||
this.defaultIframe='<iframe src="about:blank" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" class="tabcontentiframe" style="width:100%; height:100%; min-height: 100px"></iframe>'
|
||||
this.defaultIframe=this.defaultIframe.replace(/<iframe/i, '<iframe name="'+"_ddajaxtabsiframe-"+contentdivid+'" ')
|
||||
this.revcontentids=[] //Array to store ids of arbitrary contents to expand/contact as well ("rev" attr values)
|
||||
this.selectedClassTarget="link" //keyword to indicate which target element to assign "selected" CSS class ("linkparent" or "link")
|
||||
}
|
||||
|
||||
ddajaxtabs.connect=function(pageurl, tabinstance){
|
||||
var page_request = false
|
||||
var bustcacheparameter=""
|
||||
if (window.ActiveXObject){ //Test for support for ActiveXObject in IE first (as XMLHttpRequest in IE7 is broken)
|
||||
try {
|
||||
page_request = new ActiveXObject("Msxml2.XMLHTTP")
|
||||
}
|
||||
catch (e){
|
||||
try{
|
||||
page_request = new ActiveXObject("Microsoft.XMLHTTP")
|
||||
}
|
||||
catch (e){}
|
||||
}
|
||||
}
|
||||
else if (window.XMLHttpRequest) // if Mozilla, Safari etc
|
||||
page_request = new XMLHttpRequest()
|
||||
else
|
||||
return false
|
||||
var ajaxfriendlyurl=pageurl.replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
|
||||
page_request.onreadystatechange=function(){ddajaxtabs.loadpage(page_request, pageurl, tabinstance)}
|
||||
if (ddajaxtabssettings.bustcachevar) //if bust caching of external page
|
||||
bustcacheparameter=(ajaxfriendlyurl.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
|
||||
page_request.open('GET', ajaxfriendlyurl+bustcacheparameter, true)
|
||||
page_request.send(null)
|
||||
}
|
||||
|
||||
ddajaxtabs.loadpage=function(page_request, pageurl, tabinstance){
|
||||
var divId=tabinstance.contentdivid
|
||||
document.getElementById(divId).innerHTML=ddajaxtabssettings.loadstatustext //Display "fetching page message"
|
||||
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)){
|
||||
document.getElementById(divId).innerHTML=page_request.responseText
|
||||
ddajaxtabs.ajaxpageloadaction(pageurl, tabinstance)
|
||||
}
|
||||
}
|
||||
|
||||
ddajaxtabs.ajaxpageloadaction=function(pageurl, tabinstance){
|
||||
tabinstance.onajaxpageload(pageurl) //call user customized onajaxpageload() function when an ajax page is fetched/ loaded
|
||||
}
|
||||
|
||||
ddajaxtabs.getCookie=function(Name){
|
||||
var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
|
||||
if (document.cookie.match(re)) //if cookie found
|
||||
return document.cookie.match(re)[0].split("=")[1] //return its value
|
||||
return ""
|
||||
}
|
||||
|
||||
ddajaxtabs.setCookie=function(name, value){
|
||||
document.cookie = name+"="+value+";path=/" //cookie value is domain wide (path=/)
|
||||
}
|
||||
|
||||
ddajaxtabs.prototype={
|
||||
|
||||
expandit:function(tabid_or_position){ //PUBLIC function to select a tab either by its ID or position(int) within its peers
|
||||
this.cancelautorun() //stop auto cycling of tabs (if running)
|
||||
var tabref=""
|
||||
try{
|
||||
if (typeof tabid_or_position=="string" && document.getElementById(tabid_or_position).getAttribute("rel")) //if specified tab contains "rel" attr
|
||||
tabref=document.getElementById(tabid_or_position)
|
||||
else if (parseInt(tabid_or_position)!=NaN && this.tabs[tabid_or_position].getAttribute("rel")) //if specified tab contains "rel" attr
|
||||
tabref=this.tabs[tabid_or_position]
|
||||
}
|
||||
catch(err){alert("Invalid Tab ID or position entered!")}
|
||||
if (tabref!="") //if a valid tab is found based on function parameter
|
||||
this.expandtab(tabref) //expand this tab
|
||||
},
|
||||
|
||||
cycleit:function(dir, autorun){ //PUBLIC function to move foward or backwards through each hot tab (tabinstance.cycleit('foward/back') )
|
||||
if (dir=="next"){
|
||||
var currentTabIndex=(this.currentTabIndex<this.hottabspositions.length-1)? this.currentTabIndex+1 : 0
|
||||
}
|
||||
else if (dir=="prev"){
|
||||
var currentTabIndex=(this.currentTabIndex>0)? this.currentTabIndex-1 : this.hottabspositions.length-1
|
||||
}
|
||||
if (typeof autorun=="undefined") //if cycleit() is being called by user, versus autorun() function
|
||||
this.cancelautorun() //stop auto cycling of tabs (if running)
|
||||
this.expandtab(this.tabs[this.hottabspositions[currentTabIndex]])
|
||||
},
|
||||
|
||||
setpersist:function(bool){ //PUBLIC function to toggle persistence feature
|
||||
this.enabletabpersistence=bool
|
||||
},
|
||||
|
||||
loadajaxpage:function(pageurl){ //PUBLIC function to fetch a page via Ajax and display it within the Tab Content instance's container
|
||||
ddajaxtabs.connect(pageurl, this)
|
||||
},
|
||||
|
||||
loadiframepage:function(pageurl){ //PUBLIC function to fetch a page and load it into the IFRAME of the Tab Content instance's container
|
||||
this.iframedisplay(pageurl, this.contentdivid)
|
||||
},
|
||||
|
||||
setselectedClassTarget:function(objstr){ //PUBLIC function to set which target element to assign "selected" CSS class ("linkparent" or "link")
|
||||
this.selectedClassTarget=objstr || "link"
|
||||
},
|
||||
|
||||
getselectedClassTarget:function(tabref){ //Returns target element to assign "selected" CSS class to
|
||||
return (this.selectedClassTarget==("linkparent".toLowerCase()))? tabref.parentNode : tabref
|
||||
},
|
||||
|
||||
urlparamselect:function(tabinterfaceid){
|
||||
var result=window.location.search.match(new RegExp(tabinterfaceid+"=(\\d+)", "i")) //check for "?tabinterfaceid=2" in URL
|
||||
return (result==null)? null : parseInt(RegExp.$1) //returns null or index, where index (int) is the selected tab's index
|
||||
},
|
||||
|
||||
onajaxpageload:function(pageurl){ //PUBLIC Event handler that can invoke custom code whenever an Ajax page has been fetched and displayed
|
||||
//do nothing by default
|
||||
},
|
||||
|
||||
expandtab:function(tabref){
|
||||
var relattrvalue=tabref.getAttribute("rel")
|
||||
//Get "rev" attr as a string of IDs in the format ",john,george,trey,etc," to easy searching through
|
||||
var associatedrevids=(tabref.getAttribute("rev"))? ","+tabref.getAttribute("rev").replace(/\s+/, "")+"," : ""
|
||||
if (relattrvalue=="#default")
|
||||
document.getElementById(this.contentdivid).innerHTML=this.defaultHTML
|
||||
else if (relattrvalue=="#iframe")
|
||||
this.iframedisplay(tabref.getAttribute("href"), this.contentdivid)
|
||||
else
|
||||
ddajaxtabs.connect(tabref.getAttribute("href"), this)
|
||||
this.expandrevcontent(associatedrevids)
|
||||
for (var i=0; i<this.tabs.length; i++){ //Loop through all tabs, and assign only the selected tab the CSS class "selected"
|
||||
this.getselectedClassTarget(this.tabs[i]).className=(this.tabs[i].getAttribute("href")==tabref.getAttribute("href"))? "selected" : ""
|
||||
}
|
||||
if (this.enabletabpersistence) //if persistence enabled, save selected tab position(int) relative to its peers
|
||||
ddajaxtabs.setCookie(this.tabinterfaceid, tabref.tabposition)
|
||||
this.setcurrenttabindex(tabref.tabposition) //remember position of selected tab within hottabspositions[] array
|
||||
},
|
||||
|
||||
iframedisplay:function(pageurl, contentdivid){
|
||||
if (typeof window.frames["_ddajaxtabsiframe-"+contentdivid]!="undefined"){
|
||||
try{delete window.frames["_ddajaxtabsiframe-"+contentdivid]} //delete iframe within Tab content container if it exists (due to bug in Firefox)
|
||||
catch(err){}
|
||||
}
|
||||
document.getElementById(contentdivid).innerHTML=this.defaultIframe
|
||||
window.frames["_ddajaxtabsiframe-"+contentdivid].location.replace(pageurl) //load desired page into iframe
|
||||
},
|
||||
|
||||
|
||||
expandrevcontent:function(associatedrevids){
|
||||
var allrevids=this.revcontentids
|
||||
for (var i=0; i<allrevids.length; i++){ //Loop through rev attributes for all tabs in this tab interface
|
||||
//if any values stored within associatedrevids matches one within allrevids, expand that DIV, otherwise, contract it
|
||||
document.getElementById(allrevids[i]).style.display=(associatedrevids.indexOf(","+allrevids[i]+",")!=-1)? "block" : "none"
|
||||
}
|
||||
},
|
||||
|
||||
setcurrenttabindex:function(tabposition){ //store current position of tab (within hottabspositions[] array)
|
||||
for (var i=0; i<this.hottabspositions.length; i++){
|
||||
if (tabposition==this.hottabspositions[i]){
|
||||
this.currentTabIndex=i
|
||||
break
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
autorun:function(){ //function to auto cycle through and select tabs based on a set interval
|
||||
this.cycleit('next', true)
|
||||
},
|
||||
|
||||
cancelautorun:function(){
|
||||
if (typeof this.autoruntimer!="undefined")
|
||||
clearInterval(this.autoruntimer)
|
||||
},
|
||||
|
||||
init:function(automodeperiod){
|
||||
var persistedtab=ddajaxtabs.getCookie(this.tabinterfaceid) //get position of persisted tab (applicable if persistence is enabled)
|
||||
var selectedtab=-1 //Currently selected tab index (-1 meaning none)
|
||||
var selectedtabfromurl=this.urlparamselect(this.tabinterfaceid) //returns null or index from: tabcontent.htm?tabinterfaceid=index
|
||||
this.automodeperiod=automodeperiod || 0
|
||||
this.defaultHTML=document.getElementById(this.contentdivid).innerHTML
|
||||
for (var i=0; i<this.tabs.length; i++){
|
||||
this.tabs[i].tabposition=i //remember position of tab relative to its peers
|
||||
if (this.tabs[i].getAttribute("rel")){
|
||||
var tabinstance=this
|
||||
this.hottabspositions[this.hottabspositions.length]=i //store position of "hot" tab ("rel" attr defined) relative to its peers
|
||||
this.tabs[i].onclick=function(){
|
||||
tabinstance.expandtab(this)
|
||||
tabinstance.cancelautorun() //stop auto cycling of tabs (if running)
|
||||
return false
|
||||
}
|
||||
if (this.tabs[i].getAttribute("rev")){ //if "rev" attr defined, store each value within "rev" as an array element
|
||||
this.revcontentids=this.revcontentids.concat(this.tabs[i].getAttribute("rev").split(/\s*,\s*/))
|
||||
}
|
||||
if (selectedtabfromurl==i || this.enabletabpersistence && selectedtab==-1 && parseInt(persistedtab)==i || !this.enabletabpersistence && selectedtab==-1 && this.getselectedClassTarget(this.tabs[i]).className=="selected"){
|
||||
selectedtab=i //Selected tab index, if found
|
||||
}
|
||||
}
|
||||
} //END for loop
|
||||
if (selectedtab!=-1) //if a valid default selected tab index is found
|
||||
this.expandtab(this.tabs[selectedtab]) //expand selected tab (either from URL parameter, persistent feature, or class="selected" class)
|
||||
else //if no valid default selected index found
|
||||
this.expandtab(this.tabs[this.hottabspositions[0]]) //Just select first tab that contains a "rel" attr
|
||||
if (parseInt(this.automodeperiod)>500 && this.hottabspositions.length>1){
|
||||
this.autoruntimer=setInterval(function(){tabinstance.autorun()}, this.automodeperiod)
|
||||
}
|
||||
} //END int() function
|
||||
|
BIN
ajaxtabs/loading.gif
Executable file
BIN
ajaxtabs/loading.gif
Executable file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
3
aufl.html
Executable file
3
aufl.html
Executable file
@ -0,0 +1,3 @@
|
||||
<script language="JavaScript">
|
||||
document.write(screen.availWidth + ' x '+ screen.availHeight);
|
||||
</script>
|
1092
bewerber_daten.php
Executable file
1092
bewerber_daten.php
Executable file
File diff suppressed because it is too large
Load Diff
97
bewerbung/#test.html
Executable file
97
bewerbung/#test.html
Executable file
@ -0,0 +1,97 @@
|
||||
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="no-js">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<link rel="stylesheet" href="../../templates/standard/css/styles_pc.php" type="text/css">
|
||||
<title>Excel Upload</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/component.css" />
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- remove this if you use Modernizr -->
|
||||
<script>(function(e,t,n){var r=e.querySelectorAll("html")[0];r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")})(document,window,0);</script>
|
||||
</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" allign="center" width="60%" border="0">
|
||||
<tr>
|
||||
<td width="10" background="../../templates/standard/images/box_e1.gif">
|
||||
<img height="40" src="../../templates/standard/images/blank.gif" width="22"></td>
|
||||
<td nowrap="nowrap" align="left" width="98%" background="../../templates/standard/images/box_top.gif" valign="top">
|
||||
<img height="10" src="../../templates/standard/images/blank.gif" width="1"><br>
|
||||
<font class="hd">Excel Upload</font><br>
|
||||
<span class="sh">Import eines Studienjahrgangs.</span><br>
|
||||
<span class="sh"><b>Erlaubte Dateiendungen: *.xls; *.xlsx</b></span>
|
||||
<img height="5" src="../../templates/standard/images/blank.gif" width="1"></font></td>
|
||||
<td nowrap="nowrap" align="right" width="1%" background="../../templates/standard/images/box_e2.gif">
|
||||
<img height="40" src="../../templates/standard/images/blank.gif" width="22"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="1%" background="../../templates/standard/images/box_l.gif">
|
||||
<img height="1" src="../../templates/standard/images/blank.gif" width="22"></td>
|
||||
<td>
|
||||
<form action='/ateliers/admin/import/index.php?action=csvimp' enctype="multipart/form-data" method='post'>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
|
||||
<tr>
|
||||
<td width="100%"align="center" >
|
||||
<br>
|
||||
<br>
|
||||
<div class="box">
|
||||
<input type="file" name="file" id="file-5" class="inputfile inputfile-4" />
|
||||
<label for="file-5"><figure><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg></figure> <span style='float:center;'>Excel-Datei auswählen…<br>(hier klicken)</span></label>
|
||||
</div>
|
||||
<script src="js/custom-file-input.js"></script>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="center" colspan="2">
|
||||
<input type="submit" value="Excel-Hochladen…" name="B1" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="center" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="center" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="center" colspan="2">
|
||||
<a href='Sch<63>lerimport_Beispiele.xlsx' target='_new'>Musterdatei downloaden</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<td width="1%" background="../../templates/standard/images/box_r.gif">
|
||||
<img height="1" src="../../templates/standard/images/blank.gif" width="22"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap" align="left" width="1%" background="../../templates/standard/images/box_e3.gif">
|
||||
<img height="16" src="../../templates/standard/images/blank.gif" width="22">
|
||||
</td>
|
||||
<td nowrap="nowrap" align="left" width="98%" background="../../templates/standard/images/box_bottom.gif">
|
||||
<img height="16" src="../../templates/standard/images/blank.gif" width="8">
|
||||
</td>
|
||||
<td nowrap="nowrap" align="right" width="1%" background="../../templates/standard/images/box_e4.gif">
|
||||
<img height="16" src="../../templates/standard/images/blank.gif" width="22">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
23
bewerbung/#test.php
Executable file
23
bewerbung/#test.php
Executable file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/*
|
||||
* Created on 30.01.2010 by Nico Schubert
|
||||
*/
|
||||
$dir = $_SERVER["DOCUMENT_ROOT"].dirname($_SERVER['PHP_SELF']).'/upload/';
|
||||
|
||||
$folder = dir($dir);
|
||||
while ($dateiname = $folder->read()) {
|
||||
if (filetype($dir.$dateiname) != "dir") {
|
||||
if (strtotime("-2 weeks") >
|
||||
@filemtime($dir.$dateiname)) {
|
||||
if (@unlink($dir.$dateiname) != false){
|
||||
# echo $dateiname.' wurde gelöscht<br>';
|
||||
}else{
|
||||
# echo $dateiname.' konnte nichtgelöscht werden<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# echo "Fertig";
|
||||
$folder->close();
|
||||
exit;
|
||||
?>
|
955
bewerbung/#upload.php
Executable file
955
bewerbung/#upload.php
Executable file
@ -0,0 +1,955 @@
|
||||
<?php
|
||||
require_once("../../config.inc.php");
|
||||
require_once("../func_rollenrechte.php");
|
||||
require_once "func_genUser_schueler.php";
|
||||
require_once('../excel/Classes/PHPExcel/IOFactory.php');
|
||||
#########Konfiguration#######################################
|
||||
$verz = "upload/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
$trennzeichen_excel = ";"; // Das Trennzeichen das Excel für CVS-Dateien nimmt ist je nach Excelversion unterschiedlich:
|
||||
// Entweder $trennzeichen_excel = ";"; --> Semikolon
|
||||
// oder $trennzeichen_excel = ","; --> Komma
|
||||
#############################################################
|
||||
|
||||
############
|
||||
##
|
||||
## 13.09.2011: Änderung des Passwortformats von dd.mm.jjjj auf ddmmjjjj weil auf der Loginseite das so angegeben ist.
|
||||
##
|
||||
############
|
||||
|
||||
|
||||
setcookie("ck_verz", "$verz"); // Verzeichnis in Cookie speichern
|
||||
|
||||
|
||||
// Rechteüberprüfung
|
||||
#$db = dbconnect();
|
||||
if ($user_admin == "") {
|
||||
require("index.php");
|
||||
exit;
|
||||
} //Wenn man nicht angemeldet ist, darf man nicht auf die Seite
|
||||
if (!rore($user_admin, 'a_import', 'RE')) {
|
||||
echo "Keine Rechte";
|
||||
exit;
|
||||
}
|
||||
// Rechteüberprüfung ende
|
||||
|
||||
|
||||
if (isset($_GET['action']))
|
||||
$action = $_GET['action'];
|
||||
else
|
||||
$action = "";
|
||||
|
||||
switch ($action) {
|
||||
default:
|
||||
|
||||
$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ür Vergleiche erforderlich
|
||||
|
||||
function deleteFiles($verz)
|
||||
{
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir($handle)) {
|
||||
if ($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz . $file;
|
||||
|
||||
if (@unlink($datei)) {
|
||||
$error = TRUE;
|
||||
} else {
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang=\"en\" class=\"no-js\">
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
|
||||
<title>Excel Upload</title>
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"css/component.css\" />
|
||||
<!--[if IE]>
|
||||
<script src=\"http://html5shiv.googlecode.com/svn/trunk/html5.js\"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- remove this if you use Modernizr -->
|
||||
<script>(function(e,t,n){var r=e.querySelectorAll(\"html\")[0];r.className=r.className.replace(/(^|\s)no-js(\s|$)/,\"$1js$2\")})(document,window,0);</script>
|
||||
</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\" allign=\"center\" width=\"60%\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Excel Upload</font><br>
|
||||
<span class=\"sh\">Import eines Studienjahrgangs.</span><br>
|
||||
<span class=\"sh\"><b>Erlaubte Dateiendungen: *.xls; *.xlsx</b></span>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></font></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td>
|
||||
<form action='" . $_SERVER['PHP_SELF'] . "?action=csvimp" . "' enctype=\"multipart/form-data\" method='post'>
|
||||
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" >
|
||||
<tr>
|
||||
<td width=\"100%\"align=\"center\" >
|
||||
<br>
|
||||
<br>
|
||||
<div class=\"box\">
|
||||
<input type=\"file\" name=\"file\" id=\"file-5\" class=\"inputfile inputfile-4\" />
|
||||
<label for=\"file-5\"><figure><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"/></svg></figure> <span style='float:center;'>Excel-Datei auswählen…<br>(hier klicken)</span></label>
|
||||
</div>
|
||||
<script src=\"js/custom-file-input.js\"></script>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"100%\" align=\"center\" colspan=\"2\">
|
||||
<input type=\"submit\" value=\"Excel-Hochladen…\" name=\"B1\" size=\"20\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"100%\" align=\"center\" colspan=\"2\">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"100%\" align=\"center\" colspan=\"2\">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"100%\" align=\"center\" colspan=\"2\">
|
||||
<a href='Schülerimport_Beispiele.xlsx' target='_new'>Musterdatei downloaden</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
|
||||
|
||||
break;
|
||||
case "csvimp":
|
||||
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
$name = $_FILES['file']['name'];
|
||||
|
||||
$type = $_FILES['file']['type'];
|
||||
$size = $_FILES['file']['size'];
|
||||
$einheit = "Byte"; // Für die Efolgsmeldung.
|
||||
|
||||
$limitedext = array(
|
||||
".xls",
|
||||
".xlsx"
|
||||
); //Erlaubte Dateieindung beim Upload
|
||||
$extlimit = "yes"; //Do you want to limit the extensions of files uploaded
|
||||
$ext = strrchr($name, '.');
|
||||
|
||||
|
||||
if (($extlimit == "yes") && (!in_array($ext, $limitedext))) {
|
||||
|
||||
$err[] = "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Falscher Dateityp</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Falscher Dateityp</span>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></font></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td>
|
||||
<br>
|
||||
<p align=\"center\">Es dürfen nur Excel-Dateien hochgeladen werden!
|
||||
<p>
|
||||
<p align=\"center\"><p align=\"center\"><a href=\"?\">
|
||||
<img border=\"0\" src=\"../../templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a>
|
||||
</p>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
}
|
||||
|
||||
if ($size > "9900000") {
|
||||
$err[] = "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Datei zu groß</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Datei zu groß</span>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></font></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td>
|
||||
<br>
|
||||
<p align=\"center\">Die Datei welche Sie hochladen wollen, ist zu gross!<br>Maximale Dateigroesse beträgt 9.900 KB!
|
||||
<p>
|
||||
<p align=\"center\"><p align=\"center\"><a href=\"javascript:history.back()\">
|
||||
<img border=\"0\" src=\"../../templates/standard/images/zurueck.gif\" width=\"77\" height=\"22\"></a>
|
||||
</p>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
}
|
||||
$name = str_replace(array(
|
||||
"ä",
|
||||
"ö",
|
||||
"ü",
|
||||
"ß",
|
||||
"Ä",
|
||||
"Ü",
|
||||
"Ü",
|
||||
" "
|
||||
), array(
|
||||
"ae",
|
||||
"oe",
|
||||
"ue",
|
||||
"ss",
|
||||
"Ae",
|
||||
"Oe",
|
||||
"Ue",
|
||||
"_"
|
||||
), $name);
|
||||
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: http://de2.php.net/manual/de/function.date.php
|
||||
$heuteformat = date("H-i-s_Y-m-d", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$datum_db = date("Y-m-d H:i:s", $heute); // Formatierung, wie es vor dem Dateinamen erscheinen soll
|
||||
$neu = $heuteformat . "_" . $name;
|
||||
setcookie("ck_neu", "$neu");
|
||||
|
||||
If (empty($err)) {
|
||||
move_uploaded_file("$tempname", "$verz$neu"); // Unterverzeichnisse wie folgt: copy("$tempname", "pdf/$neu");
|
||||
|
||||
$inputFileName = "$verz$neu";
|
||||
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);
|
||||
$sheet = $objPHPExcel->getActiveSheet()->toArray(null, true, false, true);
|
||||
$highestColumm = $objPHPExcel->setActiveSheetIndex(0)->getHighestColumn();
|
||||
$highestRow = $objPHPExcel->setActiveSheetIndex(0)->getHighestRow();
|
||||
# Ab dem Tag rechnet Excel intern
|
||||
$datum = '30.12.1899';
|
||||
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Datensätze prüfen</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width='100%' cellpadding=\"0\" height=\"90%\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width='100%'>
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Datensätze prüfen</font><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td>
|
||||
<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width='100%'>
|
||||
<tr>
|
||||
<td width=\"30%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Vorname</font></b>
|
||||
</td>
|
||||
<td width=\"30%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Nachname</font></b>
|
||||
</td>
|
||||
<td width=\"10%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Religionspflichtig</font></b>
|
||||
</td>
|
||||
<td width=\"10%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Einschulungsjahr</font></b>
|
||||
</td>
|
||||
<td width=\"10%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Klassenzusatz</font></b>
|
||||
</td>
|
||||
<td width=\"20%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Geburtsdatum</font></b>
|
||||
</td>
|
||||
</tr>";
|
||||
|
||||
|
||||
for ($i = 1; $i <= $highestRow; $i++) {
|
||||
|
||||
$vorname = $sheet[$i]['A'];
|
||||
$nachname = $sheet[$i]['B'];
|
||||
$rel = $sheet[$i]['C'];
|
||||
$eingangsjahr = $sheet[$i]['D'];
|
||||
$klassenzusatz = $sheet[$i]['E'];
|
||||
$gebdat = date('m.d.Y', strtotime($sheet[$i]['F']));
|
||||
# $gebdat = date("d.m.Y", $sheet[$i]['F']);
|
||||
|
||||
$gebdatx = $sheet[$i]['F'];
|
||||
# $gebdat = date('d.m.Y', strtotime($datum . ' + ' . $gebdatx . ' days'));
|
||||
$gebdat = substr($gebdatx,0,2).".".substr($gebdatx,3,2).".".substr($gebdatx,6,4);
|
||||
# $gebdat2 = date('Y-m-d', strtotime($datum . ' + ' . $gebdatx . ' days'));
|
||||
$gebdat2 = substr($gebdatx,6,4)."-".substr($gebdatx,3,2)."-".substr($gebdatx,0,2);
|
||||
if ($nachname != '') {
|
||||
print "<tr>";
|
||||
// for ($c=0; $c < $num; $c++) { // FOR-Schleife: Oder Anzahl der zu importierenden Felder ($num)
|
||||
print "<td width='30%'><font size=\"1\">$vorname</td>\n"; // Vorname
|
||||
print "<td width='30%'><font size=\"1\">$nachname</td>\n"; // Nachname
|
||||
print "<td width='10%'><font size=\"1\">$rel</td>\n"; // religionskenner
|
||||
print "<td width='10%'><font size=\"1\">$eingangsjahr</td>\n"; // Einschulungsjahr
|
||||
print "<td width='10%'><font size=\"1\">$klassenzusatz</td>\n"; // klassenzusatz A,B..; Ergibt dann Klasse 6A z.B.
|
||||
print "<td width='30%'><font size=\"1\">$gebdat</td>\n"; // Geburtsdatum/Passwort
|
||||
// }
|
||||
print "</tr>";
|
||||
$ln_inserts[]++; //zählt die Anzahl der importierenden DS
|
||||
}
|
||||
}
|
||||
echo "
|
||||
</table>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>";
|
||||
$zahl = count($ln_inserts);
|
||||
|
||||
echo "
|
||||
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width='40%' cellpadding=\"0\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\">Sollen die $zahl Datensätze importiert werden?</font><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td>
|
||||
<form action='" . $_SERVER['PHP_SELF'] . "?action=csvimp2" . "' enctype=\"multipart/form-data\" method='post'>
|
||||
<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\">
|
||||
<tr>
|
||||
<td width=\"70%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Auswahl</font></b>
|
||||
</td>
|
||||
<td width=\"30%\" align=\"left\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
|
||||
<b><font size=\"1\">Markieren</font></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\"><font size=\"1\">Datensätze nicht importieren
|
||||
</td>
|
||||
<td width=\"30%\"><font size=\"1\"><input type=\"radio\" name=\"import\" value=\"0\" checked>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\"><font size=\"1\">Datensätze importieren
|
||||
</td>
|
||||
<td width=\"30%\"><font size=\"1\"><input type=\"radio\" name=\"import\" value=\"1\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\">
|
||||
|
||||
</td>
|
||||
<td width=\"30%\">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"70%\">
|
||||
|
||||
</td width=\"30%\">
|
||||
<td>
|
||||
<input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\">
|
||||
</td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
";
|
||||
} else {
|
||||
|
||||
foreach ($err as $error)
|
||||
echo "$error";
|
||||
exit;
|
||||
} //Ende if error
|
||||
|
||||
break;
|
||||
case "csvimp2":
|
||||
|
||||
$neu = $_COOKIE["ck_neu"]; //Excel-Dateinamen um Datei löschen zu können
|
||||
$verz = $_COOKIE["ck_verz"]; //Uploadverzeichnis aus Cookie holen
|
||||
|
||||
|
||||
if ($_POST['import'] == "0") // DS sollen nicht importiert werden
|
||||
{
|
||||
$dateiname = "$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
echo "
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Import beendet</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../../templates/standard/images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Importvorgang abgebrochen</span><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\">Datemsätze wurden nicht importiert!<br>Die Excel-Datei wurde vom Server gelöscht!
|
||||
</p>
|
||||
<p align=\"center\"><a href=\"../hauptframe.php\">
|
||||
<img border=\"0\" src=\"../../templates/standard/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=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
} else {
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Datei nicht gelöscht</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../../templates/standard/images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Importvorgang abgebrochen</span><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\">Datemsätze wurden nicht importiert!<br>Die Excel-Datei ($neu) konnte <b>nicht</b> vom Server gelöscht werden!
|
||||
</p>
|
||||
<p align=\"center\"><a href=\"../hauptframe.php\">
|
||||
<img border=\"0\" src=\"../../templates/standard/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=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
} // End if
|
||||
|
||||
} elseif ($_POST['import'] == "1") // DS sollen importiert werden
|
||||
{
|
||||
|
||||
$inputFileName = "$verz$neu";
|
||||
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);
|
||||
$sheet = $objPHPExcel->getActiveSheet()->toArray(null, true, false, true);
|
||||
$highestColumm = $objPHPExcel->setActiveSheetIndex(0)->getHighestColumn();
|
||||
$highestRow = $objPHPExcel->setActiveSheetIndex(0)->getHighestRow();
|
||||
# Ab dem Tag rechnet Excel intern
|
||||
$datum = '30.12.1899';
|
||||
|
||||
|
||||
for ($i = 1; $i <= $highestRow; $i++) {
|
||||
|
||||
$vorname = $sheet[$i]['A'];
|
||||
$nachname = $sheet[$i]['B'];
|
||||
$religionskenner = $sheet[$i]['C'];
|
||||
$eingangsjahr = $sheet[$i]['D'];
|
||||
$klassenzusatz = $sheet[$i]['E'];
|
||||
$gebdat = date('m.d.Y', strtotime($sheet[$i]['F']));
|
||||
$gebdat = date("d.m.Y", $sheet[$i]['F']);
|
||||
$gebdatx = $sheet[$i]['F'];
|
||||
# $gebdat = date('d.m.Y', strtotime($datum . ' + ' . $gebdatx . ' days'));
|
||||
$gebdat = substr($gebdatx,0,2).".".substr($gebdatx,3,2).".".substr($gebdatx,6,4);
|
||||
# $gebdat2 = date('Y-m-d', strtotime($datum . ' + ' . $gebdatx . ' days'));
|
||||
$gebdat2 = substr($gebdatx,6,4)."-".substr($gebdatx,3,2)."-".substr($gebdatx,0,2);
|
||||
|
||||
$tag = substr($gebdat2, 8, 2);
|
||||
$mon = substr($gebdat2, 5, 2);
|
||||
$jahr = substr($gebdat2, 0, 4);
|
||||
$passwd = md5("$tag" . "$mon" . "$jahr");
|
||||
|
||||
if ($nachname != '') {
|
||||
if ($religionskenner == 'RK' or $religionskenner == 'EV') {
|
||||
$religionspflicht = 'J';
|
||||
} else {
|
||||
$religionspflicht = 'N';
|
||||
}
|
||||
|
||||
$uid = genUser_schueler($vorname, $nachname);
|
||||
|
||||
//$passwd = mysql_escape_string($passwd);
|
||||
|
||||
#echo "SELECT count(*) Anz FROM users WHERE vorname='$vorname' AND nachname='$nachname' AND geburtstag='$gebtag'<br>";
|
||||
$result_vorh = $db->query("SELECT count(*) Anz FROM users WHERE vorname='$vorname' AND nachname='$nachname' AND geburtstag='$gebtag2'");
|
||||
$row_vorh = $result_vorh->fetch_array();
|
||||
|
||||
if ($row_vorh['Anz'] == 0) {
|
||||
// ACHTUNG: AN DIESER ZEILE NICHTS ÄNDERN, da die erste Zeile des Strings rausgefiltert wird bei der Ausgabe der nichtimportierten DS
|
||||
$insert = "INSERT INTO users (user, vorname, nachname, religionspflicht, religionskenner, jahrgang, klassenzusatz, passwort, geburtstag) VALUES ( lower('$uid')
|
||||
,'$vorname'
|
||||
,'$nachname'
|
||||
,'$religionspflicht'
|
||||
,'$religionskenner'
|
||||
,'$eingangsjahr'
|
||||
,'$klassenzusatz'
|
||||
,'$passwd'
|
||||
,'$gebdat2'
|
||||
)";
|
||||
$sql = $db->query("$insert");
|
||||
if (!$sql) {
|
||||
# Bei Fehler
|
||||
$unimported[] = $insert[$i];
|
||||
}
|
||||
} else {
|
||||
$result_vorh1 = $db->query("SELECT user FROM users WHERE vorname='$vorname' AND nachname='$nachname' AND geburtstag='$gebtag'");
|
||||
$row_vorh1 = $result_vorh1->fetch_array();
|
||||
$ber_vorh[] = "$row_vorh1[user]'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$dateiname = "$verz$neu";
|
||||
if (@unlink($dateiname)) // Funktion löscht Dateien und gibt true / false zurück
|
||||
{
|
||||
|
||||
|
||||
if (isset($unimported)) {
|
||||
$imp_err = str_replace(array(
|
||||
"INSERT INTO users (user, vorname, nachname, religionspflicht, religionskenner, jahrgang, passwort, geburtstag) VALUES ( lower('"
|
||||
), array(
|
||||
""
|
||||
), $unimported);
|
||||
}
|
||||
|
||||
if (sizeof($imp_err) > 0 AND sizeof($ber_vorh) > 0) {
|
||||
|
||||
# Array zusaamenführen aus bereits vorhandenen Schülern und fehlerhaftem Insert
|
||||
$ausgabe = array_merge($imp_err, $ber_vorh);
|
||||
}
|
||||
|
||||
if (sizeof($imp_err) > 0 AND sizeof($ber_vorh) == 0) {
|
||||
$ausgabe = $imp_err;
|
||||
}
|
||||
|
||||
if (sizeof($imp_err) == 0 AND sizeof($ber_vorh) > 0) {
|
||||
$ausgabe = $ber_vorh;
|
||||
}
|
||||
echo "
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Import beendet</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../../templates/standard/images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Importvorgang erfolgreich</span><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\">Der Importvorgang wurde erfolgreich beendet!<br>Die Excel-Datei wurde vom Server gelöscht!
|
||||
</p>";
|
||||
$num1 = count($ausgabe); // Anzahl der nicht importierten UIDs
|
||||
if ($ausgabe != "") {
|
||||
echo "Es wurden $num1 Datensätze nicht importiert<br>
|
||||
Wahrscheinlich ist die UID bereits in der Datenbank vorhanden,<br>
|
||||
oder eines der Felder ist zu lang:
|
||||
<p>";
|
||||
}
|
||||
// Ausgabe der nicht importierten DS
|
||||
for ($i = 0; $i < sizeof($ausgabe); $i++) {
|
||||
$b = strpos($ausgabe[$i], "'");
|
||||
$e = substr($ausgabe[$i], 0, $b);
|
||||
|
||||
print strtolower($e); // Ausgabe der nicht importierten UIDs
|
||||
echo "<br>";
|
||||
}
|
||||
echo "
|
||||
<p align=\"center\"><a href=\"../hauptframe.php\">
|
||||
<img border=\"0\" src=\"../../templates/standard/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=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
} else {
|
||||
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">
|
||||
<link rel=\"stylesheet\" href=\"../../templates/standard/css/styles_pc.php\" type=\"text/css\">
|
||||
<title>Datei nicht gelöscht</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=\"../../templates/standard/images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"../../templates/standard/images/box_top.gif\" valign=\"top\"></td>
|
||||
<td width=\"95%\" background=\"../../templates/standard/images/box_top.gif\">
|
||||
<img height=\"10\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"><br>
|
||||
<span class=\"sh\">Importvorgang erfolgreich</span><br>
|
||||
<img height=\"5\" src=\"../../templates/standard/images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"../../templates/standard/images/box_l.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\">Der Importvorgang wurde erfolgreich beendet!<br>Die Excel-Datei ($neu) konnte <b>nicht</b> vom Server gelöscht werden!
|
||||
</p>";
|
||||
$num1 = count($ausgabe); // Anzahl der nicht importierten UIDs
|
||||
if ($ausgabe != "") {
|
||||
echo "Es wurden $num1 Datensätze nicht importiert<br>
|
||||
Wahrscheinlich ist die UID bereits in der Datenbank vorhanden,<br>
|
||||
oder eines der Felder ist zu lang:
|
||||
<p>";
|
||||
}
|
||||
// Ausgabe der nicht importierten DS
|
||||
for ($i = 0; $i < sizeof($ausgabe); $i++) {
|
||||
$b = strpos($ausgabe[$i], "'");
|
||||
$e = substr($ausgabe[$i], 0, $b);
|
||||
|
||||
print strtolower($e); // Ausgabe der nicht importierten UIDs
|
||||
echo "<br>";
|
||||
}
|
||||
echo "
|
||||
<p align=\"center\"><a href=\"../hauptframe.php\">
|
||||
<img border=\"0\" src=\"../../templates/standard/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=\"../../templates/standard/images/box_r.gif\">
|
||||
<img height=\"1\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"../../templates/standard/images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"../../templates/standard/images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"../../templates/standard/images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"../../templates/standard/images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
} // End if
|
||||
|
||||
} else { // Es wurde kein Radiobutton gewählt! Technisch aber ausgeschlossen
|
||||
|
||||
echo "sie müssen eine Auswahl treffen";
|
||||
|
||||
}
|
||||
|
||||
function deleteFiles($verz)
|
||||
{
|
||||
$handle = opendir($verz);
|
||||
while ($file = readdir($handle)) {
|
||||
if ($file != "." && $file != "..") {
|
||||
|
||||
$datei = $verz . $file;
|
||||
|
||||
if (@unlink($datei)) {
|
||||
$error = TRUE;
|
||||
} else {
|
||||
$error = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
return $error;
|
||||
}
|
||||
|
||||
deleteFiles($verz); // Dateien werden im Uploadverzeichnis gelöscht, falls noch welche darin wären
|
||||
|
||||
} // ende Action
|
||||
?>
|
1938
bewerbung/bewerbung.php
Executable file
1938
bewerbung/bewerbung.php
Executable file
File diff suppressed because it is too large
Load Diff
60
bewerbung/fetch_dst.php
Executable file
60
bewerbung/fetch_dst.php
Executable file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
$db = dbconnect();
|
||||
$ka_id = $_SESSION["ka_id"];
|
||||
$output = '';
|
||||
if(isset($_POST["query"]))
|
||||
{
|
||||
$search = mysqli_real_escape_string($db, $_POST["query"]);
|
||||
$query = "
|
||||
SELECT a.dst_id, bez, plz, ort
|
||||
FROM dvm_dienststellen a
|
||||
WHERE a.dst_id NOT IN (SELECT dst_id
|
||||
FROM dvm_dst_wunsch
|
||||
WHERE ka_id = '$ka_id'
|
||||
)
|
||||
AND (gueltig_von <= date_format(now(), '%Y-%m-%d') OR gueltig_von = '0000-00-00')
|
||||
AND (gueltig_bis >= date_format(now(), '%Y-%m-%d') OR gueltig_bis = '0000-00-00')
|
||||
AND bez like '%".$search."%'
|
||||
AND name != ''
|
||||
ORDER BY bez ASC";
|
||||
}
|
||||
else
|
||||
{
|
||||
$query = "
|
||||
SELECT a.dst_id, bez, plz, ort
|
||||
FROM dvm_dienststellen a
|
||||
WHERE a.dst_id NOT IN (SELECT dst_id
|
||||
FROM dvm_dst_wunsch
|
||||
WHERE ka_id = '$ka_id'
|
||||
)
|
||||
AND (gueltig_von <= date_format(now(), '%Y-%m-%d') OR gueltig_von = '0000-00-00')
|
||||
AND (gueltig_bis >= date_format(now(), '%Y-%m-%d') OR gueltig_bis = '0000-00-00')
|
||||
AND name != ''
|
||||
ORDER BY bez ASC";
|
||||
}
|
||||
$result = mysqli_query($db, $query);
|
||||
if(mysqli_num_rows($result) > 0)
|
||||
{
|
||||
while($row = mysqli_fetch_array($result))
|
||||
{
|
||||
if(mysqli_num_rows($result) == 1){
|
||||
$output .= "
|
||||
<option value='$row[dst_id]' selected>$row[bez]</option>
|
||||
";
|
||||
|
||||
}else{
|
||||
$output .= "
|
||||
<option value='$row[dst_id]'>$row[bez]</option>
|
||||
";
|
||||
|
||||
}
|
||||
}
|
||||
echo $output;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Data Not Found';
|
||||
}
|
||||
?>
|
24
bewerbung/index.php
Executable file
24
bewerbung/index.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
header("Expires: Mon, 12 Jul 1995 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H.i:s") . " GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
$verz = "upload/"; // relatives Uploadverzeichnis (relativ zum 'Standort' dieser Datei, wohin die Dateien kopiert werden sollen
|
||||
|
||||
## INDEX gegen DB
|
||||
if (!isset($_SESSION)) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/bewerbung/$templatename");
|
||||
?>
|
1205
bewerbung/index_orig.php
Executable file
1205
bewerbung/index_orig.php
Executable file
File diff suppressed because it is too large
Load Diff
1205
bewerbung/index_upload.php
Executable file
1205
bewerbung/index_upload.php
Executable file
File diff suppressed because it is too large
Load Diff
103
bewerbung/save_note.php
Executable file
103
bewerbung/save_note.php
Executable file
@ -0,0 +1,103 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
require_once("../func_notenskala.php");
|
||||
|
||||
function floor3($val, $precision) {
|
||||
$pos = strpos($val, '.');
|
||||
$zahl = substr($val, 0, $pos+1+$precision);
|
||||
return $zahl;
|
||||
}
|
||||
|
||||
$hzbnote = floor3(str_replace(',','.',str_replace('.','', $_POST['get_hzbnote'])),1);
|
||||
$durchschnittnote = floor3(str_replace(',','.',str_replace('.','', $_POST['get_durchschnittnote'])),1);
|
||||
$erwerb_hzb = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $_POST['get_erwerb_hzb']);
|
||||
$radio = $_POST['get_radio'];
|
||||
$notenskala = $_POST['get_notenskala'];
|
||||
$ka_id = $_SESSION["ka_id"];
|
||||
# Datumsformat von DD.MM.YYYY nach YYYY-MM-DD
|
||||
|
||||
|
||||
$db = dbconnect();
|
||||
$query_anz = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_note
|
||||
WHERE ka_id = $ka_id");
|
||||
$row_anz = $query_anz->fetch_array();
|
||||
|
||||
#echo $hzbnote;
|
||||
|
||||
if($notenskala == "Punkte"){
|
||||
if(isset($hzbnote)){
|
||||
$hzbpunkte = $hzbnote;
|
||||
$hzbnote = notenskala($hzbnote);
|
||||
}else{
|
||||
$hzbpunkte = "0.00";
|
||||
$hzbnote = "0.00";
|
||||
}
|
||||
|
||||
if(isset($durchschnittnote)){
|
||||
$durchschnittpunkte = $durchschnittnote;
|
||||
$durchschnittnote = notenskala($durchschnittnote);
|
||||
$erwerb_hzb = "0000-00-00";
|
||||
}else{
|
||||
$durchschnittpunkte = "0.00";
|
||||
$durchschnittnote = "0.00";
|
||||
}
|
||||
|
||||
}else{
|
||||
$hzbpunkte = "0.00";
|
||||
$durchschnittpunkte = "0.00";
|
||||
}
|
||||
|
||||
|
||||
if($radio == 'j'){
|
||||
# HZB vorhanden
|
||||
$durchschnittnote = "";
|
||||
$erfdat_hzb =date("Y-m-d H:i:s");
|
||||
$erfdat_schnitt = "0000-00-00 00:00:00";
|
||||
|
||||
if($row_anz['Anz'] == 0){
|
||||
#Insert
|
||||
$sql1 = $db->query("INSERT INTO dvm_note (ka_id, hzb, hzb_punkte, erwerb_hzb, zeugnisschnitt, zeugnisschnitt_punkte, erfdat_hzb, erfdat_schnitt) VALUES('$ka_id', '$hzbnote', '$hzbpunkte', ' $erwerb_hzb', '$durchschnittnote', '$durchschnittpunkte', '$erfdat_hzb', '$erfdat_schnitt')");
|
||||
}else{
|
||||
#Update
|
||||
$sql1 = $db->query("UPDATE dvm_note
|
||||
SET hzb = '$hzbnote'
|
||||
,hzb_punkte = '$hzbpunkte'
|
||||
,erwerb_hzb = '$erwerb_hzb'
|
||||
,zeugnisschnitt = '$durchschnittnote'
|
||||
,zeugnisschnitt_punkte = '$durchschnittpunkte'
|
||||
,erfdat_hzb = '$erfdat_hzb'
|
||||
,erfdat_schnitt = '$erfdat_schnitt'
|
||||
WHERE ka_id = '$ka_id'");
|
||||
}
|
||||
}elseif($radio == 'n'){
|
||||
# HZB nicht vorhanden
|
||||
$hzbnote = "";
|
||||
$erfdat_hzb = "0000-00-00 00:00:00";
|
||||
$erfdat_schnitt =date("Y-m-d H:i:s");
|
||||
|
||||
if($row_anz['Anz'] == 0){
|
||||
#Insert
|
||||
$sql1 = $db->query("INSERT INTO dvm_note (ka_id, hzb, hzb_punkte, erwerb_hzb, zeugnisschnitt, zeugnisschnitt_punkte, erfdat_hzb, erfdat_schnitt) VALUES('$ka_id', '$hzbnote', '$hzbpunkte', ' $erwerb_hzb', '$durchschnittnote', '$durchschnittpunkte', '$erfdat_hzb', '$erfdat_schnitt')");
|
||||
}else{
|
||||
#Update
|
||||
$sql1 = $db->query("UPDATE dvm_note
|
||||
SET hzb = '$hzbnote'
|
||||
,hzb_punkte = '$hzbpunkte'
|
||||
,erwerb_hzb = '$erwerb_hzb'
|
||||
,zeugnisschnitt = '$durchschnittnote'
|
||||
,zeugnisschnitt_punkte = '$durchschnittpunkte'
|
||||
,erfdat_hzb = '$erfdat_hzb'
|
||||
,erfdat_schnitt = '$erfdat_schnitt'
|
||||
WHERE ka_id = '$ka_id'");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
exit;
|
||||
#}
|
||||
?>
|
||||
|
156
bewerbung_QIS/index.php
Executable file
156
bewerbung_QIS/index.php
Executable file
@ -0,0 +1,156 @@
|
||||
<?php
|
||||
header("Expires: Mon, 12 Jul 1995 05:00:00 GMT");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H.i:s") . " GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
## INDEX gegen DB
|
||||
session_start();
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
require_once("../func_get_parameter.php");
|
||||
require_once("../config/func_cryption.php");
|
||||
require_once("../func_standard_hs.php");
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
|
||||
$action = $_GET['action'];
|
||||
if ($action == '') {
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('index_error', 1);
|
||||
|
||||
if ($errorno == 1) {
|
||||
$smarty->assign('index_error_text', "Es müssen alle Felder ausgefüllt werden");
|
||||
}
|
||||
|
||||
if ($errorno == 2) {
|
||||
$smarty->assign('index_error_text', "Der Benutzername ist im System nicht vorhanden");
|
||||
}
|
||||
|
||||
if ($errorno == 3) {
|
||||
$smarty->assign('index_error_text', "Der Benutzername oder das Passwort ist nicht korrekt.");
|
||||
}
|
||||
|
||||
|
||||
if ($errorno == 5) {
|
||||
$smarty->assign('index_error_text', "Es sind noch keine Testergebnisse vorhanden. Daher kann dieser Schritt noch nicht ausgeführt werden.");
|
||||
}
|
||||
|
||||
if ($errorno == 6) {
|
||||
$smarty->assign('index_error_text', "Es liegt aktuell kein bestandenes Testergebnis vor. Daher kann dieser Schritt nicht ausgeführt werden.");
|
||||
}
|
||||
|
||||
# Daten aufbereiten bei Fehler
|
||||
if (isset($_SESSION["global_username"])) {
|
||||
$smarty->assign('index_user', $_SESSION["global_username"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
if ($action == 'anmeld') {
|
||||
|
||||
|
||||
if (isset($_POST['user'])) {
|
||||
$username_kand = mb_strtoupper($_POST["user"]); //remove case sensitivity on the username
|
||||
} else {
|
||||
$username_kand = $_SESSION["username_kand"];
|
||||
}
|
||||
|
||||
if (isset($_POST['password'])) {
|
||||
$tan = $_POST["password"];
|
||||
} else {
|
||||
$tan = $_SESSION["tan"];
|
||||
}
|
||||
$_SESSION["username_kand"] = $username_kand;
|
||||
$_SESSION["tan"] = $tan;
|
||||
|
||||
if ($username_kand == "" OR $tan == "") {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
} else {
|
||||
|
||||
$db = dbconnect();
|
||||
|
||||
$result_best = $db->query("SELECT bestanden
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c, dvm_ergebnisse d
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tp_id = c.tp_id
|
||||
AND c.tan = d.tan
|
||||
AND a.id = '$username_kand'
|
||||
AND c.tan= '$tan'
|
||||
AND c.aktiv = 'A'
|
||||
ORDER BY b.TK_ID DESC
|
||||
LIMIT 1");
|
||||
$row_best = $result_best->fetch_array();
|
||||
|
||||
$result_anzerg = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c, dvm_ergebnisse d
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tp_id = c.tp_id
|
||||
AND c.tan = d.tan
|
||||
AND a.id = '$username_kand'
|
||||
AND c.tan= '$tan'
|
||||
AND c.aktiv = 'A'
|
||||
ORDER BY b.TK_ID DESC
|
||||
LIMIT 1");
|
||||
$row_anzerg = $result_anzerg->fetch_array();
|
||||
if($row_anzerg['Anz'] == 0){
|
||||
# Keine Ergebnisse erfasst
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=5\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
if($row_best['bestanden'] == 0){
|
||||
# Durchgefallen
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=6\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
$result = $db->query("SELECT a.ka_id, a.id, c.tp_id, c.tan, c.tinyurl
|
||||
FROM dvm_kandidat a, dvm_term_kand b, dvm_tanpool c
|
||||
WHERE a.ka_id = b.ka_id
|
||||
AND b.tp_id = c.tp_id
|
||||
AND a.id = '$username_kand'
|
||||
AND c.tan= '$tan'
|
||||
AND c.aktiv = 'A'
|
||||
LIMIT 1");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
$_SESSION["ka_id"] = $row['ka_id'];
|
||||
|
||||
$result_fin = $db->query("SELECT max(upload_dat) upload_dat
|
||||
FROM dvm_upload
|
||||
WHERE ka_id = '$row[ka_id]'");
|
||||
$row_fin = $result_fin->fetch_array();
|
||||
|
||||
if ($username_kand != strtoupper($row['id'])) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=2\">";
|
||||
exit;
|
||||
}
|
||||
// Passwort falsch
|
||||
elseif ($tan != $row['tan']) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=3\">";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
# Bestanden, dann weiter:
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL='https://onlinebewerbung.hs-ludwigsburg.de/qisserver/servlet/de.his.servlet.RequestDispatcherServlet?state=wimma&stg=n&imma=einl'\">";
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/bewerbung/$templatename");
|
||||
?>
|
49
ckeditor5/LICENSE.md
Executable file
49
ckeditor5/LICENSE.md
Executable file
@ -0,0 +1,49 @@
|
||||
Software License Agreement
|
||||
==========================
|
||||
|
||||
Copyright (c) 2014-2020, CKSource - Frederico Knabben. All rights reserved.
|
||||
|
||||
Online builder code samples are licensed under the terms of the MIT License (see Appendix A):
|
||||
|
||||
http://en.wikipedia.org/wiki/MIT_License
|
||||
|
||||
CKEditor 5 collaboration features are only available under a commercial license. [Contact us](https://ckeditor.com/contact/) for more details.
|
||||
|
||||
Free 30-days trials of CKEditor 5 collaboration features are available:
|
||||
* https://ckeditor.com/collaboration/ - Real-time collaboration (with all features).
|
||||
* https://ckeditor.com/collaboration/comments/ - Inline comments feature (without real-time collaborative editing).
|
||||
* https://ckeditor.com/collaboration/track-changes/ - Track changes feature (without real-time collaborative editing).
|
||||
|
||||
Trademarks
|
||||
----------
|
||||
|
||||
CKEditor is a trademark of CKSource - Frederico Knabben. All other brand
|
||||
and product names are trademarks, registered trademarks or service
|
||||
marks of their respective holders.
|
||||
|
||||
---
|
||||
|
||||
Appendix A: The MIT License
|
||||
---------------------------
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-{YEAR}, CKSource - Frederico Knabben
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
68
ckeditor5/README.md
Executable file
68
ckeditor5/README.md
Executable file
@ -0,0 +1,68 @@
|
||||
# CKEditor 5 editor generated with the online builder
|
||||
|
||||
This repository presents a CKEditor 5 editor build generated by the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder)
|
||||
|
||||
## Quick start
|
||||
|
||||
1. Open the `sample/index.html` page in the browser.
|
||||
|
||||
If you picked the real-time collaboration plugins:
|
||||
|
||||
2. Fill the dialog with correct token, websocket and upload URL endpoints. If you do not have these yet or do not know their meaning, [contact us](https://ckeditor.com/contact/).
|
||||
|
||||
3. Copy the URL and share it or paste in another tab to enjoy real-time collaborative editing.
|
||||
|
||||
If you picked the non-real-time collaboration plugins:
|
||||
|
||||
2. Fill the prompt with the license key. If you do not have the license key yet [contact us](https://ckeditor.com/contact/).
|
||||
|
||||
## Configuring build
|
||||
|
||||
Changes like changing toolbar items, changing order of icons or customizing plugin configurations should be relatively easy to make. Open the `sample/index.html` file and edit the script that initialized the CKEditor 5. Save the file and refresh the browser. That's all.
|
||||
|
||||
*Note:* If you have any problems with browser caching use the `Ctrl + R` or `Cmd + R` shortcut depending on your system.
|
||||
|
||||
However if you want to remove or add a plugin to the build you need to follow the next step of this guide.
|
||||
|
||||
Note that it is also possible to go back to the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder) and pick other set of plugins. But we encourage you to try the harder way and to learn the principles of Node.js and CKEditor 5 ecosystems that will allow you to do more cool things in the future!
|
||||
|
||||
### Installation
|
||||
|
||||
In order to rebuild the application you need to install all dependencies first. To do it, open the terminal in the project directory and type:
|
||||
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
Make sure that you have the `node` and `npm` installed first. If not, then follow the instructions on the [Node.js documentation page](https://nodejs.org/en/).
|
||||
|
||||
### Adding or removing plugins
|
||||
|
||||
Now you can install additional plugin in the build. Just follow the [Adding a plugin to an editor tutorial](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/installing-plugins.html#adding-a-plugin-to-an-editor)
|
||||
|
||||
### Rebuilding editor
|
||||
|
||||
If you have already done the [Installation](#installation) and [Adding or removing plugins](#adding-or-removing-plugins) steps, you're ready to rebuild the editor by running the following command:
|
||||
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
|
||||
This will build the CKEditor 5 to the `build` directory. You can open your browser and you should be able to see the changes you've made in the code. If not, then try to refresh also the browser cache by typing `Ctrl + R` or `Cmd + R` depending on your system.
|
||||
|
||||
## What's next?
|
||||
|
||||
Follow the guides available on https://ckeditor.com/docs/ckeditor5/latest/framework/index.html and enjoy the document editing.
|
||||
|
||||
## FAQ
|
||||
| Where is the place to report bugs and feature requests?
|
||||
|
||||
You can create an issue on https://github.com/ckeditor/ckeditor5/issues. Make sure that the question / problem is unique, please look for a possibly asked questions in the search box. Duplicates will be closed.
|
||||
|
||||
| Where can I learn more about the CKEditor 5 framework?
|
||||
|
||||
Here: https://ckeditor.com/docs/ckeditor5/latest/framework/
|
||||
|
||||
| Is it possible to use online builder with common frameworks like React, Vue or Angular?
|
||||
|
||||
Not yet, but it these integrations will be available at some point in the future.
|
6
ckeditor5/build/ckeditor.js
vendored
Executable file
6
ckeditor5/build/ckeditor.js
vendored
Executable file
File diff suppressed because one or more lines are too long
1
ckeditor5/build/ckeditor.js.map
Executable file
1
ckeditor5/build/ckeditor.js.map
Executable file
File diff suppressed because one or more lines are too long
1
ckeditor5/build/translations/af.js
Executable file
1
ckeditor5/build/translations/af.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['af']=Object.assign(d['af']||{},{a:"Lêer nie opgelaai nie:",b:"Image toolbar",c:"Table toolbar",d:"Blok-aanhaling",e:"Voeg beeld of lêer in",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Belyn links",aj:"Belyn regs",ak:"Belyn in die middel",al:"Belyn beide kante",am:"Teksbelyning",an:"Text alignment toolbar",ao:"Vetgedruk",ap:"Skuinsgedruk",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Beeld kan nie in die posisie toegevoeg word nie.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Berg",cx:"Kanselleer",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ar.js
Executable file
1
ckeditor5/build/translations/ar.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ar']=Object.assign(d['ar']||{},{a:"لا يمكن رفع الملف:",b:"Image toolbar",c:"Table toolbar",d:"اقتباس",e:"Insert image or file",f:"اختر عنوان",g:"عنوان",h:"Increase indent",i:"Decrease indent",j:"رابط",k:"قائمة رقمية",l:"قائمة نقطية",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"إدراج جدول",r:"عمود عنوان",s:"Insert column left",t:"Insert column right",u:"حذف العمود",v:"عمود",w:"صف عنوان",x:"ادراج صف بعد",y:"ادراج صف قبل",z:"حذف الصف",aa:"صف",ab:"دمج الخلايا للأعلى",ac:"دمج الخلايا لليمين",ad:"دمج الخلايا للأسفل",ae:"دمج الخلايا لليسار",af:"فصل الخلايا بشكل عمودي",ag:"فصل الخلايا بشكل افقي",ah:"دمج الخلايا",ai:"محاذاة لليسار",aj:"محاذاة لليمين",ak:"محاذاة في المنتصف",al:"ضبط",am:"محاذاة النص",an:"Text alignment toolbar",ao:"عريض",ap:"مائل",aq:"عنصر الصورة",ar:"ادخل عنوان الصورة",as:"صورة بحجم كامل",at:"صورة جانبية",au:"صورة بمحاذاة لليسار",av:"صورة بالوسط",aw:"صورة بمحاذاة لليمين",ax:"ادراج صورة",ay:"فشل الرفع",az:"Font Background Color",ba:"Font Color",bb:"حجم الخط",bc:"افتراضي",bd:"ضئيل",be:"صغير",bf:"كبير",bg:"ضخم",bh:"نوع الخط",bi:"جاري الرفع",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"غير النص البديل للصورة",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"معالج نصوص",bw:"معالج نصوص، 0%",bx:"Dropdown toolbar",by:"تراجع",bz:"إعادة",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"حفظ",cx:"إلغاء",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"النص البديل",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"إلغاء الرابط",ej:"تحرير الرابط",ek:"فتح الرابط في تبويب جديد",el:"لا يحتوي هذا الرابط على عنوان",em:"رابط عنوان",en:"فقرة",eo:"عنوان 1",ep:"عنوان 2",eq:"عنوان 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ast.js
Executable file
1
ckeditor5/build/translations/ast.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ast']=Object.assign(d['ast']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Enllazar",k:"Llista numberada",l:"Llista con viñetes",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Negrina",ap:"Cursiva",aq:"complementu d'imaxen",ar:"Enter image caption",as:"Imaxen a tamañu completu",at:"Imaxen llateral",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Editor de testu arriquecíu",bw:"Editor de testu arriquecíu, %0",bx:"Dropdown toolbar",by:"Desfacer",bz:"Refacer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Guardar",cx:"Encaboxar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Desenllazar",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"URL del enllaz",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/az.js
Executable file
1
ckeditor5/build/translations/az.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['az']=Object.assign(d['az']||{},{a:"Fayl yüklənə bilmir",b:"Şəkil paneli",c:"Cədvəl paneli",d:"Sitat bloku",e:"Şəkil və ya fayl əlavə ed",f:"Başlıqı seç",g:"Başlıq",h:"Boş yeri böyüt",i:"Boş yeri kiçilt",j:"Əlaqələndir",k:"Nömrələnmiş siyahı",l:"Markerlənmiş siyahı",m:"media vidgeti",n:"Media əlavə ed",o:"URL boş olmamalıdır.",p:"Bu media URL dəstəklənmir.",q:"Cədvəli əlavə et",r:"Başlıqlı sütun",s:"Sola sütun əlavə et",t:"Sağa sütun əlavə et",u:"Sütunları sil",v:"Sütun",w:"Başlıqlı sətir",x:"Yuxarıya sətir əlavə et",y:"Aşağıya sətir əlavə et",z:"Sətirləri sil",aa:"Sətir",ab:"Xanaları yuxarı birləşdir",ac:"Xanaları sağa birləşdir",ad:"Xanaları aşağı birləşdir",ae:"Xanaları sola birləşdir",af:"Xanaları şaquli böl",ag:"Xanaları üfüqi böl",ah:"Xanaları birləşdir",ai:"Soldan düzləndir",aj:"Sağdan düzləndir",ak:"Mərkəzə düzləndir",al:"Eninə görə",am:"Mətn düzləndirməsi",an:"Mətnin düzləndirmə paneli",ao:"Yarıqalın",ap:"Maili",aq:"Şəkil vidgetı",ar:"Şəkil başlığı daxil edin",as:"Tam ölçülü şəkili",at:"Yan şəkil",au:"Soldan düzləndir",av:"Mərkəzə düzləndir",aw:"Sağdan düzləndir",ax:"Şəkili əlavə et",ay:"Şəkili serverə yüklə",az:"Şrift Fonunun Rəngi",ba:"Şrift Rəngi",bb:"Şrift ölçüsü",bc:"Default",bd:"Miniatür",be:"Kiçik",bf:"Böyük",bg:"Nəhəng",bh:"Şrift ailəsi",bi:"Yüklənir",bj:"Vidgetin paneli",bk:"Table properties",bl:"Cell properties",bm:"Ölçüsü dəyişmiş təsvirin URL-ni əldə etmək mümkün olmadı",bn:"Ölçüsü dəyişmiş təsvirin seçilməsi uğursuz oldu",bo:"Şəkili əlavə etmək mümkün deyil",bp:"Şəkili əlavə edilmədi",bq:"Alternativ mətni redaktə et",br:"Rəngi ləğv et",bs:"Rənglər",bt:"Redaktorun paneli",bu:"Show more items",bv:"Rich Text Redaktoru",bw:"Rich Text Redaktoru, %0",bx:"Açılan paneli",by:"İmtina et",bz:"Təkrar et",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Yadda saxla",cx:"İmtina et",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Qara",dg:"Tünd boz",dh:"Boz",di:"Açıq boz",dj:"Ağ",dk:"Qırmızı",dl:"Narıncı",dm:"Sarı",dn:"Açıq yaşıl",do:"Yaşıl",dp:"Akvamarin",dq:"Firuzəyi",dr:"Açıq mavi",ds:"Mavi",dt:"Bənövşəyi",du:"%1-dən %0",dv:"Əvvəlki",dw:"Növbəti",dx:"Alternativ mətn",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Media URL-ni xanaya əlavə edin",ee:"Məsləhət: Sürətli qoşma üçün URL-i kontentə əlavə edin",ef:"Media URL",eg:"Yeni pəncərədə aç",eh:"Yüklənə bilər",ei:"Linki sil",ej:"Linki redaktə et",ek:"Linki yeni pəncərədə aç",el:"Bu linkdə URL yoxdur",em:"Linkin URL",en:"Abzas",eo:"Başlıq 1",ep:"Başlıq 2",eq:"Başlıq 3",er:"Başlıq 4",es:"Başlıq 5",et:"Başlıq 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/bg.js
Executable file
1
ckeditor5/build/translations/bg.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['bg']=Object.assign(d['bg']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Цитат",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Удебелен",ap:"Курсив",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Запазване",cx:"Отказ",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Параграф",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ca.js
Executable file
1
ckeditor5/build/translations/ca.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ca']=Object.assign(d['ca']||{},{a:"No es pot pujar l'arxiu:",b:"Image toolbar",c:"Table toolbar",d:"Cita de bloc",e:"Insert image or file",f:"Escull capçalera",g:"Capçalera",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Alineació esquerra",aj:"Alineació dreta",ak:"Alineació centre",al:"Justificar",am:"Alineació text",an:"Text alignment toolbar",ao:"Negreta",ap:"Cursiva",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Mida de la font",bc:"Predeterminada",bd:"Molt petita",be:"Peita",bf:"Gran",bg:"Molt gran",bh:"Font",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Desar",cx:"Cancel·lar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Pàrraf",eo:"Capçalera 1",ep:"Capçalera 2",eq:"Capçalera 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/cs.js
Executable file
1
ckeditor5/build/translations/cs.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['cs']=Object.assign(d['cs']||{},{a:"Soubor nelze nahrát:",b:"Panel nástrojů obrázku",c:"Panel nástrojů tabulky",d:"Citace",e:"Vložit obrázek nebo soubor",f:"Zvolte nadpis",g:"Nadpis",h:"Zvětšit odsazení",i:"Zmenšit odsazení",j:"Odkaz",k:"Číslování",l:"Odrážky",m:"ovládací prvek médií",n:"Vložit média",o:"URL adresa musí být vyplněna.",p:"Tato adresa bohužel není podporována.",q:"Vložit tabulku",r:"Sloupec záhlaví",s:"Vložit sloupec vlevo",t:"Vložit sloupec vpravo",u:"Smazat sloupec",v:"Sloupec",w:"Řádek záhlaví",x:"Vložit řádek pod",y:"Vložit řádek před",z:"Smazat řádek",aa:"Řádek",ab:"Sloučit s buňkou nad",ac:"Sloučit s buňkou vpravo",ad:"Sloučit s buňkou pod",ae:"Sloučit s buňkou vlevo",af:"Rozdělit buňky vertikálně",ag:"Rozdělit buňky horizontálně",ah:"Sloučit buňky",ai:"Zarovnat vlevo",aj:"Zarovnat vpravo",ak:"Zarovnat na střed",al:"Zarovnat do bloku",am:"Zarovnání textu",an:"Panel nástrojů zarovnání textu",ao:"Tučné",ap:"Kurzíva",aq:"ovládací prvek obrázku",ar:"Zadejte popis obrázku",as:"Obrázek v plné velikosti",at:"Postranní obrázek",au:"Obrázek zarovnaný vlevo",av:"Obrázek zarovnaný na střed",aw:"Obrázek zarovnaný vpravo",ax:"Vložit obrázek",ay:"Nahrání selhalo",az:"Barva pozadí písma",ba:"Barva písma",bb:"Velikost písma",bc:"Výchozí",bd:"Drobné",be:"Malé",bf:"Velké",bg:"Obrovské",bh:"Typ písma",bi:"Probíhá nahrávání",bj:"Panel nástrojů ovládacího prvku",bk:"Table properties",bl:"Cell properties",bm:"Nelze získat URL obrázku se změněnou velikostí.",bn:"Výběr obrázku se změněnou velikostí selhal",bo:"Na současnou pozici nelze vložit obrázek.",bp:"Vložení obrázku selhalo",bq:"Změnit alternativní text obrázku",br:"Odstranit barvu",bs:"Barvy dokumentu",bt:"Panel nástrojů editoru",bu:"Zobrazit další položky",bv:"Textový editor",bw:"Textový editor, %0",bx:"Rozbalovací panel nástrojů",by:"Zpět",bz:"Znovu",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Uložit",cx:"Zrušit",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Černá",dg:"Tmavě šedá",dh:"Šedá",di:"Světle šedá",dj:"Bílá",dk:"Červená",dl:"Oranžová",dm:"Žlutá",dn:"Světle zelená",do:"Zelená",dp:"Akvamarínová",dq:"Tyrkysová",dr:"Světle modrá",ds:"Modrá",dt:"Fialová",du:"%0 z %1",dv:"Předchozí",dw:"Další",dx:"Alternativní text",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Vložte URL média do vstupního pole.",ee:"Rada: Vložte URL přímo do editoru pro rychlejší vnoření.",ef:"URL adresa",eg:"Otevřít v nové kartě",eh:"Ke stažení",ei:"Odstranit odkaz",ej:"Upravit odkaz",ek:"Otevřít odkaz v nové kartě",el:"Tento odkaz nemá žádnou URL",em:"URL odkazu",en:"Odstavec",eo:"Nadpis 1",ep:"Nadpis 2",eq:"Nadpis 3",er:"Nadpis 4",es:"Nadpis 5",et:"Nadpis 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/da.js
Executable file
1
ckeditor5/build/translations/da.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['da']=Object.assign(d['da']||{},{a:"Kan ikke uploade fil:",b:"Billedværktøjslinje",c:"Tabel værktøjslinje",d:"Blot citat",e:"Indsæt billede eller fil",f:"Vælg overskrift",g:"Overskrift",h:"Forøg indrykning",i:"Formindsk indrykning",j:"Link",k:"Opstilling med tal",l:"Punktopstilling",m:"mediewidget",n:"Indsæt medie",o:"URLen kan ikke være tom.",p:"Denne medie URL understøttes ikke.",q:"Indsæt tabel",r:"Headerkolonne",s:"Indsæt kolonne venstre",t:"Indsæt kolonne højre",u:"Slet kolonne",v:"Kolonne",w:"Headerrække",x:"Indsæt header under",y:"Indsæt header over",z:"Slet række",aa:"Række",ab:"Flet celler op",ac:"Flet celler højre",ad:"Flet celler ned",ae:"Flet celler venstre",af:"Del celle vertikalt",ag:"Del celle horisontalt",ah:"Flet celler",ai:"Justér venstre",aj:"Justér højre",ak:"Justér center",al:"Justér",am:"Tekstjustering",an:"Tekstjustering værktøjslinje",ao:"Fed",ap:"Kursiv",aq:"billed widget",ar:"Indtast billedoverskrift",as:"Fuld billedstørrelse",at:"Sidebillede",au:"Venstrestillet billede",av:"Centreret billede",aw:"Højrestillet billede",ax:"Indsæt billede",ay:"Upload fejlede",az:"Skrift baggrundsfarve",ba:"Skriftfarve",bb:"Skriftstørrelse",bc:"Standard",bd:"Lillebitte",be:"Lille",bf:"Stor",bg:"Kæmpe",bh:"Skriftfamilie",bi:"Upload i gang",bj:"Widget værktøjslinje",bk:"Table properties",bl:"Cell properties",bm:"Kunne ikke hente URL på ændret billede.",bn:"Valg af ændret billede fejlede",bo:"Kunne ikke indsætte billede på aktuel position.",bp:"Indsætning af billede fejlede",bq:"Skift alternativ billedtekst",br:"Fjern farve",bs:"Dokumentfarve",bt:"Editor værktøjslinje",bu:"Vis flere emner",bv:"Wysiwyg editor",bw:"Wysiwyg editor, %0",bx:"Dropdown værktøjslinje",by:"Fortryd",bz:"Gentag",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Gem",cx:"Annullér",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Sort",dg:"Dunkel grå",dh:"Grå",di:"Lys grå",dj:"Hvid",dk:"Rød",dl:"Orange",dm:"Gyl",dn:"Lys grøn",do:"Grøn",dp:"Marineblå",dq:"Turkis",dr:"Lys blå",ds:"Blå",dt:"Lilla",du:"%0 af %1",dv:"Forrige",dw:"Næste",dx:"Alternativ tekst",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Indsæt medie URLen i feltet.",ee:"Tip: Indsæt URLen i indholdet for at indlejre hurtigere.",ef:"Medie URL",eg:"Åben i ny fane",eh:"Kan downloades",ei:"Fjern link",ej:"Redigér link",ek:"Åben link i ny fane",el:"Dette link har ingen URL",em:"Link URL",en:"Afsnit",eo:"Overskrift 1",ep:"Overskrift 2",eq:"Overskrift 3",er:"Overskrift 4",es:"Overskrift 5",et:"Overskrift 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/de-ch.js
Executable file
1
ckeditor5/build/translations/de-ch.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['de-ch']=Object.assign(d['de-ch']||{},{a:"Datei kann nicht hochgeladen werden:",b:"Image toolbar",c:"Table toolbar",d:"Blockzitat",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Tabelle einfügen",r:"Kopfspalte",s:"Insert column left",t:"Insert column right",u:"Spalte löschen",v:"Spalte",w:"Kopfspalte",x:"Zeile unten einfügen",y:"Zeile oben einfügen",z:"Zeile löschen",aa:"Zeile",ab:"Zelle oben verbinden",ac:"Zele rechts verbinden",ad:"Zelle unten verbinden",ae:"Zelle links verbinden",af:"Zelle vertikal teilen",ag:"Zelle horizontal teilen",ah:"Zellen verbinden",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Bold",ap:"Italic",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload läuft",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich-Text-Edito",bw:"Rich-Text-Editor, %0",bx:"Dropdown toolbar",by:"Rückgängig",bz:"Wiederherstellen",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/el.js
Executable file
1
ckeditor5/build/translations/el.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['el']=Object.assign(d['el']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Περιοχή παράθεσης",e:"Insert image or file",f:"Επιλέξτε κεφαλίδα",g:"Κεφαλίδα",h:"Increase indent",i:"Decrease indent",j:"Σύνδεσμος",k:"Αριθμημένη λίστα",l:"Λίστα κουκκίδων",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Έντονη",ap:"Πλάγια",aq:"image widget",ar:"Λεζάντα",as:"Εικόνα πλήρης μεγέθους",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Εισαγωγή εικόνας",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Αλλαγή εναλλακτικού κείμενου",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Επεξεργαστής Πλούσιου Κειμένου",bw:"Επεξεργαστής Πλούσιου Κειμένου, 0%",bx:"Dropdown toolbar",by:"Αναίρεση",bz:"Επανάληψη",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Αποθήκευση",cx:"Ακύρωση",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Εναλλακτικό κείμενο",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Αφαίρεση συνδέσμου",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Διεύθυνση συνδέσμου",en:"Παράγραφος",eo:"Κεφαλίδα 1",ep:"Κεφαλίδα 2",eq:"Κεφαλίδα 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/en-au.js
Executable file
1
ckeditor5/build/translations/en-au.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['en-au']=Object.assign(d['en-au']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align centre",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Bold",ap:"Italic",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centred image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Colour",ba:"Font Colour",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove colour",bs:"Document colours",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/en-gb.js
Executable file
1
ckeditor5/build/translations/en-gb.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['en-gb']=Object.assign(d['en-gb']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"Media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Bold",ap:"Italic",aq:"Image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centred image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Colour",ba:"Font Colour",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove colour",bs:"Document colours",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/en.js
Executable file
1
ckeditor5/build/translations/en.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['en']=Object.assign(d['en']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Bold",ap:"Italic",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/eo.js
Executable file
1
ckeditor5/build/translations/eo.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['eo']=Object.assign(d['eo']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Elektu ĉapon",g:"Ĉapo",h:"Increase indent",i:"Decrease indent",j:"Ligilo",k:"Numerita Listo",l:"Bula Listo",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"grasa",ap:"kursiva",aq:"bilda fenestraĵo",ar:"Skribu klarigon pri la bildo",as:"Bildo kun reala dimensio",at:"Flanka biildo",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Enmetu bildon",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Ŝanĝu la alternativan tekston de la bildo",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Redaktilo de Riĉa Teksto",bw:"Redaktilo de Riĉa Teksto, %0",bx:"Dropdown toolbar",by:"Malfari",bz:"Refari",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Konservi",cx:"Nuligi",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Alternativa teksto",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Malligi",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"URL de la ligilo",en:"Paragrafo",eo:"Ĉapo 1",ep:"Ĉapo 2",eq:"Ĉapo 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/es.js
Executable file
1
ckeditor5/build/translations/es.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['es']=Object.assign(d['es']||{},{a:"No se pudo cargar el archivo:",b:"Barra de herramientas de imagen",c:"Barra de herramientas de tabla",d:"Entrecomillado",e:"Insertar imagen o archivo",f:"Elegir Encabezado",g:"Encabezado",h:"Aumentar sangría",i:"Disminuir sangría",j:"Enlace",k:"Lista numerada",l:"Lista de puntos",m:"Widget de contenido multimedia",n:"Insertar contenido multimedia",o:"La URL no debe estar vacía",p:"La URL de este contenido multimedia no está soportada",q:"Insertar tabla",r:"Columna de encabezado",s:"Insertar columna izquierda",t:"Insertar columna derecha",u:"Eliminar columna",v:"Columna",w:"Fila de encabezado",x:"Insertar fila debajo",y:"Insertar fila encima",z:"Eliminar fila",aa:"Fila",ab:"Combinar celda superior",ac:"Combinar celda derecha",ad:"Combinar celda inferior",ae:"Combinar celda izquierda",af:"Dividir celdas verticalmente",ag:"Dividir celdas horizontalmente",ah:"Combinar celdas",ai:"Alinear a la izquierda",aj:"Alinear a la derecha",ak:"Centrar",al:"Justificar",am:"Alineación del texto",an:"Barra de herramientas de alineación del texto",ao:"Negrita",ap:"Cursiva",aq:"Widget de imagen",ar:"Introducir título de la imagen",as:"Imagen a tamaño completo",at:"Imagen lateral",au:"Imagen alineada a la izquierda",av:"Imagen centrada",aw:"Imagen alineada a la derecha",ax:"Insertar imagen",ay:"Fallo en la subida",az:"Color de Fondo",ba:"Color de Fuente",bb:"Tamaño de fuente",bc:"Por defecto",bd:"Minúsculo",be:"Pequeño",bf:"Grande",bg:"Enorme",bh:"Fuente",bi:"Subida en progreso",bj:"Barra de herramientas del widget",bk:"Table properties",bl:"Cell properties",bm:"No se puede acceder a la URL de la imagen redimensionada",bn:"Fallo eligiendo imagen redimensionada",bo:"No se puede insertar una imagen en la posición actual",bp:"Error insertando imagen",bq:"Cambiar el texto alternativo de la imagen",br:"Remover color",bs:"Colores del documento",bt:"Barra de herramientas de edición",bu:"Mostrar más elementos",bv:"Editor de Texto Enriquecido",bw:"Editor de Texto Enriquecido, %0",bx:"Barra de herramientas desplegable",by:"Deshacer",bz:"Rehacer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Guardar",cx:"Cancelar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Negro",dg:"Gris Oscuro",dh:"Gris",di:"Gris Claro",dj:"Blanco",dk:"Rojo",dl:"Anaranjado",dm:"Amarillo",dn:"Verde Claro",do:"Verde",dp:"Aguamarina",dq:"Turquesa",dr:"Azul Claro",ds:"Azul",dt:"Morado",du:"%0 de %1",dv:"Anterior",dw:"Siguiente",dx:"Texto alternativo",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Pega la URL del contenido multimedia",ee:"Tip: pega la URL dentro del contenido para embeber más rápido",ef:"URL del contenido multimedia",eg:"Abrir en una pestaña nueva ",eh:"Descargable",ei:"Quitar enlace",ej:"Editar enlace",ek:"Abrir enlace en una pestaña nueva",el:"Este enlace no tiene URL",em:"URL del enlace",en:"Párrafo",eo:"Encabezado 1",ep:"Encabezado 2",eq:"Encabezado 3",er:"Encabezado 4",es:"Encabezado 5",et:"Encabezado 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/et.js
Executable file
1
ckeditor5/build/translations/et.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['et']=Object.assign(d['et']||{},{a:"Faili ei suudeta üles laadida:",b:"Piltide tööriistariba",c:"Tabelite tööriistariba",d:"Tsitaat",e:"Sisesta pilt või fail",f:"Vali pealkiri",g:"Pealkiri",h:"Suurenda taanet",i:"Vähenda taanet",j:"Link",k:"Nummerdatud loetelu",l:"Punktidega loetelu",m:"meedia vidin",n:"Sisesta meedia",o:"URL-i lahter ei tohi olla tühi.",p:"See meedia URL pole toetatud.",q:"Sisesta tabel",r:"Päise veerg",s:"Sisesta veerg vasakule",t:"Sisesta veerg paremale",u:"Kustuta veerg",v:"Veerg",w:"Päise rida",x:"Sisesta rida allapoole",y:"Sisesta rida ülespoole",z:"Kustuta rida",aa:"Rida",ab:"Liida ülemise lahtriga",ac:"Liida paremal oleva lahtriga",ad:"Liida alumise lahtriga",ae:"Liida vasakul oleva lahtriga",af:"Jaga lahter vertikaalselt",ag:"Jaga lahter horisontaalselt",ah:"Liida lahtrid",ai:"Vasakjoondus",aj:"Paremjoondus",ak:"Keskjoondus",al:"Rööpjoondus",am:"Teksti joondamine",an:"Teksti joonduse tööriistariba",ao:"Rasvane",ap:"Kaldkiri",aq:"pildi vidin",ar:"Sisesta pildi pealkiri",as:"Täissuuruses pilt",at:"Pilt küljel",au:"Vasakule joondatud pilt",av:"Keskele joondatud pilt",aw:"Paremale joondatud pilt",ax:"Siseta pilt",ay:"Üleslaadimine ebaõnnestus",az:"Kirja tausta värvus",ba:"Fondi värvus",bb:"Teksti suurus",bc:"Vaikimisi",bd:"Imepisike",be:"Väike",bf:"Suur",bg:"Ülisuur",bh:"Kirjastiil",bi:"Üleslaadimine pooleli",bj:"Vidinate tööriistariba",bk:"Table properties",bl:"Cell properties",bm:"Muudetud suurusega pildi URL-i hankimine ebaõnnestus.",bn:"Muudetud suurusega pildi valimine ebaõnnestus",bo:"Pildi sisestamine praegusesse kohta ebaõnnestus.",bp:"Pildi sisestamine ebaõnnestus",bq:"Muuda pildi asenduskirjeldust",br:"Eemalda värv",bs:"Dokumendi värvid",bt:"Redaktori tööriistariba",bu:"Näita veel",bv:"Tekstiredaktor",bw:"Tekstiredaktor, %0",bx:"Avatav tööriistariba",by:"Võta tagasi",bz:"Tee uuesti",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Salvesta",cx:"Loobu",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Must",dg:"Tumehall",dh:"Hall",di:"Helehall",dj:"Valge",dk:"Punane",dl:"Oranž",dm:"Kollane",dn:"Heleroheline",do:"Roheline",dp:"Akvamariin",dq:"Türkiis",dr:"Helesinine",ds:"Sinine",dt:"Lilla",du:"%0 / %1",dv:"Eelmine",dw:"Järgmine",dx:"Asenduskirjeldus",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Aseta meedia URL sisendi lahtrisse.",ee:"Vihje: asetades meedia URLi otse sisusse saab selle lisada kiiremini.",ef:"Meedia URL",eg:"Ava uuel kaardil",eh:"Allalaaditav",ei:"Eemalda link",ej:"Muuda linki",ek:"Ava link uuel vahekaardil",el:"Sellel lingil puudub URL",em:"Lingi URL",en:"Lõik",eo:"Pealkiri 1",ep:"Pealkiri 2",eq:"Pealkiri 3",er:"Pealkiri 4",es:"Pealkiri 5",et:"Pealkiri 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/eu.js
Executable file
1
ckeditor5/build/translations/eu.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['eu']=Object.assign(d['eu']||{},{a:"Ezin da fitxategia kargatu:",b:"Image toolbar",c:"Table toolbar",d:"Aipua",e:"Insert image or file",f:"Aukeratu izenburua",g:"Izenburua",h:"Increase indent",i:"Decrease indent",j:"Esteka",k:"Zenbakidun zerrenda",l:"Buletdun zerrenda",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Lodia",ap:"Etzana",aq:"irudi widgeta",ar:"Sartu irudiaren epigrafea",as:"Tamaina osoko irudia",at:"Alboko irudia",au:"Ezkerrean lerrokatutako irudia",av:"Zentratutako irudia",aw:"Eskuinean lerrokatutako irudia",ax:"Txertatu irudia",ay:"Kargatzeak huts egin du",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Aldatu irudiaren ordezko testua",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Testu aberastuaren editorea",bw:"Testu aberastuaren editorea, %0",bx:"Dropdown toolbar",by:"Desegin",bz:"Berregin",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Gorde",cx:"Utzi",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Ordezko testua",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Desestekatu",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Estekaren URLa",en:"Paragrafoa",eo:"Izenburua 1",ep:"Izenburua 2",eq:"Izenburua 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/fa.js
Executable file
1
ckeditor5/build/translations/fa.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['fa']=Object.assign(d['fa']||{},{a:"فایل آپلود نمیشود:",b:"نوارابزار تصویر",c:"نوارابزار جدول",d:" بلوک نقل قول",e:"وارد کردن تصویر یا فایل",f:"انتخاب عنوان",g:"عنوان",h:"افزایش تورفتگی",i:"کاهش تورفتگی",j:"پیوند",k:"لیست عددی",l:"لیست نشانهدار",m:"ویجت رسانه",n:"وارد کردن رسانه",o:"آدرس اینترنتی URL نباید خالی باشد.",p:"این آدرس اینترنتی رسانه پشتیبانی نمیشود",q:"درج جدول",r:"ستون سربرگ",s:"درج ستون در سمت چپ",t:"درج ستون در سمت راست",u:"حذف ستون",v:"ستون",w:"سطر سربرگ",x:"درج سطر در پایین",y:"درج سطر در بالا",z:"حذف سطر",aa:"سطر",ab:"ادغام سلول بالا",ac:"ادغام سلول راست",ad:"ادغام سلول پایین",ae:"ادغام سلول چپ",af:"تقسیم عمودی سلول",ag:"تقسیم افقی سلول",ah:"ادغام سلول ها",ai:"تراز چپ",aj:"تراز راست",ak:"تراز وسط",al:"هم تراز کردن",am:"تراز متن",an:"نوارابزار تراز متن",ao:"درشت",ap:"کج",aq:"ابزاره تصویر",ar:"عنوان تصویر را وارد کنید",as:"تصویر در اندازه کامل",at:"تصویر جانبی",au:"تصویر تراز شده چپ",av:"تصویر در وسط",aw:"تصویر تراز شده راست",ax:"قرار دادن تصویر",ay:"آپلود ناموفق بود",az:"رنگ پس زمینه فونت",ba:"رنگ فونت",bb:"اندازه فونت",bc:"پیش فرض",bd:"بسیار کوچک",be:"کوچک",bf:"بزرگ",bg:"بسیار بزرگ",bh:"خانواده فونت",bi:"آپلود در حال انجام",bj:"نوار ابزارک ها",bk:"Table properties",bl:"Cell properties",bm:"نمیتوان آدرس اینترنتی تصویر تغییر اندازه یافته را بدست آورد",bn:"انتخاب تصویر تغییر اندازه یافته انجام نشد",bo:"نمیتوان تصویر را در موقعیت فعلی وارد کرد",bp:"وارد کردن تصویر انجام نشد",bq:"تغییر متن جایگزین تصویر",br:"حذف رنگ",bs:"رنگ اسناد",bt:"نوارابزار ویرایشگر",bu:"Show more items",bv:"ویرایشگر متن غنی",bw:"ویرایشگر متن غنی، %0",bx:"نوارابزار کشویی",by:"بازگردانی",bz:"باز انجام",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"ذخیره",cx:"لغو",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"سیاه",dg:"خاکستری تیره",dh:"خاکستری",di:"خاکستری روشن",dj:"سفید",dk:"قرمز",dl:"نارنجی",dm:"زرد",dn:"سبز روشن",do:"سبز",dp:"زمرد کبود",dq:"فیروزه ای",dr:"آبی روشن",ds:"آبی",dt:"بنفش",du:"0% از 1%",dv:"قبلی",dw:"بعدی",dx:"متن جایگزین",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"آدرس رسانه را در ورودی قرار دهید",ee:"نکته : آدرس را در محتوا قراردهید تا سریع تر جاسازی شود",ef:"آدرس اینترنتی رسانه",eg:"بازکردن در برگه جدید",eh:"قابل بارگیری",ei:"لغو پیوند",ej:"ویرایش پیوند",ek:"باز کردن پیوند در برگه جدید",el:"این پیوند نشانی اینترنتی ندارد",em:"نشانی اینترنتی پیوند",en:"پاراگراف",eo:"عنوان 1",ep:"عنوان 2",eq:"عنوان 3",er:"عنوان 4",es:"عنوان 5",et:"عنوان 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/fi.js
Executable file
1
ckeditor5/build/translations/fi.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['fi']=Object.assign(d['fi']||{},{a:"Tiedostoa ei voitu ladata:",b:"Image toolbar",c:"Table toolbar",d:"Lainaus",e:"Lisää kuva tai tiedosto",f:"Valitse otsikko",g:"Otsikkotyyli",h:"Lisää sisennystä",i:"Vähennä sisennystä",j:"Linkki",k:"Numeroitu lista",l:"Lista",m:"media widget",n:"Insert media",o:"URL-osoite ei voi olla tyhjä.",p:"This media URL is not supported.",q:"Lisää taulukko",r:"Otsikkosarake",s:"Lisää sarake vasemmalle",t:"Lisää sarake oikealle",u:"Poista sarake",v:"Sarake",w:"Otsikkorivi",x:"Lisää rivi alle",y:"Lisää rivi ylle",z:"Poista rivi",aa:"Rivi",ab:"Yhdistä solu ylös",ac:"Yhdistä solu oikealle",ad:"Yhdistä solu alas",ae:"Yhdistä solu vasemmalle",af:"Jaa solu pystysuunnassa",ag:"Jaa solu vaakasuunnassa",ah:"Yhdistä tai jaa soluja",ai:"Tasaa vasemmalle",aj:"Tasaa oikealle",ak:"Tasaa keskelle",al:"Tasaa molemmat reunat",am:"Tekstin tasaus",an:"Text alignment toolbar",ao:"Lihavointi",ap:"Kursivointi",aq:"Kuvavimpain",ar:"Syötä kuvateksti",as:"Täysikokoinen kuva",at:"Pieni kuva",au:"Vasemmalle tasattu kuva",av:"Keskitetty kuva",aw:"Oikealle tasattu kuva",ax:"Lisää kuva",ay:"Lataus epäonnistui",az:"Fontin taustaväri",ba:"Fontin väri",bb:"Fontin koko",bc:"Oletus",bd:"Hyvin pieni",be:"Pieni",bf:"Suuri",bg:"Hyvin suuri",bh:"Fonttiperhe",bi:"Lähetys käynnissä",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Kuvan lisäys nykyiseen sijaintiin epäonnistui",bp:"Kuvan lisäys epäonnistui",bq:"Vaihda kuvan vaihtoehtoinen teksti",br:"Poista väri",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rikas tekstieditori",bw:"Rikas tekstieditori, %0",bx:"Dropdown toolbar",by:"Peru",bz:"Tee uudelleen",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Tallenna",cx:"Peruuta",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Musta",dg:"Dim grey",dh:"Harmaa",di:"Vaaleanharmaa",dj:"Valkoinen",dk:"Punainen",dl:"Oranssi",dm:"Keltainen",dn:"Vaaleanvihreä",do:"Vihreä",dp:"Akvamariini",dq:"Turkoosi",dr:"Vaaleansininen",ds:"Sininen",dt:"Purppura",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Vaihtoehtoinen teksti",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Poista linkki",ej:"Muokkaa linkkiä",ek:"Avaa linkki uudessa välilehdessä",el:"Linkillä ei ole URL-osoitetta",em:"Linkin osoite",en:"Kappale",eo:"Otsikko 1",ep:"Otsikko 2",eq:"Otsikko 3",er:"Otsikko 4",es:"Otsikko 5",et:"Otsikko 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/fr.js
Executable file
1
ckeditor5/build/translations/fr.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['fr']=Object.assign(d['fr']||{},{a:"Envoi du fichier échoué :",b:"Barre d'outils des images",c:"Barre d'outils des tableaux",d:"Citation",e:"Insérer une image ou un fichier",f:"Choisir l'en-tête",g:"En-tête",h:"Augmenter le retrait",i:"Diminuer le retrait",j:"Lien",k:"Liste numérotée",l:"Liste à puces",m:"widget média",n:"Insérer un média",o:"L'URL ne doit pas être vide.",p:"Cette URL de média n'est pas supportée.",q:"Insérer un tableau",r:"Colonne d'entête",s:"Insérer une colonne à gauche",t:"Insérer une colonne à droite",u:"Supprimer la colonne",v:"Colonne",w:"Ligne d'entête",x:"Insérer une ligne en-dessous",y:"Insérer une ligne au-dessus",z:"Supprimer la ligne",aa:"Ligne",ab:"Fusionner la cellule au-dessus",ac:"Fusionner la cellule à droite",ad:"Fusionner la cellule en-dessous",ae:"Fusionner la cellule à gauche",af:"Scinder la cellule verticalement",ag:"Scinder la cellule horizontalement",ah:"Fusionner les cellules",ai:"Aligner à gauche",aj:"Aligner à droite",ak:"Centrer",al:"Justifier",am:"Alignement du texte",an:"Barre d'outils d'alignement du texte",ao:"Gras",ap:"Italique",aq:"Objet image",ar:"Saisir la légende de l’image",as:"Image taille réelle",at:"Image latérale",au:"Image alignée à gauche",av:"Image centrée",aw:"Image alignée à droite",ax:"Insérer une image",ay:"Échec de l'envoi",az:"Couleur d'arrière-plan",ba:"Couleur de police",bb:"Taille de police",bc:"Par défaut",bd:"Minuscule",be:"Petit",bf:"Grand",bg:"Enorme",bh:"Police",bi:"Téléchargement en cours",bj:"Barre d'outils du widget",bk:"Table properties",bl:"Cell properties",bm:"Impossible d'obtenir l'image redimensionnée",bn:"La sélection de l'image redimensionnée a échoué.",bo:"Impossible d'insérer l'image à la position courante.",bp:"L'insertion d'image a échoué.",bq:"Changer le texte alternatif à l’image",br:"Enlever la couleur",bs:"Couleurs du document",bt:"Barre d'outils de l'éditeur",bu:"Montrer plus d'éléments",bv:"Éditeur de texte enrichi",bw:"Éditeur de texte enrichi, %0",bx:"Barre d'outils dans un menu déroulant",by:"Annuler",bz:"Restaurer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Enregistrer",cx:"Annuler",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Noir",dg:"Gris pâle",dh:"Gris",di:"Gris clair",dj:"Blanc",dk:"Rouge",dl:"Orange",dm:"Jaune",dn:"Vert clair",do:"Vert",dp:"Bleu vert",dq:"Turquoise",dr:"Bleu clair",ds:"Bleu",dt:"Violet",du:"%0 sur %1",dv:"Précedent",dw:"Suivant",dx:"Texte alternatif",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Coller l'URL du média",ee:"Astuce : Copier l'URL du média dans le contenu pour l'insérer plus rapidement",ef:"URL de média",eg:"Ouvrir dans un nouvel onglet",eh:"Fichier téléchargeable",ei:"Supprimer le lien",ej:"Modifier le lien",ek:"Ouvrir le lien dans un nouvel onglet",el:"Ce lien n'a pas d'URL",em:"URL du lien",en:"Paragraphe",eo:"Titre 1",ep:"Titre 2",eq:"Titre 3",er:"Titre 4",es:"Titre 5",et:"Titre 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/gl.js
Executable file
1
ckeditor5/build/translations/gl.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['gl']=Object.assign(d['gl']||{},{a:"Non é posíbel cargar o ficheiro:",b:"Barra de ferramentas de imaxe",c:"Barra de ferramentas de táboas",d:"Cita de bloque",e:"Inserir imaxe ou ficheiro",f:"Escolla o título",g:"Título",h:"Aumentar sangrado",i:"Reducir sangrado",j:"Ligar",k:"Lista numerada",l:"Lista viñeteada",m:"trebello multimedia",n:"Inserir elemento multimedia",o:"O URL non debe estar baleiro.",p:"Este URL multimedia non é compatible.",q:"Inserir táboa",r:"Cabeceira de columna",s:"Inserir columna á esquerda",t:"Inserir columna á dereita",u:"Eliminar columna",v:"Columna",w:"Cabeceira de fila",x:"Inserir fila embaixo",y:"Inserir fila enriba",z:"Eliminar fila",aa:"Fila",ab:"Combinar cela cara arriba",ac:"Combinar cela cara a dereita",ad:"Combinar cela cara abaixo",ae:"Combinar cela cara a esquerda",af:"Dividir cela en vertical",ag:"Dividir cela en horizontal",ah:"Combinar celas",ai:"Aliñar á esquerda",aj:"Aliñar á dereita",ak:"Centrar horizontalmente",al:"Xustificado",am:"Aliñamento do texto",an:"Barra de ferramentas de aliñamento de textos",ao:"Negra",ap:"Itálica",aq:"Trebello de imaxe",ar:"Introduza o título da imaxe",as:"Imaxe a tamaño completo",at:"Lado da imaxe",au:"Imaxe aliñada á esquerda",av:"Imaxe centrada horizontalmente",aw:"Imaxe aliñada á dereita",ax:"Inserir imaxe",ay:"Fallou o envío",az:"Cor do fondo da letra",ba:"Cor da letra",bb:"Tamaño da letra",bc:"Predeterminada",bd:"Diminuta",be:"Pequena",bf:"Grande",bg:"Enorme",bh:"Familia tipográfica",bi:"Envío en proceso",bj:"Barra de ferramentas de trebellos",bk:"Table properties",bl:"Cell properties",bm:"Non foi posíbel obter o URL da imaxe redimensionada.",bn:"Non foi posíbel seleccionar a imaxe redimensionada",bo:"Non foi posíbel inserir a imaxe na posición actual.",bp:"Fallou a inserción da imaxe",bq:"Cambiar o texto alternativo da imaxe",br:"Retirar a cor",bs:"Cores do documento",bt:"Barra de ferramentas do editor",bu:"Amosar máis elementos",bv:"Editor de texto mellorado",bw:"Editor de texto mellorado, %0",bx:"Barra de ferramentas despregábel",by:"Desfacer",bz:"Refacer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Gardar",cx:"Cancelar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Negro",dg:"Gris fume",dh:"Gris",di:"Gris claro",dj:"Branco",dk:"Vermello",dl:"Laranxa",dm:"Amarelo",dn:"Verde claro",do:"Verde",dp:"Augamariña",dq:"Turquesa",dr:"Azul claro",ds:"Azul",dt:"Púrpura",du:"%0 de %1",dv:"Anterior",dw:"Seguinte",dx:"Texto alternativo",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Pegue o URL do medio na entrada.",ee:"Consello: Pegue o URL no contido para incrustalo máis rápido.",ef:"URL multimedia",eg:"Abrir nunha nova lapela",eh:"Descargábel",ei:"Desligar",ej:"Editar a ligazón",ek:"Abrir a ligazón nunha nova lapela",el:"Esta ligazón non ten URL",em:"URL de ligazón",en:"Parágrafo",eo:"Título 1",ep:"Título 2",eq:"Título 3",er:"Título 4",es:"Título 5",et:"Título 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/gu.js
Executable file
1
ckeditor5/build/translations/gu.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['gu']=Object.assign(d['gu']||{},{a:"ફાઇલ અપલોડ ન થઇ શકી",b:"Image toolbar",c:"Table toolbar",d:" વિચાર ટાંકો",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"ઘાટુ - બોલ્ડ્",ap:"ત્રાંસુ - ઇટલિક્",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/he.js
Executable file
1
ckeditor5/build/translations/he.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['he']=Object.assign(d['he']||{},{a:"לא ניתן להעלות את הקובץ הבא:",b:"סרגל תמונה",c:"Table toolbar",d:"בלוק ציטוט",e:"הוסף תמונה או קובץ",f:"בחר סוג כותרת",g:"כותרת",h:"Increase indent",i:"Decrease indent",j:"קישור",k:"רשימה ממוספרת",l:"רשימה מנוקדת",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"יישור לשמאל",aj:"יישור לימין",ak:"יישור באמצע",al:"מרכוז גבולות",am:"יישור טקסט",an:"סרגל כלים יישור טקסט",ao:"מודגש",ap:"נטוי",aq:"תמונה",ar:"הזן כותרת תמונה",as:"תמונה בפריסה מלאה",at:"תמונת צד",au:"תמונה מיושרת לשמאל",av:"תמונה ממרוכזת",aw:"תמונה מיושרת לימין",ax:"הוספת תמונה",ay:"העלאה נכשלה",az:"Font Background Color",ba:"Font Color",bb:"גודל טקסט",bc:"ברירת מחדל",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"העלאה מתבצעת",bj:"סרגל יישומון",bk:"Table properties",bl:"Cell properties",bm:"לא ניתן להשיג תמונה מוקטנת",bn:"בחירת תמונה מוקטנת נכשלה",bo:"לא ניתן להוסיף תמונה במיקום הנוכחי",bp:"הוספת תמונה נכשלה",bq:"שינוי טקסט אלטרנטיבי לתמונה",br:"Remove color",bs:"Document colors",bt:"סרגל הכלים",bu:"הצד פריטים נוספים",bv:"עורך טקסט עשיר",bw:"עורך טקסט עשיר, %0",bx:"סרגל כלים נפתח",by:"ביטול",bz:"ביצוע מחדש",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"שמירה",cx:"ביטול",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"0% מתוך %1",dv:"הקודם",dw:"הבא",dx:"טקסט אלטרנטיבי",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"ביטול קישור",ej:"עריכת קישור",ek:"פתח קישור בכרטיסייה חדשה",el:"לקישור זה אין כתובת אתר",em:"קישור כתובת אתר",en:"פיסקה",eo:"כותרת 1",ep:"כותרת 2",eq:"כותרת 3",er:"כותרת 4",es:"כותרת 5",et:"כותרת 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/hr.js
Executable file
1
ckeditor5/build/translations/hr.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['hr']=Object.assign(d['hr']||{},{a:"Datoteku nije moguće poslati:",b:"Traka za slike",c:"Traka za tablice",d:"Blok citat",e:"Umetni sliku ili datoteku",f:"Odaberite naslov",g:"Naslov",h:"Povećaj uvlačenje",i:"Umanji uvlačenje",j:"Veza",k:"Brojčana lista",l:"Obična lista",m:"dodatak za medije",n:"Ubaci medij",o:"URL ne smije biti prazan.",p:"URL nije podržan.",q:"Ubaci tablicu",r:"Kolona zaglavlja",s:"Umetni stupac lijevo",t:"Umetni stupac desno",u:"Obriši kolonu",v:"Kolona",w:"Red zaglavlja",x:"Ubaci red ispod",y:"Ubaci red iznad",z:"Obriši red",aa:"Red",ab:"Spoji ćelije prema gore",ac:"Spoji ćelije prema desno",ad:"Spoji ćelije prema dolje",ae:"Spoji ćelije prema lijevo",af:"Razdvoji ćeliju okomito",ag:"Razdvoji ćeliju vodoravno",ah:"Spoji ćelije",ai:"Poravnaj ulijevo",aj:"Poravnaj udesno",ak:"Poravnaj po sredini",al:"Razvuci",am:"Poravnanje teksta",an:"Traka za poravnanje",ao:"Podebljano",ap:"Ukošeno",aq:"Slika widget",ar:"Unesite naslov slike",as:"Slika pune veličine",at:"Slika sa strane",au:"Lijevo poravnata slika",av:"Centrirana slika",aw:"Slika poravnata desno",ax:"Umetni sliku",ay:"Slanje nije uspjelo",az:"Pozadinska Boja Fonta",ba:"Boja Fonta",bb:"Veličina fonta",bc:"Podrazumijevano",bd:"Sićušan",be:"Mali",bf:"Veliki",bg:"Ogroman",bh:"Obitelj fonta",bi:"Slanje u tijeku",bj:"Traka sa spravicama",bk:"Table properties",bl:"Cell properties",bm:"Nije moguće dohvatiti URL slike s promijenjenom veličinom",bn:"Odabir slike s promijenjenom veličinom nije uspjelo",bo:"Nije moguće umetnuti sliku na trenutnu poziciju",bp:"Umetanje slike nije uspjelo",bq:"Promijeni alternativni tekst slike",br:"Ukloni boju",bs:"Boje dokumenta",bt:"Traka uređivača",bu:"Prikaži više stavaka",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Traka padajućeg izbornika",by:"Poništi",bz:"Ponovi",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Snimi",cx:"Poništi",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Crna",dg:"Tamnosiva",dh:"Siva",di:"Svijetlosiva",dj:"Bijela",dk:"Crvena",dl:"Narančasta",dm:"Žuta",dn:"Svijetlozelena",do:"Zelena",dp:"Akvamarin",dq:"Tirkizna",dr:"Svijetloplava",ds:"Plava",dt:"Ljubičasta",du:"%0 od %1",dv:"Prethodni",dw:"Sljedeći",dx:"Alternativni tekst",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Zalijepi URL medija u ulaz.",ee:"Natuknica: Za brže ugrađivanje zalijepite URL u sadržaj.",ef:"URL medija",eg:"Otvori u novoj kartici",eh:"Moguće preuzeti",ei:"Ukloni vezu",ej:"Uredi vezu",ek:"Otvori vezu u novoj kartici",el:"Ova veza nema URL",em:"URL veze",en:"Paragraf",eo:"Naslov 1",ep:"Naslov 2",eq:"Naslov 3",er:"Naslov 4",es:"Naslov 5",et:"Naslov 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/hu.js
Executable file
1
ckeditor5/build/translations/hu.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['hu']=Object.assign(d['hu']||{},{a:"Nem sikerült a fájl feltöltése:",b:"Kép eszköztár",c:"Táblázat eszköztár",d:"Idézet",e:"Kép, vagy fájl beszúrása",f:"Stílus megadása",g:"Stílusok",h:"Behúzás növelése",i:"Behúzás csökkentése",j:"Link",k:"Számozott lista",l:"Pontozott lista",m:"Média widget",n:"Média beszúrása",o:"Az URL nem lehet üres.",p:"Ez a média URL típus nem támogatott.",q:"Táblázat beszúrása",r:"Oszlop fejléc",s:"Oszlop beszúrása balra",t:"Oszlop beszúrása jobbra",u:"Oszlop törlése",v:"Oszlop",w:"Sor fejléc",x:"Sor beszúrása alá",y:"Sor beszúrása fölé",z:"Sor törlése",aa:"Sor",ab:"Cellák egyesítése felfelé",ac:"Cellák egyesítése jobbra",ad:"Cellák egyesítése lefelé",ae:"Cellák egyesítése balra",af:"Cella felosztása függőlegesen",ag:"Cella felosztása vízszintesen",ah:"Cellaegyesítés",ai:"Balra igazítás",aj:"Jobbra igazítás",ak:"Középre igazítás",al:"Sorkizárt",am:"Szöveg igazítása",an:"Szöveg igazítás eszköztár",ao:"Félkövér",ap:"Dőlt",aq:"képmodul",ar:"Képaláírás megadása",as:"Teljes méretű kép",at:"Oldalsó kép",au:"Balra igazított kép",av:"Középre igazított kép",aw:"Jobbra igazított kép",ax:"Kép beszúrása",ay:"A feltöltés nem sikerült",az:"Betű háttérszín",ba:"Betűszín",bb:"Betűméret",bc:"Alapértelmezett",bd:"Apró",be:"Kicsi",bf:"Nagy",bg:"Hatalmas",bh:"Betűtípus",bi:"A feltöltés folyamatban",bj:"Widget eszköztár",bk:"Table properties",bl:"Cell properties",bm:"Az átméretezett kép URL-je nem érhető el.",bn:"Az átméretezett kép kiválasztása sikertelen",bo:"A jelenlegi helyen nem szúrható be a kép.",bp:"A kép beszúrása sikertelen",bq:"Helyettesítő szöveg módosítása",br:"Szín eltávolítása",bs:"Dokumentum színek",bt:"Szerkesztő eszköztár",bu:"További elemek",bv:"Bővített szövegszerkesztő",bw:"Bővített szövegszerkesztő, %0",bx:"Lenyíló eszköztár",by:"Visszavonás",bz:"Újra",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Mentés",cx:"Mégsem",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Fekete",dg:"Halvány szürke",dh:"Szürke",di:"Világosszürke",dj:"Fehér",dk:"Piros",dl:"Narancs",dm:"Sárga",dn:"Világoszöld",do:"Zöld",dp:"Kékeszöld",dq:"Türkiz",dr:"Világoskék",ds:"Kék",dt:"Lila",du:"%0 / %1",dv:"Előző",dw:"Következő",dx:"Helyettesítő szöveg",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Illessze be a média URL-jét.",ee:"Tipp: Illessze be a média URL-jét a tartalomba.",ef:"Média URL",eg:"Megnyitás új lapon",eh:"Letölthető",ei:"Link eltávolítása",ej:"Link szerkesztése",ek:"Link megnyitása új ablakban",el:"A link nem tartalmaz URL-t",em:"URL link",en:"Bekezdés",eo:"Címsor 1",ep:"Címsor 2",eq:"Címsor 3",er:"Címsor 4",es:"Címsor 5",et:"Címsor 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/id.js
Executable file
1
ckeditor5/build/translations/id.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['id']=Object.assign(d['id']||{},{a:"Tidak dapat mengunggah berkas:",b:"Alat gambar",c:"Alat tabel",d:"Kutipan",e:"Sisipkan gambar atau berkas",f:"Pilih tajuk",g:"Tajuk",h:"Tambah indentasi",i:"Kurangi indentasi",j:"Tautan",k:"Daftar Berangka",l:"Daftar Tak Berangka",m:"widget media",n:"Sisipkan media",o:"URL tidak boleh kosong.",p:"URL media ini tidak didukung.",q:"Sisipkan tabel",r:"Kolom tajuk",s:"Sisipkan kolom ke kiri",t:"Sisipkan kolom ke kanan",u:"Hapus kolom",v:"Kolom",w:"Baris tajuk",x:"Sisipkan baris ke bawah",y:"Sisipkan baris ke atas",z:"Hapus baris",aa:"Baris",ab:"Gabungkan sel ke atas",ac:"Gabungkan sel ke kanan",ad:"Gabungkan sel ke bawah",ae:"Gabungkan sel ke kiri",af:"Bagikan sel secara vertikal",ag:"Bagikan sel secara horizontal",ah:"Gabungkan sel",ai:"Rata kiri",aj:"Rata kanan",ak:"Rata tengah",al:"Rata kanan-kiri",am:"Perataan teks",an:"Alat perataan teks",ao:"Tebal",ap:"Miring",aq:"widget gambar",ar:"Tambahkan deskripsi gambar",as:"Gambar ukuran penuh",at:"Gambar sisi",au:"Gambar rata kiri",av:"Gambar rata tengah",aw:"Gambar rata kanan",ax:"Sisipkan gambar",ay:"Gagal mengunggah",az:"Warna Latar Huruf",ba:"Warna Huruf",bb:"Ukuran Huruf",bc:"Bawaan",bd:"Sangat Kecil",be:"Kecil",bf:"Besar",bg:"Sangat Besar",bh:"Jenis Huruf",bi:"Sedang mengunggah",bj:"Alat widget",bk:"Table properties",bl:"Cell properties",bm:"Gagal mendapatkan URL gambar terukur",bn:"Gagal memilih gambar terukur",bo:"Tidak dapat menyisipkan gambar pada posisi ini.",bp:"Gagal menyisipkan gambar",bq:"Ganti alternatif teks gambar",br:"Hapus warna",bs:"Warna dokumen",bt:"Alat editor",bu:"Show more items",bv:"Editor Teks Kaya",bw:"Editor Teks Kaya, %0",bx:"Alat dropdown",by:"Batal",bz:"Lakukan lagi",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Simpan",cx:"Batal",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Hitam",dg:"Kelabu gelap",dh:"Kelabu",di:"Kelabu terang",dj:"Putih",dk:"Merah",dl:"Jingga",dm:"Kuning",dn:"Hijau terang",do:"Hijau",dp:"Biru laut",dq:"Turkish",dr:"Biru terang",ds:"Biru",dt:"Ungu",du:"%0 dari %1",dv:"Sebelumnya",dw:"Berikutnya",dx:"Alternatif teks",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Tempelkan URL ke dalam bidang masukan.",ee:"Tip: Tempelkan URL ke bagian konten untuk sisip cepat.",ef:"URL Media",eg:"Buka di tab baru",eh:"Dapat diunduh",ei:"Hapus tautan",ej:"Sunting tautan",ek:"Buka tautan di tab baru",el:"Tautan ini tidak memiliki URL",em:"URL tautan",en:"Paragraf",eo:"Tajuk 1",ep:"Tajuk 2",eq:"Tajuk 3",er:"Tajuk 4",es:"Tajuk 5",et:"Tajuk 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/it.js
Executable file
1
ckeditor5/build/translations/it.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['it']=Object.assign(d['it']||{},{a:"Impossibile caricare il file:",b:"Barra degli strumenti dell'immagine",c:"Barra degli strumenti della tabella",d:"Blocco citazione",e:"Inserisci immagine o file",f:"Seleziona intestazione",g:"Intestazione",h:"Aumenta rientro",i:"Riduci rientro",j:"Collegamento",k:"Elenco numerato",l:"Elenco puntato",m:"widget media",n:"Inserisci media",o:"L'URL non può essere vuoto.",p:"Questo URL di file multimediali non è supportato.",q:"Inserisci tabella",r:"Intestazione colonna",s:"Inserisci colonna a sinistra",t:"Inserisci colonna a destra",u:"Elimina colonna",v:"Colonna",w:"Riga d'intestazione",x:"Inserisci riga sotto",y:"Inserisci riga sopra",z:"Elimina riga",aa:"Riga",ab:"Unisci cella sopra",ac:"Unisci cella a destra",ad:"Unisci cella sotto",ae:"Unisci cella a sinistra",af:"Dividi cella verticalmente",ag:"Dividi cella orizzontalmente",ah:"Unisci celle",ai:"Allinea a sinistra",aj:"Allinea a destra",ak:"Allinea al centro",al:"Giustifica",am:"Allineamento del testo",an:"Barra degli strumenti dell'allineamento",ao:"Grassetto",ap:"Corsivo",aq:"Widget immagine",ar:"inserire didascalia dell'immagine",as:"Immagine a dimensione intera",at:"Immagine laterale",au:"Immagine allineata a sinistra",av:"Immagine centrata",aw:"Immagine allineata a destra",ax:"Inserisci immagine",ay:"Caricamento fallito",az:"Colore di sfondo caratteri",ba:"Colore caratteri",bb:"Dimensione caratteri",bc:"Predefinito",bd:"Piccolissimi",be:"Piccoli",bf:"Grandi",bg:"Grandissimi",bh:"Tipo di caratteri",bi:"Caricamento in corso",bj:"Barra degli strumenti del widget",bk:"Table properties",bl:"Cell properties",bm:"Non è stato possibile ottenere l'URL dell'immagine ridimensionata.",bn:"La selezione dell'immagine ridimensionata è fallita",bo:"Non è stato possibile inserire l'immagine nella posizione corrente.",bp:"L'inserimento dell'immagine è fallito",bq:"Cambia testo alternativo dell'immagine",br:"Rimuovi colore",bs:"Colori del docmento",bt:"Barra degli strumenti dell'editor",bu:"Mostra più elementi",bv:"Editor di testo formattato",bw:"Editor di testo formattato, %0",bx:"Barra degli strumenti del menu a discesa",by:"Annulla",bz:"Ripristina",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Salva",cx:"Annulla",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Nero",dg:"Grigio tenue",dh:"Grigio",di:"Grigio chiaro",dj:"Bianco",dk:"Rosso",dl:"Arancio",dm:"Giallo",dn:"Verde chiaro",do:"Verde",dp:"Aquamarina",dq:"Turchese",dr:"Azzurro",ds:"Blu",dt:"Porpora",du:"%0 di %1",dv:"Indietro",dw:"Avanti",dx:"Testo alternativo",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Incolla l'URL del file multimediale nell'input.",ee:"Consiglio: incolla l'URL nel contenuto per un'incorporazione più veloce.",ef:"URL media",eg:"Apri in una nuova scheda",eh:"Scaricabile",ei:"Elimina collegamento",ej:"Modifica collegamento",ek:"Apri collegamento in nuova scheda",el:"Questo collegamento non ha un URL",em:"URL del collegamento",en:"Paragrafo",eo:"Intestazione 1",ep:"Intestazione 2",eq:"Intestazione 3",er:"Intestazione 4",es:"Intestazione 5",et:"Intestazione 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ja.js
Executable file
1
ckeditor5/build/translations/ja.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ja']=Object.assign(d['ja']||{},{a:"ファイルをアップロードできません:",b:"Image toolbar",c:"Table toolbar",d:"ブロッククオート(引用)",e:"画像やファイルの挿入",f:"見出しを選択",g:"見出し",h:"Increase indent",i:"Decrease indent",j:"リンク",k:"番号付きリスト",l:"箇条書きリスト",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"表の挿入",r:"見出し列",s:"Insert column left",t:"Insert column right",u:"列を削除",v:"列",w:"見出し行",x:"下に行を挿入",y:"上に行を挿入",z:"行を削除",aa:"行",ab:"上のセルと結合",ac:"右のセルと結合",ad:"下のセルと結合",ae:"左のセルと結合",af:"横にセルを分離",ag:"縦にセルを分離",ah:"セルを結合",ai:"左揃え",aj:"右揃え",ak:"中央揃え",al:"両端揃え",am:"文字揃え",an:"Text alignment toolbar",ao:"ボールド",ap:"イタリック",aq:"画像ウィジェット",ar:"画像の注釈を入力",as:"フルサイズ画像",at:"サイドイメージ",au:"左寄せ画像",av:"中央寄せ画像",aw:"右寄せ画像",ax:"画像挿入",ay:"アップロード失敗",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"アップロード中",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"画像の代替テキストを変更",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"リッチテキストエディター",bw:"リッチテキストエディター, %0",bx:"Dropdown toolbar",by:"元に戻す",bz:"やり直し",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"保存",cx:"キャンセル",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"代替テキスト",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"リンク解除",ej:"リンクを編集",ek:"新しいタブでリンクを開く",el:"リンクにURLが設定されていません",em:"リンクURL",en:"パラグラフ",eo:"見出し1",ep:"見出し2",eq:"見出し3 ",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/km.js
Executable file
1
ckeditor5/build/translations/km.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['km']=Object.assign(d['km']||{},{a:"មិនអាចអាប់ឡូតឯកសារ៖",b:"Image toolbar",c:"Table toolbar",d:"ប្លុកពាក្យសម្រង់",e:"Insert image or file",f:"ជ្រើសរើសក្បាលអត្ថបទ",g:"ក្បាលអត្ថបទ",h:"Increase indent",i:"Decrease indent",j:"តំណ",k:"បញ្ជីជាលេខ",l:"បញ្ជីជាចំណុច",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"ដិត",ap:"ទ្រេត",aq:"វិដជិតរូបភាព",ar:"បញ្ចូលពាក្យពណ៌នារូបភាព",as:"រូបភាពពេញទំហំ",at:"រូបភាពនៅខាង",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"បញ្ចូលរូបភាព",ay:"អាប់ឡូតមិនបាន",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"កម្មវិធីកែសម្រួលអត្ថបទសម្បូរបែប",bw:"កម្មវិធីកែសម្រួលអត្ថបទសម្បូរបែប, %0",bx:"Dropdown toolbar",by:"លែងធ្វើវិញ",bz:"ធ្វើវិញ",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"រក្សាទុ",cx:"បោះបង់",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"ផ្ដាច់តំណ",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"URL តំណ",en:"កថាខណ្ឌ",eo:"ក្បាលអត្ថបទ 1",ep:"ក្បាលអត្ថបទ 2",eq:"ក្បាលអត្ថបទ 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/kn.js
Executable file
1
ckeditor5/build/translations/kn.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['kn']=Object.assign(d['kn']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"ಗುರುತಿಸಲಾದ ಉಲ್ಲೇಖ",e:"Insert image or file",f:"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",g:"ಶೀರ್ಷಿಕೆ",h:"Increase indent",i:"Decrease indent",j:"ಕೊಂಡಿ",k:"ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ",l:"ಬುಲೆಟ್ ಪಟ್ಟಿ",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"ದಪ್ಪ",ap:"ಇಟಾಲಿಕ್",aq:"ಚಿತ್ರ ವಿಜೆಟ್",ar:"ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು",as:"ಪೂರ್ಣ ಅಳತೆಯ ಚಿತ್ರ",at:"ಪಕ್ಕದ ಚಿತ್ರ",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ",bw:"ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ, %0",bx:"Dropdown toolbar",by:"ರದ್ದು",bz:"ಮತ್ತೆ ಮಾಡು",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"ಉಳಿಸು",cx:"ರದ್ದುಮಾಡು",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"ಪಠ್ಯದ ಬದಲಿ",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"ಕೊಂಡಿ ತೆಗೆ",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು",en:"ಪ್ಯಾರಾಗ್ರಾಫ್",eo:"ಶೀರ್ಷಿಕೆ 1",ep:"ಶೀರ್ಷಿಕೆ 2",eq:"ಶೀರ್ಷಿಕೆ 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ko.js
Executable file
1
ckeditor5/build/translations/ko.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ko']=Object.assign(d['ko']||{},{a:"파일 업로드 불가",b:"Image toolbar",c:"Table toolbar",d:"인용 단락",e:"Insert image or file",f:"제목 선택",g:"제목",h:"Increase indent",i:"Decrease indent",j:"링크",k:"번호매기기",l:"글머리기호",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"왼쪽 맞춤",aj:"오른쪽 맞춤",ak:"가운데 맞춤",al:"양쪽 맞춤",am:"텍스트 정렬",an:"텍스트 정렬 툴바",ao:"굵게",ap:"기울임꼴",aq:"이미지 위젯",ar:"이미지 설명을 입력하세요",as:"문서 너비",at:"내부 우측 정렬",au:"왼쪽 정렬",av:"가운데 정렬",aw:"오른쪽 정렬",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"대체 텍스트 변경",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"실행 취소",bz:"다시 실행",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"저장",cx:"취소",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"대체 텍스트",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"링크 삭제",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"링크 주소",en:"문단",eo:"제목1",ep:"제목2",eq:"제목3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ku.js
Executable file
1
ckeditor5/build/translations/ku.js
Executable file
File diff suppressed because one or more lines are too long
1
ckeditor5/build/translations/lt.js
Executable file
1
ckeditor5/build/translations/lt.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['lt']=Object.assign(d['lt']||{},{a:"Negalima įkelti failo:",b:"Image toolbar",c:"Table toolbar",d:"Citata",e:"Įterpti vaizdą ar failą",f:"Pasirinkite antraštę",g:"Antraštė",h:"Padidinti atitraukimą",i:"Sumažinti atitraukimą",j:"Pridėti nuorodą",k:"Numeruotas rąrašas",l:"Sąrašas",m:"media valdiklis",n:"Įterpkite media",o:"URL negali būti tuščias.",p:"Šis media URL yra nepalaikomas.",q:"Įterpti lentelę",r:"Antraštės stulpelis",s:"Įterpti stulpelį kairėje",t:"Įterpti stulpelį dešinėje",u:"Ištrinti stulpelį",v:"Stulpelis",w:"Antraštės eilutė",x:"Įterpti eilutę žemiau",y:"Įterpti eilutę aukščiau",z:"Ištrinti eilutę",aa:"Eilutė",ab:"Prijungti langelį viršuje",ac:"Prijungti langelį dešinėje",ad:"Prijungti langelį apačioje",ae:"Prijungti langelį kairėje",af:"Padalinti langelį vertikaliai",ag:"Padalinti langelį horizontaliai",ah:"Sujungti langelius",ai:"Lygiuoti į kairę",aj:"Lygiuoti į dešinę",ak:"Centruoti",al:"Lygiuoti per visą plotį",am:"Teksto lygiavimas",an:"Text alignment toolbar",ao:"Paryškintas",ap:"Kursyvas",aq:"vaizdų valdiklis",ar:"Įveskite vaizdo antraštę",as:"Pilno dydžio vaizdas",at:"Vaizdas šone",au:"Vaizdas kairėje",av:"Vaizdas centre",aw:"Vaizdas dešinėje",ax:"Įterpti vaizdą",ay:"Įkelti nepavyko",az:"Šrifto fono spalva",ba:"Šrifto spalva",bb:"Šrifto dydis",bc:"Numatyta",bd:"Mažytis",be:"Mažas",bf:"Didelis",bg:"Milžiniškas",bh:"Šrifto šeima",bi:"Įkelima",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Nepavyko gauti pakeisto dydžio paveiksliuko URL.",bn:"Nepavyko pasirinkti pakeisto vaizdo",bo:"Nepavyko įterpti vaizdo į dabartinę vietą.",bp:"Nepavyko įterpti vaizdo",bq:"Pakeisti vaizdo alternatyvųjį tekstą",br:"Pašalinti spalvą",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Raiškiojo teksto redaktorius",bw:"Raiškiojo teksto redaktorius, %0",bx:"Dropdown toolbar",by:"Atgal",bz:"Pirmyn",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Išsaugoti",cx:"Atšaukti",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Juoda",dg:"Pilkšva",dh:"Pilka",di:"Šviesiai pilka",dj:"Balta",dk:"Raudona",dl:"Oranžinė",dm:"Geltona",dn:"Šviesiai žalia",do:"Žalia",dp:"Aquamarine",dq:"Turkio",dr:"Šviesiai mėlyna",ds:"Mėlyna",dt:"Violetinė",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Alternatyvusis tekstas",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Įklijuokite media URL adresą į įvedimo lauką.",ee:"Patarimas: norėdami greičiau įterpti media tiesiog įklijuokite URL į turinį.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Pašalinti nuorodą",ej:"Keisti nuorodą",ek:"Atidaryti nuorodą naujame skirtuke",el:"Ši nuorda neturi URL",em:"Nuorodos URL",en:"Paragrafas",eo:"Antraštė 1",ep:"Antraštė 2",eq:"Antraštė 3",er:"Antraštė 4",es:"Antraštė 5",et:"Antraštė 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/lv.js
Executable file
1
ckeditor5/build/translations/lv.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['lv']=Object.assign(d['lv']||{},{a:"Nevar augšupielādēt failu:",b:"Attēlu rīkjosla",c:"Tabulas rīkjosla",d:"Citāts",e:"Ievietot attēlu vai failu",f:"Izvēlēties virsrakstu",g:"Virsraksts",h:"Palielināt atkāpi",i:"Samazināt atkāpi",j:"Saite",k:"Numurēts Saraksts",l:"Nenumurēts Saraksts",m:"medija sīkrīks",n:"Ievietot mediju",o:"URL ir jābūt ievadītam.",p:"Šis medija URL netiek atbalstīts.",q:"Ievietot tabulu",r:"Šī kolonna ir galvene",s:"Ievietot kolonnu pa kreisi",t:"Ievietot kolonnu pa labi",u:"Dzēst kolonnu",v:"Kolonna",w:"Šī rinda ir galvene",x:"Ievietot rindu zem",y:"Ievietot rindu virs",z:"Dzēst rindu",aa:"Rinda",ab:"Apvienot šūnas uz augšu",ac:"Apvienot šūnas pa labi",ad:"Apvienot šūnas uz leju",ae:"Apvienot šūnas pa kreisi",af:"Atdalīt šūnu vertikāli",ag:"Atdalīt šūnu horizontāli",ah:"Apvienot šūnas",ai:"Pa kreisi",aj:"Pa labi",ak:"Centrēt",al:"Izlīdzināt abas malas",am:"Teksta izlīdzināšana",an:"Teksta līdzināšanas rīkjosla",ao:"Trekns",ap:"Kursīvs",aq:"attēla sīkrīks",ar:"Ievadiet attēla parakstu",as:"Pilna izmēra attēls",at:"Sānā novietots attēls",au:"Pa kreisi līdzināts attēls",av:"Centrēts attēls",aw:"Pa labi līdzināts attēls",ax:"Ievietot attēlu",ay:"Augšupielāde neizdevusies",az:"Fonta fona krāsa",ba:"Fonta krāsa",bb:"Fonta Lielums",bc:"Noklusējuma",bd:"Ļoti mazs",be:"Mazs",bf:"Liels",bg:"Milzīgs",bh:"Fonts",bi:"Notiek augšupielāde",bj:"Sīkrīku rīkjosla",bk:"Table properties",bl:"Cell properties",bm:"Nevarēja iegūt mērogotā attēla adresi.",bn:"Nevarēja izvēlēties mērogoto attēlu.",bo:"Pašreizējā pozīcijā attēlu nevarēja ievietot.",bp:"Nevarēja ievietot attēlu",bq:"Mainīt attēla alternatīvo tekstu",br:"Noņemt krāsu",bs:"Krāsas dokumentā",bt:"Redaktora rīkjosla",bu:"Parādīt vairāk vienumus",bv:"Bagātinātais Teksta Redaktors",bw:"Bagātinātais Teksta Redaktors, %0",bx:"Papildus izvēlnes rīkjosla",by:"Atsaukt",bz:"Uz priekšu",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Saglabāt",cx:"Atcelt",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Melns",dg:"Blāvi pelēks",dh:"Pelēks",di:"Gaiši pelēks",dj:"Balts",dk:"Sarkans",dl:"Oranžs",dm:"Dzeltens",dn:"Gaiši zaļš",do:"Zaļš",dp:"Akvamarīns",dq:"Tirkīza",dr:"Gaiši zils",ds:"Zils",dt:"Violets",du:"%0 no %1",dv:"Iepriekšējā",dw:"Nākamā",dx:"Alternatīvais teksts",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Ielīmējiet medija URL teksta laukā.",ee:"Padoms: Ielīmējiet adresi saturā, lai iegultu",ef:"Medija URL",eg:"Atvērt jaunā cilnē",eh:"Lejupielādējams",ei:"Noņemt Saiti",ej:"Labot Saiti",ek:"Atvērt saiti jaunā cilnē",el:"Saitei nav norādīts URL",em:"Saites URL",en:"Pagrāfs",eo:"Virsraksts 1",ep:"Virsraksts 2",eq:"Virsraksts 3",er:"Virsraksts 4",es:"Virsraksts 5",et:"Virsraksts 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ms.js
Executable file
1
ckeditor5/build/translations/ms.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ms']=Object.assign(d['ms']||{},{a:"Gagal memuat naik fail",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Bold",ap:"Italic",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Save",cx:"Cancel",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/nb.js
Executable file
1
ckeditor5/build/translations/nb.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['nb']=Object.assign(d['nb']||{},{a:"Kan ikke laste opp fil:",b:"Image toolbar",c:"Table toolbar",d:"Blokksitat",e:"Insert image or file",f:"Velg overskrift",g:"Overskrift",h:"Increase indent",i:"Decrease indent",j:"Lenke",k:"Nummerert liste",l:"Punktmerket liste",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Sett inn tabell",r:"Overskriftkolonne",s:"Insert column left",t:"Insert column right",u:"Slett kolonne",v:"Kolonne",w:"Overskriftrad",x:"Sett inn rad under",y:"Sett inn rad over",z:"Slett rad",aa:"Rad",ab:"Slå sammen celle opp",ac:"Slå sammen celle til høyre",ad:"Slå sammen celle ned",ae:"Slå sammen celle til venstre",af:"Del celle vertikalt",ag:"Del celle horisontalt",ah:"Slå sammen celler",ai:"Venstrejuster",aj:"Høyrejuster",ak:"Midstill",al:"Blokkjuster",am:"Tekstjustering",an:"Text alignment toolbar",ao:"Fet",ap:"Kursiv",aq:"Bilde-widget",ar:"Skriv inn bildetekst",as:"Bilde i full størrelse",at:"Sidebilde",au:"Venstrejustert bilde",av:"Midtstilt bilde",aw:"Høyrejustert bilde",ax:"Sett inn bilde",ay:"Opplasting feilet",az:"Font Background Color",ba:"Font Color",bb:"Skriftstørrelse",bc:"Standard",bd:"Veldig liten",be:"Liten",bf:"Stor",bg:"Veldig stor",bh:"Skrifttype",bi:"Opplasting pågår",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Endre tekstalternativ for bilde",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rikteksteditor",bw:"Rikteksteditor, %0",bx:"Dropdown toolbar",by:"Angre",bz:"Gjør om",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Lagre",cx:"Avbryt",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Tekstalternativ for bilde",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Fjern lenke",ej:"Rediger lenke",ek:"Åpne lenke i ny fane",el:"Denne lenken har ingen URL",em:"URL for lenke",en:"Avsnitt",eo:"Overskrift 1",ep:"Overskrift 2",eq:"Overskrift 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ne.js
Executable file
1
ckeditor5/build/translations/ne.js
Executable file
File diff suppressed because one or more lines are too long
1
ckeditor5/build/translations/nl.js
Executable file
1
ckeditor5/build/translations/nl.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['nl']=Object.assign(d['nl']||{},{a:"Kan bestand niet uploaden:",b:"Afbeeldingswerkbalk",c:"Tabel werkbalk",d:"Blok citaat",e:"Voeg afbeelding of bestand in",f:"Kies kop",g:"Koppen",h:"Inspringen",i:"Minder inspringen",j:"Link",k:"Genummerde lijst",l:"Ongenummerde lijst",m:"media widget",n:"Voer media in",o:"De URL mag niet leeg zijn.",p:"Deze media URL wordt niet ondersteund.",q:"Tabel invoegen",r:"Titel kolom",s:"Kolom links invoegen",t:"Kolom rechts invoegen",u:"Verwijder kolom",v:"Kolom",w:"Titel rij",x:"Rij hieronder invoegen",y:"Rij hierboven invoegen",z:"Verwijder rij",aa:"Rij",ab:"Cel hierboven samenvoegen",ac:"Cel hierna samenvoegen",ad:"Cel hieronder samenvoegen",ae:"Cel hiervoor samenvoegen",af:"Splits cel verticaal",ag:"Splits cel horizontaal",ah:"Cellen samenvoegen",ai:"Links uitlijnen",aj:"Rechts uitlijnen",ak:"Midden uitlijnen",al:"Volledig uitlijnen",am:"Tekst uitlijning",an:"Tekst uitlijning werkbalk",ao:"Vet",ap:"Cursief",aq:"afbeeldingswidget",ar:"Typ een afbeeldingsbijschrift",as:"Afbeelding op volledige grootte",at:"Afbeelding naast tekst",au:"Links uitgelijnde afbeelding",av:"Gecentreerde afbeelding",aw:"Rechts uitgelijnde afbeelding",ax:"Afbeelding toevoegen",ay:"Uploaden afbeelding mislukt",az:"Tekst achtergrondkleur",ba:"Tekstkleur",bb:"Lettergrootte",bc:"Standaard",bd:"Zeer klein",be:"Klein",bf:"Groot",bg:"Zeer groot",bh:"Lettertype",bi:"Bezig met uploaden",bj:"Widget werkbalk",bk:"Table properties",bl:"Cell properties",bm:"Het is niet gelukt de geschaalde afbeelding URL te verkrijgen.",bn:"De geschaalde afbeelding selecteren is niet gelukt",bo:"Kan afbeelding niet op de huidige positie invoegen.",bp:"Afbeelding invoegen niet gelukt",bq:"Verander alt-tekst van de afbeelding",br:"Verwijder kleur",bs:"Document kleur",bt:"Editor welkbalk",bu:"Meer items weergeven",bv:"Tekstbewerker",bw:"Tekstbewerker, 0%",bx:"Drop-down werkbalk",by:"Ongedaan maken",bz:"Opnieuw",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Opslaan",cx:"Annuleren",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Zwart",dg:"Gedimd grijs",dh:"Grijs",di:"Lichtgrijs",dj:"Wit",dk:"Rood",dl:"Oranje",dm:"Geel",dn:"Lichtgroen",do:"Groen",dp:"Aquamarijn",dq:"Turquoise",dr:"Lichtblauw",ds:"Blauw",dt:"Paars",du:"0% van 1%",dv:"Vorige",dw:"Volgende",dx:"Alt-tekst",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Plak de media URL in het invoerveld.",ee:"Tip: plak de URL in de inhoud om deze sneller in te laten sluiten.",ef:"Media URL",eg:"Open een nieuw tabblad",eh:"Downloadbaar",ei:"Verwijder link",ej:"Bewerk link",ek:"Open link in nieuw tabblad",el:"Deze link heeft geen URL",em:"Link URL",en:"Paragraaf",eo:"Kop 1",ep:"Kop 2",eq:"Kop 3",er:"Kop 4",es:"Kop 5",et:"Kop 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/no.js
Executable file
1
ckeditor5/build/translations/no.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['no']=Object.assign(d['no']||{},{a:"Kan ikke laste opp fil:",b:"Image toolbar",c:"Table toolbar",d:"Blokksitat",e:"Sett inn bilde eller fil",f:"Velg overskrift",g:"Overskrift",h:"Øk innrykk",i:"Reduser innrykk",j:"Lenke",k:"Nummerert liste",l:"Punktliste",m:"media-widget",n:"Sett inn media",o:"URL-en kan ikke være tom.",p:"Denne media-URL-en er ikke støttet.",q:"Sett inn tabell",r:"Overskriftkolonne",s:"Sett inn kolonne til venstre",t:"Sett inn kolonne til høyre",u:"Slett kolonne",v:"Kolonne",w:"Overskriftrad",x:"Sett inn rad under",y:"Sett inn rad over",z:"Slett rad",aa:"Rad",ab:"Slå sammen celle over",ac:"Slå sammen celle til høyre",ad:"Slå sammen celle under",ae:"Slå sammen celle til venstre",af:"Del opp celle vertikalt",ag:"Del opp celle horisontalt",ah:"Slå sammen celler",ai:"Venstrejuster",aj:"Høyrejuster",ak:"Midtstill",al:"Blokkjuster",am:"Tekstjustering",an:"Text alignment toolbar",ao:"Fet",ap:"Kursiv",aq:"Bilde-widget",ar:"Skriv inn bildetekst",as:"Bilde i full størrelse",at:"Sidestilt bilde",au:"Venstrejustert bilde",av:"Midtstilt bilde",aw:"Høyrejustert bilde",ax:"Sett inn bilde",ay:"Kunne ikke laste opp",az:"Uthevingsfarge for tekst",ba:"Skriftfarge",bb:"Skriftstørrelse",bc:"Standard",bd:"Veldig liten",be:"Liten",bf:"Stor",bg:"Veldig stor",bh:"Skrifttypefamilie",bi:"Laster opp fil",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Kunne ikke finne URL for bilde med endret størrelse.",bn:"Kunne ikke velge bilde med endret størrelse",bo:"Kunne ikke sette inn bilde på gjeldende posisjon.",bp:"Innsetting av bilde mislyktes",bq:"Endre tekstalternativ til bildet",br:"Fjern farge",bs:"Dokumentfarger",bt:"Editor toolbar",bu:"Show more items",bv:"Tekstredigeringsverktøy for rik tekst",bw:"Tekstredigeringsverktøy for rik tekst, %0",bx:"Dropdown toolbar",by:"Angre",bz:"Gjør om",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Lagre",cx:"Avbryt",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Svart",dg:"Svak grå",dh:"Grå",di:"Lysegrå",dj:"Hvit",dk:"Rød",dl:"Oransje",dm:"Gul",dn:"Lysegrønn",do:"Grønn",dp:"Akvamarin",dq:"Turkis",dr:"Lyseblå",ds:"Blå",dt:"Lilla",du:"%0 av %1",dv:"Forrige",dw:"Neste",dx:"Tekstalternativ",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media-URL",eg:"Åpne i ny fane",eh:"Nedlastbar",ei:"Fjern lenke",ej:"Rediger lenke",ek:"Åpne lenke i ny fane",el:"Denne lenken mangler en URL",em:"Lenke-URL",en:"Avsnitt",eo:"Overskrift 1",ep:"Overskrift 2",eq:"Overskrift 3",er:"Overskrift 4",es:"Overskrift 5",et:"Overskrift 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/oc.js
Executable file
1
ckeditor5/build/translations/oc.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['oc']=Object.assign(d['oc']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Heading",h:"Increase indent",i:"Decrease indent",j:"Link",k:"Numbered List",l:"Bulleted List",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Align left",aj:"Align right",ak:"Align center",al:"Justify",am:"Text alignment",an:"Text alignment toolbar",ao:"Gras",ap:"Italica",aq:"image widget",ar:"Enter image caption",as:"Full size image",at:"Side image",au:"Left aligned image",av:"Centered image",aw:"Right aligned image",ax:"Insert image",ay:"Upload failed",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Default",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Rich Text Editor",bw:"Rich Text Editor, %0",bx:"Dropdown toolbar",by:"Undo",bz:"Redo",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Enregistrar",cx:"Anullar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Text alternative",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Unlink",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"Link URL",en:"Paragraph",eo:"Heading 1",ep:"Heading 2",eq:"Heading 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/pl.js
Executable file
1
ckeditor5/build/translations/pl.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['pl']=Object.assign(d['pl']||{},{a:"Nie można przesłać pliku:",b:"Pasek narzędzi obrazka",c:"Pasek narzędzi tabel",d:"Cytat blokowy",e:"Wstaw obrazek lub plik",f:"Wybierz nagłówek",g:"Nagłówek",h:"Zwiększ wcięcie",i:"Zmniejsz wcięcie",j:"Wstaw odnośnik",k:"Lista numerowana",l:"Lista wypunktowana",m:"widget osadzenia mediów",n:"Wstaw media",o:"Adres URL nie może być pusty.",p:"Ten rodzaj adresu URL nie jest obsługiwany.",q:"Wstaw tabelę",r:"Kolumna nagłówka",s:"Wstaw kolumnę z lewej",t:"Wstaw kolumnę z prawej",u:"Usuń kolumnę",v:"Kolumna",w:"Wiersz nagłówka",x:"Wstaw wiersz poniżej",y:"Wstaw wiersz ponad",z:"Usuń wiersz",aa:"Wiersz",ab:"Scal komórkę w górę",ac:"Scal komórkę w prawo",ad:"Scal komórkę w dół",ae:"Scal komórkę w lewo",af:"Podziel komórkę pionowo",ag:"Podziel komórkę poziomo",ah:"Scal komórki",ai:"Wyrównaj do lewej",aj:"Wyrównaj do prawej",ak:"Wyrównaj do środka",al:"Wyrównaj obustronnie",am:"Wyrównanie tekstu",an:"Pasek narzędzi wyrównania tekstu",ao:"Pogrubienie",ap:"Kursywa",aq:"Obraz",ar:"Wstaw tytuł obrazka",as:"Obraz w pełnym rozmiarze",at:"Obraz dosunięty do brzegu, oblewany tekstem",au:"Obraz wyrównany do lewej",av:"Obraz wyrównany do środka",aw:"Obraz wyrównany do prawej",ax:"Wstaw obraz",ay:"Przesyłanie obrazu nie powiodło się",az:"Kolor tła czcionki",ba:"Kolor czcionki",bb:"Rozmiar czcionki",bc:"Domyślny",bd:"Bardzo mały",be:"Mały",bf:"Duży",bg:"Bardzo duży",bh:"Czcionka",bi:"Trwa przesyłanie",bj:"Pasek widgetów",bk:"Table properties",bl:"Cell properties",bm:"Nie można pobrać adresu URL obrazka po przeskalowaniu.",bn:"Wybranie obrazka po przeskalowaniu nie powiodło się.",bo:"Nie można wstawić obrazka w bieżącej lokalizacji.",bp:"Wstawienie obrazka nie powiodło się.",bq:"Zmień tekst zastępczy obrazka",br:"Usuń kolor",bs:"Kolory dokumentu",bt:"Pasek narzędzi edytora",bu:"Pokaż więcej",bv:"Edytor tekstu sformatowanego",bw:"Edytor tekstu sformatowanego, %0",bx:"Rozwijany pasek narzędzi",by:"Cofnij",bz:"Ponów",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Zapisz",cx:"Anuluj",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Czarny",dg:"Ciemnoszary",dh:"Szary",di:"Jasnoszary",dj:"Biały",dk:"Czerwony",dl:"Pomarańczowy",dm:"Żółty",dn:"Jasnozielony",do:"Zielony",dp:"Akwamaryna",dq:"Turkusowy",dr:"Jasnoniebieski",ds:"Niebieski",dt:"Purpurowy",du:"%0 z %1",dv:"Poprzedni",dw:"Następny",dx:"Tekst zastępczy obrazka",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Wklej adres URL mediów do pola.",ee:"Wskazówka: Wklej URL do treści edytora, by łatwiej osadzić media.",ef:"Adres URL",eg:"Otwórz w nowej zakładce",eh:"Do pobrania",ei:"Usuń odnośnik",ej:"Edytuj odnośnik",ek:"Otwórz odnośnik w nowym oknie",el:"Nie podano adresu URL odnośnika",em:"Adres URL",en:"Akapit",eo:"Nagłówek 1",ep:"Nagłówek 2",eq:"Nagłówek 3",er:"Nagłówek 4",es:"Nagłówek 5",et:"Nagłówek 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/pt-br.js
Executable file
1
ckeditor5/build/translations/pt-br.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['pt-br']=Object.assign(d['pt-br']||{},{a:"Não foi possível enviar o arquivo:",b:"Ferramentas de Imagem",c:"Ferramentas de Tabela",d:"Bloco de citação",e:"Inserir imagem ou arquivo",f:"Escolha o título",g:"Titulo",h:"Aumentar indentação",i:"Diminuir indentação",j:"Link",k:"Lista numerada",l:"Lista com marcadores",m:"Ferramenta de mídia",n:"Inserir mídia",o:"A URL não pode ficar em branco.",p:"A URL desta mídia não é suportada.",q:"Inserir tabela",r:"Coluna de cabeçalho",s:"Inserir coluna à esquerda",t:"Inserir coluna à direita",u:"Excluir coluna",v:"Coluna",w:"Linha de cabeçalho",x:"Inserir linha abaixo",y:"Inserir linha acima",z:"Excluir linha",aa:"Linha",ab:"Mesclar acima",ac:"Mesclar à direita",ad:"Mesclar abaixo",ae:"Mesclar à esquerda",af:"Dividir verticalmente",ag:"Dividir horizontalmente",ah:"Mesclar células",ai:"Alinhar à esquerda",aj:"Alinhar à direita",ak:"Centralizar",al:"Justificar",am:"Alinhamento do texto",an:"Ferramentas de alinhamento de texto",ao:"Negrito",ap:"Itálico",aq:"Ferramenta de imagem",ar:"Inserir legenda da imagem",as:"Imagem completa",at:"Imagem lateral",au:"Imagem alinhada à esquerda",av:"Imagem centralizada",aw:"Imagem alinhada à direita",ax:"Inserir imagem",ay:"Falha ao subir arquivo",az:"Cor de Fundo",ba:"Cor da Fonte",bb:"Tamanho da fonte",bc:"Padrão",bd:"Minúsculo",be:"Pequeno",bf:"Grande",bg:"Gigante",bh:"Fonte",bi:"Enviando dados",bj:"Ferramentas de Widgets",bk:"Table properties",bl:"Cell properties",bm:"Não foi possível obter o endereço da imagem redimensionada",bn:"Seleção da imagem redimensionada falhou",bo:"Não foi possível inserir a imagem na posição atual",bp:"Falha ao inserir imagem",bq:"Alterar texto alternativo da imagem",br:"Remover cor",bs:"Cores do documento",bt:"Ferramentas do Editor",bu:"Exibir mais itens",bv:"Editor de Formatação",bw:"Editor de Formatação, %0",bx:"Barra de Ferramentas da Lista Suspensa",by:"Desfazer",bz:"Refazer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Salvar",cx:"Cancelar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Preto",dg:"Cinza escuro",dh:"Cinza",di:"Cinza claro",dj:"Branco",dk:"Vermelho",dl:"Laranja",dm:"Amarelo",dn:"Verde claro",do:"Verde",dp:"Água-marinha",dq:"Turquesa",dr:"Azul claro",ds:"Azul",dt:"Púrpura",du:"%0 de %1",dv:"Anterior",dw:"Próximo",dx:"Texto alternativo",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Cole o endereço da mídia no campo.",ee:"Cole o endereço dentro do conteúdo para embutir mais rapidamente.",ef:"URL da mídia",eg:"Abrir em nova aba",eh:"Pode ser baixado",ei:"Remover link",ej:"Editar link",ek:"Abrir link em nova aba",el:"Este link não possui uma URL",em:"URL",en:"Parágrafo",eo:"Título 1",ep:"Título 2",eq:"Título 3",er:"Título 4",es:"Título 5",et:"Título 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/pt.js
Executable file
1
ckeditor5/build/translations/pt.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['pt']=Object.assign(d['pt']||{},{a:"Não foi possível carregar o ficheiro:",b:"Image toolbar",c:"Table toolbar",d:"Block quote",e:"Insert image or file",f:"Choose heading",g:"Cabeçalho",h:"Increase indent",i:"Decrease indent",j:"Hiperligação",k:"Lista ordenada",l:"Lista não ordenada",m:"media widget",n:"Insert media",o:"The URL must not be empty.",p:"This media URL is not supported.",q:"Insert table",r:"Header column",s:"Insert column left",t:"Insert column right",u:"Delete column",v:"Column",w:"Header row",x:"Insert row below",y:"Insert row above",z:"Delete row",aa:"Row",ab:"Merge cell up",ac:"Merge cell right",ad:"Merge cell down",ae:"Merge cell left",af:"Split cell vertically",ag:"Split cell horizontally",ah:"Merge cells",ai:"Alinhar à esquerda",aj:"Alinhar à direita",ak:"Alinhar ao centro",al:"Justificar",am:"Alinhamento de texto",an:"Ferramentas de alinhamento de texto",ao:"Negrito",ap:"Itálico",aq:"módulo de imagem",ar:"Indicar legenda da imagem",as:"Imagem em tamanho completo",at:"Imagem lateral",au:"Left aligned image",av:"Imagem centrada",aw:"Right aligned image",ax:"Inserir imagem",ay:"Falha ao carregar",az:"Font Background Color",ba:"Font Color",bb:"Font Size",bc:"Padrão",bd:"Tiny",be:"Small",bf:"Big",bg:"Huge",bh:"Font Family",bi:"Upload in progress",bj:"Widget toolbar",bk:"Table properties",bl:"Cell properties",bm:"Could not obtain resized image URL.",bn:"Selecting resized image failed",bo:"Could not insert image at the current position.",bp:"Inserting image failed",bq:"Change image text alternative",br:"Remove color",bs:"Document colors",bt:"Editor toolbar",bu:"Show more items",bv:"Editor de texto avançado",bw:"Editor de texto avançado, %0",bx:"Dropdown toolbar",by:"Desfazer",bz:"Refazer",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Guardar",cx:"Cancelar",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Black",dg:"Dim grey",dh:"Grey",di:"Light grey",dj:"White",dk:"Red",dl:"Orange",dm:"Yellow",dn:"Light green",do:"Green",dp:"Aquamarine",dq:"Turquoise",dr:"Light blue",ds:"Blue",dt:"Purple",du:"%0 of %1",dv:"Previous",dw:"Next",dx:"Texto alternativo",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Paste the media URL in the input.",ee:"Tip: Paste the URL into the content to embed faster.",ef:"Media URL",eg:"Open in a new tab",eh:"Downloadable",ei:"Desligar",ej:"Edit link",ek:"Open link in new tab",el:"This link has no URL",em:"URL da ligação",en:"Parágrafo",eo:"Cabeçalho 1",ep:"Cabeçalho 2",eq:"Cabeçalho 3",er:"Heading 4",es:"Heading 5",et:"Heading 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
1
ckeditor5/build/translations/ro.js
Executable file
1
ckeditor5/build/translations/ro.js
Executable file
@ -0,0 +1 @@
|
||||
(function(d){d['ro']=Object.assign(d['ro']||{},{a:"Nu se poate încărca fișierul:",b:"Bară imagine",c:"Bară tabel",d:"Bloc citat",e:"Inserează imagine sau fișier",f:"Alege titlu",g:"Titlu",h:"Mărește indent",i:"Micșorează indent",j:"Link",k:"Listă numerotată",l:"Listă cu puncte",m:"widget media",n:"Inserează media",o:"URL-ul nu trebuie să fie gol.",p:"Acest URL media nu este suportat.",q:"Inserează tabel",r:"Antet coloană",s:"Inserează coloană la stânga",t:"Inserează coloană la dreapta",u:"Șterge coloană",v:"Coloană",w:"Rând antet",x:"Inserează rând dedesubt",y:"Inserează rând deasupra",z:"Șterge rând",aa:"Rând",ab:"Îmbină celula în sus",ac:"Îmbină celula la dreapta",ad:"Îmbină celula în jos",ae:"Îmbină celula la stânga",af:"Scindează celula pe verticală",ag:"Scindează celula pe orizontală",ah:"Îmbină celulele",ai:"Aliniază la stânga",aj:"Aliniază la dreapta",ak:"Aliniază la centru",al:"Aliniază stânga-dreapta",am:"Aliniere text",an:"Bara aliniere text",ao:"Îngroșat",ap:"Cursiv",aq:"widget imagine",ar:"Introdu titlul descriptiv al imaginii",as:"Imagine mărime completă",at:"Imagine laterală",au:"Imagine aliniată la stânga",av:"Imagine aliniată pe centru",aw:"Imagine aliniată la dreapta",ax:"Inserează imagine",ay:"Încărcare eșuată",az:"Culoarea de fundal a fontului",ba:"Culoare font",bb:"Dimensiune font",bc:"Implicită",bd:"Foarte mică",be:"Mică",bf:"Mare",bg:"Foarte mare",bh:"Familie font",bi:"Încărcare în curs",bj:"Bară widget",bk:"Table properties",bl:"Cell properties",bm:"Nu se poate obtine URL-ul imaginii redimensionate.",bn:"Selecția imaginii redimensionate eșuată",bo:"Nu se poate insera imaginea la poziția curentă.",bp:"Inserție imagine eșuată",bq:"Schimbă textul alternativ al imaginii",br:"Șterge culoare",bs:"Culorile din document",bt:"Bară editor",bu:"Show more items",bv:"Editor de text",bw:"Editor de text, %0",bx:"Bară listă opțiuni",by:"Anulare",bz:"Revenire",ca:"None",cb:"Solid",cc:"Dotted",cd:"Dashed",ce:"Double",cf:"Groove",cg:"Ridge",ch:"Inset",ci:"Outset",cj:"The color is invalid. Try \"#FF0000\" or \"rgb(255,0,0)\" or \"red\".",ck:"The value is invalid. Try \"10px\" or \"2em\" or simply \"2\".",cl:"Border",cm:"Style",cn:"Width",co:"Color",cp:"Background",cq:"Dimensions",cr:"Height",cs:"Padding",ct:"Table cell text alignment",cu:"Horizontal text alignment toolbar",cv:"Vertical text alignment toolbar",cw:"Salvare",cx:"Anulare",cy:"Align cell text to the left",cz:"Align cell text to the center",da:"Align cell text to the right",db:"Justify cell text",dc:"Align cell text to the top",dd:"Align cell text to the middle",de:"Align cell text to the bottom",df:"Negru",dg:"Gri slab",dh:"Gri",di:"Gri deschis",dj:"Alb",dk:"Roșu",dl:"Portocaliu",dm:"Galben",dn:"Verde deschis",do:"Verde",dp:"Acvamarin",dq:"Turcoaz",dr:"Albastru deschis",ds:"Albastru",dt:"Violet",du:"%0 din %1",dv:"Înapoi",dw:"Înainte",dx:"Text alternativ",dy:"Alignment",dz:"Table alignment toolbar",ea:"Align table to the left",eb:"Center table",ec:"Align table to the right",ed:"Adaugă URL-ul media in input.",ee:"Sugestie: adaugă URL-ul în conținut pentru a fi adăugat mai rapid.",ef:"Media URL",eg:"Deschide în tab nou",eh:"Descărcabil",ei:"Șterge link",ej:"Modifică link",ek:"Deschide link în tab nou",el:"Acest link nu are niciun URL",em:"Link URL",en:"Paragraf",eo:"Titlu 1",ep:"Titlu 2",eq:"Titlu 3",er:"Titlu 4",es:"Titlu 5",et:"Titlu 6"})})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user