jb-data.de/compile/abfd285a6f22158d06312050385e557e46a92524_0.file.c_inaktiv.tpl.php
2025-08-11 22:23:30 +02:00

501 lines
27 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/* Smarty version 4.3.0, created on 2024-08-23 12:49:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_inaktiv.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c8694f873b50_62249010',
'has_nocache_code' => false,
'file_dependency' =>
array (
'abfd285a6f22158d06312050385e557e46a92524' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_inaktiv.tpl',
1 => 1724228321,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c8694f873b50_62249010 (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',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- ************************ PKW -->
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive PKW</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata1']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_inaktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- ************************ kleine Transporter / Hundefänger / Caddy -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive Caddy´s</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata2']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_inaktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- ************************ Transporter -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive Transporter</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata3']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- -------------------------------- Spaltenwechsel -->
</div>
<!-- -------------------------------- Car uaswählen info -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<span style='font-size:14pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auw&auml;hlen den Sie bearbeiten m&ouml;chten.</span>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value > 0) {?>
<!-- MA Info Anzeigen -->
<!-- ****************************************************************** zum Fahrzeug-->
<form action="" method="post"><input type="hidden" name="vid" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['id'];?>
" />
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td nowrap="nowrap"style="width:120px;">Kennzeichen:</td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kz" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hersteller:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="hersteller" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hersteller'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>Bezeichnung:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['name'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>KBA zu2/3:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kba2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba2'];?>
" style="width:98px"/>
<input type="text" name="kba3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba3'];?>
" style="width:98px"/>
</td>
</tr>
<tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Kommunikation -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"style="width:120px;">FahrgestellNr.:</td>
<td><input type="text" name="fin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['fin'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KFZ-Typ:</strong></td>
<td>
<select name="typ">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['typ']->value, 'type');
$_smarty_tpl->tpl_vars['type']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['type']->value) {
$_smarty_tpl->tpl_vars['type']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['type']->value['id'],'output'=>$_smarty_tpl->tpl_vars['type']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Erstzulassung:</strong></td>
<td><input type="text" name="ezltag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezltag']);?>
" style="width:30px"/>
<input type="text" name="ezlmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezlmonat']);?>
" style="width:30px"/>
<input type="text" name="ezljahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezljahr'];?>
" style="width:60px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>JB- Zulassung:</strong></td>
<td><input type="text" name="jbtag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbtag']);?>
" style="width:30px"/>
<input type="text" name="jbmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbmonat']);?>
" style="width:30px"/>
<input type="text" name="jbjahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbjahr'];?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Ölsorte:</td>
<td>
<select name="osorte">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['oel']->value, 'ol');
$_smarty_tpl->tpl_vars['ol']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ol']->value) {
$_smarty_tpl->tpl_vars['ol']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ol']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ol']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['osorte']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!--<td><input type="text" name="osorte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['osorte'];?>
" style="width:30px"/> 1-5w30 2-10w30 3-10w40 </td> -->
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><input type="text" name="reifen" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['reifen'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hubraum:</strong></td>
<td><input type="text" name="ccm" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ccm'];?>
" style="width:80"/> ccm
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KW/PS</strong></td>
<td><input type="text" name="kw" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kw'];?>
" style="width:80px"/> KW
<input type="text" name="ps" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ps'];?>
" style="width:80px"/> PS
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Z.Info:</td>
<td><input type="text" name="zfeld1" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld1'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld2'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld3'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld4" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld4'];?>
" style="width:200px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">aktiv:</td>
<td><input type="text" name="aktiv" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['aktiv'];?>
" style="width:30px"/> 1-aktiv / 0-inaktiv
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Besitzer:</strong></td>
<td>
<select name="besitz">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['besitzer']->value, 'bes');
$_smarty_tpl->tpl_vars['bes']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['bes']->value) {
$_smarty_tpl->tpl_vars['bes']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['bes']->value['id'],'output'=>$_smarty_tpl->tpl_vars['bes']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['besitz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">LVZ-Karte:</td>
<td><input type="text" name="lvzkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['lvzkarte'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-PIN:</strong></td>
<td><input type="text" name="tankpin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankpin'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-Karte:</strong></td>
<td><input type="text" name="tankkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankkarte'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="no-style sortable full">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap"><strong>HU / AU:</strong></td>
<td nowrap="nowrap">
<input type="text" name="humonat" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%m");?>
" style="width:40px"/> /
<input type="text" name="hujahr" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%Y");?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">SFK:</td>
<td><input type="text" name="sfk" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['sfk'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">letze Kontrolle</h2></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"><strong>Schadenkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_s']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_s']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_s'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_skm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_o']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_o'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_okm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bremsanlage:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_b']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_b']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_b'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_bkm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_r']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_r']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_r'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_rkm']);?>
km</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hujahr'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
Uhr</strong></td>
<td><strong><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['humonat'];?>
</strong></td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['owjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owkm']);?>
km</td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zrjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrkm']);?>
km</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Einstellungsart -->
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><input style="margin-right: "type="submit" name="save" value="Fahrzeugdaten Speichern" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
</div>
</form>
<?php }
}
}