Vor zurückbutton
This commit is contained in:
@ -0,0 +1,248 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-18 12:48:53
|
||||
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_6415a5253b6db4_22747192',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'2b06f8f36ebdb45c10ebd7bf157223e300660449' =>
|
||||
array (
|
||||
0 => 'F:\\git\\survey\\templates\\modern\\survey\\index.html',
|
||||
1 => 1679140131,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6415a5253b6db4_22747192 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!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>
|
||||
</head>
|
||||
<body >
|
||||
<!-- hier kommt der Inhalt der Seite hin -->
|
||||
<div class="container">
|
||||
<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="" method='post' name='erfassen'>
|
||||
<?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 } 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 }?>
|
||||
<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">
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_start0']->value == '1') {?>
|
||||
<input type="hidden" name="start" value="<?php echo $_smarty_tpl->tpl_vars['umfrage_start_newstart']->value;?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrage_start_newstart']->value;?>
|
||||
|
||||
<input type='submit' class="btn btn-light" name='senden' 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="start" value="<?php echo $_smarty_tpl->tpl_vars['umfrage_end_newstart']->value;?>
|
||||
">
|
||||
<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'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrage_end_newstart']->value;?>
|
||||
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Weiter">
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['umfrage_end0']->value == '2') {?>
|
||||
<input type="hidden" name="start" value="<?php echo $_smarty_tpl->tpl_vars['umfrage_end_newstart']->value;?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['umfrage_end_newstart']->value;?>
|
||||
|
||||
<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='senden' value="Umfrage beenden">
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
-->
|
||||
<div id="div_pagination">
|
||||
<?php echo $_smarty_tpl->tpl_vars['pagination_row']->value;?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['pagination_allcount']->value;?>
|
||||
|
||||
<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;?>
|
||||
">
|
||||
<input type="submit" class="button" name="but_prev" value="Previous">
|
||||
<input type="submit" class="button" name="but_next" value="Next">
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</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 }
|
||||
}
|
Reference in New Issue
Block a user