init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
|
|
@ -0,0 +1,303 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-15 08:44:56
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_touren.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_661ccce822c078_80576744',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'20f2147aa528570888d655411c6ef2c3acc795db' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_touren.tpl',
|
||||
1 => 1705186029,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_661ccce822c078_80576744 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
||||
?>
|
||||
<div class="col-md-4" style="background-color:#333333; color:#115270">
|
||||
<div class="panel-group" id="accordion">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour']->value, 'tagtour');
|
||||
$_smarty_tpl->tpl_vars['tagtour']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tagtour']->value) {
|
||||
$_smarty_tpl->tpl_vars['tagtour']->do_else = false;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tagtour']->value['menge'] > 0) {?>
|
||||
<div class="panel panel-default" style="background-color:#222; color:#115270; border: 1px solid #115270;">
|
||||
<div class="panel-heading" style="background-color:#115270; color:#ddd">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['raute'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['tagtour']->value['name1'];?>
|
||||
(<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['name2'];?>
|
||||
)</a></h4>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tagtour']->value['typ'] == $_smarty_tpl->tpl_vars['tagtour']->value['col']) {?>
|
||||
<div id=<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['typ'];?>
|
||||
class="panel-collapse collapse in">
|
||||
<?php } else { ?>
|
||||
<div id=<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['typ'];?>
|
||||
class="panel-collapse collapse">
|
||||
<?php }?>
|
||||
<div class="panel-body">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tagtour']->value['tdata'], 'tlist');
|
||||
$_smarty_tpl->tpl_vars['tlist']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tlist']->value) {
|
||||
$_smarty_tpl->tpl_vars['tlist']->do_else = false;
|
||||
?>
|
||||
<table class="no-style full" style="color:#ddd;">
|
||||
<thead>
|
||||
<tr style="font-size:11pt">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tlist']->value['aktiv'] != 0) {?>
|
||||
<td nowrap style="width:100px"><a href="?s=v_touren&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
|
||||
" style="color:#ddd;"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
|
||||
</a></td>
|
||||
<td nowrap style="color:#ddd;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:100px"><a href="?s=v_touren&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
|
||||
" style="color:#666;"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
|
||||
</a></td>
|
||||
<td nowrap align="left" style="color:#666;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- ***** Tourenlisten rechte Seite ***** -->
|
||||
|
||||
<!-- rechte seite keine Auswahl -->
|
||||
<div class="col-md-8" style="background-color:#333333; color:#115270">
|
||||
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
|
||||
<div class="ibox">
|
||||
<p nowrap>Info
|
||||
<br> <span style='font-size:10pt;line-height:115%; color:#4F81BD'>
|
||||
Bitte die Tour auwählen die Sie bearbeiten möchten.
|
||||
</span>
|
||||
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
|
||||
<?php } else { ?>
|
||||
<p class="xbox" nowrap>
|
||||
<span style='font-size:20pt'><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</span>
|
||||
<span style='font-size:10pt'>ID: <?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
</span>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
|
||||
<div class="panel panel-default" style="background-color:#222; color:#115270; border-color: #115270">
|
||||
<div class="panel-body" style="background-color:#222; color:#ddd">
|
||||
<section>
|
||||
<form action="" method="post">
|
||||
<table class="no-style sortable full">
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap style="width:200px"><strong>Kurzbezeichnung:</strong></td>
|
||||
<td><input type="text" name="tour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Bezeichnung Dateninput:</strong></td>
|
||||
<td><input type="text" name="tour2" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour2'];?>
|
||||
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Bezeichnung Druckerei:</strong></td>
|
||||
<td><input type="text" name="tour3" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour3'];?>
|
||||
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Bezeichnung/Ziel:</strong></td>
|
||||
<td><input type="text" name="infotitel" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
|
||||
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<!-- --------------------------- Auftraggeber -->
|
||||
<td nowrap="nowrap"><strong>Auftraggeber:</strong></td>
|
||||
<td>
|
||||
<select name="retyp" style="width:180px;background-color:#222;border:none;border-bottom: 1px solid #666">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auftraggeber']->value, 'ageber');
|
||||
$_smarty_tpl->tpl_vars['ageber']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ageber']->value) {
|
||||
$_smarty_tpl->tpl_vars['ageber']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ageber']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ageber']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['retyp']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<!-- --------------------------- typ -->
|
||||
<td nowrap="nowrap"><strong>Tourzuordnung:</strong></td>
|
||||
<td>
|
||||
<select name="ttyp" style="width:180px;background-color:#222;border:none;border-bottom: 1px solid #666">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auswahltyp']->value, 'atyp');
|
||||
$_smarty_tpl->tpl_vars['atyp']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['atyp']->value) {
|
||||
$_smarty_tpl->tpl_vars['atyp']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['atyp']->value['tid'],'output'=>$_smarty_tpl->tpl_vars['atyp']->value['tname'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['typ']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Bedarf:</strong></td>
|
||||
<td><input type="text" name="bedarf" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kaltyp'];?>
|
||||
" style="width:30px;background-color:#222;border:none;border-bottom: 1px solid #666"/> 1-fest / 0-Abnahme/nach Bedarf</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Netto:</strong></td>
|
||||
<td><input type="text" name="preis" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['preis'];?>
|
||||
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> Netto/ändert alte Bestände !</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>aktiv:</strong></td>
|
||||
<td><input type="text" name="aktiv" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['aktiv'];?>
|
||||
" style="width:30px;background-color:#222;border:none;border-bottom: 1px solid #666"/> 1-aktiv / 0-inaktiv</td>
|
||||
</tr>
|
||||
<!-- --------------------------- fahrer -->
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Stammfahrer:</strong></td>
|
||||
<td>
|
||||
<select name="efahrer" style="width:160px;background-color:#222;border:none;border-bottom: 1px solid #666">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
|
||||
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
|
||||
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['s_fahrer']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Stammfahrzeug:</strong></td>
|
||||
<td>
|
||||
<select name="eauto" style="width:160px;background-color:#222;border:none;border-bottom: 1px solid #666">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
|
||||
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
|
||||
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['s_auto']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Startzeit:</strong></td>
|
||||
<td><input type="text" name="kalzeit" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kalzeit'];?>
|
||||
" placeholder="01:00" required style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> Uhr</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>Exemplare:</strong></td>
|
||||
<td><input type="text" name="exemplare" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
|
||||
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> Stück</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td nowrap="nowrap"><strong>ca. Strecke:</strong></td>
|
||||
<td><input type="text" name="km" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['km'];?>
|
||||
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> km</td>
|
||||
</tr>
|
||||
<tr style="line-height: 25px">
|
||||
<td><input type="submit" name="toursave" value="Speichern" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- rechte seite -->
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.ibox {
|
||||
background: #222222;
|
||||
color: darkred;
|
||||
font-size: 30px;
|
||||
padding: 5px;
|
||||
border: 1px solid #115270;
|
||||
margin-top: -1px;
|
||||
margin-bottom: 18px;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.xbox {
|
||||
background: #222;
|
||||
color: #115270;
|
||||
padding-left: 10px;
|
||||
border: 1px solid #115270;
|
||||
margin-top: -1px;
|
||||
margin-bottom: 18px;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue