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

961 lines
56 KiB
PHP

<?php
/* Smarty version 4.3.0, created on 2025-07-01 22:40:05
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pfaz.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_686447a5846e10_96030487',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cbab9866225a79ceb05d678db3d3ea759a788c3c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pfaz.tpl',
1 => 1751402398,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_686447a5846e10_96030487 (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',),));
?>
<section class="col-md-9">
<div class="row sortable">
<!-- fas 1 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 1 "WEST"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car1" >
<?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['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user1" >
<?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['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour1all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour1']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], '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['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], '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['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 2 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange; color: aliceblue">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 2 "Nord"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car2" >
<?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['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user2" >
<?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['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour2all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], '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['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], '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['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 3 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 3 "Süd"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car3" >
<?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['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user3" >
<?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['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour3all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour3']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], '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['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], '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['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 4 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 4 "Ost"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car4" >
<?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['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user4" >
<?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['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour4all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour4']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], '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['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], '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['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</div>
</section>
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default">
<div class="btn-group">
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
<a class="btn btn-default btn-sm href="#"">-</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=3&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=4&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Kalender f&uuml;r <?php echo $_smarty_tpl->tpl_vars['datumland']->value;?>
</h2></header>
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mafx']->value, 'maf1');
$_smarty_tpl->tpl_vars['maf1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf1']->value) {
$_smarty_tpl->tpl_vars['maf1']->do_else = false;
?>
<td nowrap style="width:145px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['fahrer'];?>
</td>
<td nowrap style= "width:20px;height:10px;font-size:10pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf1']->value['icon'];?>
" width="12" height="12"/></td>
<td nowrap style="width:150px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<table class="no-style full" style="font-size:12pt">
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtabos</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe1']->value;?>
&nbsp;&nbsp;&nbsp;Exemplare</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtkunden</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe2']->value;?>
Abonnenten</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Unterbrechung:</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe3']->value;?>
Abonnenten</td>
</tr>
</table>
</section>
</div>
<!-- --------------------------- Sms sendebutton -->
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<form action="" method="post">
<input type="submit" class="btn btn-link" value="alle SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</section>
</div>
<!-- --------------------------- Vorwoche anzeigen -->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Einsatzplanung letzte Woche</h2></header>
<section class="panel-body">
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lastx']->value, 'last');
$_smarty_tpl->tpl_vars['last']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['last']->value) {
$_smarty_tpl->tpl_vars['last']->do_else = false;
?>
<td nowrap style= "width:60px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['tour'];?>
</td>
<td nowrap style="width:120px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['fahrer'];?>
</td>
<td nowrap style="width:100px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['kennz'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
</aside>
<!-- Sidebar End -->
<?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
<?php }
}