334 lines
15 KiB
Smarty
334 lines
15 KiB
Smarty
{literal}
|
|
<script type="text/javascript">
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog3&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
});
|
|
var refreshId = setInterval(function() {
|
|
$.ajax({
|
|
type : "POST",
|
|
url : 'ajax.php?s=tuerlog3&tpl',
|
|
cache : false,
|
|
data : {
|
|
},
|
|
dataType : "html",
|
|
success : function(data){
|
|
$("#tlog").html(data);
|
|
},
|
|
})
|
|
}, 10000);
|
|
</script>
|
|
{/literal}
|
|
<!-- *************************************************************************************** -->
|
|
{foreach from=$testarray item=ttt}
|
|
<p nowrap style="width:190px">{$ttt.id} - {$ttt.name}</p>
|
|
{/foreach}
|
|
<!-- *************************************************************************************** -->
|
|
<!DOCTYPE html> <html lang="de">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>| JB-Transport.de - </title>
|
|
</head>
|
|
|
|
|
|
<!-- Page Content -->
|
|
<section id="content">
|
|
<div class="container">
|
|
<div class="row sortable">
|
|
<div class="col-md-4">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">Anzahl Mitarbeiter</span></h2></header>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
<tr>
|
|
<td nowrap style="width:180px"><a href="?s=ma_aktiv" title="aktive Mitarbeiter auflisten"> aktive Mitarbeiter</td>
|
|
<td>{$ma_aktive}</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap style="width:180px"><a href="?s=ma_inaktiv" title="aktive Mitarbeiter auflisten"> inaktive Mitarbeiter</strong> </td>
|
|
<td>{$ma_inaktive}</td>
|
|
</tr>
|
|
<tr>
|
|
<td nowrap style="width:180px"><a href="?s=ma_sonstige" title="aktive Mitarbeiter auflisten"> sonstige Mitarbeiter</strong> </td>
|
|
<td>{$ma_sonstige}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- mittleres Widged ***** neuste Mitarbeiter ********************** -->
|
|
<div class="col-md-4">
|
|
<div class="panel panel-warning">
|
|
<header class="panel-heading"><h2 class="panel-title">neuste Mitarbeiter</span></h2></header>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$madata item=madata}
|
|
<tr>
|
|
<td nowrap style="width:190px"><a href="?s=ma_aktiv&id={$madata.id}" title="Klicke zum bearbeiten" >{$madata.name} </td>
|
|
<td> {$madata.eintag}.{$madata.einmonat}.{$madata.einjahr}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- -------------------------------- Status Zutritt Tür -->
|
|
<div class="col-md-4">
|
|
<div class="panel panel-success">
|
|
<div class="panel-heading"><h2 class="panel-title">Türkontrolle</h2></div>
|
|
<div class="panel-body">
|
|
<div id="tlog" style="text-align:center;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--
|
|
<!-- </div> -->
|
|
<!-- 2. Reihe links Widged *************************** -->
|
|
<div class="row sortable">
|
|
<div class="col-md-4">
|
|
<div class="panel panel-danger">
|
|
<header class="panel-heading"><h2 class="panel-title">fehlende Daten * aktive Mitarbeiter</span></h2></header>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$mafehler item=mafehler}
|
|
{if $mafehler.line>0}
|
|
<tr><td><hr style="color: red; height: 1px;" /></td><td><hr style="color: red; height: 1px;" /></td></tr>
|
|
{/if}
|
|
<tr>
|
|
<td nowrap="nowrap"><strong><a href="?s=ma_aktiv&id={$mafehler.id}" title="Klicke zum bearbeiten" >{$mafehler.name}</strong> </td>
|
|
<td> <strong>{$mafehler.grund}</strong> </td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 2. Reihe rechts Widged *************************** -->
|
|
<div class="col-md-4">
|
|
<div class="panel panel-danger">
|
|
<header class="panel-heading"><h2 class="panel-title">fehlende Daten * inaktive Mitarbeiter</span></h2></header>
|
|
<div class="panel-body">
|
|
<table class="no-style full">
|
|
<tbody>
|
|
{foreach from=$maerror item=mafehler}
|
|
{if $mafehler.line>0}
|
|
<tr><td><hr style="color: red; height: 1px;" /></td><td><hr style="color: red; height: 1px;" /></td></tr>
|
|
{/if}
|
|
<tr>
|
|
<td nowrap="nowrap"><strong><a href="?s=ma_aktiv&id={$mafehler.id}" title="Klicke zum bearbeiten" >{$mafehler.name}</strong> </td>
|
|
<td> <strong>{$mafehler.grund}</strong> </td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- </div> -->
|
|
<!-- *************************************************************************************** -->
|
|
<!-- Sidebar -->
|
|
<!-- *************************************************************************************** -->
|
|
<!-- Sidebar -->
|
|
<aside class="col-md-4">
|
|
<!-- Kalender für Tag 1 -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Kalender für {$day1}</h2></header>
|
|
<section class="panel-body">
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf1 item=maf1 }
|
|
<td nowrap style="width:160px;font-size:11pt"> {$maf1.fahrer}</td>
|
|
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td nowrap style="width:150px;font-size:11pt"> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</dl>
|
|
</div>
|
|
<!-- Kalender für Tag 2 -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Kalender für {$day2}</h2></header>
|
|
<section class="panel-body">
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf2 item=maf1 }
|
|
<td nowrap style="width:160px;font-size:11pt"> {$maf1.fahrer}</td>
|
|
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td nowrap style="width:150px;font-size:11pt"> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</dl>
|
|
</div>
|
|
<!-- Kalender für Tag 1 -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Kalender für {$day3}</h2></header>
|
|
<section class="panel-body">
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf3 item=maf1 }
|
|
<td nowrap style="width:160px;font-size:11pt"> {$maf1.fahrer}</td>
|
|
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td nowrap style="width:150px;font-size:11pt"> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</dl>
|
|
</div>
|
|
<!-- Kalender für Tag 1 -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Kalender für {$day4}</h2></header>
|
|
<section class="panel-body">
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf4 item=maf1 }
|
|
<td nowrap style="width:160px;font-size:11pt"> {$maf1.fahrer}</td>
|
|
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td nowrap style="width:150px;font-size:11pt"> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</dl>
|
|
</div>
|
|
<!-- Kalender für Tag 1 -->
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<header class="panel-heading"><h2 class="panel-title">Kalender für {$day5}</h2></header>
|
|
<section class="panel-body">
|
|
<dl>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf5 item=maf1 }
|
|
<td nowrap style="width:160px;font-size:11pt"> {$maf1.fahrer}</td>
|
|
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td nowrap style="width:150px;font-size:11pt"> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</dl>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Sidebar End -->
|
|
|
|
</div></div></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<aside class="grid_4 top">
|
|
<div id="rightmenu" class="panel panel-default">
|
|
<div class="widget"> <!-- ******* 1. Tag -->
|
|
<header class="current"><h2>{$day1} ( {$tna1} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf1 item=maf1 }
|
|
<td> {$maf1.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
|
|
<td> {$maf1.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day2} ( {$tna2} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf2 item=maf2 }
|
|
<td> {$maf2.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf2.icon}" width="16" height="16"/></td>
|
|
<td> {$maf2.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day3} ( {$tna3} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf3 item=maf3 }
|
|
<td> {$maf3.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf3.icon}" width="16" height="16"/></td>
|
|
<td> {$maf3.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day4} ( {$tna4} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf4 item=maf4 }
|
|
<td> {$maf4.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf4.icon}" width="16" height="16"/></td>
|
|
<td> {$maf4.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day5} ( {$tna5} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf5 item=maf5 }
|
|
<td> {$maf5.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf5.icon}" width="16" height="16"/></td>
|
|
<td> {$maf5.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
</aside>
|
|
<!-- Sidebar End -->
|
|
<div class="clear"></div>
|
|
</div>
|
|
</section>
|