Systemerweiterungen

This commit is contained in:
aschwarz
2023-03-27 15:17:34 +02:00
parent df4a7e1a04
commit 22af684296
810 changed files with 73840 additions and 114339 deletions

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-24 16:02:24
/* Smarty version 3.1.39, created on 2023-03-27 10:33:49
from 'F:\git\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_641dbb803af655_42564944',
'unifunc' => 'content_642154eddee429_56546947',
'has_nocache_code' => false,
'file_dependency' =>
array (
'15b779282fc1667ebc65227c3ff810b1d3ec06fd' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\navtop.html',
1 => 1679670142,
1 => 1679906028,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641dbb803af655_42564944 (Smarty_Internal_Template $_smarty_tpl) {
function content_642154eddee429_56546947 (Smarty_Internal_Template $_smarty_tpl) {
?><!--Navigation top-->
<style>
<!-- abweichend von original styles.css -->
@ -68,5 +68,6 @@ function content_641dbb803af655_42564944 (Smarty_Internal_Template $_smarty_tpl)
</ul>
</li>
</ul>
</nav><?php }
</nav>
<br><?php }
}

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-24 16:42:10
/* Smarty version 3.1.39, created on 2023-03-27 11:48:29
from 'F:\git\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_641dc4d2a97536_46755722',
'unifunc' => 'content_6421666db0bc49_35421907',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1d7d9664b76f0bd4587451aa9401c286ca72b20b' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\startseite.html',
1 => 1679672515,
1 => 1679910508,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641dc4d2a97536_46755722 (Smarty_Internal_Template $_smarty_tpl) {
function content_6421666db0bc49_35421907 (Smarty_Internal_Template $_smarty_tpl) {
?><!DOCTYPE html>
<html lang="en">
<head>
@ -35,7 +35,7 @@ function content_641dc4d2a97536_46755722 (Smarty_Internal_Template $_smarty_tpl)
<link href="css/styles.css" rel="stylesheet" />
<!-- icons in nav-->
<?php echo '<script'; ?>
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
@ -60,7 +60,6 @@ function content_641dc4d2a97536_46755722 (Smarty_Internal_Template $_smarty_tpl)
<div id="navleft"></div>
<div id="layoutSidenav_content">
<main>
<br>
<div class="container-fluid">
<div class="card">
<div class="card-header">
@ -70,8 +69,46 @@ function content_641dc4d2a97536_46755722 (Smarty_Internal_Template $_smarty_tpl)
</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 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>
</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>
</div>
</div>

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-24 15:41:37
/* Smarty version 3.1.39, created on 2023-03-27 12:50:39
from 'F:\git\survey\templates\modern\dashboard\create_user.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_641db6a15864d8_22074622',
'unifunc' => 'content_642174ff6fb976_40474862',
'has_nocache_code' => false,
'file_dependency' =>
array (
'248e68c5bd756c9289901a93382d57da65ac1c94' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\create_user.html',
1 => 1679668664,
1 => 1679910263,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641db6a15864d8_22074622 (Smarty_Internal_Template $_smarty_tpl) {
function content_642174ff6fb976_40474862 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="de">
@ -37,7 +37,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<link href="css/styles.css" rel="stylesheet" />
<!-- icons in nav-->
<?php echo '<script'; ?>
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
@ -197,7 +197,11 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<div class="card">
<div class="card-header">
<i class="fas fa-edit me-1"></i>
Benutzer erstellen
<?php if ($_smarty_tpl->tpl_vars['create_edit']->value == '') {?>
Benutzer erstellen
<?php } else { ?>
Benutzer bearbeiten
<?php }?>
</div>
<div class="card-body">
<div class="row">
@ -228,7 +232,7 @@ 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']++){
?>
<option 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)]['rid'];?>
"><?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)]['bezeichnung'];?>
" <?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)]['selected'] == 1) {?> selected <?php }?>><?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)]['bezeichnung'];?>
</option>
<?php
}
@ -236,9 +240,22 @@ for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_sec
?>
</select>
</div>
<?php if ($_smarty_tpl->tpl_vars['create_edit']->value != '') {?>
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
<div class="col-12 col-md-4">Passwort zur&uuml;cksetzen:</div>
<div class="col-12 col-md-8">
<input class="form-check-input" type="checkbox" name="pwdback" id="pwdback" value="1">
</div>
</div>
<?php }?>
</div>
<p align='center'>
<?php if ($_smarty_tpl->tpl_vars['create_edit']->value == '') {?>
<button class="col-6 btn btn-primary btn-sm mt-3" id="save" onclick="usersave();">Speichern</button>
<?php } else { ?>
<button class="col-6 btn btn-primary btn-sm mt-3" id="save" onclick="userupdate(<?php echo $_smarty_tpl->tpl_vars['create_edit']->value;?>
);">Update</button>
<?php }?>
</p>
</div>
</div>

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-23 12:39:16
/* Smarty version 3.1.39, created on 2023-03-27 11:04:16
from 'F:\git\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_641c3a64aed3c1_00839520',
'unifunc' => 'content_64215c105598a2_51731771',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2b06f8f36ebdb45c10ebd7bf157223e300660449' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\survey\\index.html',
1 => 1679507927,
1 => 1679907851,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641c3a64aed3c1_00839520 (Smarty_Internal_Template $_smarty_tpl) {
function content_64215c105598a2_51731771 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!doctype html>
<html lang="de">
@ -42,85 +42,104 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
padding-bottom: 10px;
padding-left: 20px;
}
.fill-5 {
animation: fill 2.5s linear 1;
}
@keyframes fill {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
.progress-bar {
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
color: var(--bs-progress-bar-color);
height: 5px;
text-align: center;
white-space: nowrap;
background-color: #0D7377;
transition: var(--bs-progress-bar-transition);
}
.lottie-container {
justify-content: center;
top: 20px;
left: 0;
right: 0;
bottom: 20px;
height: 300px;
pointer-events: none;
}
</style>
<?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: 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'; ?>
<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'; ?>
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'>
<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>
<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>
<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>
<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) {?>
<div class="progress" style="height: 5px;">
<div class="progress-bar fill-5" role="progressbar"
style="width: 100%" aria-valuenow="100" aria-valuemin="0"
aria-valuemax="100">
</div>
</div>
<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);
};
window.onload=function(){
window.setTimeout(document.start.submit.bind(document.start), 2500);
};
<?php echo '</script'; ?>
>
</form>
<?php }?>
</form>
<?php }?>
</div>
</div>
</body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'umfrage') {?>
<!doctype html>
@ -207,23 +226,20 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'umfrage') {?>
font-size: 0.6em;
}
</style>
<?php echo '<script'; ?>
<?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>
<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 -->
@ -356,21 +372,18 @@ $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] = $__section_i
<?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'; ?>
<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'; ?>
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>

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-23 13:32:17
/* Smarty version 3.1.39, created on 2023-03-27 13:20:56
from 'F:\git\survey\templates\modern\dashboard\survey_edit.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_641c46d17fad41_50365386',
'unifunc' => 'content_64217c18ece718_48544761',
'has_nocache_code' => false,
'file_dependency' =>
array (
'45042613f06e24e667146e342f6be5541d4940ee' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\survey_edit.html',
1 => 1679574735,
1 => 1679910301,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641c46d17fad41_50365386 (Smarty_Internal_Template $_smarty_tpl) {
function content_64217c18ece718_48544761 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="de">
@ -40,7 +40,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<link href="css/styles.css" rel="stylesheet" />
<!-- icons in nav-->
<?php echo '<script'; ?>
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
@ -73,7 +73,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<div class="container-fluid">
<div class="card">
<div class="card-header">
<i class="fas fa-table me-1"></i>
<i class="fas fa-edit me-1"></i>
Erfasste Umfragen
</div>
<div class="card-body">
@ -138,7 +138,6 @@ $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__sec
</div>
</div>
</div>
<hr>
<!-- Lösen Sie das Modal mit einem Button aus -->

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-24 15:44:38
/* Smarty version 3.1.39, created on 2023-03-27 11:44:09
from 'F:\git\survey\templates\modern\dashboard\changepwd.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_641db756b7b491_09794140',
'unifunc' => 'content_64216569cfe524_36228843',
'has_nocache_code' => false,
'file_dependency' =>
array (
'753dd0aa5f0b34da5600ce1f5a84936653b20b0c' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\changepwd.html',
1 => 1679668664,
1 => 1679910246,
2 => 'file',
),
),
@ -20,12 +20,12 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641db756b7b491_09794140 (Smarty_Internal_Template $_smarty_tpl) {
function content_64216569cfe524_36228843 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="de">
<head>
<title>JU & MI Benutzer erstellen</title>
<title>JU & MI Passwort</title>
<link rel="stylesheet" href="../jquery/jquery-ui.css">
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -37,7 +37,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<link href="css/styles.css" rel="stylesheet" />
<!-- icons in nav-->
<?php echo '<script'; ?>
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>

View File

@ -0,0 +1,336 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-27 13:07:01
from 'F:\git\survey\templates\modern\dashboard\edit_user.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_642178d5c1eea6_03816576',
'has_nocache_code' => false,
'file_dependency' =>
array (
'79043b0398a7fe1f928c28aa43fc5b429e06493b' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\edit_user.html',
1 => 1679914316,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_642178d5c1eea6_03816576 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="de">
<head>
<title>JU & MI Benutzer bearbeiten</title>
<link rel="stylesheet" href="../jquery/jquery-ui.css">
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.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-->
<!-- data Table: https://datatables.net/ -->
<?php echo '<script'; ?>
src="../bootstrap/data-table/jquery.min.js"><?php echo '</script'; ?>
>
<link rel="stylesheet" href="../bootstrap/data-table/dataTables.bootstrap5.min.css"></style>
<link rel="stylesheet" href="../bootstrap/data-table/rowReorder.dataTables.min.css"></style>
<?php echo '<script'; ?>
type="text/javascript" src="../bootstrap/data-table/jquery.dataTables.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript" src="../bootstrap/data-table/dataTables.rowReorder.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript" src="../bootstrap/data-table/dataTables.bootstrap5.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
>
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
<style>
.table-responsive {
margin: 30px 0;
}
.table-wrapper {
min-width: 1000px;
background: #fff;
padding: 20px 25px;
border-radius: 3px;
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.table-title {
padding-bottom: 15px;
background: #299be4;
color: #fff;
padding: 16px 30px;
margin: -20px -25px 10px;
border-radius: 3px 3px 0 0;
}
.table-title h2 {
margin: 5px 0 0;
font-size: 24px;
}
.table-title .btn {
color: #566787;
float: right;
font-size: 13px;
background: #fff;
border: none;
min-width: 50px;
border-radius: 2px;
border: none;
outline: none !important;
margin-left: 10px;
}
.table-title .btn:hover, .table-title .btn:focus {
color: #566787;
background: #f2f2f2;
}
.table-title .btn i {
float: left;
font-size: 21px;
margin-right: 5px;
}
.table-title .btn span {
float: left;
margin-top: 2px;
}
table.table tr th, table.table tr td {
border-color: #e9e9e9;
padding: 12px 15px;
vertical-align: middle;
}
table.table tr th:first-child {
width: 60px;
}
table.table tr th:last-child {
width: 100px;
}
table.table-striped tbody tr:nth-of-type(odd) {
background-color: #fcfcfc;
}
table.table-striped.table-hover tbody tr:hover {
background: #f5f5f5;
}
table.table th i {
font-size: 13px;
margin: 0 5px;
cursor: pointer;
}
table.table td:last-child i {
opacity: 0.9;
font-size: 22px;
margin: 0 5px;
}
table.table td a {
font-weight: bold;
color: #566787;
display: inline-block;
text-decoration: none;
}
table.table td a:hover {
color: #2196F3;
}
table.table td a.settings {
color: #2196F3;
}
table.table td a.delete {
color: #F44336;
}
table.table td i {
font-size: 19px;
}
table.table .avatar {
border-radius: 50%;
vertical-align: middle;
margin-right: 10px;
}
.status {
font-size: 30px;
margin: 2px 2px 0 0;
display: inline-block;
vertical-align: middle;
line-height: 10px;
}
.pagination {
float: right;
margin: 0 0 5px;
}
.pagination li a {
border: none;
font-size: 13px;
min-width: 30px;
min-height: 30px;
color: #999;
margin: 0 2px;
line-height: 30px;
border-radius: 2px !important;
text-align: center;
padding: 0 6px;
}
.pagination li a:hover {
color: #666;
}
.pagination li.active a, .pagination li.active a.page-link {
background: #03A9F4;
}
.pagination li.active a:hover {
background: #0397d6;
}
.pagination li.disabled i {
color: #ccc;
}
.pagination li i {
font-size: 16px;
padding-top: 6px
}
.hint-text {
float: left;
margin-top: 10px;
font-size: 13px;
}
</style>
</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>
<!--Anwendung-->
<?php echo '<script'; ?>
src="../js/components/admin_create_user.js"><?php echo '</script'; ?>
>
<div class="container-fluid">
<div class="card">
<div class="card-header">
<i class="fas fa-edit me-1"></i>
Benutzer bearbeiten
</div>
<div class="card-body">
<!-- https://datatables.net/download/release -->
<table id="myTable" class="table table-striped table-bordered table-responsive table-hover" >
<thead>
<tr>
<th>Vorname</th>
<th>Nachname</th>
<th class="d-none d-lg-table-cell"> Mail</th>
<th class="d-none d-lg-table-cell">Letzter Login</th>
<th class="d-none d-lg-table-cell">Status</th>
<th>Aktion</th>
</tr>
</thead>
<tbody>
<?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']++){
?>
<tr>
<td><?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)]['vorname'];?>
</td>
<td><?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)]['nachname'];?>
</td>
<td class="d-none d-lg-table-cell"><?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)]['mail'];?>
</td>
<td class="d-none d-lg-table-cell"><?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)]['last_login'];?>
</td>
<td class="d-none d-lg-table-cell">
<!--
# 4 Neu
# 3 Deaktiviert
# 2 Inaktiv
# 1 Aktiv
-->
<?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)]['status'] == '4') {?>
<span class="status text-secondary">&bull;</span> Neu
<?php }?>
<?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)]['status'] == '3') {?>
<span class="status text-danger">&bull;</span> Deaktiviert
<?php }?>
<?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)]['status'] == '2') {?>
<span class="status text-danger">&bull;</span> Inaktiv
<?php }?>
<?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)]['status'] == '1') {?>
<span class="status text-success">&bull;</span> Aktiv
<?php }?>
</td>
<td>
<a href="create_user.php?edituid=<?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)]['uid'];?>
" class="settings" title="Edit User" data-toggle="tooltip"><i class="fas fa fa-cog"></i></a>
&nbsp;
<?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)]['aktiv'] == 1) {?>
<a href="#" class="settings text-danger" id="disable" onclick="disableuser(<?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)]['uid'];?>
);" title="Lock User" data-toggle="tooltip"><i class="fas fa fa-lock"></i></a>
<?php } else { ?>
<a href="#" class="settings text-success" id="enable" onclick="enableuser(<?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)]['uid'];?>
);" title="Unlock User" data-toggle="tooltip"><i class="fas fa fa-unlock"></i></a>
<?php }?>
</td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
<div id="msg"></div>
</main>
<!-- footer -->
<div id="footer"></div>
</div>
</div>
</body>
<?php echo '<script'; ?>
>
$(document).ready(function(){
var table = new DataTable('#myTable', {
rowReorder: true,
pageLength: 5,
language: {
url: '//cdn.datatables.net/plug-ins/1.13.4/i18n/de-DE.json',
},
});
});
<?php echo '</script'; ?>
>
</html>
<?php }
}
}

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-24 15:41:33
/* Smarty version 3.1.39, created on 2023-03-27 15:01:08
from 'F:\git\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_641db69deb5996_50775611',
'unifunc' => 'content_642193941e9ca6_92159662',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8054340f19cd19b00acdfcb9f2ad878a473b1db6' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\nav.html',
1 => 1679668664,
1 => 1679921972,
2 => 'file',
),
),
@ -20,94 +20,79 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641db69deb5996_50775611 (Smarty_Internal_Template $_smarty_tpl) {
function content_642193941e9ca6_92159662 (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-house"></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-pie-chart"></i></div>
Erstellen
</a>
<a class="nav-link" href="survey_edit.php?new=1">
<div class="sb-nav-link-icon"><i class="fas fa-edit"></i></div>
Bearbeiten
</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="parameter.php">
<div class="sb-nav-link-icon"><i class="fas fa-cog"></i></div>
Systemparameter
</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-user"></i></div>
Benutzerverwaltung
<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="create_user.php">Benutzer erstellen</a>
<!--<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>-->
</nav>
</div>
<?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']++){
?>
<?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)]['visible'] > 0) {?>
<div class="sb-sidenav-menu-heading"><?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)]['headline'];?>
</div>
<?php }?>
<?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)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['link'] == '#') {?>
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
" aria-expanded="false" aria-controls="collapse<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
">
<?php } else { ?>
<a class="nav-link" href="<?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)]['link'];?>
">
<?php }?>
<div class="sb-nav-link-icon"><i class="<?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)]['fontawesome'];?>
"></i></div>
<?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)]['headline'];?>
<!--
<a class="nav-link" href="tables.html">
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
Tables
</a>
-->
<?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)]['link'] == '#') {?>
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
<?php }?>
</a>
<?php
$__section_inner2_2_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'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['inner2']) ? count($_loop) : max(0, (int) $_loop));
$__section_inner2_2_total = $__section_inner2_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_inner2'] = new Smarty_Variable(array());
if ($__section_inner2_2_total !== 0) {
for ($__section_inner2_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index'] = 0; $__section_inner2_2_iteration <= $__section_inner2_2_total; $__section_inner2_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['rownum'] = $__section_inner2_2_iteration;
$_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['last'] = ($__section_inner2_2_iteration === $__section_inner2_2_total);
?>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['rownum'] : null) == 1) {?>
<div class="collapse" id="collapse<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] : null);?>
" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
<?php }?>
<nav class="sb-sidenav-menu-nested nav">
<a class="nav-link" href="<?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)]['inner2'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index'] : null)]['link'];?>
"><?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)]['inner2'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['index'] : null)]['headline'];?>
</a>
</nav>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['last']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner2']->value['last'] : null)) {?>
</div>
<?php }?>
<?php
}
}
?>
<?php
}
}
?>
<?php
}
}
?>
</div>
</div>
<div class="bg-juandmi sb-sidenav-footer">

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-23 13:36:39
/* Smarty version 3.1.39, created on 2023-03-26 18:42:12
from 'F:\git\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_641c47d786a1c9_55890007',
'unifunc' => 'content_642075e4e840b2_61240326',
'has_nocache_code' => false,
'file_dependency' =>
array (
'85403c192b4eecdf6efb10ab95d6ca8c2bf3e350' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\survey_erfassen.html',
1 => 1679574998,
1 => 1679668664,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641c47d786a1c9_55890007 (Smarty_Internal_Template $_smarty_tpl) {
function content_642075e4e840b2_61240326 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="de">
@ -184,7 +184,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<div class="container-fluid">
<div class="card">
<div class="card-header">
<i class="fas fa-table me-1"></i>
<i class="fas fa-pie-chart me-1"></i>
Zeitraum der Umfrage und Bezeichnung
</div>
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
@ -390,8 +390,8 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
</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>
<a type="submit" href="?" class="btn btn-light btn-sm mt-3">Zurück</a>
<button class="btn btn-primary btn-sm mt-3" id="save" onclick="erfassensave();">Speichern</button>
</div>
</p>
<div class="card">

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-23 15:11:40
/* Smarty version 3.1.39, created on 2023-03-27 12:01:43
from 'F:\git\survey\templates\modern\dashboard\parameter.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_641c5e1c133780_81148142',
'unifunc' => 'content_64216987194ba6_02006624',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f48616efe837d676bc69b2f5a2015207b5d9beac' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\dashboard\\parameter.html',
1 => 1679577568,
1 => 1679910291,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641c5e1c133780_81148142 (Smarty_Internal_Template $_smarty_tpl) {
function content_64216987194ba6_02006624 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!DOCTYPE html>
<html lang="en">
@ -35,7 +35,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<link href="css/styles.css" rel="stylesheet" />
<!-- icons in nav-->
<?php echo '<script'; ?>
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
@ -69,7 +69,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<div class="container-fluid">
<div class="card">
<div class="card-header">
<i class="fas fa-table me-1"></i>
<i class="fas fa-cog me-1"></i>
Systemparameter
</div>
<div class="card-body">
@ -83,7 +83,8 @@ for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_se
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
<div class="col-12 col-md-4"><?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)]['beschreibung'];?>
</div>
<div class="col-12 col-md-8"><input type="text" class="form-control" name="parameter[]" value="<?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)]['wert'];?>
<div class="col-12 col-md-8"><input type="text" class="form-control" name="<?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)]['pid'];?>
" value="<?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)]['wert'];?>
"></div>
</div>
<?php
@ -94,7 +95,9 @@ for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_se
</div>
</div>
<div class="col-12 btn-group">
<a class="btn btn-primary mt-3" onclick="onClickSaveParameter()"><i class="fa fa-save" style="width:18px;"></i></a>
<a class="btn btn-primary mt-3" onclick="onClickSaveParameter()"><i class="fa fa-save" style="width:18px;"></i></a>
</div>
<div id="msg"></div>
</main>
<!-- footer -->
<div id="footer"></div>