init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
20
tuer_log.php
Normal file
20
tuer_log.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
error_reporting(E_ALL);
|
||||
|
||||
include('lib/config.php');
|
||||
include('lib/mysql.class.php');
|
||||
require('lib/core.class.php');
|
||||
|
||||
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
|
||||
$anlage = $GLOBALS['mysql']->query("SELECT * FROM kartenlog ORDER BY logID DESC LIMIT 0,5"); $key=0;
|
||||
while($row_anlage = $anlage->fetch_assoc()) {
|
||||
$row_fahrer = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row_anlage['user']."'");
|
||||
$status[$key]['fahrer']=$row_fahrer['name'];
|
||||
$status[$key]['zeit']=$row_anlage['zeit'];
|
||||
$key++;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue