Server geändert
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<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>
|
||||
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- remove this if you use Modernizr -->
|
||||
@ -44,7 +44,7 @@
|
||||
<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>
|
||||
<label for="file-5"><figure><svg xmlns="https://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>
|
||||
|
@ -76,7 +76,7 @@ switch ($action) {
|
||||
<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>
|
||||
<script src=\"https://html5shiv.googlecode.com/svn/trunk/html5.js\"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- remove this if you use Modernizr -->
|
||||
@ -112,7 +112,7 @@ switch ($action) {
|
||||
<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>
|
||||
<label for=\"file-5\"><figure><svg xmlns=\"https://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>
|
||||
@ -169,7 +169,7 @@ switch ($action) {
|
||||
break;
|
||||
case "csvimp":
|
||||
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
$name = $_FILES['file']['name'];
|
||||
|
||||
@ -322,7 +322,7 @@ switch ($action) {
|
||||
"_"
|
||||
), $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
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: https://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;
|
||||
|
@ -434,7 +434,7 @@ if ($action == 'upload') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
@ -569,7 +569,7 @@ if ($action == 'descr') {
|
||||
################################################
|
||||
# Speicherung der Dokumentenbeschreibung
|
||||
################################################
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
$username_kand = $_SESSION["username_kand"];
|
||||
|
||||
@ -856,7 +856,7 @@ if ($action == 'save_praxis') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
$result_anz = $db->query("SELECT count(*) Anz
|
||||
FROM bpm_dst_wunsch
|
||||
WHERE ka_id = '$ka_id'");
|
||||
@ -874,7 +874,7 @@ if ($action == 'save_praxis') {
|
||||
exit;
|
||||
}
|
||||
|
||||
$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
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: https://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
|
||||
|
||||
$sql1 = $db->query("insert into bpm_dst_wunsch (dst_id, ka_id, datum) VALUES('$dst_id', '$ka_id', '$datum_db')");
|
||||
@ -1094,7 +1094,7 @@ if ($action == 'save') {
|
||||
WHERE ka_id = $ka_id";
|
||||
$result2 = $db->query($query2) or die("Cannot execute query2d");
|
||||
|
||||
$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
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: https://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
|
||||
|
||||
while ($row2 = $result2->fetch_array()) {
|
||||
|
@ -286,7 +286,7 @@ if ($action == 'upload') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
|
||||
$tempname = $_FILES['file']['tmp_name'];
|
||||
@ -403,7 +403,7 @@ if ($action == 'descr') {
|
||||
################################################
|
||||
# Speicherung der Dokumentenbeschreibung
|
||||
################################################
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
#echo '<pre>', print_r($_POST, true), '</pre>';
|
||||
$username_kand = $_SESSION["username_kand"];
|
||||
|
||||
@ -597,7 +597,7 @@ if ($action == 'save_praxis') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
exit;
|
||||
}
|
||||
// http://www.tutorials.de/tutorials65420.html
|
||||
// https://www.tutorials.de/tutorials65420.html
|
||||
$result_anz = $db->query("SELECT count(*) Anz
|
||||
FROM dvm_dst_wunsch
|
||||
WHERE ka_id = '$ka_id'");
|
||||
@ -615,7 +615,7 @@ if ($action == 'save_praxis') {
|
||||
exit;
|
||||
}
|
||||
|
||||
$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
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: https://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
|
||||
|
||||
$sql1 = $db->query("insert into dvm_dst_wunsch (dst_id, ka_id, datum) VALUES('$dst_id', '$ka_id', '$datum_db')");
|
||||
@ -761,7 +761,7 @@ if ($action == 'save') {
|
||||
WHERE ka_id = $ka_id";
|
||||
$result2 = $db->query($query2) or die("Cannot execute query2d");
|
||||
|
||||
$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
|
||||
$heute = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y")); // heutiges Datum & Zeit: https://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
|
||||
|
||||
while ($row2 = $result2->fetch_array()) {
|
||||
|
Reference in New Issue
Block a user