Responsive Dashboard hinzugefügt
This commit is contained in:
parent
1b02e82b86
commit
e098969478
175
abmeldung.php
175
abmeldung.php
@ -1,175 +0,0 @@
|
||||
<?php
|
||||
if(!isset($_SESSION)) { session_start(); }
|
||||
|
||||
include_once 'classes/TestProjektSmarty.class.php';
|
||||
require_once("config.inc.php");
|
||||
require_once("func_get_sitzplatz.php");
|
||||
require_once("func_get_lfd_haushalt.php");
|
||||
require_once("func_get_parameter.php");
|
||||
require_once("config/func_cryption.php");
|
||||
|
||||
$smarty = new Smarty();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "language/german.inc.php";
|
||||
|
||||
|
||||
|
||||
$action = $_GET['action'];
|
||||
if ($action == '') {
|
||||
$key = rawurldecode($_GET['key']);
|
||||
$decrypt = cryption("$key", 'd');
|
||||
$expl = explode("|", $decrypt);
|
||||
|
||||
$bid = $expl[0];
|
||||
$nachname = $expl[1];
|
||||
$termin = $expl[2];
|
||||
$_SESSION["sabmelde_bid"] = $bid;
|
||||
|
||||
$result = $db->query("SELECT count(*) Anz
|
||||
FROM jumi_buchung
|
||||
WHERE bid = $bid
|
||||
AND tid = $termin");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
if($row['Anz'] == 0 or $row['Anz'] >1){
|
||||
$smarty->assign('abmelde_error', 1);
|
||||
}else{
|
||||
$smarty->assign('abmelde_error', 0);
|
||||
|
||||
|
||||
$query_termin = $db->query("SELECT date_format(datum, '%d.%m.%Y - %H:%i') beginn, hinweis
|
||||
FROM jumi_termine
|
||||
WHERE tid = $termin
|
||||
LIMIT 1
|
||||
");
|
||||
$row_termin = $query_termin->fetch_array();
|
||||
$smarty->assign('abmelde_termin', $row_termin['beginn']);
|
||||
$_SESSION["sabmelde_termin"] = $row_termin['beginn'];
|
||||
$_SESSION["sabmelde_tid"] = $termin;
|
||||
|
||||
$result_name = $db->query("SELECT nachname, vorname
|
||||
FROM jumi_buchung
|
||||
WHERE bid = $bid");
|
||||
$row_name = $result_name->fetch_array();
|
||||
$smarty->assign('abmelde_vorname', $row_name['vorname']);
|
||||
$smarty->assign('abmelde_nachname', $row_name['nachname']);
|
||||
$_SESSION["sabmelde_vorname"] = $row_name['vorname'];
|
||||
$_SESSION["sabmelde_nachname"] = $row_name['nachname'];
|
||||
}
|
||||
}
|
||||
|
||||
if ($action == 'del') {
|
||||
$bid = $_SESSION["sabmelde_bid"];
|
||||
$antwort = $_GET['antwort'];
|
||||
$termin = $_SESSION["sabmelde_termin"];
|
||||
$vorname = $_SESSION["sabmelde_vorname"];
|
||||
$nachname = $_SESSION["sabmelde_nachname"];
|
||||
$tid = $_SESSION["sabmelde_tid"];
|
||||
|
||||
if($antwort == 'Y'){
|
||||
$result_mail = $db->query("SELECT mail
|
||||
FROM jumi_buchung
|
||||
WHERE bid = $bid");
|
||||
$row_mail = $result_mail->fetch_array();
|
||||
|
||||
|
||||
$sql1 = $db->query("DELETE FROM jumi_buchung WHERE bid = $bid");
|
||||
$ausgabe = "Sie haben $vorname $nachname vom Gottesdienst am $termin Uhr abgemeldet";
|
||||
|
||||
$anmeldestopp = get_parameter(3);
|
||||
|
||||
$result_stop = $db->query("SELECT 1 offen
|
||||
FROM jumi_termine
|
||||
WHERE tid = $tid
|
||||
AND (DATE_SUB(datum, INTERVAL $anmeldestopp HOUR) > now()
|
||||
OR loginstop != '0000-00-00 00:00:00')");
|
||||
$row_stop = $result_stop->fetch_array();
|
||||
|
||||
if($row_stop['offen'] != '1'){
|
||||
# Anmeldungen sind bereits gesperrt, dann Mail senden
|
||||
|
||||
$empfaenger = get_parameter(5); // addresses to email pdf to
|
||||
$betreff = "Abmeldung zum Gottesdienst am ".$termin; // email subject
|
||||
$text = "<html>
|
||||
<head>
|
||||
<title>Abmeldung zum Gottesdienst</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face='Arial' size='2'>
|
||||
Guten Tag!<br><br>
|
||||
Folgende Abmeldungen zum Gottesdienstes haben sich ergeben:
|
||||
<br><br>
|
||||
Datum: $termin<br>
|
||||
Person: $nachname, $vorname
|
||||
<br>
|
||||
<p>
|
||||
Ggf. wird dadurch ein Sitzplatz verfügbar!<br>
|
||||
Diese Mail wurde automatisch generiert!<br>
|
||||
Antworten Sie daher nicht auf diese Mail<br>
|
||||
<br>
|
||||
Vielen Dank
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
// create headers and mime boundry
|
||||
$text = stripslashes($text);
|
||||
$headers = "MIME-Version: 1.0\n";
|
||||
#$headers .= "Content-type: text/html; charset=iso-8859-1\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\n";
|
||||
$headers .= "From: NAK Beutelsbach <service@nak-btb.de>\n";
|
||||
#$headers .= "Bcc: \n";
|
||||
$return = @mail($empfaenger, $betreff, $text, $headers);
|
||||
}
|
||||
|
||||
if($row_mail['mail'] != ''){
|
||||
|
||||
$empfaenger = $row_mail['mail']; // addresses to email pdf to
|
||||
$betreff = "Abmeldung zum Gottesdienst am ".$termin; // email subject
|
||||
$text = "<html>
|
||||
<head>
|
||||
<title>Abmeldung zum Gottesdienst</title>
|
||||
</head>
|
||||
<body>
|
||||
<font face='Arial' size='2'>
|
||||
Guten Tag!<br><br>
|
||||
Sie haben sich zum Gottesdienst in der neuapostolischen Kirche Weinstadt-Beutelsbach abgemeldet.<br>
|
||||
<br><br>
|
||||
Datum: $termin<br>
|
||||
Person: $nachname, $vorname
|
||||
<br>
|
||||
<p>
|
||||
Link zur Registrierung: <a href=\"http://gd.nak-btb.de\">Registrierung zum Gottesdienst</a>
|
||||
<br><br>
|
||||
Diese Mail wurde automatisch generiert!<br>
|
||||
Antworten Sie daher nicht auf diese Mail<br>
|
||||
<br>
|
||||
Vielen Dank
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
// create headers and mime boundry
|
||||
|
||||
$text = stripslashes($text);
|
||||
$headers = "MIME-Version: 1.0\n";
|
||||
#$headers .= "Content-type: text/html; charset=iso-8859-1\n";
|
||||
$headers .= "Content-type: text/html; charset=utf-8\n";
|
||||
$headers .= "From: NAK Beutelsbach <service@nak-btb.de>\n";
|
||||
#$headers .= "Bcc: \n";
|
||||
$return = @mail($empfaenger, $betreff, $text, $headers);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}else{
|
||||
$ausgabe = "Sie haben $vorname $nachname vom Gottesdienst am $termin Uhr <b>NICHT</b> abgemeldet";
|
||||
}
|
||||
$smarty->assign('abmelde_ausgabe', $ausgabe);
|
||||
session_destroy();
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
52
dashboard/401.html#
Normal file
52
dashboard/401.html#
Normal file
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<h1 class="display-1">401</h1>
|
||||
<p class="lead">Unauthorized</p>
|
||||
<p>Access to this resource is denied.</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
51
dashboard/404.html#
Normal file
51
dashboard/404.html#
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<img class="mb-4 img-error" src="assets/img/error-404-monochrome.svg" />
|
||||
<p class="lead">This requested URL was not found on this server.</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
51
dashboard/500.html#
Normal file
51
dashboard/500.html#
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<h1 class="display-1">500</h1>
|
||||
<p class="lead">Internal Server Error</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
7
dashboard/Chart.min.js
vendored
Normal file
7
dashboard/Chart.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
dashboard/all.js
Normal file
6
dashboard/all.js
Normal file
File diff suppressed because one or more lines are too long
54
dashboard/assets#/demo/chart-area-demo.js
Normal file
54
dashboard/assets#/demo/chart-area-demo.js
Normal file
@ -0,0 +1,54 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Area Chart Example
|
||||
var ctx = document.getElementById("myAreaChart");
|
||||
var myLineChart = new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ["Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13"],
|
||||
datasets: [{
|
||||
label: "Sessions",
|
||||
lineTension: 0.3,
|
||||
backgroundColor: "rgba(2,117,216,0.2)",
|
||||
borderColor: "rgba(2,117,216,1)",
|
||||
pointRadius: 5,
|
||||
pointBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointBorderColor: "rgba(255,255,255,0.8)",
|
||||
pointHoverRadius: 5,
|
||||
pointHoverBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointHitRadius: 50,
|
||||
pointBorderWidth: 2,
|
||||
data: [10000, 30162, 26263, 18394, 18287, 28682, 31274, 33259, 25849, 24159, 32651, 31984, 38451],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'date'
|
||||
},
|
||||
gridLines: {
|
||||
display: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 7
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 40000,
|
||||
maxTicksLimit: 5
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgba(0, 0, 0, .125)",
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
}
|
||||
});
|
46
dashboard/assets#/demo/chart-bar-demo.js
Normal file
46
dashboard/assets#/demo/chart-bar-demo.js
Normal file
@ -0,0 +1,46 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Bar Chart Example
|
||||
var ctx = document.getElementById("myBarChart");
|
||||
var myLineChart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["January", "February", "March", "April", "May", "June"],
|
||||
datasets: [{
|
||||
label: "Revenue",
|
||||
backgroundColor: "rgba(2,117,216,1)",
|
||||
borderColor: "rgba(2,117,216,1)",
|
||||
data: [4215, 5312, 6251, 7841, 9821, 14984],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'month'
|
||||
},
|
||||
gridLines: {
|
||||
display: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 6
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 15000,
|
||||
maxTicksLimit: 5
|
||||
},
|
||||
gridLines: {
|
||||
display: true
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
}
|
||||
});
|
16
dashboard/assets#/demo/chart-pie-demo.js
Normal file
16
dashboard/assets#/demo/chart-pie-demo.js
Normal file
@ -0,0 +1,16 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Pie Chart Example
|
||||
var ctx = document.getElementById("myPieChart");
|
||||
var myPieChart = new Chart(ctx, {
|
||||
type: 'pie',
|
||||
data: {
|
||||
labels: ["Blue", "Red", "Yellow", "Green"],
|
||||
datasets: [{
|
||||
data: [12.21, 15.58, 11.25, 8.32],
|
||||
backgroundColor: ['#007bff', '#dc3545', '#ffc107', '#28a745'],
|
||||
}],
|
||||
},
|
||||
});
|
4
dashboard/assets#/demo/datatables-demo.js
Normal file
4
dashboard/assets#/demo/datatables-demo.js
Normal file
@ -0,0 +1,4 @@
|
||||
// Call the dataTables jQuery plugin
|
||||
$(document).ready(function() {
|
||||
$('#dataTable').DataTable();
|
||||
});
|
1
dashboard/assets#/img/error-404-monochrome.svg
Normal file
1
dashboard/assets#/img/error-404-monochrome.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.0 KiB |
@ -11240,4 +11240,9 @@ body {
|
||||
width: 20px !important;
|
||||
font-size: 0.75rem;
|
||||
border-radius: 0.375rem !important;
|
||||
}
|
||||
|
||||
.bg-juandmi {
|
||||
--bs-bg-opacity: 1;
|
||||
background-color: #0D7377 !important;
|
||||
}
|
21
dashboard/footer.php
Normal file
21
dashboard/footer.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
## INDEX gegen DB
|
||||
if (!isset($_SESSION)) {
|
||||
session_start();
|
||||
}
|
||||
#$_SESSION['sessionid'] = session_id();
|
||||
|
||||
|
||||
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("modern/dashboard/$templatename");
|
||||
?>
|
||||
|
48
dashboard/index.html_bak
Normal file
48
dashboard/index.html_bak
Normal file
@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Dashboard - SB Admin</title>
|
||||
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
|
||||
<!-- icons in nav-->
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
|
||||
<div id="navtop"></div>
|
||||
<script>
|
||||
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
TEST
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="navleft"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
91
dashboard/index.php
Normal file
91
dashboard/index.php
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
## 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";
|
||||
|
||||
|
||||
$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 == 4){
|
||||
$smarty->assign('index_error_text', "Sie müssen sich einloggen!");
|
||||
}
|
||||
|
||||
# Daten aufbereiten bei Fehler
|
||||
if(isset($_SESSION["global_username"])){
|
||||
$smarty->assign('index_user', $_SESSION["global_username"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if($action == 'anmeld'){
|
||||
$mail=strtoupper($_POST["mail"]); //remove case sensitivity on the mail
|
||||
$password=$_POST["password"];
|
||||
|
||||
if($_POST["mail"] != ""){
|
||||
$_SESSION["global_mail"]=$mail;
|
||||
}
|
||||
|
||||
if($mail == "" OR $password == ""){
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=".$_SERVER['PHP_SELF']."?error=1\">";
|
||||
}else{
|
||||
|
||||
|
||||
$db = dbconnect();
|
||||
$result = $db->query("SELECT uid, mail, passwort FROM jumi_admin WHERE UPPER(mail)='$mail'");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
|
||||
if ($mail != strtoupper($row['mail'])) {
|
||||
|
||||
}
|
||||
// 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['uid'];
|
||||
$_SESSION["global_mail"] = $row['mail'];
|
||||
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['uid'];
|
||||
$_SESSION["global_uid"] = $user_admin;
|
||||
$_SESSION["global_mail"] = $row['mail'];
|
||||
$result_1 = $db->query("INSERT INTO jumi_adminlog (Datum, IP, user_agent, uid) VALUES ('$datum', '$ip', '$agent', '$user_admin')");
|
||||
$smarty->assign('index_login', "1");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("modern/dashboard/$templatename");
|
||||
?>
|
@ -3,24 +3,23 @@
|
||||
* Copyright 2013-2023 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin/blob/master/LICENSE)
|
||||
*/
|
||||
//
|
||||
//
|
||||
// Scripts
|
||||
//
|
||||
//
|
||||
|
||||
window.addEventListener('DOMContentLoaded', event => {
|
||||
|
||||
// Toggle the side navigation
|
||||
const sidebarToggle = document.body.querySelector('#sidebarToggle');
|
||||
|
||||
if (sidebarToggle) {
|
||||
// Uncomment Below to persist sidebar toggle between refreshes
|
||||
// if (localStorage.getItem('sb|sidebar-toggle') === 'true') {
|
||||
// document.body.classList.toggle('sb-sidenav-toggled');
|
||||
// }
|
||||
|
||||
sidebarToggle.addEventListener('click', event => {
|
||||
event.preventDefault();
|
||||
document.body.classList.toggle('sb-sidenav-toggled');
|
||||
localStorage.setItem('sb|sidebar-toggle', document.body.classList.contains('sb-sidenav-toggled'));
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
@ -8,7 +8,7 @@
|
||||
<meta name="author" content="" />
|
||||
<title>Login - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="bg-primary">
|
||||
<div id="layoutAuthentication">
|
||||
|
6
dashboard/logout.php
Normal file
6
dashboard/logout.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
session_start(); //to ensure you are using same session
|
||||
session_destroy(); //destroy the session
|
||||
header("location:index.php"); //to redirect back to "index.php" after logging out
|
||||
exit();
|
||||
?>
|
22
dashboard/nav.php
Normal file
22
dashboard/nav.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
## INDEX gegen DB
|
||||
if (!isset($_SESSION)) {
|
||||
session_start();
|
||||
}
|
||||
#$_SESSION['sessionid'] = session_id();
|
||||
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
$result_name = $db->query("SELECT vorname, nachname, mail FROM jumi_admin WHERE uid='$uid'");
|
||||
$row_name = $result_name->fetch_array();
|
||||
$smarty->assign('nav_name', "$row_name[vorname] $row_name[nachname]");
|
||||
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("modern/dashboard/$templatename");
|
||||
?>
|
21
dashboard/navtop.php
Normal file
21
dashboard/navtop.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
## INDEX gegen DB
|
||||
if (!isset($_SESSION)) {
|
||||
session_start();
|
||||
}
|
||||
#$_SESSION['sessionid'] = session_id();
|
||||
|
||||
|
||||
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("modern/dashboard/$templatename");
|
||||
?>
|
||||
|
8
dashboard/simple-datatables.min.js
vendored
Normal file
8
dashboard/simple-datatables.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
24
dashboard/startseite.php
Normal file
24
dashboard/startseite.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
## INDEX gegen DB
|
||||
if (!isset($_SESSION)) {
|
||||
session_start();
|
||||
}
|
||||
#$_SESSION['sessionid'] = session_id();
|
||||
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
|
||||
|
||||
$result_name = $db->query("SELECT vorname, nachname, mail FROM jumi_admin WHERE uid='$uid'");
|
||||
$row_name = $result_name->fetch_array();
|
||||
$smarty->assign('startseite_name', "$row_name[vorname] $row_name[nachname]");
|
||||
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("modern/dashboard/$templatename");
|
||||
?>
|
8
dashboard/style.min.css
vendored
Normal file
8
dashboard/style.min.css
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Minified by jsDelivr using clean-css v5.3.1.
|
||||
* Original file: /npm/simple-datatables@7.1.2/dist/style.css
|
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/
|
||||
.datatable-wrapper.no-header .datatable-container{border-top:1px solid #d9d9d9}.datatable-wrapper.no-footer .datatable-container{border-bottom:1px solid #d9d9d9}.datatable-bottom,.datatable-top{padding:8px 10px}.datatable-bottom>div:first-child,.datatable-bottom>nav:first-child,.datatable-top>div:first-child,.datatable-top>nav:first-child{float:left}.datatable-bottom>div:last-child,.datatable-bottom>nav:last-child,.datatable-top>div:last-child,.datatable-top>nav:last-child{float:right}.datatable-selector{padding:6px}.datatable-input{padding:6px 12px}.datatable-info{margin:7px 0}.datatable-pagination ul{margin:0;padding-left:0}.datatable-pagination li{list-style:none;float:left}.datatable-pagination li.datatable-hidden{visibility:hidden}.datatable-pagination a{border:1px solid transparent;float:left;margin-left:2px;padding:6px 12px;position:relative;text-decoration:none;color:#333;cursor:pointer}.datatable-pagination a:hover{background-color:#d9d9d9}.datatable-pagination .datatable-active a,.datatable-pagination .datatable-active a:focus,.datatable-pagination .datatable-active a:hover{background-color:#d9d9d9;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover,.datatable-pagination .datatable-ellipsis a{pointer-events:none;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover{cursor:not-allowed;opacity:.4}.datatable-pagination .datatable-pagination a{font-weight:700}.datatable-table{max-width:100%;width:100%;border-spacing:0;border-collapse:separate}.datatable-table>tbody>tr>td,.datatable-table>tbody>tr>th,.datatable-table>tfoot>tr>td,.datatable-table>tfoot>tr>th,.datatable-table>thead>tr>td,.datatable-table>thead>tr>th{vertical-align:top;padding:8px 10px}.datatable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.datatable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.datatable-table th{vertical-align:bottom;text-align:left}.datatable-table th a{text-decoration:none;color:inherit}.datatable-filter,.datatable-sorter{display:inline-block;height:100%;position:relative;width:100%}.datatable-sorter::after,.datatable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.datatable-sorter::before{border-top:4px solid #000;bottom:0}.datatable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.datatable-ascending .datatable-filter::after,.datatable-ascending .datatable-sorter::after,.datatable-descending .datatable-filter::before,.datatable-descending .datatable-sorter::before{opacity:.6}.datatable-filter::before{content:"";position:absolute;right:4px;opacity:.2;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-radius:50%;border-top:10px solid #000;top:25%}.datatable-filter-active .datatable-filter::before{opacity:.6}.datatable-empty{text-align:center}.datatable-bottom::after,.datatable-top::after{clear:both;content:" ";display:table}table.datatable-table:focus tr.datatable-cursor>td:first-child{border-left:3px #00f solid}table.datatable-table:focus{outline:solid 1px black;outline-offset:-1px}
|
||||
/*# sourceMappingURL=/sm/7faebb93ab083e20bf71c693c970b2206a78620f4a20eb890eeaee129d14cd66.map */
|
297
dashboard/survey_erfassen.php
Normal file
297
dashboard/survey_erfassen.php
Normal file
@ -0,0 +1,297 @@
|
||||
<?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 == '') {
|
||||
# if (isset($_GET['edit'])) {
|
||||
# $_SESSION["umfrageerf_status"] = 'edit';
|
||||
# $yid = $_GET['edit'];
|
||||
# $_SESSION["umfrageerf_yid"] = $yid;
|
||||
# } else {
|
||||
# $_SESSION["umfrageerf_status"] = 'neu';
|
||||
# }
|
||||
#
|
||||
# # -- Fehlermeldungen -- #
|
||||
if($_GET['new'] == 1){
|
||||
unset($_SESSION["umfrageerf_value_datumvon"]);
|
||||
unset($_SESSION["umfrageerf_value_zeitvon"]);
|
||||
unset($_SESSION["umfrageerf_value_datumbis"]);
|
||||
unset($_SESSION["umfrageerf_value_zeitbis"]);
|
||||
unset($_SESSION["umfrageerf_value_headline"]);
|
||||
unset($_SESSION["umfrageerf_value_freitext"]);
|
||||
$smarty->assign('umfrageerf_value_freitext', 0);
|
||||
unset($_SESSION["umfrageerf_umid"]);
|
||||
unset($_SESSION["umfrageerf_ufid"]);
|
||||
unset($_SESSION["umfrageerf_uaid"]);
|
||||
# $_SESSION["umfrageerf_new"] = 1;
|
||||
|
||||
}else{
|
||||
$smarty->assign('umfrageerf_value_datumvon', $_SESSION["umfrageerf_value_datumvon"]);
|
||||
$smarty->assign('umfrageerf_value_zeitvon', $_SESSION["umfrageerf_value_zeitvon"]);
|
||||
$smarty->assign('umfrageerf_value_datumbis', $_SESSION["umfrageerf_value_datumbis"]);
|
||||
$smarty->assign('umfrageerf_value_zeitbis', $_SESSION["umfrageerf_value_zeitbis"]);
|
||||
$smarty->assign('umfrageerf_value_headline', $_SESSION["umfrageerf_value_headline"]);
|
||||
$smarty->assign('umfrageerf_value_freitext', $_SESSION["umfrageerf_value_freitext"]);
|
||||
# $smarty->assign('umfrageerf_value_new', "0");
|
||||
# $_SESSION["umfrageerf_new"] = 0;
|
||||
}
|
||||
|
||||
if (isset($_GET['error'])) {
|
||||
|
||||
$errorno = $_GET['error'];
|
||||
|
||||
$smarty->assign('umfrageerf_error', 1);
|
||||
|
||||
if ($errorno == 1) {
|
||||
# Pflichtfelder
|
||||
$smarty->assign('umfrageerf_error_text', "Bitte füllen Sie alle Felder aus");
|
||||
}
|
||||
if ($errorno == 2) {
|
||||
# Datumsformat
|
||||
$smarty->assign('umfrageerf_error_text', "Ein Datumsformat ist falsch");
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# # --- Wenn Werte editiert werden ------------
|
||||
# if ($_SESSION["umfrageerf_status"] == 'edit') {
|
||||
# $result_edit = $db->query("SELECT yid, date_format(datum, '%d.%m.%Y') datum, date_format(datum, '%H:%i') zeit, url
|
||||
# FROM jumi_youtube_termine
|
||||
# WHERE yid = $yid");
|
||||
# $row_edit = $result_edit->fetch_array();
|
||||
# $smarty->assign('umfrageerf_value_datum', "$row_edit[datum]");
|
||||
# $smarty->assign('umfrageerf_value_zeit', "$row_edit[zeit]");
|
||||
# $smarty->assign('umfrageerf_value_url', "$row_edit[url]");
|
||||
#
|
||||
# }
|
||||
# # --- 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["umfrageerf_status"] = 'neu';
|
||||
# }
|
||||
#
|
||||
#
|
||||
# # Gespeicherte Werte
|
||||
# $query1 = "SELECT yid, date_format(datum, '%d.%m.%Y') datum_form, date_format(datum, '%H:%i') zeit, url
|
||||
# FROM jumi_youtube_termine
|
||||
# WHERE datum > DATE_SUB( NOW() , INTERVAL 14 DAY )
|
||||
# ORDER BY datum desc, zeit ASC";
|
||||
#
|
||||
# $result1 = $db->query($query1) or die("Cannot execute query1a");
|
||||
#
|
||||
# while ($row1 = $result1->fetch_array()) {
|
||||
# $table_data1[] = $row1;
|
||||
# }
|
||||
# $smarty->assign('table_data1', $table_data1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if ($action == 'fragen') {
|
||||
|
||||
$umid = $_SESSION["umfrageerf_umid"];
|
||||
|
||||
# Focus/Session setzen
|
||||
$result = $db->query("SELECT count(*) Anz FROM jumi_umfragen_fragen WHERE umid='$umid'");
|
||||
$row = $result->fetch_array();
|
||||
# Wenn man bei mehreren Fragen eine Frage löscht ist Anz nicht 0 und der Focus sitzt bei Antwort
|
||||
if ($umid == '' or $_GET['tabufid'] == "neuefrage" or $row['Anz'] == '0') {
|
||||
$smarty->assign('umfrageerf_focus', "frage");
|
||||
unset($_SESSION["umfrageerf_ufid"]);
|
||||
unset($_SESSION["umfrageerf_uaid"]);
|
||||
} else {
|
||||
$smarty->assign('umfrageerf_focus', "antwort");
|
||||
}
|
||||
|
||||
|
||||
if (isset($_POST['datumvon']) and $_POST['datumvon'] != '') {
|
||||
$datumvon = $_POST['datumvon'];
|
||||
$_SESSION["umfrageerf_value_datumvon"] = $datumvon;
|
||||
} else {
|
||||
if ($_SESSION["umfrageerf_value_datumvon"] == '') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"3; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
}
|
||||
$datumvon = $_SESSION["umfrageerf_value_datumvon"];
|
||||
}
|
||||
|
||||
if (isset($_POST['zeitvon']) and $_POST['zeitvon'] != '') {
|
||||
$zeitvon = $_POST['zeitvon'];
|
||||
$_SESSION["umfrageerf_value_zeitvon"] = $zeitvon;
|
||||
} else {
|
||||
if ($_SESSION["umfrageerf_value_zeitvon"] == '') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
}
|
||||
$zeitvon = $_SESSION["umfrageerf_value_zeitvon"];
|
||||
}
|
||||
|
||||
if (isset($_POST['datumbis']) and $_POST['datumbis'] != '') {
|
||||
$datumbis = $_POST['datumbis'];
|
||||
$_SESSION["umfrageerf_value_datumbis"] = $datumbis;
|
||||
} else {
|
||||
if ($_SESSION["umfrageerf_value_datumbis"] == '') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
}
|
||||
$datumbis = $_SESSION["umfrageerf_value_datumbis"];
|
||||
}
|
||||
|
||||
if (isset($_POST['zeitbis']) and $_POST['zeitbis'] != '') {
|
||||
$zeitbis = $_POST['zeitbis'];
|
||||
$_SESSION["umfrageerf_value_zeitbis"] = $zeitbis;
|
||||
} else {
|
||||
if ($_SESSION["umfrageerf_value_zeitbis"] == '') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
}
|
||||
$zeitbis = $_SESSION["umfrageerf_value_zeitbis"];
|
||||
}
|
||||
|
||||
if (isset($_POST['headline']) and trim($_POST['headline']) != '') {
|
||||
$headline = trim($_POST['headline']);
|
||||
$_SESSION["umfrageerf_value_headline"] = $headline;
|
||||
} else {
|
||||
if ($_SESSION["umfrageerf_value_headline"] == '') {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=1\">";
|
||||
}
|
||||
$headline = $_SESSION["umfrageerf_value_headline"];
|
||||
}
|
||||
|
||||
if(!isset($_GET['erfassen'])){
|
||||
if (isset($_POST['freitext']) and trim($_POST['freitext']) != '') {
|
||||
$freitext = '1';
|
||||
$_SESSION["umfrageerf_value_freitext"] = $freitext;
|
||||
}else{
|
||||
$freitext = '0';
|
||||
$_SESSION["umfrageerf_value_freitext"] = $freitext;
|
||||
}
|
||||
}else{
|
||||
$freitext = $_SESSION["umfrageerf_value_freitext"];
|
||||
}
|
||||
|
||||
|
||||
$datumvon_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumvon);
|
||||
$datumbis_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumbis);
|
||||
$datum_von = $datumvon_form . " " . $zeitvon . ":00";
|
||||
$datum_bis = $datumbis_form . " " . $zeitbis . ":00";
|
||||
|
||||
function validateDate($date, $format = 'Y-m-d')
|
||||
{
|
||||
$d = DateTime::createFromFormat($format, $date);
|
||||
return $d && $d->format($format) == $date;
|
||||
}
|
||||
|
||||
if (!validateDate($datumvon_form)) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=2\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!validateDate($datumbis_form)) {
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; URL=" . $_SERVER['PHP_SELF'] . "?error=2\">";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
if(!isset($_GET['erfassen'])){
|
||||
if ($umid == '') {
|
||||
$datum = date("Y-m-d H:i:s");
|
||||
|
||||
$sql1 = $db->query("INSERT INTO jumi_umfragen ( datum_von
|
||||
, datum_bis
|
||||
, headline
|
||||
, uid
|
||||
, datum_erfasst
|
||||
, freitext
|
||||
)
|
||||
VALUES
|
||||
( '$datum_von'
|
||||
, '$datum_bis'
|
||||
, '$headline'
|
||||
, '$uid'
|
||||
, '$datum'
|
||||
, '$freitext'
|
||||
)
|
||||
");
|
||||
$umid = $db->insert_id;
|
||||
$_SESSION["umfrageerf_umid"] = $umid;
|
||||
}else{
|
||||
$update = $db->query("UPDATE jumi_umfragen
|
||||
SET datum_von ='$datum_von'
|
||||
,datum_bis ='$datum_bis'
|
||||
,headline = '$headline'
|
||||
,freitext = '$freitext'
|
||||
WHERE umid = $umid
|
||||
");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_GET['tabufid']) and $_GET['tabufid'] != '') {
|
||||
if ($_GET['tabufid'] == "neuefrage") {
|
||||
$_SESSION["umfrageerf_ufid"] = "";
|
||||
} else {
|
||||
$_SESSION["umfrageerf_ufid"] = $_GET['tabufid'];
|
||||
}
|
||||
}
|
||||
$ufid = $_SESSION["umfrageerf_ufid"];
|
||||
if ($ufid != '') {
|
||||
$result_frage = $db->query("SELECT frage, multiple
|
||||
FROM jumi_umfragen_fragen
|
||||
WHERE ufid = $ufid");
|
||||
$row_frage = $result_frage->fetch_array();
|
||||
$smarty->assign('umfrageerf_value_frage', htmlspecialchars($row_frage['frage']));
|
||||
$smarty->assign('umfrageerf_value_multiple', $row_frage['multiple']);
|
||||
$smarty->assign('umfrageerf_value_ufid', $ufid);
|
||||
}
|
||||
|
||||
# Gespeicherte Werte
|
||||
if ($umid != '') {
|
||||
$query1 = "SELECT ufid, frage
|
||||
FROM jumi_umfragen_fragen
|
||||
WHERE umid=$umid
|
||||
ORDER BY ufid ASC";
|
||||
|
||||
$result1 = $db->query($query1) or die("Cannot execute query1a");
|
||||
|
||||
while ($row1 = $result1->fetch_array()) {
|
||||
$table_data1[] = $row1;
|
||||
}
|
||||
}
|
||||
|
||||
$smarty->assign('table_data1', $table_data1);
|
||||
if ($ufid != '') {
|
||||
$smarty->assign('umfrageerf_gesp_werte_value_ufid2', "$ufid");
|
||||
$query2 = "SELECT uaid, antwort
|
||||
FROM jumi_umfragen_antworten
|
||||
WHERE ufid=$ufid
|
||||
ORDER BY userorder ASC, uaid ASC";
|
||||
|
||||
$result2 = $db->query($query2) or die("Cannot execute query2");
|
||||
$anzahl = $result2->num_rows;
|
||||
$smarty->assign('table_data2_anz', $anzahl);
|
||||
while ($row2 = $result2->fetch_array()) {
|
||||
$table_data2[] = $row2;
|
||||
}
|
||||
$smarty->assign('table_data2', $table_data2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/dashboard/$templatename");
|
||||
|
||||
?>
|
52
dashboard_bak/401.html
Normal file
52
dashboard_bak/401.html
Normal file
@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<h1 class="display-1">401</h1>
|
||||
<p class="lead">Unauthorized</p>
|
||||
<p>Access to this resource is denied.</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
51
dashboard_bak/404.html
Normal file
51
dashboard_bak/404.html
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<img class="mb-4 img-error" src="assets/img/error-404-monochrome.svg" />
|
||||
<p class="lead">This requested URL was not found on this server.</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
51
dashboard_bak/500.html
Normal file
51
dashboard_bak/500.html
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>404 Error - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<h1 class="display-1">500</h1>
|
||||
<p class="lead">Internal Server Error</p>
|
||||
<a href="index.html">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
7
dashboard_bak/Chart.min.js
vendored
Normal file
7
dashboard_bak/Chart.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
dashboard_bak/all.js
Normal file
6
dashboard_bak/all.js
Normal file
File diff suppressed because one or more lines are too long
54
dashboard_bak/assets/demo/chart-area-demo.js
Normal file
54
dashboard_bak/assets/demo/chart-area-demo.js
Normal file
@ -0,0 +1,54 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Area Chart Example
|
||||
var ctx = document.getElementById("myAreaChart");
|
||||
var myLineChart = new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: {
|
||||
labels: ["Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13"],
|
||||
datasets: [{
|
||||
label: "Sessions",
|
||||
lineTension: 0.3,
|
||||
backgroundColor: "rgba(2,117,216,0.2)",
|
||||
borderColor: "rgba(2,117,216,1)",
|
||||
pointRadius: 5,
|
||||
pointBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointBorderColor: "rgba(255,255,255,0.8)",
|
||||
pointHoverRadius: 5,
|
||||
pointHoverBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointHitRadius: 50,
|
||||
pointBorderWidth: 2,
|
||||
data: [10000, 30162, 26263, 18394, 18287, 28682, 31274, 33259, 25849, 24159, 32651, 31984, 38451],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'date'
|
||||
},
|
||||
gridLines: {
|
||||
display: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 7
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 40000,
|
||||
maxTicksLimit: 5
|
||||
},
|
||||
gridLines: {
|
||||
color: "rgba(0, 0, 0, .125)",
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
}
|
||||
});
|
46
dashboard_bak/assets/demo/chart-bar-demo.js
Normal file
46
dashboard_bak/assets/demo/chart-bar-demo.js
Normal file
@ -0,0 +1,46 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Bar Chart Example
|
||||
var ctx = document.getElementById("myBarChart");
|
||||
var myLineChart = new Chart(ctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["January", "February", "March", "April", "May", "June"],
|
||||
datasets: [{
|
||||
label: "Revenue",
|
||||
backgroundColor: "rgba(2,117,216,1)",
|
||||
borderColor: "rgba(2,117,216,1)",
|
||||
data: [4215, 5312, 6251, 7841, 9821, 14984],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
time: {
|
||||
unit: 'month'
|
||||
},
|
||||
gridLines: {
|
||||
display: false
|
||||
},
|
||||
ticks: {
|
||||
maxTicksLimit: 6
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
ticks: {
|
||||
min: 0,
|
||||
max: 15000,
|
||||
maxTicksLimit: 5
|
||||
},
|
||||
gridLines: {
|
||||
display: true
|
||||
}
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
}
|
||||
}
|
||||
});
|
16
dashboard_bak/assets/demo/chart-pie-demo.js
Normal file
16
dashboard_bak/assets/demo/chart-pie-demo.js
Normal file
@ -0,0 +1,16 @@
|
||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||
Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif';
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Pie Chart Example
|
||||
var ctx = document.getElementById("myPieChart");
|
||||
var myPieChart = new Chart(ctx, {
|
||||
type: 'pie',
|
||||
data: {
|
||||
labels: ["Blue", "Red", "Yellow", "Green"],
|
||||
datasets: [{
|
||||
data: [12.21, 15.58, 11.25, 8.32],
|
||||
backgroundColor: ['#007bff', '#dc3545', '#ffc107', '#28a745'],
|
||||
}],
|
||||
},
|
||||
});
|
4
dashboard_bak/assets/demo/datatables-demo.js
Normal file
4
dashboard_bak/assets/demo/datatables-demo.js
Normal file
@ -0,0 +1,4 @@
|
||||
// Call the dataTables jQuery plugin
|
||||
$(document).ready(function() {
|
||||
$('#dataTable').DataTable();
|
||||
});
|
1
dashboard_bak/assets/img/error-404-monochrome.svg
Normal file
1
dashboard_bak/assets/img/error-404-monochrome.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.0 KiB |
177
dashboard_bak/charts.html
Normal file
177
dashboard_bak/charts.html
Normal file
@ -0,0 +1,177 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Charts - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Start Bootstrap</a>
|
||||
<!-- Sidebar Toggle-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="layoutSidenav">
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<div class="sb-sidenav-menu-heading">Core</div>
|
||||
<a class="nav-link" href="index.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Dashboard
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Interface</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Layouts
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sb-sidenav-menu-heading">Addons</div>
|
||||
<a class="nav-link" href="charts.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Charts
|
||||
</a>
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sb-sidenav-footer">
|
||||
<div class="small">Logged in as:</div>
|
||||
Start Bootstrap
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid px-4">
|
||||
<h1 class="mt-4">Charts</h1>
|
||||
<ol class="breadcrumb mb-4">
|
||||
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
|
||||
<li class="breadcrumb-item active">Charts</li>
|
||||
</ol>
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
Chart.js is a third party plugin that is used to generate the charts in this template. The charts below have been customized - for further customization options, please visit the official
|
||||
<a target="_blank" href="https://www.chartjs.org/docs/latest/">Chart.js documentation</a>
|
||||
.
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-chart-area me-1"></i>
|
||||
Area Chart Example
|
||||
</div>
|
||||
<div class="card-body"><canvas id="myAreaChart" width="100%" height="30"></canvas></div>
|
||||
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-chart-bar me-1"></i>
|
||||
Bar Chart Example
|
||||
</div>
|
||||
<div class="card-body"><canvas id="myBarChart" width="100%" height="50"></canvas></div>
|
||||
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-chart-pie me-1"></i>
|
||||
Pie Chart Example
|
||||
</div>
|
||||
<div class="card-body"><canvas id="myPieChart" width="100%" height="50"></canvas></div>
|
||||
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js" crossorigin="anonymous"></script>
|
||||
<script src="assets/demo/chart-area-demo.js"></script>
|
||||
<script src="assets/demo/chart-bar-demo.js"></script>
|
||||
<script src="assets/demo/chart-pie-demo.js"></script>
|
||||
</body>
|
||||
</html>
|
11243
dashboard_bak/css/styles.css
Normal file
11243
dashboard_bak/css/styles.css
Normal file
File diff suppressed because it is too large
Load Diff
688
dashboard_bak/index.html
Normal file
688
dashboard_bak/index.html
Normal file
@ -0,0 +1,688 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Dashboard - SB Admin</title>
|
||||
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Start Bootstrap</a>
|
||||
<!-- Sidebar Toggle-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="layoutSidenav">
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<div class="sb-sidenav-menu-heading">Core</div>
|
||||
<a class="nav-link" href="index.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Dashboard1
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Interface</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Layouts
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sb-sidenav-menu-heading">Addons</div>
|
||||
<a class="nav-link" href="charts.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Charts
|
||||
</a>
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sb-sidenav-footer">
|
||||
<div class="small">Logged in as:</div>
|
||||
Start Bootstrap
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid px-4">
|
||||
<h1 class="mt-4">Dashboard</h1>
|
||||
<ol class="breadcrumb mb-4">
|
||||
<li class="breadcrumb-item active">Dashboard</li>
|
||||
</ol>
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-md-6">
|
||||
<div class="card bg-primary text-white mb-4">
|
||||
<div class="card-body">Primary Card</div>
|
||||
<div class="card-footer d-flex align-items-center justify-content-between">
|
||||
<a class="small text-white stretched-link" href="#">View Details</a>
|
||||
<div class="small text-white"><i class="fas fa-angle-right"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6">
|
||||
<div class="card bg-warning text-white mb-4">
|
||||
<div class="card-body">Warning Card</div>
|
||||
<div class="card-footer d-flex align-items-center justify-content-between">
|
||||
<a class="small text-white stretched-link" href="#">View Details</a>
|
||||
<div class="small text-white"><i class="fas fa-angle-right"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6">
|
||||
<div class="card bg-success text-white mb-4">
|
||||
<div class="card-body">Success Card</div>
|
||||
<div class="card-footer d-flex align-items-center justify-content-between">
|
||||
<a class="small text-white stretched-link" href="#">View Details</a>
|
||||
<div class="small text-white"><i class="fas fa-angle-right"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6">
|
||||
<div class="card bg-danger text-white mb-4">
|
||||
<div class="card-body">Danger Card</div>
|
||||
<div class="card-footer d-flex align-items-center justify-content-between">
|
||||
<a class="small text-white stretched-link" href="#">View Details</a>
|
||||
<div class="small text-white"><i class="fas fa-angle-right"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xl-6">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-chart-area me-1"></i>
|
||||
Area Chart Example
|
||||
</div>
|
||||
<div class="card-body"><canvas id="myAreaChart" width="100%" height="40"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-6">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-chart-bar me-1"></i>
|
||||
Bar Chart Example
|
||||
</div>
|
||||
<div class="card-body"><canvas id="myBarChart" width="100%" height="40"></canvas></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
DataTable Example
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="datatablesSimple">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
<script src="Chart.min.js" crossorigin="anonymous"></script>
|
||||
<script src="assets/demo/chart-area-demo.js"></script>
|
||||
<script src="assets/demo/chart-bar-demo.js"></script>
|
||||
<script src="simple-datatables.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/datatables-simple-demo.js"></script>
|
||||
</body>
|
||||
</html>
|
9
dashboard_bak/js/datatables-simple-demo.js
Normal file
9
dashboard_bak/js/datatables-simple-demo.js
Normal file
@ -0,0 +1,9 @@
|
||||
window.addEventListener('DOMContentLoaded', event => {
|
||||
// Simple-DataTables
|
||||
// https://github.com/fiduswriter/Simple-DataTables/wiki
|
||||
|
||||
const datatablesSimple = document.getElementById('datatablesSimple');
|
||||
if (datatablesSimple) {
|
||||
new simpleDatatables.DataTable(datatablesSimple);
|
||||
}
|
||||
});
|
26
dashboard_bak/js/scripts.js
Normal file
26
dashboard_bak/js/scripts.js
Normal file
@ -0,0 +1,26 @@
|
||||
/*!
|
||||
* Start Bootstrap - SB Admin v7.0.6 (https://startbootstrap.com/template/sb-admin)
|
||||
* Copyright 2013-2023 Start Bootstrap
|
||||
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin/blob/master/LICENSE)
|
||||
*/
|
||||
//
|
||||
// Scripts
|
||||
//
|
||||
|
||||
window.addEventListener('DOMContentLoaded', event => {
|
||||
|
||||
// Toggle the side navigation
|
||||
const sidebarToggle = document.body.querySelector('#sidebarToggle');
|
||||
if (sidebarToggle) {
|
||||
// Uncomment Below to persist sidebar toggle between refreshes
|
||||
// if (localStorage.getItem('sb|sidebar-toggle') === 'true') {
|
||||
// document.body.classList.toggle('sb-sidenav-toggled');
|
||||
// }
|
||||
sidebarToggle.addEventListener('click', event => {
|
||||
event.preventDefault();
|
||||
document.body.classList.toggle('sb-sidenav-toggled');
|
||||
localStorage.setItem('sb|sidebar-toggle', document.body.classList.contains('sb-sidenav-toggled'));
|
||||
});
|
||||
}
|
||||
|
||||
});
|
147
dashboard_bak/layout-sidenav-light.html
Normal file
147
dashboard_bak/layout-sidenav-light.html
Normal file
@ -0,0 +1,147 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Sidenav Light - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Start Bootstrap</a>
|
||||
<!-- Sidebar Toggle-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="layoutSidenav">
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="sb-sidenav accordion sb-sidenav-light" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<div class="sb-sidenav-menu-heading">Core</div>
|
||||
<a class="nav-link" href="index.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Dashboard
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Interface</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Layouts
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sb-sidenav-menu-heading">Addons</div>
|
||||
<a class="nav-link" href="charts.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Charts
|
||||
</a>
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sb-sidenav-footer">
|
||||
<div class="small">Logged in as:</div>
|
||||
Start Bootstrap
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid px-4">
|
||||
<h1 class="mt-4">Sidenav Light</h1>
|
||||
<ol class="breadcrumb mb-4">
|
||||
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
|
||||
<li class="breadcrumb-item active">Sidenav Light</li>
|
||||
</ol>
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
This page is an example of using the light side navigation option. By appending the
|
||||
<code>.sb-sidenav-light</code>
|
||||
class to the
|
||||
<code>.sb-sidenav</code>
|
||||
class, the side navigation will take on a light color scheme. The
|
||||
<code>.sb-sidenav-dark</code>
|
||||
is also available for a darker option.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
149
dashboard_bak/layout-static.html
Normal file
149
dashboard_bak/layout-static.html
Normal file
@ -0,0 +1,149 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Static Navigation - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Start Bootstrap</a>
|
||||
<!-- Sidebar Toggle-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="layoutSidenav">
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<div class="sb-sidenav-menu-heading">Core</div>
|
||||
<a class="nav-link" href="index.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Dashboard
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Interface</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Layouts
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sb-sidenav-menu-heading">Addons</div>
|
||||
<a class="nav-link" href="charts.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Charts
|
||||
</a>
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sb-sidenav-footer">
|
||||
<div class="small">Logged in as:</div>
|
||||
Start Bootstrap
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid px-4">
|
||||
<h1 class="mt-4">Static Navigation</h1>
|
||||
<ol class="breadcrumb mb-4">
|
||||
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
|
||||
<li class="breadcrumb-item active">Static Navigation</li>
|
||||
</ol>
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
<p class="mb-0">
|
||||
This page is an example of using static navigation. By removing the
|
||||
<code>.sb-nav-fixed</code>
|
||||
class from the
|
||||
<code>body</code>
|
||||
, the top navigation and side navigation will become static on scroll. Scroll down this page to see an example.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div style="height: 100vh"></div>
|
||||
<div class="card mb-4"><div class="card-body">When scrolling, the navigation stays at the top of the page. This is the end of the static navigation demo.</div></div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
69
dashboard_bak/login.html
Normal file
69
dashboard_bak/login.html
Normal file
@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Login - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="bg-primary">
|
||||
<div id="layoutAuthentication">
|
||||
<div id="layoutAuthentication_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-5">
|
||||
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
||||
<div class="card-header"><h3 class="text-center font-weight-light my-4">Login</h3></div>
|
||||
<div class="card-body">
|
||||
<form>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputEmail" type="email" placeholder="name@example.com" />
|
||||
<label for="inputEmail">Email address</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputPassword" type="password" placeholder="Password" />
|
||||
<label for="inputPassword">Password</label>
|
||||
</div>
|
||||
<div class="form-check mb-3">
|
||||
<input class="form-check-input" id="inputRememberPassword" type="checkbox" value="" />
|
||||
<label class="form-check-label" for="inputRememberPassword">Remember Password</label>
|
||||
</div>
|
||||
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
||||
<a class="small" href="password.html">Forgot Password?</a>
|
||||
<a class="btn btn-primary" href="index.html">Login</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer text-center py-3">
|
||||
<div class="small"><a href="register.html">Need an account? Sign up!</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutAuthentication_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
62
dashboard_bak/password.html
Normal file
62
dashboard_bak/password.html
Normal file
@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Password Reset - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="bg-primary">
|
||||
<div id="layoutAuthentication">
|
||||
<div id="layoutAuthentication_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-5">
|
||||
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
||||
<div class="card-header"><h3 class="text-center font-weight-light my-4">Password Recovery</h3></div>
|
||||
<div class="card-body">
|
||||
<div class="small mb-3 text-muted">Enter your email address and we will send you a link to reset your password.</div>
|
||||
<form>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputEmail" type="email" placeholder="name@example.com" />
|
||||
<label for="inputEmail">Email address</label>
|
||||
</div>
|
||||
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
||||
<a class="small" href="login.html">Return to login</a>
|
||||
<a class="btn btn-primary" href="login.html">Reset Password</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer text-center py-3">
|
||||
<div class="small"><a href="register.html">Need an account? Sign up!</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutAuthentication_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
88
dashboard_bak/register.html
Normal file
88
dashboard_bak/register.html
Normal file
@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Register - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="bg-primary">
|
||||
<div id="layoutAuthentication">
|
||||
<div id="layoutAuthentication_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-7">
|
||||
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
||||
<div class="card-header"><h3 class="text-center font-weight-light my-4">Create Account</h3></div>
|
||||
<div class="card-body">
|
||||
<form>
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating mb-3 mb-md-0">
|
||||
<input class="form-control" id="inputFirstName" type="text" placeholder="Enter your first name" />
|
||||
<label for="inputFirstName">First name</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating">
|
||||
<input class="form-control" id="inputLastName" type="text" placeholder="Enter your last name" />
|
||||
<label for="inputLastName">Last name</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputEmail" type="email" placeholder="name@example.com" />
|
||||
<label for="inputEmail">Email address</label>
|
||||
</div>
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating mb-3 mb-md-0">
|
||||
<input class="form-control" id="inputPassword" type="password" placeholder="Create a password" />
|
||||
<label for="inputPassword">Password</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating mb-3 mb-md-0">
|
||||
<input class="form-control" id="inputPasswordConfirm" type="password" placeholder="Confirm password" />
|
||||
<label for="inputPasswordConfirm">Confirm Password</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4 mb-0">
|
||||
<div class="d-grid"><a class="btn btn-primary btn-block" href="login.html">Create Account</a></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer text-center py-3">
|
||||
<div class="small"><a href="login.html">Have an account? Go to login</a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutAuthentication_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
8
dashboard_bak/simple-datatables.min.js
vendored
Normal file
8
dashboard_bak/simple-datatables.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
dashboard_bak/style.min.css
vendored
Normal file
8
dashboard_bak/style.min.css
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Minified by jsDelivr using clean-css v5.3.1.
|
||||
* Original file: /npm/simple-datatables@7.1.2/dist/style.css
|
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/
|
||||
.datatable-wrapper.no-header .datatable-container{border-top:1px solid #d9d9d9}.datatable-wrapper.no-footer .datatable-container{border-bottom:1px solid #d9d9d9}.datatable-bottom,.datatable-top{padding:8px 10px}.datatable-bottom>div:first-child,.datatable-bottom>nav:first-child,.datatable-top>div:first-child,.datatable-top>nav:first-child{float:left}.datatable-bottom>div:last-child,.datatable-bottom>nav:last-child,.datatable-top>div:last-child,.datatable-top>nav:last-child{float:right}.datatable-selector{padding:6px}.datatable-input{padding:6px 12px}.datatable-info{margin:7px 0}.datatable-pagination ul{margin:0;padding-left:0}.datatable-pagination li{list-style:none;float:left}.datatable-pagination li.datatable-hidden{visibility:hidden}.datatable-pagination a{border:1px solid transparent;float:left;margin-left:2px;padding:6px 12px;position:relative;text-decoration:none;color:#333;cursor:pointer}.datatable-pagination a:hover{background-color:#d9d9d9}.datatable-pagination .datatable-active a,.datatable-pagination .datatable-active a:focus,.datatable-pagination .datatable-active a:hover{background-color:#d9d9d9;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover,.datatable-pagination .datatable-ellipsis a{pointer-events:none;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover{cursor:not-allowed;opacity:.4}.datatable-pagination .datatable-pagination a{font-weight:700}.datatable-table{max-width:100%;width:100%;border-spacing:0;border-collapse:separate}.datatable-table>tbody>tr>td,.datatable-table>tbody>tr>th,.datatable-table>tfoot>tr>td,.datatable-table>tfoot>tr>th,.datatable-table>thead>tr>td,.datatable-table>thead>tr>th{vertical-align:top;padding:8px 10px}.datatable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.datatable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.datatable-table th{vertical-align:bottom;text-align:left}.datatable-table th a{text-decoration:none;color:inherit}.datatable-filter,.datatable-sorter{display:inline-block;height:100%;position:relative;width:100%}.datatable-sorter::after,.datatable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.datatable-sorter::before{border-top:4px solid #000;bottom:0}.datatable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.datatable-ascending .datatable-filter::after,.datatable-ascending .datatable-sorter::after,.datatable-descending .datatable-filter::before,.datatable-descending .datatable-sorter::before{opacity:.6}.datatable-filter::before{content:"";position:absolute;right:4px;opacity:.2;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-radius:50%;border-top:10px solid #000;top:25%}.datatable-filter-active .datatable-filter::before{opacity:.6}.datatable-empty{text-align:center}.datatable-bottom::after,.datatable-top::after{clear:both;content:" ";display:table}table.datatable-table:focus tr.datatable-cursor>td:first-child{border-left:3px #00f solid}table.datatable-table:focus{outline:solid 1px black;outline-offset:-1px}
|
||||
/*# sourceMappingURL=/sm/7faebb93ab083e20bf71c693c970b2206a78620f4a20eb890eeaee129d14cd66.map */
|
634
dashboard_bak/tables.html
Normal file
634
dashboard_bak/tables.html
Normal file
@ -0,0 +1,634 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Tables - SB Admin</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/style.min.css" rel="stylesheet" />
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Start Bootstrap</a>
|
||||
<!-- Sidebar Toggle-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div id="layoutSidenav">
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<div class="sb-sidenav-menu-heading">Core</div>
|
||||
<a class="nav-link" href="index.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Dashboard
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Interface</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Layouts
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sb-sidenav-menu-heading">Addons</div>
|
||||
<a class="nav-link" href="charts.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Charts
|
||||
</a>
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sb-sidenav-footer">
|
||||
<div class="small">Logged in as:</div>
|
||||
Start Bootstrap
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<div class="container-fluid px-4">
|
||||
<h1 class="mt-4">Tables</h1>
|
||||
<ol class="breadcrumb mb-4">
|
||||
<li class="breadcrumb-item"><a href="index.html">Dashboard</a></li>
|
||||
<li class="breadcrumb-item active">Tables</li>
|
||||
</ol>
|
||||
<div class="card mb-4">
|
||||
<div class="card-body">
|
||||
DataTables is a third party plugin that is used to generate the demo table below. For more information about DataTables, please visit the
|
||||
<a target="_blank" href="https://datatables.net/">official DataTables documentation</a>
|
||||
.
|
||||
</div>
|
||||
</div>
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
DataTable Example
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table id="datatablesSimple">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © Your Website 2023</div>
|
||||
<div>
|
||||
<a href="#">Privacy Policy</a>
|
||||
·
|
||||
<a href="#">Terms & Conditions</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/umd/simple-datatables.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/datatables-simple-demo.js"></script>
|
||||
</body>
|
||||
</html>
|
1
js/lottie.min.js
vendored
Normal file
1
js/lottie.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
js/lottie_bodymovin/lottie.min.js
vendored
Normal file
1
js/lottie_bodymovin/lottie.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
409
sql/2023-03-22_survey.sql
Normal file
409
sql/2023-03-22_survey.sql
Normal file
@ -0,0 +1,409 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 5.1.1
|
||||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Erstellungszeit: 22. Mrz 2023 um 17:05
|
||||
-- Server-Version: 10.4.20-MariaDB
|
||||
-- PHP-Version: 8.0.9
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
START TRANSACTION;
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
--
|
||||
-- Datenbank: `survey`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_admin`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_admin` (
|
||||
`uid` int(11) NOT NULL,
|
||||
`vorname` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
|
||||
`nachname` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
|
||||
`mail` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`passwort` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT ''
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Benutzer';
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_admin`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_admin` (`uid`, `vorname`, `nachname`, `mail`, `passwort`) VALUES
|
||||
(1, 'Alexander', 'Schwarz', 'ali@ju-and-mi.de', 'f5df16d9bd60b0894064b5777139de79'),
|
||||
(2, 'Anica', 'Müller', 'anica@ju-and-mi.de', 'e92adb8d4d6f37703623244fd5bb2e85');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_adminlog`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_adminlog` (
|
||||
`lid` int(11) NOT NULL,
|
||||
`Datum` datetime NOT NULL,
|
||||
`IP` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
|
||||
`user_agent` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`uid` int(11) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Logins der Anwender';
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_adminlog`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_adminlog` (`lid`, `Datum`, `IP`, `user_agent`, `uid`) VALUES
|
||||
(1, '2023-03-22 16:16:35', '::1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 0),
|
||||
(2, '2023-03-22 16:18:23', '::1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 1),
|
||||
(3, '2023-03-22 16:23:28', '::1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 1),
|
||||
(4, '2023-03-22 16:23:38', '::1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 1),
|
||||
(5, '2023-03-22 16:41:27', '::1', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 1),
|
||||
(6, '2023-03-22 16:45:14', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0', 1),
|
||||
(7, '2023-03-22 16:45:56', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0', 2),
|
||||
(8, '2023-03-22 16:59:27', '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0', 1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_parameter`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_parameter` (
|
||||
`pid` int(11) NOT NULL,
|
||||
`beschreibung` varchar(250) NOT NULL,
|
||||
`wert` varchar(250) NOT NULL,
|
||||
`sort` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_parameter`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_parameter` (`pid`, `beschreibung`, `wert`, `sort`) VALUES
|
||||
(1, 'Mailadressen Ansprechpartner', 'info@ju-and-mi.de', 1),
|
||||
(2, 'Warnung, wenn Anzahl der Haushalte Pro Gottesdienst überschritten wird', '50', 2),
|
||||
(3, 'Automatischer Registrierungsstopp in Std. vor einem GD', '16', 4),
|
||||
(4, 'Sperrung, wenn Anzahl der Haushalte Pro Gottesdienst überschritten wird ', '52', 3),
|
||||
(5, 'Empfängermailadressen der Gottesdienstteilnehmer', 'service@nak-btb.de, joerg.keefer@gmx.de, steffen-kai.schober@schober-logistik.de, busch.rainer@gmx.de, Flip199@web.de, juergen.sellmaier@web.de', 5),
|
||||
(6, 'Mehrfachbelegung versch. Familien zulassen (0 nein | 1 ja)', '1', 6);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen` (
|
||||
`umid` int(11) NOT NULL,
|
||||
`datum_von` datetime NOT NULL,
|
||||
`datum_bis` datetime NOT NULL,
|
||||
`headline` varchar(255) NOT NULL,
|
||||
`freitext` enum('0','1') NOT NULL DEFAULT '0' COMMENT '0=Kein Frextextfeld;1=Freitextfeld',
|
||||
`uid` int(11) NOT NULL,
|
||||
`datum_erfasst` datetime NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen` (`umid`, `datum_von`, `datum_bis`, `headline`, `freitext`, `uid`, `datum_erfasst`) VALUES
|
||||
(1, '2023-03-21 00:00:00', '2023-03-22 00:00:00', 'Jugendchor am 17.03.2023', '1', 1, '2023-03-21 08:37:07'),
|
||||
(2, '2023-03-27 00:00:00', '2023-03-28 00:00:00', 'Umfrage zur Singstunde', '1', 0, '2023-03-22 14:46:09'),
|
||||
(3, '2023-03-31 00:00:00', '2023-04-01 00:00:00', 'Umfrage zur Singstunde gestern', '1', 1, '2023-03-22 14:56:42'),
|
||||
(4, '2023-03-31 00:00:00', '2023-04-01 00:00:00', 'Umfrage zur Singstunde gestern', '1', 1, '2023-03-22 15:24:03'),
|
||||
(5, '2023-03-22 00:00:00', '2023-03-23 00:00:00', 'Umfrage zur Singstunde am Freitag', '1', 1, '2023-03-22 15:24:53');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen_antworten`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen_antworten` (
|
||||
`uaid` int(11) NOT NULL,
|
||||
`ufid` int(11) NOT NULL,
|
||||
`antwort` varchar(250) NOT NULL,
|
||||
`userorder` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen_antworten`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen_antworten` (`uaid`, `ufid`, `antwort`, `userorder`) VALUES
|
||||
(1, 1, 'gut', 1),
|
||||
(2, 1, 'mega', 0),
|
||||
(3, 1, 'mäßig', 2),
|
||||
(4, 1, 'schlecht', 3),
|
||||
(5, 1, 'widerlich', 4),
|
||||
(6, 1, 'asdf', 0),
|
||||
(7, 2, 'Freitag', 1),
|
||||
(8, 2, 'Samstag', 2),
|
||||
(9, 2, 'Sonntag', 3),
|
||||
(10, 2, 'Dienstag', 0),
|
||||
(11, 3, 'ja', 0),
|
||||
(12, 3, 'nein', 0),
|
||||
(13, 4, 'ja', 0),
|
||||
(14, 4, 'nein', 0),
|
||||
(15, 4, 'keine Meinung', 0),
|
||||
(17, 5, 'mega', 0),
|
||||
(18, 5, 'schlecht', 0),
|
||||
(19, 6, '1', 0),
|
||||
(20, 6, '2', 1),
|
||||
(21, 6, '3', 2),
|
||||
(22, 5, 'geht so', 0),
|
||||
(28, 8, '1234', 0),
|
||||
(29, 8, '12', 1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen_ende`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen_ende` (
|
||||
`uenid` int(11) NOT NULL,
|
||||
`umid` int(11) NOT NULL,
|
||||
`ip` varchar(20) NOT NULL,
|
||||
`session` varchar(50) NOT NULL,
|
||||
`ende` enum('0','1') NOT NULL DEFAULT '0'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen_ende`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen_ende` (`uenid`, `umid`, `ip`, `session`, `ende`) VALUES
|
||||
(1, 1, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', '1'),
|
||||
(2, 1, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', '1'),
|
||||
(7, 1, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', '1'),
|
||||
(8, 1, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', '1'),
|
||||
(9, 1, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', '1');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen_ergebnisse`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen_ergebnisse` (
|
||||
`ueid` int(11) NOT NULL,
|
||||
`ip` varchar(20) NOT NULL,
|
||||
`session` varchar(50) NOT NULL,
|
||||
`ufid` int(11) NOT NULL,
|
||||
`uaid` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen_ergebnisse`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen_ergebnisse` (`ueid`, `ip`, `session`, `ufid`, `uaid`) VALUES
|
||||
(1, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 1, 5),
|
||||
(2, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 2, 7),
|
||||
(3, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 2, 9),
|
||||
(4, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 2, 10),
|
||||
(5, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 3, 12),
|
||||
(6, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 4, 13),
|
||||
(7, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 1, 5),
|
||||
(8, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 2, 7),
|
||||
(9, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 2, 8),
|
||||
(10, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 3, 11),
|
||||
(11, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 4, 15),
|
||||
(43, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 1, 5),
|
||||
(44, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 2, 7),
|
||||
(45, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 2, 9),
|
||||
(46, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 3, 11),
|
||||
(47, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 4, 13),
|
||||
(48, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', 1, 5),
|
||||
(49, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', 2, 10),
|
||||
(50, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', 3, 11),
|
||||
(51, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', 4, 13),
|
||||
(55, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', 1, 5),
|
||||
(56, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', 2, 8),
|
||||
(57, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', 2, 9),
|
||||
(58, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', 3, 11),
|
||||
(59, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', 4, 15);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen_erg_freitext`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen_erg_freitext` (
|
||||
`uefid` int(11) NOT NULL,
|
||||
`umid` int(11) NOT NULL,
|
||||
`ip` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
|
||||
`session` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
|
||||
`freitext` text COLLATE utf8mb4_bin NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen_erg_freitext`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen_erg_freitext` (`uefid`, `umid`, `ip`, `session`, `freitext`) VALUES
|
||||
(1, 1, '127.0.0.1', 'sdha59d369vn72hj48chj81ddg', 'Vielen Dank, hat wirklich Spaß gemacht'),
|
||||
(2, 1, '93.235.5.44', '5facsea9o6djs2e72ada2did5g', 'Erster Online Test'),
|
||||
(4, 1, '93.235.5.44', '6blot3vph8rl8n534492bosjk3', 'Hat Spaß gemacht 😘😘'),
|
||||
(5, 1, '93.235.5.44', '1uqd6oshnd9krglfqt3b9natgj', 'Freu mich aufs nächste Mal'),
|
||||
(6, 1, '80.187.97.213', 's8m4bq6q5h57vtncduhjs6shkc', '👍🏽');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Tabellenstruktur für Tabelle `jumi_umfragen_fragen`
|
||||
--
|
||||
|
||||
CREATE TABLE `jumi_umfragen_fragen` (
|
||||
`ufid` int(11) NOT NULL,
|
||||
`umid` int(11) NOT NULL,
|
||||
`frage` varchar(255) NOT NULL,
|
||||
`multiple` enum('0','1') NOT NULL DEFAULT '0' COMMENT '0=Einfachantwort,1=Mehrfachantworten '
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Daten für Tabelle `jumi_umfragen_fragen`
|
||||
--
|
||||
|
||||
INSERT INTO `jumi_umfragen_fragen` (`ufid`, `umid`, `frage`, `multiple`) VALUES
|
||||
(1, 1, 'Wie fandet ihr das Lied \"Dona nobis Pacem\"?', '0'),
|
||||
(2, 1, 'An welchem Wochentag würdet ihr gerne proben?', '1'),
|
||||
(3, 1, 'Ging die Singstunde zu lange', '0'),
|
||||
(4, 1, 'War der Standort Beutelsbach in Ordnung', '0'),
|
||||
(5, 2, 'Wie gefällt euch das Lied \"Wo zwei oder drei\"?', '0'),
|
||||
(6, 3, 'Wie viele Sterne würdet ihr für die Singstunde vergeben?', '0'),
|
||||
(8, 5, 'Wie fandet ihr \"Wo 2 oder 3\"?', '0');
|
||||
|
||||
--
|
||||
-- Indizes der exportierten Tabellen
|
||||
--
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_admin`
|
||||
--
|
||||
ALTER TABLE `jumi_admin`
|
||||
ADD PRIMARY KEY (`uid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_adminlog`
|
||||
--
|
||||
ALTER TABLE `jumi_adminlog`
|
||||
ADD PRIMARY KEY (`lid`),
|
||||
ADD KEY `gd_adminlog_ibfk_1` (`uid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_parameter`
|
||||
--
|
||||
ALTER TABLE `jumi_parameter`
|
||||
ADD PRIMARY KEY (`pid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen`
|
||||
ADD PRIMARY KEY (`umid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen_antworten`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_antworten`
|
||||
ADD PRIMARY KEY (`uaid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen_ende`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_ende`
|
||||
ADD PRIMARY KEY (`uenid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen_ergebnisse`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_ergebnisse`
|
||||
ADD PRIMARY KEY (`ueid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen_erg_freitext`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_erg_freitext`
|
||||
ADD PRIMARY KEY (`uefid`);
|
||||
|
||||
--
|
||||
-- Indizes für die Tabelle `jumi_umfragen_fragen`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_fragen`
|
||||
ADD PRIMARY KEY (`ufid`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für exportierte Tabellen
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_admin`
|
||||
--
|
||||
ALTER TABLE `jumi_admin`
|
||||
MODIFY `uid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_adminlog`
|
||||
--
|
||||
ALTER TABLE `jumi_adminlog`
|
||||
MODIFY `lid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_parameter`
|
||||
--
|
||||
ALTER TABLE `jumi_parameter`
|
||||
MODIFY `pid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen`
|
||||
MODIFY `umid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen_antworten`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_antworten`
|
||||
MODIFY `uaid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen_ende`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_ende`
|
||||
MODIFY `uenid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen_ergebnisse`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_ergebnisse`
|
||||
MODIFY `ueid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen_erg_freitext`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_erg_freitext`
|
||||
MODIFY `uefid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT für Tabelle `jumi_umfragen_fragen`
|
||||
--
|
||||
ALTER TABLE `jumi_umfragen_fragen`
|
||||
MODIFY `ufid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
8235
sql/web360_survey.sql
Normal file
8235
sql/web360_survey.sql
Normal file
File diff suppressed because it is too large
Load Diff
8
templates/modern/dashboard/footer.html
Normal file
8
templates/modern/dashboard/footer.html
Normal file
@ -0,0 +1,8 @@
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © JU & MI 2023</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
106
templates/modern/dashboard/index.html
Normal file
106
templates/modern/dashboard/index.html
Normal file
@ -0,0 +1,106 @@
|
||||
{if $action == ''}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Login - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
<script src="../js/lottie_bodymovin/lottie.min.js"></script>
|
||||
<style type="text/css">
|
||||
.lottie-container {
|
||||
justify-content: center;
|
||||
top: 40px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="navtop"></div>
|
||||
{literal}
|
||||
<script>
|
||||
$(function(){
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="layoutAuthentication">
|
||||
<div id="layoutAuthentication_content">
|
||||
<main>
|
||||
{if $index_error == '1'}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{$index_error_text}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-5">
|
||||
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
||||
<div class="card-header">
|
||||
<h3 class="text-center font-weight-light my-4">JU & MI Login</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action=?action=anmeld method="POST" name="login">
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputEmail" name="mail" type="email" placeholder="Mailadresse" />
|
||||
<label for="inputEmail">Mailadresse</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputPassword" name="password" type="password" placeholder="Passwort" />
|
||||
<label for="inputPassword">Passwort</label>
|
||||
</div>
|
||||
<!--<div class="form-check mb-3">
|
||||
<input class="form-check-input" id="inputRememberPassword" type="checkbox" value="" />
|
||||
<label class="form-check-label" for="inputRememberPassword">Remember Password</label>
|
||||
</div>
|
||||
-->
|
||||
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
||||
<!--<a class="small" href="password.html">Forgot Password?</a>-->
|
||||
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Login">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer text-center py-3">
|
||||
<!--<div class="small"><a href="register.html">Need an account? Sign up!</a></div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lottie-container" id="lottie-container"></div>
|
||||
<script type="text/javascript">
|
||||
var item = bodymovin.loadAnimation({
|
||||
wrapper: document.getElementById('lottie-container'),
|
||||
animType: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: '../media/data.json'
|
||||
});
|
||||
</script>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutAuthentication_footer">
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
{if $action == 'anmeld'}
|
||||
{if $index_login == '1'}
|
||||
<meta http-equiv="refresh" content="0; URL=startseite.php">
|
||||
{/if}
|
||||
{/if}
|
77
templates/modern/dashboard/nav.html
Normal file
77
templates/modern/dashboard/nav.html
Normal file
@ -0,0 +1,77 @@
|
||||
<div id="layoutSidenav_nav">
|
||||
<nav class="bg-juandmi sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<!--<div class="sb-sidenav-menu-heading">Core</div>-->
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Home
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Umfrage</div>
|
||||
<a class="nav-link" href="survey_erfassen.php?new=1">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Erstellen
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Erstellen
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
-->
|
||||
<div class="sb-sidenav-menu-heading">Administration</div>
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Systemparameter
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-juandmi sb-sidenav-footer">
|
||||
<div class="small">Eingeloggt als:</div>
|
||||
{$nav_name}
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
30
templates/modern/dashboard/navtop.html
Normal file
30
templates/modern/dashboard/navtop.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!--Navigation top-->
|
||||
<nav class="bg-juandmi sb-topnav navbar navbar-expand navbar-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Administration JU & MI</a>
|
||||
<!-- Sidebar Toggle: js/scripts.js in der callbackfunktion vom Load aufrufen beim einbetten-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<!--
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
-->
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<!--
|
||||
<li><a class="dropdown-item" href="tables.html">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
-->
|
||||
<li><a class="dropdown-item" href="logout.php">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
55
templates/modern/dashboard/startseite.html
Normal file
55
templates/modern/dashboard/startseite.html
Normal file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Dashboard - SB Admin</title>
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
{literal}
|
||||
<script>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<br>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-user me-1"></i>
|
||||
Herzlich willkommen {$startseite_name}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">Herzlich willkommen zur Administration von Jugendchor & Miteinander.<br><br>
|
||||
Bitte Treffen Sie im Menü eine Auswahl!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
379
templates/modern/dashboard/survey_erfassen.html
Normal file
379
templates/modern/dashboard/survey_erfassen.html
Normal file
@ -0,0 +1,379 @@
|
||||
{if $action == ''}
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../jquery/jquery-ui.css">
|
||||
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
|
||||
<script src="../jquery/jquery-1.12.4.js"></script>
|
||||
<script src="../jquery/jquery-ui.js"></script>
|
||||
<script src="../jquery/globalize.js"></script>
|
||||
<script src="../jquery/globalize.culture.de-DE.js"></script>
|
||||
<script src="../jquery/jquery.mousewheel.js"></script>
|
||||
<script src="../jquery/jquery.timepicker.min.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<style type="text/css">
|
||||
.spinner {
|
||||
width: 112px;
|
||||
height: 15px;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$( function() {
|
||||
$( ".spinner" ).spinner({
|
||||
change: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
spin: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
start: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
stop: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
step: 1,
|
||||
numberFormat: "i",
|
||||
min:0,
|
||||
decimals:0
|
||||
});
|
||||
Globalize.culture( "de-DE" );
|
||||
} );
|
||||
|
||||
function trackKeys(evnt,regEx) {
|
||||
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
|
||||
return !!String.fromCharCode(keyCode).match(regEx);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".datepicker").datepicker({
|
||||
prevText: '< zurück', prevStatus: '',
|
||||
prevJumpText: '<<', prevJumpStatus: '',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
nextText: 'Vor >', nextStatus: '',
|
||||
nextJumpText: '>>', nextJumpStatus: '',
|
||||
currentText: 'Heute', currentStatus: '',
|
||||
todayText: 'Heute', todayStatus: '',
|
||||
clearText: '-', clearStatus: '',
|
||||
closeText: 'schließen', closeStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
weekHeader: 'Wo',
|
||||
weekStatus: 'Woche des Monats',
|
||||
showMonthAfterYear: false,
|
||||
showOn: 'focus',
|
||||
firstDay: 1,
|
||||
numberOfMonths : 1,
|
||||
yearRange: "c-5:+5",
|
||||
showButtonPanel : true,
|
||||
altField : "#datepicker_input",
|
||||
dateFormat : "dd.mm.yy",
|
||||
showWeek: true
|
||||
});
|
||||
$.datepicker._gotoToday = function(id) {
|
||||
$(id).datepicker('setDate', new Date()).datepicker('hide').blur();
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('input.timepicker').timepicker({
|
||||
timeFormat: 'HH:mm',
|
||||
interval: 30,
|
||||
minTime: '00:00',
|
||||
maxTime: '23:00',
|
||||
startTime: '0',
|
||||
dynamic: false,
|
||||
dropdown: true,
|
||||
scrollbar: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
{literal}
|
||||
<script>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<form action="?action=fragen" method='post' name='erfassen'>
|
||||
{if $umfrageerf_error == '1'}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{$umfrageerf_error_text}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Zeitraum der Umfrage und Bezeichnung
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar ab Datum:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="datepicker form-control" name="datumvon" id="datumvon" value="{$umfrageerf_value_datumvon}"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar ab Uhrzeit:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="timepicker form-control" name="zeitvon" id="zeitvon" value="{$umfrageerf_value_zeitvon}" onKeypress="return trackKeys(event,/[0-9,:]/);"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar bis Datum:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="datepicker form-control" name="datumbis" id="datumbis" value="{$umfrageerf_value_datumbis}"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar bis Uhrzeit:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="timepicker form-control" name="zeitbis" id="zeitbis" value="{$umfrageerf_value_zeitbis}" onKeypress="return trackKeys(event,/[0-9,:]/);"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Headline der Umfrage:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="headline" id="headline" value="{$umfrageerf_value_headline}" size="60"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Bemerkungsfeld am Ende der Umfrage:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" name="freitext" id="freitext" value="{$umfrageerf_value_freitext}" {if $umfrageerf_value_freitext == 1} checked {/if}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Weiter - Fragen erfassen">
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
||||
{if $action == 'fragen'}
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Scrollable tab for Bootstrap 5">
|
||||
<meta name="keywords" content="Bootstrap, Bootstrap 5, Tabs">
|
||||
<meta name="author" content="Federico Navarrete">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<script src="all.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
||||
<!-- jQuery UI CSS
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
|
||||
-->
|
||||
<script src="../jquery/jquery-ui.js"></script>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
{literal}
|
||||
|
||||
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
erfassensave();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
//Helper function to keep table row from collapsing when being sorted
|
||||
var fixHelperModified = function(e, tr) {
|
||||
var $originals = tr.children();
|
||||
var $helper = tr.clone();
|
||||
$helper.children().each(function(index)
|
||||
{
|
||||
$(this).width($originals.eq(index).width())
|
||||
});
|
||||
return $helper;
|
||||
};
|
||||
|
||||
//Make diagnosis table sortable
|
||||
$("#sortable tbody").sortable({
|
||||
helper: fixHelperModified,
|
||||
stop: function(event,ui) {
|
||||
renumber_table('#sortable')
|
||||
var order = $('#sortable tbody').sortable('toArray', { attribute: 'data-sort-id'});
|
||||
console.log(order.join(','));
|
||||
sortOrder = order.join(',');
|
||||
$.post(
|
||||
'../controller/reihenfolge.ajax.php',
|
||||
{'action':'updateSortedRows','sortOrder':sortOrder},
|
||||
function(data){
|
||||
var a = data.split('|***|');
|
||||
if(a[1]=="update"){
|
||||
$('#msg').show().delay(1000).fadeOut(500);
|
||||
$('#msg').html(a[0]);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}).disableSelection();
|
||||
|
||||
|
||||
});
|
||||
|
||||
//Renumber table rows
|
||||
function renumber_table(tableID) {
|
||||
$(tableID + " tr").each(function() {
|
||||
count = $(this).parent().children().index($(this)) + 1;
|
||||
$(this).find('.priority').html(count);
|
||||
});
|
||||
}
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<!--<body onload="if(document.erfassen)document.erfassen.{$umfrageerf_focus}.focus();return false;">-->
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
{literal}
|
||||
<script>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<script src="../js/components/admin_erfassen.js"></script>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Frage & Antworten erfassen
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Frage:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="frage" id="frage" value="{$umfrageerf_value_frage}" size="60" onkeydown="keysave(this)"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Antwort:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="antwort" id="antwort" value="{$umfrageerf_value_antwort}" size="60" onkeydown="keysave(this)"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Mehrfachantworten erlauben:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" onclick="erf_multiple();" {if $umfrageerf_value_multiple == 1} checked {/if}></div>
|
||||
</div>
|
||||
</div>
|
||||
<p align='center'>
|
||||
<div class="col-12">
|
||||
<a type="submit" href="?" class="btn btn-light btn-sm">Zurück</a>
|
||||
<button class="btn btn-primary btn-sm" id="save" onclick="erfassensave();">Speichern</button>
|
||||
</div>
|
||||
</p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Vorschau der Fragen
|
||||
</div>
|
||||
<div class="w-100 pt-3">
|
||||
<div class="scroller scroller-left float-start mt-2"><i class="bi bi-caret-left-fill"></i></div>
|
||||
<div class="scroller scroller-right float-end mt-2"><i class="bi bi-caret-right-fill"></i></div>
|
||||
<div class="wrapper-nav">
|
||||
<nav class="nav nav-tabs list mt-2" id="myTab" role="tablist">
|
||||
{section name=table_data1 loop=$table_data1}
|
||||
<a {if $table_data1[table_data1].ufid == $umfrageerf_gesp_werte_value_ufid2} class="nav-item nav-link pointer active" {else} class="nav-item nav-link pointer" {/if} data-bs-target="#tab{$table_data1[table_data1].ufid}" href="?action=fragen&tabufid={$table_data1[table_data1].ufid}&erfassen=1"role="tab" aria-controls="public" {if $smarty.section.table_data1.rownum == $umfrageerf_gesp_werte_value_ufid2} aria-selected="true" {/if}>Frage {$smarty.section.table_data1.rownum}</a>
|
||||
{/section}
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#neuefrage" href="?action=fragen&tabufid=neuefrage&erfassen=1" role="tab">Neue Frage</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="tab-content p-3" id="myTabContent">
|
||||
<div role="tabpanel" class="tab-pane fade active show mt-2" id="tab{$umfrageerf_gesp_werte_value_ufid2}" aria-labelledby="public-tab" >
|
||||
<h6>{$umfrageerf_value_frage}</h6>
|
||||
<br>
|
||||
{if $table_data2_anz > 0}
|
||||
<table class="table" id="sortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">Sortierung</th>
|
||||
<th width="60%">Antwort</th>
|
||||
<th width="20%">Löschen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tb">
|
||||
{section name=table_data2 loop=$table_data2}
|
||||
<tr data-sort-id="{$table_data2[table_data2].uaid}">
|
||||
<td valign="middle" class="priority">{$smarty.section.table_data2.rownum}</td>
|
||||
<td valign="middle">{$table_data2[table_data2].antwort}</td>
|
||||
<td valign="middle"><button class="btn btn-delete btn-danger btn-sm" onclick="onClickDelete({$table_data2[table_data2].uaid})">Löschen</button></td>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
<div id="msg"></div>
|
||||
{/if}
|
||||
<p align='center'><button class="btn btn-delete btn-danger btn-sm" onclick="onClickDeleteQuestion({$umfrageerf_value_ufid})">Frage Löschen</button></p>
|
||||
</div>
|
||||
<div class="tab-pane fade mt-2" id="neuefrage" role="tabpanel" aria-labelledby="group-dropdown2-tab" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../bootstrap/node_modules/move-js/move.js"></script>
|
||||
<link href="../bootstrap/dist/scrollable-tabs.min.css" rel="stylesheet">
|
||||
<script src="../bootstrap/dist/scrollable-tabs.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
{/if}
|
@ -20,7 +20,7 @@
|
||||
padding-left: 20px;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.1/lottie.min.js"></script>
|
||||
<script src="../js/lottie_bodymovin/lottie.min.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
.lottie-container {
|
||||
|
@ -0,0 +1,623 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 13:36:14
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\survey_erfassen.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641af63e62ee44_77892324',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'24d7aa6826daf7a7d133b6cb7a262cac8f8e71a5' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\survey_erfassen.html',
|
||||
1 => 1679466762,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641af63e62ee44_77892324 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<link rel="stylesheet" href="../jquery/jquery-ui.css">
|
||||
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/globalize.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery.timepicker.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
<style type="text/css">
|
||||
.spinner {
|
||||
width: 112px;
|
||||
height: 15px;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$( function() {
|
||||
$( ".spinner" ).spinner({
|
||||
change: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
spin: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
start: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
stop: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
step: 1,
|
||||
numberFormat: "i",
|
||||
min:0,
|
||||
decimals:0
|
||||
});
|
||||
Globalize.culture( "de-DE" );
|
||||
} );
|
||||
|
||||
function trackKeys(evnt,regEx) {
|
||||
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
|
||||
return !!String.fromCharCode(keyCode).match(regEx);
|
||||
}
|
||||
//-->
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(function() {
|
||||
$(".datepicker").datepicker({
|
||||
prevText: '< zurück', prevStatus: '',
|
||||
prevJumpText: '<<', prevJumpStatus: '',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
nextText: 'Vor >', nextStatus: '',
|
||||
nextJumpText: '>>', nextJumpStatus: '',
|
||||
currentText: 'Heute', currentStatus: '',
|
||||
todayText: 'Heute', todayStatus: '',
|
||||
clearText: '-', clearStatus: '',
|
||||
closeText: 'schließen', closeStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
weekHeader: 'Wo',
|
||||
weekStatus: 'Woche des Monats',
|
||||
showMonthAfterYear: false,
|
||||
showOn: 'focus',
|
||||
firstDay: 1,
|
||||
numberOfMonths : 1,
|
||||
yearRange: "c-5:+5",
|
||||
showButtonPanel : true,
|
||||
altField : "#datepicker_input",
|
||||
dateFormat : "dd.mm.yy",
|
||||
showWeek: true
|
||||
});
|
||||
$.datepicker._gotoToday = function(id) {
|
||||
$(id).datepicker('setDate', new Date()).datepicker('hide').blur();
|
||||
}
|
||||
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('input.timepicker').timepicker({
|
||||
timeFormat: 'HH:mm',
|
||||
interval: 30,
|
||||
minTime: '00:00',
|
||||
maxTime: '23:00',
|
||||
startTime: '0',
|
||||
dynamic: false,
|
||||
dropdown: true,
|
||||
scrollbar: true
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<style>
|
||||
.StandardTable thead th{
|
||||
background: lightgray;
|
||||
border: 1px solid #656565;
|
||||
font-size:12px;
|
||||
font-family:Arial;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
textarea{
|
||||
border: 1px solid #888;
|
||||
height: 6.7em;
|
||||
width: 48.5em;
|
||||
}
|
||||
select{
|
||||
width:630px;
|
||||
}
|
||||
.form-control{
|
||||
width:50%;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form action="?action=fragen" method='post' name='erfassen'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrageerf_error']->value == '1') {?>
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/pflichtfelder/achtung_gross.gif">
|
||||
</td>
|
||||
<td><b>Achtung!</b><br>
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrageerf_error_text']->value;?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<?php }?>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Zeitraum der Umfrage und Bezeichnung</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
|
||||
<tr>
|
||||
<td width="30%">
|
||||
Link verfügbar ab Datum:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="datepicker form-control" name="datumvon" id="datumvon" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_datumvon']->value;?>
|
||||
">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
Link verfügbar ab Uhrzeit:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="timepicker form-control" name="zeitvon" id="zeitvon" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_zeitvon']->value;?>
|
||||
" onKeypress="return trackKeys(event,/[0-9,:]/);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
Link verfügbar bis Datum:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="datepicker form-control" name="datumbis" id="datumbis" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_datumbis']->value;?>
|
||||
">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
Link verfügbar bis Uhrzeit:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="timepicker form-control" name="zeitbis" id="zeitbis" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_zeitbis']->value;?>
|
||||
" onKeypress="return trackKeys(event,/[0-9,:]/);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Headline der Umfrage:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-control" type="text" name="headline" id="headline" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_headline']->value;?>
|
||||
" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30%">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Bemerkungsfeld am Ende der Umfrage:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" name="freitext" id="freitext" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_freitext']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['umfrageerf_value_freitext']->value == 1) {?> checked <?php }?>>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<p align='center'>
|
||||
<div class="col-12 btn-group">
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Weiter - Fragen erfassen">
|
||||
</div>
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Scrollable tab for Bootstrap 5">
|
||||
<meta name="keywords" content="Bootstrap, Bootstrap 5, Tabs">
|
||||
<meta name="author" content="Federico Navarrete">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- jQuery UI CSS
|
||||
<?php echo '<script'; ?>
|
||||
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
|
||||
|
||||
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
erfassensave();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
//Helper function to keep table row from collapsing when being sorted
|
||||
var fixHelperModified = function(e, tr) {
|
||||
var $originals = tr.children();
|
||||
var $helper = tr.clone();
|
||||
$helper.children().each(function(index)
|
||||
{
|
||||
$(this).width($originals.eq(index).width())
|
||||
});
|
||||
return $helper;
|
||||
};
|
||||
|
||||
//Make diagnosis table sortable
|
||||
$("#sortable tbody").sortable({
|
||||
helper: fixHelperModified,
|
||||
stop: function(event,ui) {
|
||||
renumber_table('#sortable')
|
||||
var order = $('#sortable tbody').sortable('toArray', { attribute: 'data-sort-id'});
|
||||
console.log(order.join(','));
|
||||
sortOrder = order.join(',');
|
||||
$.post(
|
||||
'../controller/reihenfolge.ajax.php',
|
||||
{'action':'updateSortedRows','sortOrder':sortOrder},
|
||||
function(data){
|
||||
var a = data.split('|***|');
|
||||
if(a[1]=="update"){
|
||||
$('#msg').show().delay(1000).fadeOut(500);
|
||||
$('#msg').html(a[0]);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}).disableSelection();
|
||||
|
||||
|
||||
});
|
||||
|
||||
//Renumber table rows
|
||||
function renumber_table(tableID) {
|
||||
$(tableID + " tr").each(function() {
|
||||
count = $(this).parent().children().index($(this)) + 1;
|
||||
$(this).find('.priority').html(count);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<style type="text/css">
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
</style>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
<style>
|
||||
.StandardTable thead th{
|
||||
background: lightgray;
|
||||
border: 1px solid #656565;
|
||||
font-size:12px;
|
||||
font-family:Arial;
|
||||
padding-top:5px;
|
||||
padding-bottom:5px;
|
||||
padding-left:5px;
|
||||
padding-right:5px;
|
||||
}
|
||||
textarea{
|
||||
border: 1px solid #888;
|
||||
height: 6.7em;
|
||||
width: 48.5em;
|
||||
}
|
||||
select{
|
||||
width:630px;
|
||||
}
|
||||
.form-control{
|
||||
width:50%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body onload="if(document.erfassen)document.erfassen.<?php echo $_smarty_tpl->tpl_vars['umfrageerf_focus']->value;?>
|
||||
.focus();return false;">
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_erfassen.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- <form action="?action=save" method='post' name='erfassen'>
|
||||
-->
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrageerf_error']->value == '1') {?>
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/pflichtfelder/achtung_gross.gif">
|
||||
</td>
|
||||
<td><b>Achtung!</b><br>
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrageerf_error_text']->value;?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<?php }?>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Frage & Antworten erfassen</b>
|
||||
</legend>
|
||||
<br />
|
||||
<br />
|
||||
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
|
||||
<tr>
|
||||
<td>
|
||||
Frage:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-control" type="text" name="frage" id="frage" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_frage']->value;?>
|
||||
" size="60" onkeydown="keysave(this)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Antwort:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-control" type="text" name="antwort" id="antwort" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_antwort']->value;?>
|
||||
" size="60" onkeydown="keysave(this)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Mehrfachantworten erlauben:
|
||||
</td>
|
||||
<td valign="top">
|
||||
<input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" onclick="erf_multiple();" <?php if ($_smarty_tpl->tpl_vars['umfrageerf_value_multiple']->value == 1) {?> checked <?php }?>>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
<br />
|
||||
<p align='center'>
|
||||
<div class="col-12 btn-group">
|
||||
<a type="submit" href="?" class="btn btn-light">Zurück - Stammdaten bearbeiten</a>
|
||||
<!-- <input type='submit' class="btn btn-primary" name='senden' value="Frage/Antwort Speichern">
|
||||
-->
|
||||
|
||||
<button class="btn btn-primary" id="save" onclick="erfassensave();">Frage/Antwort Speichern</button>
|
||||
</div>
|
||||
</p>
|
||||
<br />
|
||||
</fieldset>
|
||||
<br>
|
||||
<br>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<b>Vorschau der Fragen</b>
|
||||
</legend>
|
||||
<div class="w-100 pt-3">
|
||||
<div class="scroller scroller-left float-start mt-2"><i class="bi bi-caret-left-fill"></i></div>
|
||||
<div class="scroller scroller-right float-end mt-2"><i class="bi bi-caret-right-fill"></i></div>
|
||||
<div class="wrapper-nav">
|
||||
<nav class="nav nav-tabs list mt-2" id="myTab" role="tablist">
|
||||
<?php
|
||||
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data1_0_total = $__section_table_data1_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data1_0_total !== 0) {
|
||||
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_0_iteration;
|
||||
?>
|
||||
<a <?php if ($_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'] == $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value) {?> class="nav-item nav-link pointer active" <?php } else { ?> class="nav-item nav-link pointer" <?php }?> data-bs-target="#tab<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'];?>
|
||||
" href="?action=fragen&tabufid=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'];?>
|
||||
&erfassen=1"role="tab" aria-controls="public" <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null) == $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value) {?> aria-selected="true" <?php }?>>Frage <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-item nav-link pointer active" data-bs-toggle="tab" data-bs-target="#tab1" role="tab" aria-controls="public" aria-selected="true">Tab1</a>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#tab2" role="tab" data-bs-toggle="tab">Tab 2</a>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#tab3" role="tab" data-bs-toggle="tab">Tab 3</a>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#tab4" role="tab" data-bs-toggle="tab">Tab 4</a>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#tab5" role="tab" data-bs-toggle="tab">Tab 5</a>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#tab6" role="tab" data-bs-toggle="tab">Tab 6</a>
|
||||
-->
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#neuefrage" href="?action=fragen&tabufid=neuefrage&erfassen=1" role="tab">Neue Frage</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="tab-content p-3" id="myTabContent">
|
||||
<div role="tabpanel" class="tab-pane fade active show mt-2" id="tab<?php echo $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value;?>
|
||||
" aria-labelledby="public-tab" >
|
||||
<h2><?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_frage']->value;?>
|
||||
</h2>
|
||||
<br>
|
||||
<?php if ($_smarty_tpl->tpl_vars['table_data2_anz']->value > 0) {?>
|
||||
<table class="table" id="sortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sortierung</th>
|
||||
<th>Antwortmöglichkeit</th>
|
||||
<th>Löschen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tb">
|
||||
<?php
|
||||
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data2_1_total = $__section_table_data2_1_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data2_1_total !== 0) {
|
||||
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_1_iteration;
|
||||
?>
|
||||
<tr data-sort-id="<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
">
|
||||
<td valign="middle" class="priority"><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>
|
||||
</td>
|
||||
<td valign="middle"><?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['antwort'];?>
|
||||
</td>
|
||||
<td valign="middle"><button class="btn btn-delete btn-danger" onclick="onClickDelete(<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
)">Löschen</button></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<div id="msg"></div>
|
||||
<?php }?>
|
||||
<!--
|
||||
</form>
|
||||
-->
|
||||
<p align='center'><button class="btn btn-delete btn-danger" onclick="onClickDeleteQuestion(<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_ufid']->value;?>
|
||||
)">Frage Löschen</button></p>
|
||||
|
||||
</div>
|
||||
<div class="tab-pane fade mt-2" id="neuefrage" role="tabpanel" aria-labelledby="group-dropdown2-tab" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/move-js/move.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link href="../bootstrap/dist/scrollable-tabs.min.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/dist/scrollable-tabs.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -0,0 +1,407 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 07:48:15
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\survey\index.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641aa4af147790_71096655',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2acd1cee82b7ac62b13bcb7529260c997ac1545c' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\survey\\index.html',
|
||||
1 => 1679467693,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641aa4af147790_71096655 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Umfrage</title>
|
||||
<!-- https://www.budde-mediendesign.de/blog/programmierung/das-bootstrap-4-grid-system-->
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<!--
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
|
||||
-->
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color : #FFF;
|
||||
}
|
||||
.headline {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/lottie_bodymovin/lottie.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style type="text/css">
|
||||
.lottie-container {
|
||||
justify-content: center;
|
||||
top: 20px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
height: 300px;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="grid">
|
||||
<div class="headline col-12 bg-white">
|
||||
|
||||
<div class="lottie-container" id="lottie-container"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
|
||||
var item = bodymovin.loadAnimation({
|
||||
wrapper: document.getElementById('lottie-container'),
|
||||
animType: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: '../media/data.json'
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
</div>
|
||||
<form action="?action=umfrage" method='post' name='start'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '0') {?>
|
||||
<div class="col-12 ">
|
||||
<h4>
|
||||
<p class="text-center">Aktuell sind keine Umfragen verfügbar</p>
|
||||
</h4>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_ende']->value == '1') {?>
|
||||
<div class="col-12 ">
|
||||
<h4>
|
||||
<p class="text-center">Herzlichen Dank für deine Teilnahme</p>
|
||||
</h4>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '1' && $_smarty_tpl->tpl_vars['umfrage_ende']->value != '1') {?>
|
||||
<div class="col-12 ">
|
||||
<h4>
|
||||
<p class="text-center">Umfrage wird geladen</p>
|
||||
</h4>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '1' && $_smarty_tpl->tpl_vars['umfrage_ende']->value == 0) {?>
|
||||
<input type="hidden" name="umid" value="<?php echo $_smarty_tpl->tpl_vars['umfrage_umid']->value;?>
|
||||
">
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
window.onload=function(){
|
||||
window.setTimeout(document.start.submit.bind(document.start), 5000);
|
||||
};
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</form>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == 'umfrage') {?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Umfrage</title>
|
||||
<!-- https://www.budde-mediendesign.de/blog/programmierung/das-bootstrap-4-grid-system-->
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<!--
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
|
||||
-->
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color : #FFF;
|
||||
}
|
||||
.headline {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.question {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 1px;
|
||||
padding-left: 10px;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
color: #FFF;
|
||||
background-color: #35B6BB;
|
||||
}
|
||||
.answer {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.prog-col {
|
||||
background-color: #35B6BB;
|
||||
}
|
||||
.btn-outline-primary{
|
||||
--bs-btn-color: #0D7377;
|
||||
--bs-btn-border-color: #0D7377;
|
||||
--bs-btn-hover-color: #fff;
|
||||
--bs-btn-hover-bg: #0D7377;
|
||||
--bs-btn-hover-border-color: #0D7377;
|
||||
--bs-btn-focus-shadow-rgb: 13, 110, 253;
|
||||
--bs-btn-active-color: #fff;
|
||||
--bs-btn-active-bg: #0D7377;
|
||||
--bs-btn-active-border-color: #0D7377;
|
||||
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
--bs-btn-disabled-color: #0D7377;
|
||||
--bs-btn-disabled-bg: transparent;
|
||||
--bs-btn-disabled-border-color: #0D7377;
|
||||
--bs-gradient: none;
|
||||
background-color: #F8F9F9;
|
||||
}
|
||||
.btn-group-vertical > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
.btn-primary {
|
||||
--bs-btn-color: #fff;
|
||||
--bs-btn-bg: #0D7377;
|
||||
--bs-btn-border-color: #0D7377;
|
||||
--bs-btn-hover-color: #fff;
|
||||
--bs-btn-hover-bg: #35B6BB;
|
||||
--bs-btn-hover-border-color: #0BA7AD;
|
||||
--bs-btn-focus-shadow-rgb: 49, 132, 253;
|
||||
--bs-btn-active-color: #fff;
|
||||
--bs-btn-active-bg: #0BA7AD;
|
||||
--bs-btn-active-border-color: #0a53be;
|
||||
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
--bs-btn-disabled-color: #fff;
|
||||
--bs-btn-disabled-bg: #0D7377;
|
||||
--bs-btn-disabled-border-color: #0D7377;
|
||||
}
|
||||
.smaller{
|
||||
font-size: 0.6em;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.1/lottie.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style type="text/css">
|
||||
.lottie-container {
|
||||
justify-content: center;
|
||||
top: 20px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
height: 300px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<!-- hier kommt der Inhalt der Seite hin -->
|
||||
<div class="container">
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_showende']->value != '1') {?>
|
||||
<div class="progress" style="height: 5px;">
|
||||
<div class="progress-bar prog-col" role="progressbar" style="width:<?php echo $_smarty_tpl->tpl_vars['umfrage_progress']->value;?>
|
||||
%" aria-valuenow="<?php echo $_smarty_tpl->tpl_vars['umfrage_progress']->value;?>
|
||||
" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div class="headline col-12 bg-white">
|
||||
<h2>
|
||||
<p class="text-center"><?php echo $_smarty_tpl->tpl_vars['umfrage_headline']->value;?>
|
||||
</p>
|
||||
</h2>
|
||||
</div>
|
||||
<form action="?action=umfrage" method='post' name='erfassen'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_showfreitext']->value == '0') {?>
|
||||
<?php
|
||||
$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data_0_total = $__section_table_data_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data_0_total !== 0) {
|
||||
for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
|
||||
?>
|
||||
<div class="question col-12 ">
|
||||
<h4>
|
||||
<p class="text-center"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['frage'];?>
|
||||
</p>
|
||||
</h4>
|
||||
<?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['multiple'] == '1') {?>
|
||||
<p class="text-center small">Mehrfachantworten möglich</p>
|
||||
<?php }?>
|
||||
</div>
|
||||
<br>
|
||||
<div class="col-12 btn-group-vertical btn-toolbar" role="group" aria-label="Basic radio toggle button group">
|
||||
<?php
|
||||
$__section_inner_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner']) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_inner_1_total = $__section_inner_1_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_inner'] = new Smarty_Variable(array());
|
||||
if ($__section_inner_1_total !== 0) {
|
||||
for ($__section_inner_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] = 0; $__section_inner_1_iteration <= $__section_inner_1_total; $__section_inner_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] = $__section_inner_1_iteration;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['multiple'] == '0') {?>
|
||||
<input value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['uaid'];?>
|
||||
" type="radio" class="btn-check" name="antwort" id="btnradio<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
|
||||
" autocomplete="off" <?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['selected'] == '1') {?> checked <?php }?>>
|
||||
<?php } else { ?>
|
||||
<input value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['uaid'];?>
|
||||
" type="checkbox" class="btn-check" name="antwort_<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['uaid'];?>
|
||||
" id="btnradio<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
|
||||
" autocomplete="off" <?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['selected'] == '1') {?> checked <?php }?>>
|
||||
<?php }?>
|
||||
<label class="answer btn btn-outline-primary" for="btnradio<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['antwort'];?>
|
||||
</label>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<input type="hidden" name="row" value="<?php echo $_smarty_tpl->tpl_vars['pagination_row']->value;?>
|
||||
">
|
||||
<input type="hidden" name="allcount" value="<?php echo $_smarty_tpl->tpl_vars['pagination_allcount']->value;?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_start0']->value == '1') {?>
|
||||
<input type="submit" class="btn btn-light" name="but_prev" value="Zurück">
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_start0']->value == '2') {?>
|
||||
<a disabled class="btn btn-light">Zurück</a>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_end0']->value == '1') {?>
|
||||
<input type="hidden" name="save" value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['ufid'];?>
|
||||
">
|
||||
<input type="hidden" name="exit" value="0">
|
||||
<input type="submit" class="btn btn-primary" name="but_next" value="Weiter">
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_end0']->value == '2') {?>
|
||||
<input type="hidden" name="save" value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['ufid'];?>
|
||||
">
|
||||
<input type="hidden" name="exit" value="1">
|
||||
<input type="submit" class="btn btn-primary" name="but_next" value="Umfrage beenden">
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_showfreitext']->value == '1') {?>
|
||||
<div class="question col-12 ">
|
||||
<h4>
|
||||
<p class="text-center">Raum für Hinweise/Bemerkungen</p>
|
||||
</h4>
|
||||
</div>
|
||||
<br>
|
||||
<div class="col-12 btn-group-vertical btn-toolbar" role="group" aria-label="Basic radio toggle button group">
|
||||
<textarea class="form-control" id="freitext" name="freitext" rows="6"><?php echo $_smarty_tpl->tpl_vars['umfrage_value_freitext']->value;?>
|
||||
</textarea>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<input type="hidden" name="row" value="<?php echo $_smarty_tpl->tpl_vars['pagination_row']->value;?>
|
||||
">
|
||||
<input type="hidden" name="allcount" value="<?php echo $_smarty_tpl->tpl_vars['pagination_allcount']->value;?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_start0']->value == '1') {?>
|
||||
<input type="submit" class="btn btn-light" name="but_prev" value="Zurück">
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_start0']->value == '2') {?>
|
||||
<a disabled class="btn btn-light">Zurück</a>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_end0']->value == '1') {?>
|
||||
<input type="hidden" name="save" value="freitext">
|
||||
<input type="hidden" name="exit" value="0">
|
||||
<input type="submit" class="btn btn-primary" name="but_next" value="Weiter">
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_end0']->value == '2') {?>
|
||||
<input type="hidden" name="save" value="freitext">
|
||||
<input type="hidden" name="exit" value="1">
|
||||
<input type="submit" class="btn btn-primary" name="but_next" value="Umfrage beenden">
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
</form>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_showende']->value == '1') {?>
|
||||
<div class="grid">
|
||||
<div class="headline col-12 bg-white">
|
||||
<div class="lottie-container" id="lottie-container"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
|
||||
var item = bodymovin.loadAnimation({
|
||||
wrapper: document.getElementById('lottie-container'),
|
||||
animType: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: '../media/data.json'
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="col-12 ">
|
||||
<h4>
|
||||
<p class="text-center">Herzlichen Dank für deine Teilnahme</p>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
<!--
|
||||
<?php echo '<script'; ?>
|
||||
src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-a5N7Y/aK3qNeh15eJKGWxsqtnX/wWdSZSKp+81YjTmS15nvnvxKHuzaWwXHDli+4" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/@popperjs/core/dist/umd/popper.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 09:28:11
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\indexframe.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641abc1bc50486_32205381',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'31a8e0661099efd7ffc4934a30b81ed2122527b5' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\indexframe.html',
|
||||
1 => 1678953852,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641abc1bc50486_32205381 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><html>
|
||||
<head>
|
||||
<title><?php echo $_smarty_tpl->tpl_vars['titel_head_umfrage']->value;?>
|
||||
</title>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
</head>
|
||||
|
||||
<style type='text/css'>
|
||||
</style>
|
||||
|
||||
<frameset rows="103, 79%" cols="1*" border="0">
|
||||
<frame name="banner" scrolling="no" marginwidth="10" marginheight="0" namo_target_frame="detail" src="titel.php" noresize>
|
||||
<frameset rows="1*" cols="100%">
|
||||
<frame name="detail" scrolling="yes" marginwidth="0" marginheight="0" src="hauptframe.php">
|
||||
</frameset>
|
||||
<noframes>
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||||
|
||||
<p>To view this page correctly, you need a Web browser that supports frames.</p>
|
||||
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html><?php }
|
||||
}
|
@ -0,0 +1,146 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:58
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\index.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b26b2c469e3_80177331',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61084ee676a3c91a4b41c7e50fa536cf9cd1daac' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\index.html',
|
||||
1 => 1679500840,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b26b2c469e3_80177331 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Login - SB Admin</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/lottie_bodymovin/lottie.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<style type="text/css">
|
||||
.lottie-container {
|
||||
justify-content: center;
|
||||
top: 40px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutAuthentication">
|
||||
<div id="layoutAuthentication_content">
|
||||
<main>
|
||||
<?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<?php echo $_smarty_tpl->tpl_vars['index_error_text']->value;?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-5">
|
||||
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
||||
<div class="card-header">
|
||||
<h3 class="text-center font-weight-light my-4">JU & MI Login</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action=?action=anmeld method="POST" name="login">
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputEmail" name="mail" type="email" placeholder="Mailadresse" />
|
||||
<label for="inputEmail">Mailadresse</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control" id="inputPassword" name="password" type="password" placeholder="Passwort" />
|
||||
<label for="inputPassword">Passwort</label>
|
||||
</div>
|
||||
<!--<div class="form-check mb-3">
|
||||
<input class="form-check-input" id="inputRememberPassword" type="checkbox" value="" />
|
||||
<label class="form-check-label" for="inputRememberPassword">Remember Password</label>
|
||||
</div>
|
||||
-->
|
||||
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
||||
<!--<a class="small" href="password.html">Forgot Password?</a>-->
|
||||
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Login">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="card-footer text-center py-3">
|
||||
<!--<div class="small"><a href="register.html">Need an account? Sign up!</a></div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lottie-container" id="lottie-container"></div>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
var item = bodymovin.loadAnimation({
|
||||
wrapper: document.getElementById('lottie-container'),
|
||||
animType: 'svg',
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
path: '../media/data.json'
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</main>
|
||||
</div>
|
||||
<div id="layoutAuthentication_footer">
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<script'; ?>
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="js/scripts.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == 'anmeld') {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['index_login']->value == '1') {?>
|
||||
<meta http-equiv="refresh" content="0; URL=startseite.php">
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 15:23:44
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\menu_survey.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b0f70c9f407_55928277',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'63996faf780173a0c498c8e9eddf144bb34c24f1' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\menu_survey.html',
|
||||
1 => 1679299725,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b0f70c9f407_55928277 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>Menu</title>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css" />
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/js/jquery.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/js/accordion.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
|
||||
|
||||
|
||||
<form action="?action=suche" method='post' name='searchform'>
|
||||
<div class="accordion2">
|
||||
<h3><span><?php echo $_smarty_tpl->tpl_vars['menu_survey_head1']->value;?>
|
||||
</span></h3>
|
||||
<ul>
|
||||
<li class="abstand"><a href="survey_erfassen.php?new=1" target="eingabe_haupt"><span><?php echo $_smarty_tpl->tpl_vars['menu_survey_head1_sub1']->value;?>
|
||||
</span></a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!--
|
||||
<h3><span>Bewerber</span></h3>
|
||||
<ul>
|
||||
<li class="abstand"><a href="bewerber_daten.php" target="eingabe_haupt"><span>Bewerberdaten</span></a></li>
|
||||
<li class="abstand"><a href="datencheck.php" target="eingabe_haupt"><span>Datencheck</span></a></li>
|
||||
</ul>
|
||||
-->
|
||||
<!--
|
||||
<h3><span onmousemove="if(document.searchform)document.searchform.patrone.focus();return false;">Suche nach ID</span></h3>
|
||||
|
||||
<ul>
|
||||
<li class="abstand"> <input class="eingabe_search" type="text" id="suchid" name="suchid" onkeyup="ajax_showOptions(this,'getWord',event)"></li>
|
||||
<p align="right"><input type="submit" value="suche" name="b1" /></p> <!-- Auf Button kann verzichtet werden
|
||||
</ul>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 09:28:11
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\hauptframe.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641abc1bda7e82_71385675',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7acc039b9a0c2e2414460adb1ea59d3df3275bfd' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\hauptframe.html',
|
||||
1 => 1678858905,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641abc1bda7e82_71385675 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><html>
|
||||
<head>
|
||||
<title>BPM Administration</title>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
|
||||
|
||||
<div class="header">
|
||||
<div>
|
||||
<div>Willkommen</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pat_list_box">
|
||||
<p>
|
||||
<table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<b>Willkommen bei der Administration JU & MI</b>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
Wählen Sie oben einen Reiter aus, um den gewünschten Bereich zu administrieren.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html><?php }
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 14:38:24
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\footer.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b04d0db1994_73093762',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7b96f06ffd9985f3765e66542a891e9eb860d5a1' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\footer.html',
|
||||
1 => 1679492302,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b04d0db1994_73093762 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?> <footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">Copyright © JU & MI 2023</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<?php }
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:30
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\nav.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b2696e1bf97_12480472',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'81c00a8c5d0bbd7d154ad2d8777ef2d3d8c3a749' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\nav.html',
|
||||
1 => 1679500948,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b2696e1bf97_12480472 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div id="layoutSidenav_nav">
|
||||
<nav class="bg-juandmi sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<!--<div class="sb-sidenav-menu-heading">Core</div>-->
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Home
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Umfrage</div>
|
||||
<a class="nav-link" href="survey_erfassen.php?new=1">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
Erstellen
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
Erstellen
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="layout-static.html">Static Navigation</a>
|
||||
<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
||||
Pages
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseAuth" aria-expanded="false" aria-controls="pagesCollapseAuth">
|
||||
Authentication
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseAuth" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="login.html">Login</a>
|
||||
<a class="nav-link" href="register.html">Register</a>
|
||||
<a class="nav-link" href="password.html">Forgot Password</a>
|
||||
</nav>
|
||||
</div>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#pagesCollapseError" aria-expanded="false" aria-controls="pagesCollapseError">
|
||||
Error
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordionPages">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="401.html">401 Page</a>
|
||||
<a class="nav-link" href="404.html">404 Page</a>
|
||||
<a class="nav-link" href="500.html">500 Page</a>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
-->
|
||||
<div class="sb-sidenav-menu-heading">Administration</div>
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
Systemparameter
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
Tables
|
||||
</a>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-juandmi sb-sidenav-footer">
|
||||
<div class="small">Eingeloggt als:</div>
|
||||
<?php echo $_smarty_tpl->tpl_vars['nav_name']->value;?>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
</div><?php }
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 15:23:44
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\survey_frame.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b0f70b272e9_27795024',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'86b478baa1eae749b37af955c058c17a67caf56b' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\survey_frame.html',
|
||||
1 => 1679299715,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b0f70b272e9_27795024 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><html>
|
||||
<head>
|
||||
<title>Youtube Links</title>
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
</head>
|
||||
|
||||
|
||||
<frameset rows="1*" cols="300, 76%" border="0">
|
||||
<frame name="menu_eingabe" scrolling="auto" marginwidth="10" marginheight="14" src="menu_survey.php">
|
||||
<frame name="eingabe_haupt" scrolling="yes" marginwidth="0" marginheight="0" src="survey_erfassen.php?new=1">
|
||||
</frameset>
|
||||
<noframes>
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
||||
|
||||
<p>To view this page correctly, you need a Web browser that supports frames.</p>
|
||||
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html><?php }
|
||||
}
|
@ -0,0 +1,488 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:01
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\survey_erfassen.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b26798c33f0_88033525',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b3a308ee2af3bf7c7926a28ad9259929ec1e5ab1' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\survey_erfassen.html',
|
||||
1 => 1679500872,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b26798c33f0_88033525 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../jquery/jquery-ui.css">
|
||||
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/globalize.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery.timepicker.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<style type="text/css">
|
||||
.spinner {
|
||||
width: 112px;
|
||||
height: 15px;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$( function() {
|
||||
$( ".spinner" ).spinner({
|
||||
change: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
spin: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
start: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
stop: function (event, ui) {
|
||||
<!--calc_erm_78();-->
|
||||
},
|
||||
step: 1,
|
||||
numberFormat: "i",
|
||||
min:0,
|
||||
decimals:0
|
||||
});
|
||||
Globalize.culture( "de-DE" );
|
||||
} );
|
||||
|
||||
function trackKeys(evnt,regEx) {
|
||||
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
|
||||
return !!String.fromCharCode(keyCode).match(regEx);
|
||||
}
|
||||
//-->
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(function() {
|
||||
$(".datepicker").datepicker({
|
||||
prevText: '< zurück', prevStatus: '',
|
||||
prevJumpText: '<<', prevJumpStatus: '',
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
nextText: 'Vor >', nextStatus: '',
|
||||
nextJumpText: '>>', nextJumpStatus: '',
|
||||
currentText: 'Heute', currentStatus: '',
|
||||
todayText: 'Heute', todayStatus: '',
|
||||
clearText: '-', clearStatus: '',
|
||||
closeText: 'schließen', closeStatus: '',
|
||||
monthNames: ['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
|
||||
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
|
||||
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
||||
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
||||
weekHeader: 'Wo',
|
||||
weekStatus: 'Woche des Monats',
|
||||
showMonthAfterYear: false,
|
||||
showOn: 'focus',
|
||||
firstDay: 1,
|
||||
numberOfMonths : 1,
|
||||
yearRange: "c-5:+5",
|
||||
showButtonPanel : true,
|
||||
altField : "#datepicker_input",
|
||||
dateFormat : "dd.mm.yy",
|
||||
showWeek: true
|
||||
});
|
||||
$.datepicker._gotoToday = function(id) {
|
||||
$(id).datepicker('setDate', new Date()).datepicker('hide').blur();
|
||||
}
|
||||
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('input.timepicker').timepicker({
|
||||
timeFormat: 'HH:mm',
|
||||
interval: 30,
|
||||
minTime: '00:00',
|
||||
maxTime: '23:00',
|
||||
startTime: '0',
|
||||
dynamic: false,
|
||||
dropdown: true,
|
||||
scrollbar: true
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<form action="?action=fragen" method='post' name='erfassen'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrageerf_error']->value == '1') {?>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrageerf_error_text']->value;?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Zeitraum der Umfrage und Bezeichnung
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar ab Datum:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="datepicker form-control" name="datumvon" id="datumvon" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_datumvon']->value;?>
|
||||
"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar ab Uhrzeit:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="timepicker form-control" name="zeitvon" id="zeitvon" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_zeitvon']->value;?>
|
||||
" onKeypress="return trackKeys(event,/[0-9,:]/);"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar bis Datum:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="datepicker form-control" name="datumbis" id="datumbis" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_datumbis']->value;?>
|
||||
"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Link verfügbar bis Uhrzeit:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="timepicker form-control" name="zeitbis" id="zeitbis" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_zeitbis']->value;?>
|
||||
" onKeypress="return trackKeys(event,/[0-9,:]/);"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Headline der Umfrage:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="headline" id="headline" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_headline']->value;?>
|
||||
" size="60"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Bemerkungsfeld am Ende der Umfrage:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" name="freitext" id="freitext" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_freitext']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['umfrageerf_value_freitext']->value == 1) {?> checked <?php }?>>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Weiter - Fragen erfassen">
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Scrollable tab for Bootstrap 5">
|
||||
<meta name="keywords" content="Bootstrap, Bootstrap 5, Tabs">
|
||||
<meta name="author" content="Federico Navarrete">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- jQuery UI CSS
|
||||
<?php echo '<script'; ?>
|
||||
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<style>
|
||||
.btn-group > .btn{
|
||||
margin-bottom:20px;
|
||||
border-radius:20px !important;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
|
||||
|
||||
|
||||
function keysave(ele) {
|
||||
if(event.key === 'Enter') {
|
||||
erfassensave();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
//Helper function to keep table row from collapsing when being sorted
|
||||
var fixHelperModified = function(e, tr) {
|
||||
var $originals = tr.children();
|
||||
var $helper = tr.clone();
|
||||
$helper.children().each(function(index)
|
||||
{
|
||||
$(this).width($originals.eq(index).width())
|
||||
});
|
||||
return $helper;
|
||||
};
|
||||
|
||||
//Make diagnosis table sortable
|
||||
$("#sortable tbody").sortable({
|
||||
helper: fixHelperModified,
|
||||
stop: function(event,ui) {
|
||||
renumber_table('#sortable')
|
||||
var order = $('#sortable tbody').sortable('toArray', { attribute: 'data-sort-id'});
|
||||
console.log(order.join(','));
|
||||
sortOrder = order.join(',');
|
||||
$.post(
|
||||
'../controller/reihenfolge.ajax.php',
|
||||
{'action':'updateSortedRows','sortOrder':sortOrder},
|
||||
function(data){
|
||||
var a = data.split('|***|');
|
||||
if(a[1]=="update"){
|
||||
$('#msg').show().delay(1000).fadeOut(500);
|
||||
$('#msg').html(a[0]);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}).disableSelection();
|
||||
|
||||
|
||||
});
|
||||
|
||||
//Renumber table rows
|
||||
function renumber_table(tableID) {
|
||||
$(tableID + " tr").each(function() {
|
||||
count = $(this).parent().children().index($(this)) + 1;
|
||||
$(this).find('.priority').html(count);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<style type="text/css">
|
||||
.ui-sortable tr {
|
||||
cursor:pointer;
|
||||
}
|
||||
.ui-sortable tr:hover {
|
||||
background:rgba(244,251,17,0.45);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<!--<body onload="if(document.erfassen)document.erfassen.<?php echo $_smarty_tpl->tpl_vars['umfrageerf_focus']->value;?>
|
||||
.focus();return false;">-->
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_erfassen.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Frage & Antworten erfassen
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Frage:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="frage" id="frage" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_frage']->value;?>
|
||||
" size="60" onkeydown="keysave(this)"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Antwort:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-control" type="text" name="antwort" id="antwort" value="<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_antwort']->value;?>
|
||||
" size="60" onkeydown="keysave(this)"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Mehrfachantworten erlauben:</div>
|
||||
<div class="col-12 col-md-8"><input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" onclick="erf_multiple();" <?php if ($_smarty_tpl->tpl_vars['umfrageerf_value_multiple']->value == 1) {?> checked <?php }?>></div>
|
||||
</div>
|
||||
</div>
|
||||
<p align='center'>
|
||||
<div class="col-12">
|
||||
<a type="submit" href="?" class="btn btn-light btn-sm">Zurück</a>
|
||||
<button class="btn btn-primary btn-sm" id="save" onclick="erfassensave();">Speichern</button>
|
||||
</div>
|
||||
</p>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
Vorschau der Fragen
|
||||
</div>
|
||||
<div class="w-100 pt-3">
|
||||
<div class="scroller scroller-left float-start mt-2"><i class="bi bi-caret-left-fill"></i></div>
|
||||
<div class="scroller scroller-right float-end mt-2"><i class="bi bi-caret-right-fill"></i></div>
|
||||
<div class="wrapper-nav">
|
||||
<nav class="nav nav-tabs list mt-2" id="myTab" role="tablist">
|
||||
<?php
|
||||
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data1_0_total = $__section_table_data1_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data1_0_total !== 0) {
|
||||
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_0_iteration;
|
||||
?>
|
||||
<a <?php if ($_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'] == $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value) {?> class="nav-item nav-link pointer active" <?php } else { ?> class="nav-item nav-link pointer" <?php }?> data-bs-target="#tab<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'];?>
|
||||
" href="?action=fragen&tabufid=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['ufid'];?>
|
||||
&erfassen=1"role="tab" aria-controls="public" <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null) == $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value) {?> aria-selected="true" <?php }?>>Frage <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<a class="nav-item nav-link pointer" data-bs-target="#neuefrage" href="?action=fragen&tabufid=neuefrage&erfassen=1" role="tab">Neue Frage</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="tab-content p-3" id="myTabContent">
|
||||
<div role="tabpanel" class="tab-pane fade active show mt-2" id="tab<?php echo $_smarty_tpl->tpl_vars['umfrageerf_gesp_werte_value_ufid2']->value;?>
|
||||
" aria-labelledby="public-tab" >
|
||||
<h6><?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_frage']->value;?>
|
||||
</h6>
|
||||
<br>
|
||||
<?php if ($_smarty_tpl->tpl_vars['table_data2_anz']->value > 0) {?>
|
||||
<table class="table" id="sortable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">Sortierung</th>
|
||||
<th width="60%">Antwort</th>
|
||||
<th width="20%">Löschen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tb">
|
||||
<?php
|
||||
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data2_1_total = $__section_table_data2_1_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data2_1_total !== 0) {
|
||||
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_1_iteration;
|
||||
?>
|
||||
<tr data-sort-id="<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
">
|
||||
<td valign="middle" class="priority"><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>
|
||||
</td>
|
||||
<td valign="middle"><?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['antwort'];?>
|
||||
</td>
|
||||
<td valign="middle"><button class="btn btn-delete btn-danger btn-sm" onclick="onClickDelete(<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
)">Löschen</button></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<div id="msg"></div>
|
||||
<?php }?>
|
||||
<p align='center'><button class="btn btn-delete btn-danger btn-sm" onclick="onClickDeleteQuestion(<?php echo $_smarty_tpl->tpl_vars['umfrageerf_value_ufid']->value;?>
|
||||
)">Frage Löschen</button></p>
|
||||
</div>
|
||||
<div class="tab-pane fade mt-2" id="neuefrage" role="tabpanel" aria-labelledby="group-dropdown2-tab" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/move-js/move.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link href="../bootstrap/dist/scrollable-tabs.min.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/dist/scrollable-tabs.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 09:28:08
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\index.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641abc18b93697_56713831',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'cd42cc6c17fe4db0fb4a33bcd3f14abbe31c14dd' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\index.html',
|
||||
1 => 1678858905,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641abc18b93697_56713831 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!-- index gegen LDAP und DB bei externer Kennung-->
|
||||
<?php if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Willkommen zur Gottesdienstadministration</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_login.css" type="text/css">
|
||||
<style>
|
||||
.squarebutton_blue{
|
||||
width:100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="../fancybox/jquery-1.5.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- DATEI GIBTS NICHT <?php echo '<script'; ?>
|
||||
>!window.jQuery && document.write('<?php echo '<script'; ?>
|
||||
src="jquery-1.4.3.min.js"><\/script>');<?php echo '</script'; ?>
|
||||
>-->
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="../fancybox/jquery.mousewheel-3.0.4.pack.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="../fancybox/jquery.fancybox-1.3.4.pack.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(".box").fancybox({
|
||||
'width' : '75%',
|
||||
'height' : '75%',
|
||||
'autoScale' : true,
|
||||
'transitionIn' : 'elastic',
|
||||
'transitionOut' : 'elastic',
|
||||
'type' : 'iframe'
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</head>
|
||||
<body onload="if(document.login)document.login.user.focus();return false;">
|
||||
|
||||
<table height="100%" width="100%">
|
||||
<tr>
|
||||
<td width="20%">
|
||||
|
||||
</td>
|
||||
<td width="60%">
|
||||
<div class="Header">
|
||||
<div>
|
||||
<div align="center">Willkommen zur <?php echo $_smarty_tpl->tpl_vars['global_titel']->value;?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pat_list_box">
|
||||
<p>
|
||||
<?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
|
||||
<table width="70%" class="errorTable" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/pflichtfelder/achtung_gross.gif">
|
||||
</td>
|
||||
<td><b>Achtung!</b><br>
|
||||
<?php echo $_smarty_tpl->tpl_vars['index_error_text']->value;?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<?php }?>
|
||||
<table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="96%" >
|
||||
<tr>
|
||||
<td width="200px" align="center" valign="middle">
|
||||
<img style="margin:10px;padding:10px;"src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/images/message_login.gif" height="100">
|
||||
</td>
|
||||
<td align="left">
|
||||
<table width="100%">
|
||||
<form action=?action=anmeld method="POST" name="login">
|
||||
<tr>
|
||||
<td width="40%">
|
||||
<strong>Benutzerkennung</strong>
|
||||
</td>
|
||||
<td>
|
||||
<input class="eingabe" type="text" name="user" tabindex="1"></td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">
|
||||
<strong>Passwort:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<input class="eingabe" type="password" name="password" tabindex="2"></td>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="100%" colspan="2" align="center">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="40%">
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Login">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p align="center">
|
||||
<!--
|
||||
<br />
|
||||
<br />
|
||||
<a class="squarebutton_blue box" href="register.php"><span>Registrierung</span></a>
|
||||
-->
|
||||
</p>
|
||||
<br />
|
||||
<br />
|
||||
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td width="20%">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'anmeld') {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['index_login']->value == '1') {?>
|
||||
<meta http-equiv="refresh" content="0; URL=indexframe.php">
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 16:59:56
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\startseite.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b25fca4ec71_29046760',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'eefbc054a71eb9a54ff5facb15ab71dc63db3dcc' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\startseite.html',
|
||||
1 => 1679500793,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b25fca4ec71_29046760 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="author" content="" />
|
||||
<title>Dashboard - SB Admin</title>
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<br>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-user me-1"></i>
|
||||
Herzlich willkommen <?php echo $_smarty_tpl->tpl_vars['startseite_name']->value;?>
|
||||
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">Herzlich willkommen zur Administration von Jugendchor & Miteinander.<br><br>
|
||||
Bitte Treffen Sie im Menü eine Auswahl!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<script'; ?>
|
||||
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html><?php }
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 09:28:11
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\titel.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641abc1be49304_37804149',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'f3f12c7e9699135fb02af920d0404a44c0250f4e' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\titel.html',
|
||||
1 => 1678953804,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641abc1be49304_37804149 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><html>
|
||||
<head>
|
||||
<title><?php echo $_smarty_tpl->tpl_vars['global_titel']->value;?>
|
||||
</title>
|
||||
<meta name="generator" content="Namo WebEditor">
|
||||
<base target="detail">
|
||||
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
||||
/css/styles_refill.css">
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="500" height="60" valign="top">
|
||||
<h2><?php echo $_smarty_tpl->tpl_vars['global_titel']->value;?>
|
||||
</h2>
|
||||
</td>
|
||||
<td width="73"> </td>
|
||||
<td width="159"> </td>
|
||||
<td width="71"> </td>
|
||||
<td width="2%"> </td>
|
||||
<td width=""> </td>
|
||||
<td width="157" valign="top">
|
||||
<p align="right"><a class="navbar" href="logout.php" target="_parent">Logout</a></p>
|
||||
</td>
|
||||
<td width="25"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="filltab" class="animatedtabs">
|
||||
<ul>
|
||||
<li><a href="survey_frame.php"><span><?php echo $_smarty_tpl->tpl_vars['titel_head_umfrage']->value;?>
|
||||
</span></a></li>
|
||||
<li><a href="administration_frame.php"><span><?php echo $_smarty_tpl->tpl_vars['titel_head_admin']->value;?>
|
||||
</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html><?php }
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:01:58
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\navtop.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b2676307511_36618138',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'fbe82feaa632818ff9ecad86ba177b47f9b345b0' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\navtop.html',
|
||||
1 => 1679500891,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b2676307511_36618138 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!--Navigation top-->
|
||||
<nav class="bg-juandmi sb-topnav navbar navbar-expand navbar-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Administration JU & MI</a>
|
||||
<!-- Sidebar Toggle: js/scripts.js in der callbackfunktion vom Load aufrufen beim einbetten-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
||||
<!--
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
|
||||
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
|
||||
</div>
|
||||
-->
|
||||
</form>
|
||||
<!-- Navbar-->
|
||||
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
||||
<!--
|
||||
<li><a class="dropdown-item" href="tables.html">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
-->
|
||||
<li><a class="dropdown-item" href="logout.php">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav><?php }
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user