192 lines
7.7 KiB
PHP
192 lines
7.7 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-03-31 13:06:40
|
|
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\notenupload.html' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6426bec0cf98a1_06106606',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'57c9edec298bae2fa93bf23cb3f138efb32a5c5d' =>
|
|
array (
|
|
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\notenupload.html',
|
|
1 => 1680256913,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6426bec0cf98a1_06106606 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
|
<!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.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-->
|
|
<?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">
|
|
<?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'; ?>
|
|
>
|
|
<!--<?php echo '<script'; ?>
|
|
type="text/javascript" charset="utf-8" language="javascript" src="../js/file_upload/DT_bootstrap.js"><?php echo '</script'; ?>
|
|
>-->
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript" src="../js/file_upload/vpb_uploader.js"><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">$(document).ready(function()
|
|
{
|
|
// Call the main function
|
|
new vpb_multiple_file_uploader
|
|
({
|
|
vpb_form_id: "form_id", // Form ID
|
|
autoSubmit: true,
|
|
vpb_server_url: "../controller/admin_notenupload.php"
|
|
});
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
<style>
|
|
body {
|
|
font-family:Verdana, Geneva, sans-serif;
|
|
}
|
|
span{
|
|
color:red;
|
|
cursor:pointer;
|
|
}
|
|
</style>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
|
|
function keysave(ele) {
|
|
if(event.key === 'Enter') {
|
|
rollesave();
|
|
}
|
|
}
|
|
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</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>
|
|
<div class="container-fluid">
|
|
<form name="form_id" id="form_id" action="javascript:void(0);" enctype="multipart/form-data">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<i class="fas fa-edit me-1"></i>
|
|
Notenupload
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
|
<div class="col-12 col-md-4">Titel:</div>
|
|
<div class="col-12 col-md-8">
|
|
<input type="text" id="titel" class="form-control rounded-right" required 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">Verlag:</div>
|
|
<div class="col-12 col-md-8">
|
|
<input type="text" id="verlag" class="form-control rounded-right" required 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">Anzahl Lizenzen:</div>
|
|
<div class="col-12 col-md-8">
|
|
<input type="text" id="anz_lizenzen" class="form-control rounded-right" required onkeydown="keysave(this)">
|
|
</div>
|
|
</div>
|
|
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
|
<div class="col-8 col-md-4">Streamlizenz vorhanden:</div>
|
|
<div class="col-4 col-md-8">
|
|
<input class="form-check-input" type="checkbox" name="streamlizenz" id="streamlizenz" value="1">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
|
<label for="formFile" class="form-label">
|
|
<div class="col-12 col-md-4">PDF:</div>
|
|
<div class="col-12col-md-8">
|
|
<input class="form-control" type="file" name="vasplus_multiple_files" id="vasplus_multiple_files" multiple="multiple">
|
|
</div>
|
|
</label>
|
|
</div>
|
|
<table class="table table-striped table-bordered" id="add_files">
|
|
<thead>
|
|
<tr>
|
|
<th style="color:blue; text-align:center;">Datei</th>
|
|
<th style="color:blue; text-align:center;">Status</th>
|
|
<th style="color:blue; text-align:center;">Größe</th>
|
|
<th style="color:blue; text-align:center;">Aktion</th>
|
|
<tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
<p align='center'>
|
|
<button class="col-6 btn btn-primary btn-sm mt-3" id="save">Speichern</button>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="msg"></div>
|
|
</form>
|
|
</center>
|
|
</main>
|
|
<!-- footer -->
|
|
<div id="footer"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
}
|
|
}
|