init
12
.docker/compose.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
|
||||
db:
|
||||
image: mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: Get2ftp1!
|
||||
ports:
|
||||
- "3306:3306"
|
||||
|
||||
web:
|
||||
image: php:8-cli-alpine
|
||||
8
.idea/.gitignore
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
8
.idea/jb-data.iml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
8
.idea/modules.xml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/jb-data.iml" filepath="$PROJECT_DIR$/.idea/jb-data.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
19
.idea/php.xml
generated
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="MessDetectorOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PHPCSFixerOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PHPCodeSnifferOptionsConfiguration">
|
||||
<option name="highlightLevel" value="WARNING" />
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PsalmOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
</project>
|
||||
62
227.php
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="300; url=227.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
require('lib/config.php');
|
||||
include('lib/class.mysms.php');
|
||||
require('lib/mysql.class.php');
|
||||
require('lib/core.class.php');
|
||||
session_name(CONFIG_SESSION);
|
||||
session_start();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
if(!isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'on') {
|
||||
header('Location: https://'.$_SERVER['SERVER_NAME']);
|
||||
exit();
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
$userip=$_SERVER['REMOTE_ADDR'];// ip fuer fuss
|
||||
date_default_timezone_set('Europe/Berlin'); // Default Time Zone
|
||||
// define('SITE_ACCESS',true);
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB); mysqli_set_charset($mysql, 'utf8');
|
||||
require('lib/smarty/Smarty.class.php');
|
||||
$GLOBALS['core'] = new core;
|
||||
|
||||
$template = new smarty();
|
||||
$template->template_dir = './template/';
|
||||
$template->compile_dir = './template/compile';
|
||||
$template->compile_check = TRUE;
|
||||
$template->debugging = false;
|
||||
$template->debug_output = "html";
|
||||
$template->plugins_dir[] = 'lib/smarty/plugins/';
|
||||
$template->force_compile = true;
|
||||
|
||||
//-----------------------------------------------------
|
||||
if(date('G')<8) { $d = getdate(); } else { $d = getdate(strtotime("+1 day")); }
|
||||
$test1 = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE tour=127 and tag='".$d['mday']."' and monat='".$d['mon']."'and jahr='".$d['year']."' and fertig=1");
|
||||
if ($test1['num_rows']!=0) {
|
||||
$template->assign('anzeige', 1);
|
||||
$data1 = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$test1['fahrer']."'");
|
||||
$template->assign('data1', $data1);
|
||||
$test2 = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE tour=90227 and tag='".$d['mday']."' and monat='".$d['mon']."'and jahr='".$d['year']."'");
|
||||
$data2 = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$test2['fahrer']."'");
|
||||
if ($test2['num_rows']!=0) { $template->assign('anzeige', 2); $template->assign('data2', $data2); }
|
||||
} else {
|
||||
$template->assign('anzeige', 0);
|
||||
//---------------------------------------------
|
||||
}
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
//echo'<pre>'; print_r($tag_tour1); echo'</pre>';
|
||||
//------------------------------------------------------------
|
||||
$template->assign('d',$d);
|
||||
$GLOBALS['template']->display('227.tpl');
|
||||
|
||||
//------------------------------------------------------------
|
||||
|
||||
?>
|
||||
57
4komma5.php
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="180; url=4komma5.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
require('lib/config.php');
|
||||
include('lib/class.mysms.php');
|
||||
require('lib/mysql.class.php');
|
||||
require('lib/core.class.php');
|
||||
session_name(CONFIG_SESSION);
|
||||
session_start();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
if(!isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'on') {
|
||||
header('Location: https://'.$_SERVER['SERVER_NAME']);
|
||||
exit();
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
date_default_timezone_set('Europe/Berlin'); // Default Time Zone
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB); mysqli_set_charset($mysql, 'utf8');
|
||||
|
||||
require('lib/smarty/Smarty.class.php');
|
||||
$GLOBALS['core'] = new core;
|
||||
|
||||
$template = new smarty();
|
||||
$template->template_dir = './template/';
|
||||
$template->compile_dir = './template/compile';
|
||||
$template->compile_check = TRUE;
|
||||
$template->debugging = false;
|
||||
$template->debug_output = "html";
|
||||
$template->plugins_dir[] = 'lib/smarty/plugins/';
|
||||
$template->force_compile = true;
|
||||
//------------------------------------------------------ prüfen und in eine inc
|
||||
$wochentag=date('w');
|
||||
$tagname = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
|
||||
|
||||
//------------------------------------------------------ Status
|
||||
//$dbdata=$GLOBALS['mysql']->query_array("SELECT * FROM ilonexs_status ORDER BY id");
|
||||
//$template->assign('status', $dbdata);
|
||||
//------------------------------------------------------ eingehende Sendungen
|
||||
|
||||
$dbdata=$GLOBALS['mysql']->query_array("SELECT * FROM ilonexs WHERE kunde=45 ORDER BY datum");
|
||||
$template->assign('senddata', $dbdata);
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// echo'<pre>'; print_r($a_fplanr); echo'</pre>';
|
||||
//----------------------------------------------------------------------------------------------------------------------------------
|
||||
//$GLOBALS['template']->display('index_display.tpl');
|
||||
$GLOBALS['template']->display('4komma5.tpl');
|
||||
//----------------------------------------------------------------------------------------------
|
||||
|
||||
?>
|
||||
BIN
Image3.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
Image5.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
Image77.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
ImageL.gif
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
SaSo_Routenproduktionszeiten_2024-01-11-09-00-37.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-01-18-09-00-56.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-01-25-09-00-59.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-02-01-09-00-07.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-02-08-09-00-02.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-02-15-09-00-16.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-02-22-09-00-27.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-02-29-09-00-01.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-03-07-09-00-53.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-03-14-09-00-34.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-03-21-10-32-33.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-03-27-09-00-07.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-04-04-09-00-34.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-04-18-09-00-42.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-04-25-09-00-16.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-02-09-00-26.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-02-10-40-43.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-08-09-00-33-1.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-08-09-00-33.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-16-09-00-58.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-05-30-09-00-04.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-06-06-09-00-01.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-06-13-09-00-23.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-06-20-09-00-16.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-06-27-09-00-22.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-07-04-09-00-45.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-07-11-09-00-54.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-07-18-09-00-46.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-08-01-09-00-24.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-08-08-09-00-02.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-08-22-09-00-09.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-09-05-09-00-29.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-09-19-09-00-54.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-10-17-09-00-20.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-11-28-09-00-24.xls
Normal file
BIN
SaSo_Routenproduktionszeiten_2024-12-28.xls
Normal file
417
a_lohnpdf.php
Normal file
|
|
@ -0,0 +1,417 @@
|
|||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors',1);
|
||||
require('lib/fpdf.php');
|
||||
class PDF extends FPDF {
|
||||
function Footer() {
|
||||
$this->SetY(-15);
|
||||
$this->SetFont('Helvetica','I',6);
|
||||
$this->Cell(190,3,'JB-Transport.de - Bautzner Str. 67 - 04347 Leipzig ***** Interne Liste - NON Public ***** F.Teichert 2016','1','0','C','1');
|
||||
}
|
||||
function Header() {
|
||||
$this->SetFont('Helvetica','B',20);
|
||||
$this->SetTextColor(70,130,180);
|
||||
$fahrer = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$_GET['ma']."'");
|
||||
$this->SetFillColor(255,255,255);
|
||||
$this->Cell(54,8,"Lohnvorschlag aus EDV",'0','1','L','1');
|
||||
$this->Cell(85,8,$fahrer['name'],'0','0','L','0'); $this->Cell(28,8,$_GET['monat']."/".$_GET['jahr'],'0','1','L','1');
|
||||
$this->SetFont('Helvetica','BI',20);
|
||||
$this->Image('jb_logo2.png', 125, 7);
|
||||
$this->Write(3,"\n");
|
||||
}
|
||||
}
|
||||
$pdf = new PDF('P','mm','A4');
|
||||
$pdf->AddPage();
|
||||
$pdf->Write(3,"\n"); $summe=0;
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Helvetica','BI',10); $pdf->SetTextColor(255,255,255);
|
||||
$pdf->Cell(100,5,"Mitarbeiterdaten",'1','0','L','1');
|
||||
$pdf->Cell(10,4," ",'0','0','L','0');
|
||||
$pdf->Cell(80,5,"Festvertrag Fahrdaten",'1','1','L','1'); $pdf->Write(3,"\n");
|
||||
$fahrer = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$_GET['ma']."'");
|
||||
$tarifi = $GLOBALS['mysql']->query_single("SELECT * FROM tariftyp WHERE id='".$fahrer['tarifgtyp']."'");
|
||||
|
||||
|
||||
// echo "<pre>"; print_r($tarifi); echo "</pre>";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$planer = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."'");
|
||||
//---------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
$monatstage = date("t",mktime(0, 0, 0,$_GET['monat'], 1,$_GET['jahr'])); $nachttage=0; $pintage=0; $rpintage=0; $aft=0;
|
||||
for ($i = 1; $i <= $monatstage; $i++) {
|
||||
$ft = $GLOBALS['mysql']->query_single("SELECT * FROM feiertage WHERE tag='".$i."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."'");
|
||||
if($ft['num_rows']>0) {
|
||||
$aft++;
|
||||
} else {
|
||||
if (date("N",mktime(0, 0, 0,$_GET['monat'],$i,$_GET['jahr']))<7) { $nachttage++; } // 6 Tage Mo-Sa.
|
||||
if (date("N",mktime(0, 0, 0,$_GET['monat'],$i,$_GET['jahr']))<7 && date("N",mktime(0, 0, 0,$_GET['monat'],$i,$_GET['jahr']))>1 ) { $pintage++; } // 5 Tage Di-Sa.
|
||||
if (date("N",mktime(0, 0, 0,$_GET['monat'],$i,$_GET['jahr']))<6) { $rpintage++; } // 5 Tage Mo-Fr.
|
||||
}
|
||||
}
|
||||
|
||||
$pdf->SetTextColor(0,0,0); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 1 // Festdaten !!!!!!!!!! Anzahl Nachttage
|
||||
$pdf->Cell(40,4,("Name:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['name']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,($nachttage." x"),'0','0','R','0'); $pdf->Cell(50,4,(" Nachttage ".$_GET['monat']."/".$_GET['jahr']),'0','0','L','0'); $pdf->Cell(20,4,("(Mo.-Sa.)"),'0','1','L','0');
|
||||
$pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 2 // Festdaten !!!!!!!!!! Anzahl post
|
||||
$pdf->Cell(40,4,("Strasse:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['strasse']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,($pintage." x"),'0','0','R','0'); $pdf->Cell(50,4,(" Post-Tage ".$_GET['monat']."/".$_GET['jahr']),'0','0','L','0'); $pdf->Cell(20,4,("(Di.-Sa.)"),'0','1','L','0');
|
||||
$pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 3 // Festdaten !!!!!!!!!! Anzahl rtour
|
||||
$pdf->Cell(40,4,("Wohnort:"),'0','0','L','0');$pdf->SetFont('Courier','B',10);$pdf->Cell(60,4,($fahrer['plz']." ".$fahrer['ort']),'0','0','L','0');$pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,($rpintage." x"),'0','0','R','0'); $pdf->Cell(50,4,(" RTourtage ".$_GET['monat']."/".$_GET['jahr']),'0','0','L','0'); $pdf->Cell(20,4,("(Mo.-Fr.)"),'0','1','L','0');
|
||||
$pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 4 feiertage
|
||||
$pdf->Cell(40,4,("Telefon 1:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['handy']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,($aft." x"),'0','0','R','0'); $pdf->Cell(50,4,(" Feiertage ".$_GET['monat']."/".$_GET['jahr']),'0','0','L','0'); $pdf->Cell(20,4,(" "),'0','1','L','0');
|
||||
$pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 5 - 2. spalte leer !!!!!!!!!!
|
||||
$pdf->Cell(40,4,("Telefon 2:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['tel']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(80,4,(" "),'0','1','L','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 6
|
||||
$pdf->Cell(40,4,("Geb.-tag:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['gebtag'].".".$fahrer['gebmonat'].".".$fahrer['gebjahr']),'0','0','L','0');
|
||||
$pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Helvetica','BI',10); $pdf->SetTextColor(255,255,255);
|
||||
$pdf->Cell(80,5,"Typrechnung soll / ist",'1','1','L','1'); $pdf->SetTextColor(0,0,0); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 7
|
||||
$pdf->Cell(40,4,("Eintritt:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['eintag'].".".$fahrer['einmonat'].".".$fahrer['einjahr']),'0','0','L','0');
|
||||
$pdf->Cell(10,4,(" "),'0','0','L','0'); $pdf->Cell(80,4,(" "),'0','1','L','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-----------
|
||||
|
||||
|
||||
if($fahrer['typ']==3 || $fahrer['typ']==4) {
|
||||
//-------- Nachtfahrer Zeitung
|
||||
$zaehler=0; $solltage=$nachttage;
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND fahrer='".$_GET['ma']."' AND typ=3");
|
||||
$zaehler=$zaehler+$abfrage['num_rows'];
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND fahrer='".$_GET['ma']."' AND typ=4");
|
||||
$zaehler=$zaehler+$abfrage['num_rows'];
|
||||
}
|
||||
if($fahrer['typ']==5) {
|
||||
//-------- postfahrer Zeitung
|
||||
$zaehler=0; $solltage=$pintage;
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND fahrer='".$_GET['ma']."' AND typ=5");
|
||||
$zaehler=$zaehler+$abfrage['num_rows'];
|
||||
}
|
||||
if($fahrer['typ']==6) {
|
||||
//-------- rtourfahrer Zeitung
|
||||
$zaehler=0; $solltage=$rpintage;
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND fahrer='".$_GET['ma']."' AND typ=6");
|
||||
$zaehler=$zaehler+$abfrage['num_rows'];
|
||||
}
|
||||
//-------- zeile 8
|
||||
$pdf->Cell(40,4,("Steuer Nr.:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['steuernr']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,($zaehler." x"),'0','0','R','0'); $pdf->Cell(50,4,(" gefahren - soll Touren: "),'0','0','L','0'); $pdf->Cell(20,4,($solltage." x"),'0','1','R','0');
|
||||
$pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 9
|
||||
$pdf->Cell(40,4,("S.V.Nr.:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['svnr']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,(" "),'0','0','L','0'); $pdf->Cell(80,4,(" "),'0','1','L','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 10
|
||||
$pdf->Cell(40,4,("Krankenkasse:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['kk']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Helvetica','BI',10); $pdf->SetTextColor(255,255,255);
|
||||
$pdf->Cell(80,5,"Eintrag im Kalender",'1','1','L','1'); $pdf->SetTextColor(0,0,0); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 11
|
||||
$pdf->Cell(40,4,("KK V.Nr.:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['kkvnr']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->Cell(10,4,(" "),'0','0','L','0'); $pdf->Cell(80,4,(" "),'0','1','L','0'); $pdf->SetFont('Helvetica','',9);
|
||||
|
||||
//-------------------------------------
|
||||
//-------------- kalender ausrechnen
|
||||
//-------------------------------------
|
||||
$zz=0;
|
||||
//------------- neu Kalendereinträge zusammengefasst
|
||||
|
||||
|
||||
//--------------- zusammenfassung
|
||||
$temp1 = $GLOBALS['mysql']->query("SELECT * FROM planer_bez WHERE id<80");
|
||||
while($row = $temp1->fetch_assoc()) {
|
||||
$kd = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND grund='".$row['id']."'");
|
||||
if($kd['num_rows']>0) {
|
||||
$zz++;
|
||||
$tmp[$zz]['a']=$kd['num_rows']." x";
|
||||
$tmp[$zz]['b']=" ";
|
||||
$tmp[$zz]['c']=$row['bez']." x";
|
||||
}
|
||||
}
|
||||
//---------------------------- leerzeile
|
||||
$zz++; $tmp[$zz]['a']=" "; $tmp[$zz]['b']=" "; $tmp[$zz]['c']=" ";
|
||||
//---------------------------------------- Einzelanzeige
|
||||
$kdata = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE mid='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND grund>0"); $key=0;
|
||||
while($row = $kdata->fetch_assoc()) {
|
||||
$zz++;
|
||||
$tmp[$zz]['a']=$row['tag'].".".$row['monat'];
|
||||
$kg = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$row['grund']."'"); $tmp[$zz]['b']=$kg['bez'];
|
||||
$tmp[$zz]['c']=$row['info'];
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------ kalenderrechnung ende
|
||||
$za=0;
|
||||
//-------- zeile 12
|
||||
$pdf->Cell(40,4,("Steuerklasse:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['stkl']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 13
|
||||
$pdf->Cell(40,4,("Freibetrag:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['stfb']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 14
|
||||
$pdf->Cell(40,4,("Bank-Iban:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['iban']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 15
|
||||
$pdf->Cell(40,4,("Bank-BIC:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($fahrer['bic']),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 16
|
||||
$pdf->Cell(40,4,(" "),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,(" "),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 17
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Helvetica','BI',10); $pdf->SetTextColor(255,255,255);
|
||||
$pdf->Cell(100,5,"Lohnzusammenfassung",'1','0','L','1'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Courier','B',10); $pdf->SetTextColor(0,0,0);
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 18
|
||||
$pdf->Cell(40,4,(" "),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,(" "),'0','0','L','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-----------------------
|
||||
//--------------- Lohn
|
||||
//-----------------------
|
||||
|
||||
//-------- zeile 19 ** Grundlohn
|
||||
if ($fahrer['einmonat']==$_GET['monat'] && $fahrer['einjahr']==$_GET['jahr']) {
|
||||
$gtage=27-$fahrer['eintag']; $glohn=($fahrer['tarifg']/26); $glohn=$glohn*$gtage; $glohn=round($glohn,0);
|
||||
$pdf->Cell(40,4,("Grundlohn:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($gtage." Tage"),'0','0','L','0'); $pdf->Cell(30,5,($glohn.".00 EUR"),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
} else { $glohn=$fahrer['tarifg'];
|
||||
$pdf->Cell(40,4,("Grundlohn:"),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(60,4,($glohn.",00 EUR"),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0');
|
||||
}
|
||||
$za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//------------- Zählerausrechnung
|
||||
$zz=0;
|
||||
$temp2 = $GLOBALS['mysql']->query("SELECT * FROM tourentyp");
|
||||
while($row = $temp2->fetch_assoc()) {
|
||||
$tl=$GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE fahrer='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND typ='".$row['tid']."' AND utyp<9");
|
||||
if($tl['num_rows']>0) { $tmpl=0;
|
||||
$ldaten = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE fahrer='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND typ='".$row['tid']."' AND utyp<9 ORDER BY tag");
|
||||
while($rowl = $ldaten->fetch_assoc()) { $tmpl=$tmpl+$rowl['tarif']; } $glohn=$glohn+$tmpl; $zz++;
|
||||
$tml[$zz]['a']=$row['tname'];
|
||||
$tml[$zz]['b']=$tl['num_rows']." Touren";
|
||||
$tml[$zz]['c']=number_format($tmpl, 2, '.', '')." EUR";
|
||||
}
|
||||
$tl=$GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE fahrer='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND typ='".$row['tid']."' AND utyp=9");
|
||||
if($tl['num_rows']>0) { $tmpl=0;
|
||||
$ldaten = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE fahrer='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."' AND typ='".$row['tid']."' AND utyp=9 ORDER BY tag");
|
||||
while($rowl = $ldaten->fetch_assoc()) { $tmpl=$tmpl+$rowl['tarif']; } $glohn=$glohn+$tmpl; $zz++;
|
||||
$tml[$zz]['a']=$row['tname']." -Abn.";
|
||||
$tml[$zz]['b']=$tl['num_rows']." Touren";
|
||||
$tml[$zz]['c']=number_format($tmpl, 2, ',', '')." EUR";
|
||||
}
|
||||
}
|
||||
$zb=1;
|
||||
//-------- zeile 20
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 21
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 22
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 23
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 24
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 25
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 26
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 27
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 28
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 29
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 30
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 31
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 32
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 33
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 34
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 35
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 36
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 37
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 38
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 39
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 40 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);//-------- zeile 41 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 42 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 43 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 44 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 45 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 46 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 47 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 48 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 49 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 50 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
/*
|
||||
//-------- zeile 51 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++; ;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 52 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 53 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
|
||||
*/
|
||||
|
||||
|
||||
//lohnabzug
|
||||
$ma_minus = $GLOBALS['mysql']->query_single("SELECT * FROM ma_abzahlung WHERE mid='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."'");
|
||||
if($ma_minus['num_rows']==0) {
|
||||
//-------- zeile 51 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++; ;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 52 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 53 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
}
|
||||
if($ma_minus['num_rows']==1) {
|
||||
//-------- zeile 51 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++; ;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
//-------- zeile 52 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
}
|
||||
if($ma_minus['num_rows']==2) {
|
||||
//-------- zeile 51 **
|
||||
$pdf->Cell(40,4,($tml[$zb]['a']),'0','0','L','0'); $pdf->SetFont('Courier','B',10); $pdf->Cell(30,5,($tml[$zb]['b']),'0','0','L','0');
|
||||
$pdf->Cell(30,5,($tml[$zb]['c']),'0','0','R','0'); $pdf->Cell(10,4,(" "),'0','0','L','0'); $za++; $zb++; ;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//-------- zeile summe ** Gesamtsumme
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Helvetica','BI',10); $pdf->SetTextColor(255,255,255);
|
||||
$pdf->Cell(100,5,"Lohnvorschlag",'1','1','L','1');
|
||||
$pdf->SetFillColor(180,180,180); $pdf->SetFont('Courier','B',10); $pdf->SetTextColor(0,0,0);
|
||||
|
||||
// $pdf->Cell(100,5," ",'0','1','L','0');
|
||||
|
||||
$glohn=number_format($glohn, 2, ',', ''); // 2 nachkommastellen
|
||||
|
||||
if($stundenanzeige>0) {
|
||||
$pdf->Cell(10,4,("Stunden-Summe: "),'0','0','R','0'); $pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0');
|
||||
$pdf->Cell(70,5,("Stunden-Summe: "),'0','0','R','0'); $pdf->Cell(30,5,($glohn." EUR"),'0','0','R','0');
|
||||
}
|
||||
//zwischensumme
|
||||
$pdf->Cell(70,5,("Zwischenumme: "),'0','0','R','0'); $pdf->Cell(30,5,($glohn." EUR"),'0','1','R','0');
|
||||
|
||||
if($ma_minus['num_rows']>0) {
|
||||
$temp8 = $GLOBALS['mysql']->query("SELECT * FROM ma_abzahlung WHERE mid='".$_GET['ma']."' AND monat='".$_GET['monat']."' AND jahr='".$_GET['jahr']."'");
|
||||
while($row = $temp8->fetch_assoc()) {
|
||||
$minuslohn=number_format($row['summe'], 2, ',', ''); // 2 nachkommastellen
|
||||
$pdf->Cell(70,5,("(Abzug) ".$row['grund'].": "),'0','0','R','0'); $pdf->Cell(30,5,("-".$minuslohn." EUR"),'0','1','R','0'); $glohn=$glohn-$minuslohn;
|
||||
}
|
||||
$glohn=number_format($glohn, 2, ',', ''); // 2 nachkommastellen
|
||||
}
|
||||
// $glohn=number_format($glohn, 2, ',', ''); // 2 nachkommastellen
|
||||
if($tarifi['netto']>0) {
|
||||
$pdf->Cell(70,5,("NETTO-Summe: "),'0','0','R','0'); $pdf->Cell(30,5,($glohn." EUR"),'0','0','R','0');
|
||||
} else {
|
||||
$pdf->Cell(70,5,("Brutto-Summe: "),'0','0','R','0'); $pdf->Cell(30,5,($glohn." EUR"),'0','0','R','0');
|
||||
}
|
||||
|
||||
$pdf->Cell(10,4,(" "),'0','0','R','0'); $za++;
|
||||
$pdf->Cell(10,4,($tmp[$za]['a']),'0','0','R','0');
|
||||
$pdf->Cell(50,4,($tmp[$za]['b']),'0','0','L','0'); $pdf->Cell(20,4,($tmp[$za]['c']),'0','1','R','0'); $pdf->SetFont('Helvetica','',9);
|
||||
$fahrer = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$_GET['ma']."'");
|
||||
$pdf->Output('Lohnvorschlag_'.($fahrer['name']).'.pdf','I');
|
||||
|
||||
?>
|
||||
93
ajax.php
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
<?php
|
||||
require('lib/config.php');
|
||||
include('lib/class.mysms.php');
|
||||
require('lib/sms.class.php');
|
||||
// require('lib/core.class.php');
|
||||
session_name(CONFIG_SESSION);
|
||||
session_start();
|
||||
// $loginerror='';
|
||||
// $userip=$_SERVER['REMOTE_ADDR'];// ip fuer fuss
|
||||
date_default_timezone_set('Europe/Berlin'); // Default Time Zone
|
||||
define('SITE_ACCESS',true);
|
||||
|
||||
//error_reporting(E_ALL); ini_set('display_errors', 'On');
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
|
||||
//Mysql
|
||||
require('lib/mysql.class.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
mysqli_set_charset($mysql, 'utf8');
|
||||
$GLOBALS['mysql']->sql("SET NAMES 'utf8'");
|
||||
|
||||
$GLOBALS['sms'] = new sms;
|
||||
if(isset($_POST['logout'])) {
|
||||
session_destroy(); $error=0;
|
||||
require('login.php');
|
||||
} else {
|
||||
if(isset($_SESSION['login'])) {
|
||||
$session_time = time()-3600;
|
||||
if(!isset($_SESSION['arrayload'])) {
|
||||
$GLOBALS['arrayload']=1;
|
||||
|
||||
$GLOBALS['a_touren'] = $GLOBALS['mysql']->query_array("SELECT * FROM touren ORDER BY id");
|
||||
$GLOBALS['a_fahrzg'] = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge ORDER BY id");
|
||||
$GLOBALS['a_fahrer'] = $GLOBALS['mysql']->query_array("SELECT * FROM mitarbeiter ORDER BY id");
|
||||
$GLOBALS['a_planbz'] = $GLOBALS['mysql']->query_array("SELECT * FROM planer_bez ORDER BY id");
|
||||
$GLOBALS['a_planbf'] = $GLOBALS['mysql']->query_array("SELECT * FROM fplaner_bez ORDER BY id");
|
||||
|
||||
//----------------------------------------------------------------------------------------------
|
||||
//neu als Session als ID sort.
|
||||
$_SESSION['ma_aktiv'] = $GLOBALS['mysql']->query_id("SELECT * FROM mitarbeiter WHERE aktiv!=0 ORDER BY id");
|
||||
//$_SESSION['ma_all'] = $GLOBALS['mysql']->query_id("SELECT * FROM mitarbeiter ORDER BY id");
|
||||
//$_SESSION['pbz'] = $GLOBALS['mysql']->query_id("SELECT * FROM planer_bez ORDER BY id");
|
||||
//$_SESSION['car'] = $GLOBALS['mysql']->query_id("SELECT * FROM fahrzeuge ORDER BY id");
|
||||
//$_SESSION['fbz'] = $GLOBALS['mysql']->query_id("SELECT * FROM fplaner_bez ORDER BY id");
|
||||
//$_SESSION['tour'] = $GLOBALS['mysql']->query_id("SELECT * FROM touren ORDER BY id");
|
||||
//----------------------------------------------------------------------------------------------
|
||||
}
|
||||
$check_session = $GLOBALS['mysql']->query_single("SELECT * FROM benutzer WHERE session_id = '".session_id()."' AND session_update > '".$session_time."'");
|
||||
if($check_session['num_rows'] == 1) {
|
||||
$GLOBALS['mysql']->sql("UPDATE benutzer SET session_update='".time()."',session_pass='' WHERE id='".$check_session['id']."'");
|
||||
} else {
|
||||
|
||||
session_destroy();
|
||||
require('login.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
if(isset($_GET['tpl'])) {
|
||||
|
||||
require 'lib/Smarty.class.php';
|
||||
$template = new Smarty();
|
||||
$template->setTemplateDir('template/');
|
||||
$template->setConfigDir('config/');
|
||||
$template->setCompileDir('compile/');
|
||||
$template->setCacheDir('cache/');
|
||||
|
||||
}
|
||||
|
||||
|
||||
//Email
|
||||
//$GLOBALS['email'] = new email;
|
||||
// $GLOBALS['core'] = new core;
|
||||
// $GLOBALS['browser'] = new Browser();
|
||||
// $GLOBALS['sms'] = new sms;
|
||||
|
||||
|
||||
if(isset($_GET['s']) AND file_exists('scripts/ajax/'.$_GET['s'].'.php')){
|
||||
require('scripts/ajax/'.$_GET['s'].'.php');
|
||||
}
|
||||
|
||||
if(isset($_GET['tpl'])) { $GLOBALS['template']->display('ajax.tpl'); }
|
||||
//----------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
600
app_heute_ok.php
Normal file
|
|
@ -0,0 +1,600 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="300; url=app_heute.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
require('lib/config.php');
|
||||
require('lib/mysql.class.php');
|
||||
require('lib/core.class.php');
|
||||
session_name(CONFIG_SESSION);
|
||||
session_start();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
if(!isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'on') {
|
||||
header('Location: https://'.$_SERVER['SERVER_NAME']);
|
||||
exit();
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
$faz=0;
|
||||
$realtime=time(); // zeit fuer fuss
|
||||
$userip=$_SERVER['REMOTE_ADDR'];// ip fuer fuss
|
||||
date_default_timezone_set('Europe/Berlin'); // Default Time Zone
|
||||
// define('SITE_ACCESS',true);
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB); mysqli_set_charset($mysql, 'utf8');
|
||||
|
||||
require('lib/smarty/Smarty.class.php');
|
||||
$GLOBALS['core'] = new core;
|
||||
|
||||
$template = new smarty();
|
||||
$template->template_dir = './template/';
|
||||
$template->compile_dir = './template/compile';
|
||||
$template->compile_check = TRUE;
|
||||
$template->debugging = false;
|
||||
$template->debug_output = "html";
|
||||
$template->plugins_dir[] = 'lib/smarty/plugins/';
|
||||
$template->force_compile = true;
|
||||
|
||||
//-----------------------------------------------------
|
||||
$wochentag=date('w');
|
||||
$tagname = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
|
||||
//------------------------------------------------------
|
||||
if(date('G')>20 || $wochentag==0) {
|
||||
$tt1=strtotime("+1 day");
|
||||
} else {
|
||||
$tt1=time();
|
||||
}
|
||||
$tag1=(int)date('j',$tt1); $monat1=(int)date('m',$tt1); $jahr1 = (int)date('Y',$tt1);
|
||||
$tna1=$tagname[date("w",$tt1)]; $taginfo1=$tna1.", ".$tag1.".".$monat1.".".$jahr1; $template->assign('taginfo1',$taginfo1);
|
||||
//------------------------------------------------------
|
||||
if(!isset($_SESSION['arrayload'])){
|
||||
$GLOBALS['arrayload']=1;
|
||||
$GLOBALS['a_touren'] = $GLOBALS['mysql']->query_array("SELECT * FROM touren ORDER BY id");
|
||||
$GLOBALS['a_fahrzg'] = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge ORDER BY id");
|
||||
$GLOBALS['a_fahrer'] = $GLOBALS['mysql']->query_array("SELECT * FROM mitarbeiter ORDER BY id");
|
||||
$GLOBALS['a_planbz'] = $GLOBALS['mysql']->query_array("SELECT * FROM planer_bez ORDER BY id");
|
||||
$GLOBALS['a_planbf'] = $GLOBALS['mysql']->query_array("SELECT * FROM fplaner_bez ORDER BY id");
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
if($wochentag==0) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $faz=1; }}
|
||||
if($wochentag==1) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==2) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==3) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==4) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==5) { if(date('G')>20) { $faz=1; } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==6) { if(date('G')>20) { $faz=1; } else { $faz=1; }}
|
||||
if($faz==0) {
|
||||
$tag2=(int)date('j',$tt2); $monat2=(int)date('m',$tt2); $jahr2 = (int)date('Y',$tt2); $kw_2 = (int)date('W',$tt2);
|
||||
$tna2=$tagname[date("w",$tt2)]; $taginfo2=$tna2.", ".$tag2.".".$monat2.".".$jahr2; $template->assign('taginfo2',$taginfo2);
|
||||
}
|
||||
//------------------------------------------------------
|
||||
//-------------------- wiederkehrende abfragen -------------------------------------------------
|
||||
$a_touren = $GLOBALS['a_touren'];
|
||||
$a_fahrzg = $GLOBALS['a_fahrzg'];
|
||||
$a_fahrer = $GLOBALS['a_fahrer'];
|
||||
$a_planbz = $GLOBALS['a_planbz'];
|
||||
//----------------------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
unset($tag_tour); $panzeige1=0; $panzeige2=0; $panzeige3=0; $panzeige4=0; $leerpin=0; $etouranzeige=0;
|
||||
$pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$tag1."' AND monat='".$monat1."' AND jahr='".$jahr1."'");
|
||||
$fpl2= $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$tag1."' AND monat='".$monat1."' AND jahr='".$jahr1."'");
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
$anz_test = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE tag='".$tag1."' and monat='".$monat1."' and jahr='".$jahr1."' ORDER BY tour");
|
||||
if($anz_test['fertig']>0) { $fertig=1; $template->assign('fertig', $fertig); }
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
$tag_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE tag='".$tag1."' and monat='".$monat1."' and jahr='".$jahr1."' ORDER BY tour"); $key=0;
|
||||
while($row = $tag_tour->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
if($row['typ']== 2) {
|
||||
$typ2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$typ2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$typ2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$typ2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$typ2[$key]['fahrernichtda']=$feintrag;
|
||||
$typ2[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ PVL
|
||||
if($row['typ']== 3) {
|
||||
$pvl[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pvl[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pvl[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pvl[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pvl[$key]['fahrernichtda']=$feintrag;
|
||||
$pvl[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ Touren
|
||||
if($row['typ']== 4) {
|
||||
$lvz[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvz[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvz[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvz[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvz[$key]['fahrernichtda']=$feintrag;
|
||||
$lvz[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ zustellung
|
||||
if($row['typ']==17) {
|
||||
$lvzz[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvzz[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvzz[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvzz[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvzz[$key]['fahrernichtda']=$feintrag;
|
||||
$lvzz[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ post
|
||||
if($row['typ']== 5) {
|
||||
$pag[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pag[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pag[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pag[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pag[$key]['fahrernichtda']=$feintrag;
|
||||
$pag[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------- type 1 rtour
|
||||
if($row['typ']== 6 && $row['utyp']==1) {
|
||||
$rt1[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt1[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt1[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt1[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt1[$key]['fahrernichtda']=$feintrag;
|
||||
$rt1[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige1++;
|
||||
}
|
||||
//------------- type 2 BNA / L
|
||||
if($row['typ']== 6 && $row['utyp']==2) {
|
||||
$rt2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt2[$key]['fahrernichtda']=$feintrag;
|
||||
$rt2[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige2++;
|
||||
}
|
||||
//------------- type 3 DD
|
||||
if($row['typ']== 6 && $row['utyp']==3) {
|
||||
$rt3[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt3[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt3[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt3[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt3[$key]['fahrernichtda']=$feintrag;
|
||||
$rt3[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige3++;
|
||||
}
|
||||
//------------- type 4 afa
|
||||
if($row['typ']== 6 && $row['utyp']==4) {
|
||||
$rt4[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt4[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt4[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt4[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt4[$key]['fahrernichtda']=$feintrag;
|
||||
$rt4[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige4++;
|
||||
}
|
||||
//------------- Pin post leergut / rueckläufer
|
||||
if($row['typ']== 16) {
|
||||
$ltour[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$ltour[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$ltour[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$ltour[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$ltour[$key]['fahrernichtda']=$feintrag;
|
||||
$ltour[$key]['autonichtda']=$autonichtda;
|
||||
$leerpin++;
|
||||
}
|
||||
//------------- essentour VNG
|
||||
if($row['typ']== 9) {
|
||||
$etour[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$etour[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$etour[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$etour[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$etour[$key]['fahrernichtda']=$feintrag;
|
||||
$etour[$key]['autonichtda']=$autonichtda;
|
||||
$etouranzeige++;
|
||||
}
|
||||
//-------------
|
||||
$key++;
|
||||
}
|
||||
//---------------------------------------------
|
||||
if(isset($pvl)) { $template->assign('tag1_pvl',$pvl); }
|
||||
if(isset($lvz)) { $template->assign('tag1_lvz',$lvz); }
|
||||
if(isset($typ2)) { $template->assign('tag1_typ2',$typ2); }
|
||||
if(isset($lvzz)) { $template->assign('tag1_lvzz',$lvzz); }
|
||||
if(isset($$pag)) { $template->assign('tag1_pag',$pag); }
|
||||
if(isset($rt1)) { $template->assign('rtour1', $rt1); }
|
||||
if(isset($rt2)) { $template->assign('rtour2', $rt2); }
|
||||
if(isset($rt3)) { $template->assign('rtour3', $rt3); }
|
||||
if(isset($rt4)) { $template->assign('rtour4', $rt4); }
|
||||
if(isset($ltour)) { $template->assign('ltour', $ltour); }
|
||||
if(isset($etour)) { $template->assign('$etour', $etour); }
|
||||
//--------------------------------------------- anzeige var
|
||||
$template->assign('panzeige1', $panzeige1);
|
||||
$template->assign('panzeige2', $panzeige2);
|
||||
$template->assign('panzeige3', $panzeige3);
|
||||
$template->assign('panzeige4', $panzeige4);
|
||||
$template->assign('leerpin', $leerpin);
|
||||
$template->assign('etouranzeige', $etouranzeige);
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// echo'<pre>'; print_r($a_fplanr); echo'</pre>';
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
if ($faz==1) {
|
||||
$kw1 = (int)date('W');
|
||||
//------------------------------------------------------ FAZ Tour 1
|
||||
$faztour1 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=1 ORDER BY tour");
|
||||
while($row = $faztour1->fetch_assoc()) {
|
||||
$fazinfo=$row['tag'].".".$row['monat'].".".$row['jahr']; $template->assign('fazinfo',$fazinfo);
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
|
||||
|
||||
$a_pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$row['tag']."' AND monat='".$row['monat']."' AND jahr='".$row['jahr']."'");
|
||||
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$a_fpl2 = $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$row['tag']."' AND monat='".$row['monat']."' AND jahr='".$row['jahr']."'");
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
}
|
||||
}
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
|
||||
|
||||
$faz_tour1[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour1[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour1[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour1[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour1[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour1[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour1[$key]['time']=$row['time'];
|
||||
$faz_tour1[$key]['tourid']=$row['tour'];
|
||||
$faz_tour1[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour1[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour1[$key]['autonichtda']=$autonichtda;
|
||||
|
||||
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz1',$faz_tour1);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 2
|
||||
$faztour2 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=2 ORDER BY tour");
|
||||
while($row = $faztour2->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour2[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour2[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour2[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour2[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour2[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour2[$key]['time']=$row['time'];
|
||||
$faz_tour2[$key]['tourid']=$row['tour'];
|
||||
$faz_tour2[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour2[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour2[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz2',$faz_tour2);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 3
|
||||
$faztour3 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=3 ORDER BY tour");
|
||||
while($row = $faztour3->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour3[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour3[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour3[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour3[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour3[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour3[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour3[$key]['time']=$row['time'];
|
||||
$faz_tour3[$key]['tourid']=$row['tour'];
|
||||
$faz_tour3[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour3[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour3[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz3',$faz_tour3);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 4
|
||||
$faztour4 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=4 ORDER BY tour");
|
||||
while($row = $faztour4->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour4[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour4[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour4[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour4[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour4[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour4[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour4[$key]['time']=$row['time'];
|
||||
$faz_tour4[$key]['tourid']=$row['tour'];
|
||||
$faz_tour4[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour4[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour4[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz4',$faz_tour4);
|
||||
$template->assign('fazanzeige',1);
|
||||
} else {
|
||||
//----------------------------- TAG 2 pvl
|
||||
$key=0; $anzpvl2=0; $anzlvz2=0; $anzlvzz2=0; $pinanzeige2=0; $rtouranzeige2=0; $ddanzeige2=0; $pinlanzeige2=0;
|
||||
$pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$tag2."' AND monat='".$monat2."' AND jahr='".$jahr2."'");
|
||||
$fpl2= $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$tag2."' AND monat='".$monat2."' AND jahr='".$jahr2."'");
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
$tag_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE tag='".$tag2."' and monat='".$monat2."' and jahr='".$jahr2."' ORDER BY tour"); $key=0;
|
||||
while($row = $tag_tour->fetch_assoc()) { //echo'<pre>'; print_r($row); echo'</pre>';
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
//------------------------------------------------------ Abfrage nur bei änderungen !!!!!!!!!!!!!!!!!!!
|
||||
if($autonichtda>0 || $feintrag>0) {
|
||||
//------------------------------------------------------ PVL
|
||||
if($row['typ']== 3) {
|
||||
$pvl2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pvl2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pvl2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pvl2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pvl2[$key]['fahrernichtda']=$feintrag;
|
||||
$pvl2[$key]['autonichtda']=$autonichtda;
|
||||
$anzpvl2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ Touren
|
||||
if($row['typ']== 4) {
|
||||
$lvz2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvz2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvz2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvz2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvz2[$key]['fahrernichtda']=$feintrag;
|
||||
$lvz2[$key]['autonichtda']=$autonichtda;
|
||||
$anzlvz2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ zustellung
|
||||
if($row['typ']==17) {
|
||||
$lvzz2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvzz2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvzz2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvzz2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvzz2[$key]['fahrernichtda']=$feintrag;
|
||||
$lvzz2[$key]['autonichtda']=$autonichtda;
|
||||
$anzlvzz2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ post
|
||||
if($row['typ']== 5) {
|
||||
$pag2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pag2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pag2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pag2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pag2[$key]['fahrernichtda']=$feintrag;
|
||||
$pag2[$key]['autonichtda']=$autonichtda;
|
||||
$pinanzeige2++;
|
||||
}
|
||||
//------------- type 1 rtour
|
||||
if($row['typ']== 6 && $row['utyp']==1) {
|
||||
$rt_2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt_2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt_2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt_2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt_2[$key]['$fahrernichtda']=$feintrag;
|
||||
$rt_2[$key]['autonichtda']=$autonichtda;
|
||||
$rtouranzeige2++;
|
||||
}
|
||||
//------------- type 2 BNA / L
|
||||
if($row['typ']== 6 && $row['utyp']==2) {
|
||||
$rt_2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt_2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt_2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt_2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt_2[$key]['fahrernichtda']=$feintrag;
|
||||
$rt_2[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige2++;
|
||||
}
|
||||
//------------- Pin post leergut / rueckläufer
|
||||
if($row['typ']== 16) {
|
||||
$ltour2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$ltour2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$ltour2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$ltour2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$ltour2[$key]['fahrernichtda']=$feintrag;
|
||||
$ltour2[$key]['autonichtda']=$autonichtda;
|
||||
$pinlanzeige2++;
|
||||
}
|
||||
//-----------
|
||||
}
|
||||
//------------- type 3 DD
|
||||
if($row['typ']== 6 && $row['utyp']==3) {
|
||||
$rt32[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt32[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt32[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt32[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt32[$key]['fahrernichtda']=$feintrag;
|
||||
$rt32[$key]['autonichtda']=$autonichtda;
|
||||
$ddanzeige2++;
|
||||
}
|
||||
//-------------
|
||||
$key++;
|
||||
}
|
||||
//---------------------------------------------
|
||||
//---------------------------------------------
|
||||
if(isset($pvl2)) { $template->assign('tag2_pvl',$pvl2); }
|
||||
if(isset($lvz2)) { $template->assign('tag2_lvz',$lvz2); }
|
||||
if(isset($lvzz2)) { $template->assign('tag2_lvzz',$lvzz2); }
|
||||
if(isset($pag2)) { $template->assign('tag2_pag',$pag2); }
|
||||
if(isset($rt_2)) { $template->assign('tag2_rtour', $rt_2); }
|
||||
if(isset($rt32)) { $template->assign('tag2_dd', $rt32); }
|
||||
if(isset($ltour2)) { $template->assign('tag2_pinl', $ltour2); }
|
||||
//--------------------------------------------- anzeige var
|
||||
$template->assign('anzpvl2', $anzpvl2);
|
||||
$template->assign('anzlvz2', $anzlvz2);
|
||||
$template->assign('anzlvzz2', $anzlvzz2);
|
||||
$template->assign('pinanzeige2', $pinanzeige2);
|
||||
$template->assign('rtouranzeige2', $rtouranzeige2);
|
||||
$template->assign('ddanzeige2', $ddanzeige2);
|
||||
$template->assign('pinlanzeige2', $pinlanzeige2);
|
||||
//---------------------------------------------
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
//echo'<pre>'; print_r($tag_tour1); echo'</pre>';
|
||||
//------------------------------------------------------------
|
||||
|
||||
$GLOBALS['template']->display('app_heute.tpl');
|
||||
|
||||
//------------------------------------------------------------
|
||||
|
||||
?>
|
||||
607
app_ok.php
Normal file
|
|
@ -0,0 +1,607 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="300; url=app_heute.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
require('lib/config.php');
|
||||
require('lib/mysql.class.php');
|
||||
require('lib/core.class.php');
|
||||
session_name(CONFIG_SESSION);
|
||||
session_start();
|
||||
|
||||
//------------------------------------------------------------------
|
||||
if(!isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'on') {
|
||||
header('Location: https://'.$_SERVER['SERVER_NAME']);
|
||||
exit();
|
||||
}
|
||||
//------------------------------------------------------------------
|
||||
$faz=0;
|
||||
$realtime=time(); // zeit fuer fuss
|
||||
$userip=$_SERVER['REMOTE_ADDR'];// ip fuer fuss
|
||||
date_default_timezone_set('Europe/Berlin'); // Default Time Zone
|
||||
// define('SITE_ACCESS',true);
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB); mysqli_set_charset($mysql, 'utf8');
|
||||
|
||||
require('lib/smarty/Smarty.class.php');
|
||||
$GLOBALS['core'] = new core;
|
||||
|
||||
$template = new smarty();
|
||||
$template->template_dir = './template/';
|
||||
$template->compile_dir = './template/compile';
|
||||
$template->compile_check = TRUE;
|
||||
$template->debugging = false;
|
||||
$template->debug_output = "html";
|
||||
$template->plugins_dir[] = 'lib/smarty/plugins/';
|
||||
$template->force_compile = true;
|
||||
|
||||
//-----------------------------------------------------
|
||||
$wochentag=date('w');
|
||||
$tagname = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
|
||||
//------------------------------------------------------
|
||||
if(date('G')>15 || $wochentag==0) {
|
||||
$tt1=strtotime("+1 day");
|
||||
} else {
|
||||
$tt1=time();
|
||||
}
|
||||
$tag1=(int)date('j',$tt1); $monat1=(int)date('m',$tt1); $jahr1 = (int)date('Y',$tt1);
|
||||
$tna1=$tagname[date("w",$tt1)]; $taginfo1=$tna1.", ".$tag1.".".$monat1.".".$jahr1; $template->assign('taginfo1',$taginfo1);
|
||||
//------------------------------------------------------
|
||||
if(!isset($_SESSION['arrayload'])){
|
||||
$GLOBALS['arrayload']=1;
|
||||
$GLOBALS['a_touren'] = $GLOBALS['mysql']->query_array("SELECT * FROM touren ORDER BY id");
|
||||
$GLOBALS['a_fahrzg'] = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge ORDER BY id");
|
||||
$GLOBALS['a_fahrer'] = $GLOBALS['mysql']->query_array("SELECT * FROM mitarbeiter ORDER BY id");
|
||||
$GLOBALS['a_planbz'] = $GLOBALS['mysql']->query_array("SELECT * FROM planer_bez ORDER BY id");
|
||||
$GLOBALS['a_planbf'] = $GLOBALS['mysql']->query_array("SELECT * FROM fplaner_bez ORDER BY id");
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
/*
|
||||
if($wochentag==0) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+2 day"); }}
|
||||
if($wochentag==1) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==2) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==3) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==4) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==5) { if(date('G')>20) { $tt2=strtotime("+3 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==6) { if(date('G')>20) { $tt2=strtotime("+3 day"); } else { $tt2=strtotime("+2 day"); }}
|
||||
*/
|
||||
if($wochentag==0) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $faz=1; }}
|
||||
if($wochentag==1) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==2) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==3) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==4) { if(date('G')>20) { $tt2=strtotime("+2 day"); } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==5) { if(date('G')>20) { $faz=1; } else { $tt2=strtotime("+1 day"); }}
|
||||
if($wochentag==6) { if(date('G')>20) { $faz=1; } else { $faz=1; }}
|
||||
if($faz==0) {
|
||||
$tag2=(int)date('j',$tt2); $monat2=(int)date('m',$tt2); $jahr2 = (int)date('Y',$tt2); $kw_2 = (int)date('W',$tt2);
|
||||
$tna2=$tagname[date("w",$tt2)]; $taginfo2=$tna2.", ".$tag2.".".$monat2.".".$jahr2; $template->assign('taginfo2',$taginfo2);
|
||||
}
|
||||
//------------------------------------------------------
|
||||
//-------------------- wiederkehrende abfragen -------------------------------------------------
|
||||
$a_touren = $GLOBALS['a_touren'];
|
||||
$a_fahrzg = $GLOBALS['a_fahrzg'];
|
||||
$a_fahrer = $GLOBALS['a_fahrer'];
|
||||
$a_planbz = $GLOBALS['a_planbz'];
|
||||
//----------------------------------------------------------------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
unset($tag_tour); $panzeige1=0; $panzeige2=0; $panzeige3=0; $panzeige4=0; $leerpin=0; $etouranzeige=0;
|
||||
$pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$tag1."' AND monat='".$monat1."' AND jahr='".$jahr1."'");
|
||||
$fpl2= $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$tag1."' AND monat='".$monat1."' AND jahr='".$jahr1."'");
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
$fertig=0;
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
$tag_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE tag='".$tag1."' and monat='".$monat1."' and jahr='".$jahr1."' ORDER BY tour"); $key=0;
|
||||
while($row = $tag_tour->fetch_assoc()) {
|
||||
if($row['fertig']>0) { $fertig=1; }
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
//------------------------------------------------------ typ2
|
||||
if($row['typ']== 2) {
|
||||
$typ2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$typ2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$typ2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$typ2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$typ2[$key]['fahrernichtda']=$feintrag;
|
||||
$typ2[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ PVL
|
||||
if($row['typ']== 3) {
|
||||
$pvl[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pvl[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pvl[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pvl[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pvl[$key]['fahrernichtda']=$feintrag;
|
||||
$pvl[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ Touren
|
||||
if($row['typ']== 4) {
|
||||
$lvz[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvz[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvz[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvz[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvz[$key]['fahrernichtda']=$feintrag;
|
||||
$lvz[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ zustellung
|
||||
if($row['typ']==17) {
|
||||
$lvzz[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvzz[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvzz[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvzz[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvzz[$key]['fahrernichtda']=$feintrag;
|
||||
$lvzz[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------------------------------------------------ LVZ post
|
||||
if($row['typ']== 5) {
|
||||
$pag[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pag[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pag[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pag[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pag[$key]['fahrernichtda']=$feintrag;
|
||||
$pag[$key]['autonichtda']=$autonichtda;
|
||||
}
|
||||
//------------- type 1 rtour
|
||||
if($row['typ']== 6 && $row['utyp']==1) {
|
||||
$rt1[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt1[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt1[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt1[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt1[$key]['fahrernichtda']=$feintrag;
|
||||
$rt1[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige1++;
|
||||
}
|
||||
//------------- type 2 BNA / L
|
||||
if($row['typ']== 6 && $row['utyp']==2) {
|
||||
$rt2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt2[$key]['fahrernichtda']=$feintrag;
|
||||
$rt2[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige2++;
|
||||
}
|
||||
//------------- type 3 DD
|
||||
if($row['typ']== 6 && $row['utyp']==3) {
|
||||
$rt3[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt3[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt3[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt3[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt3[$key]['fahrernichtda']=$feintrag;
|
||||
$rt3[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige3++;
|
||||
}
|
||||
//------------- type 4 afa
|
||||
if($row['typ']== 6 && $row['utyp']==4) {
|
||||
$rt4[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt4[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt4[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt4[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt4[$key]['fahrernichtda']=$feintrag;
|
||||
$rt4[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige4++;
|
||||
}
|
||||
//------------- Pin post leergut / rueckläufer
|
||||
if($row['typ']== 16) {
|
||||
$ltour[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$ltour[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$ltour[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$ltour[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$ltour[$key]['fahrernichtda']=$feintrag;
|
||||
$ltour[$key]['autonichtda']=$autonichtda;
|
||||
$leerpin++;
|
||||
}
|
||||
//------------- essentour VNG
|
||||
if($row['typ']== 9) {
|
||||
$etour[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$etour[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$etour[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$etour[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$etour[$key]['fahrernichtda']=$feintrag;
|
||||
$etour[$key]['autonichtda']=$autonichtda;
|
||||
$etouranzeige++;
|
||||
}
|
||||
//-------------
|
||||
$key++;
|
||||
}
|
||||
//---------------------------------------------
|
||||
if(isset($pvl)) { $template->assign('tag1_pvl',$pvl); }
|
||||
if(isset($lvz)) { $template->assign('tag1_lvz',$lvz); }
|
||||
if(isset($typ2)) { $template->assign('tag1_typ2',$typ2); }
|
||||
if(isset($lvzz)) { $template->assign('tag1_lvzz',$lvzz); }
|
||||
if(isset($$pag)) { $template->assign('tag1_pag',$pag); }
|
||||
if(isset($rt1)) { $template->assign('rtour1', $rt1); }
|
||||
if(isset($rt2)) { $template->assign('rtour2', $rt2); }
|
||||
if(isset($rt3)) { $template->assign('rtour3', $rt3); }
|
||||
if(isset($rt4)) { $template->assign('rtour4', $rt4); }
|
||||
if(isset($ltour)) { $template->assign('ltour', $ltour); }
|
||||
if(isset($etour)) { $template->assign('$etour', $etour); }
|
||||
//--------------------------------------------- anzeige var
|
||||
$template->assign('panzeige1', $panzeige1);
|
||||
$template->assign('panzeige2', $panzeige2);
|
||||
$template->assign('panzeige3', $panzeige3);
|
||||
$template->assign('panzeige4', $panzeige4);
|
||||
$template->assign('leerpin', $leerpin);
|
||||
$template->assign('etouranzeige', $etouranzeige);
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// echo'<pre>'; print_r($a_fplanr); echo'</pre>';
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
if ($faz==1) {
|
||||
$kw1 = (int)date('W');
|
||||
//------------------------------------------------------ FAZ Tour 1
|
||||
$faztour1 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=1 ORDER BY tour");
|
||||
while($row = $faztour1->fetch_assoc()) {
|
||||
$fazinfo=$row['tag'].".".$row['monat'].".".$row['jahr']; $template->assign('fazinfo',$fazinfo);
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
|
||||
|
||||
$a_pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$row['tag']."' AND monat='".$row['monat']."' AND jahr='".$row['jahr']."'");
|
||||
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$a_fpl2 = $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$row['tag']."' AND monat='".$row['monat']."' AND jahr='".$row['jahr']."'");
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
}
|
||||
}
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
|
||||
|
||||
$faz_tour1[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour1[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour1[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour1[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour1[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour1[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour1[$key]['time']=$row['time'];
|
||||
$faz_tour1[$key]['tourid']=$row['tour'];
|
||||
$faz_tour1[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour1[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour1[$key]['autonichtda']=$autonichtda;
|
||||
|
||||
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz1',$faz_tour1);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 2
|
||||
$faztour2 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=2 ORDER BY tour");
|
||||
while($row = $faztour2->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour2[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour2[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour2[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour2[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour2[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour2[$key]['time']=$row['time'];
|
||||
$faz_tour2[$key]['tourid']=$row['tour'];
|
||||
$faz_tour2[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour2[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour2[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz2',$faz_tour2);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 3
|
||||
$faztour3 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=3 ORDER BY tour");
|
||||
while($row = $faztour3->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour3[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour3[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour3[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour3[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour3[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour3[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour3[$key]['time']=$row['time'];
|
||||
$faz_tour3[$key]['tourid']=$row['tour'];
|
||||
$faz_tour3[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour3[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour3[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz3',$faz_tour3);
|
||||
$template->assign('fazanzeige',1);
|
||||
//------------------------------------------------------ FAZ Tour 4
|
||||
$faztour4 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw1."' and jahr='".$jahr1."' and typ=15 AND utyp=4 ORDER BY tour");
|
||||
while($row = $faztour4->fetch_assoc()) {
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
$faz_tour4[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$faz_tour4[$key]['tour']=$a_touren[$ta_id]['tour3'];
|
||||
$faz_tour4[$key]['auto']=$a_fahrzg[$aa_id]['kz'];
|
||||
$faz_tour4[$key]['fahrer']=$a_fahrer[$ma_id]['name'];
|
||||
$faz_tour4[$key]['info']=$a_touren[$ta_id]['infotitel'];
|
||||
$faz_tour4[$key]['exemplare']=$row['exemplare'];
|
||||
$faz_tour4[$key]['time']=$row['time'];
|
||||
$faz_tour4[$key]['tourid']=$row['tour'];
|
||||
$faz_tour4[$key]['fahrer_id']=$row['fahrer'];
|
||||
$faz_tour4[$key]['fahrernichtda']=$feintrag;
|
||||
$faz_tour4[$key]['autonichtda']=$autonichtda;
|
||||
$key++;
|
||||
}
|
||||
$fazanzeige=1;
|
||||
$template->assign('faz4',$faz_tour4);
|
||||
$template->assign('fazanzeige',1);
|
||||
} else {
|
||||
//----------------------------- TAG 2 pvl
|
||||
$key=0; $anzpvl2=0; $anzlvz2=0; $anzlvzz2=0; $pinanzeige2=0; $rtouranzeige2=0; $ddanzeige2=0; $pinlanzeige2=0;
|
||||
$pl2 = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$tag2."' AND monat='".$monat2."' AND jahr='".$jahr2."'");
|
||||
$fpl2= $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$tag2."' AND monat='".$monat2."' AND jahr='".$jahr2."'");
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
$tag_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE tag='".$tag2."' and monat='".$monat2."' and jahr='".$jahr2."' ORDER BY tour"); $key=0;
|
||||
while($row = $tag_tour->fetch_assoc()) { //echo'<pre>'; print_r($row); echo'</pre>';
|
||||
$ta_id= array_search($row['tour'], array_column($a_touren, 'id'));
|
||||
$aa_id= array_search($row['auto'], array_column($a_fahrzg, 'id'));
|
||||
$ma_id= array_search($row['fahrer'], array_column($a_fahrer, 'id'));
|
||||
$feintrag=0;
|
||||
while($a_pl2 = $pl2->fetch_assoc()) {
|
||||
if($a_pl2['mid']==$row['fahrer']) {
|
||||
$pa_id= array_search($a_pl2['grund'], array_column($a_planbz, 'id'));
|
||||
if($a_planbz['nichtda']==1) {
|
||||
$feintrag=1;
|
||||
} else {
|
||||
if($a_planbz['nichtda']==$row['typ']) { $feintrag=1; }
|
||||
}
|
||||
}
|
||||
}
|
||||
if($feintrag==0) { if($row['fahrer']!=$a_touren[$ta_id]['s_fahrer']) { $feintrag=2; }}
|
||||
if($row['fahrer']==0) { $feintrag=1; } //-- fahrer nicht ausgewaehlt
|
||||
//----------- auto
|
||||
$autonichtda=0;
|
||||
while($a_fpl2 = $fpl2->fetch_assoc()) {
|
||||
if($a_fpl2['fid']==$row['auto']) {
|
||||
$autonichtda=1;
|
||||
} else {
|
||||
if($row['auto']!=$a_touren[$ta_id]['s_auto']) { $autonichtda=2; }
|
||||
}
|
||||
}
|
||||
if($row['auto']==0) { $autonichtda=1; } //-- Auto nicht ausgewaehlt
|
||||
//------------------------------------------------------ Abfrage nur bei änderungen !!!!!!!!!!!!!!!!!!!
|
||||
if($autonichtda>0 || $feintrag>0) {
|
||||
//------------------------------------------------------ PVL
|
||||
if($row['typ']== 3) {
|
||||
$pvl2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pvl2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pvl2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pvl2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pvl2[$key]['fahrernichtda']=$feintrag;
|
||||
$pvl2[$key]['autonichtda']=$autonichtda;
|
||||
$anzpvl2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ Touren
|
||||
if($row['typ']== 4) {
|
||||
$lvz2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvz2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvz2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvz2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvz2[$key]['fahrernichtda']=$feintrag;
|
||||
$lvz2[$key]['autonichtda']=$autonichtda;
|
||||
$anzlvz2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ zustellung
|
||||
if($row['typ']==17) {
|
||||
$lvzz2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$lvzz2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$lvzz2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$lvzz2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$lvzz2[$key]['fahrernichtda']=$feintrag;
|
||||
$lvzz2[$key]['autonichtda']=$autonichtda;
|
||||
$anzlvzz2++;
|
||||
}
|
||||
//------------------------------------------------------ LVZ post
|
||||
if($row['typ']== 5) {
|
||||
$pag2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$pag2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$pag2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$pag2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$pag2[$key]['fahrernichtda']=$feintrag;
|
||||
$pag2[$key]['autonichtda']=$autonichtda;
|
||||
$pinanzeige2++;
|
||||
}
|
||||
//------------- type 1 rtour
|
||||
if($row['typ']== 6 && $row['utyp']==1) {
|
||||
$rt_2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt_2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt_2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt_2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt_2[$key]['$fahrernichtda']=$feintrag;
|
||||
$rt_2[$key]['autonichtda']=$autonichtda;
|
||||
$rtouranzeige2++;
|
||||
}
|
||||
//------------- type 2 BNA / L
|
||||
if($row['typ']== 6 && $row['utyp']==2) {
|
||||
$rt_2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt_2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt_2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt_2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt_2[$key]['fahrernichtda']=$feintrag;
|
||||
$rt_2[$key]['autonichtda']=$autonichtda;
|
||||
$panzeige2++;
|
||||
}
|
||||
//------------- Pin post leergut / rueckläufer
|
||||
if($row['typ']== 16) {
|
||||
$ltour2[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$ltour2[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$ltour2[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$ltour2[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$ltour2[$key]['fahrernichtda']=$feintrag;
|
||||
$ltour2[$key]['autonichtda']=$autonichtda;
|
||||
$pinlanzeige2++;
|
||||
}
|
||||
//-----------
|
||||
}
|
||||
//------------- type 3 DD
|
||||
if($row['typ']== 6 && $row['utyp']==3) {
|
||||
$rt32[$key]['aktiv']=$a_touren[$ta_id]['aktiv'];
|
||||
$rt32[$key]['tour']=$a_touren[$ta_id]['tour'];
|
||||
$rt32[$key]['kennz']=$a_fahrzg[$aa_id]['kz'];
|
||||
$rt32[$key]['fahrer_name']=$a_fahrer[$ma_id]['name'];
|
||||
$rt32[$key]['fahrernichtda']=$feintrag;
|
||||
$rt32[$key]['autonichtda']=$autonichtda;
|
||||
$ddanzeige2++;
|
||||
}
|
||||
//-------------
|
||||
$key++;
|
||||
}
|
||||
//---------------------------------------------
|
||||
//---------------------------------------------
|
||||
if(isset($pvl2)) { $template->assign('tag2_pvl',$pvl2); }
|
||||
if(isset($lvz2)) { $template->assign('tag2_lvz',$lvz2); }
|
||||
if(isset($lvzz2)) { $template->assign('tag2_lvzz',$lvzz2); }
|
||||
if(isset($pag2)) { $template->assign('tag2_pag',$pag2); }
|
||||
if(isset($rt_2)) { $template->assign('tag2_rtour', $rt_2); }
|
||||
if(isset($rt32)) { $template->assign('tag2_dd', $rt32); }
|
||||
if(isset($ltour2)) { $template->assign('tag2_pinl', $ltour2); }
|
||||
//--------------------------------------------- anzeige var
|
||||
$template->assign('anzpvl2', $anzpvl2);
|
||||
$template->assign('anzlvz2', $anzlvz2);
|
||||
$template->assign('anzlvzz2', $anzlvzz2);
|
||||
$template->assign('pinanzeige2', $pinanzeige2);
|
||||
$template->assign('rtouranzeige2', $rtouranzeige2);
|
||||
$template->assign('ddanzeige2', $ddanzeige2);
|
||||
$template->assign('pinlanzeige2', $pinlanzeige2);
|
||||
//---------------------------------------------
|
||||
$template->assign('fertig', $fertig);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
//echo'<pre>'; print_r($tag_tour1); echo'</pre>';
|
||||
//------------------------------------------------------------
|
||||
|
||||
$GLOBALS['template']->display('app_heute.tpl');
|
||||
|
||||
//------------------------------------------------------------
|
||||
|
||||
?>
|
||||
24
app_test.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="300; url=app_heute.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Datenschutz-Grundverordnung der EU DSGVO</title>
|
||||
</head>
|
||||
|
||||
<body text=#F88607 bgcolor=#000000 link=#FF0000 alink=#FF0000 vlink=#FF0000>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<img src=https://www.latori.com/assets/images/blogpost/dsgvo.jpg height=80% border=0>
|
||||
</div>
|
||||
<p align="center"> Am 25.05.2018 tritt die "Die EU-Datenschutzgrundverordnung (DSGVO)" in Kraft. </p>
|
||||
<p align="center"> Daher ist es zur Zeit nicht möglich Ihnen hier Informationen anzubieten.</p>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
24
app_werbung.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
<meta http-equiv="refresh" content="300; url=app_heute.php" />
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
error_reporting(E_ALL); ini_set('display_errors',0);
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Datenschutz-Grundverordnung der EU DSGVO</title>
|
||||
</head>
|
||||
|
||||
<body text=#F88607 bgcolor=#000000 link=#FF0000 alink=#FF0000 vlink=#FF0000>
|
||||
|
||||
<div style="text-align: center;">
|
||||
<img src=https://www.latori.com/assets/images/blogpost/dsgvo.jpg height=80% border=0>
|
||||
</div>
|
||||
<p align="center"> Am 25.05.2018 tritt die "Die EU-Datenschutzgrundverordnung (DSGVO)" in Kraft. </p>
|
||||
<p align="center"> Daher ist es zur Zeit nicht möglich Ihnen hier Informationen anzubieten.</p>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
BIN
bg_0815.jpg
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
bg_1024.jpg
Normal file
|
After Width: | Height: | Size: 161 KiB |
BIN
bg_1024.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
bg_7005.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
16617
chart.min.js
vendored
Normal file
163
checkmysms.php
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
<?php
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
|
||||
require('lib/config.php');
|
||||
session_name(CONFIG_SESSION); session_start();
|
||||
require('lib/mysql.class.php');
|
||||
include('lib/class.mysms.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
date_default_timezone_set('Europe/London');
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- Eingehende SMS -----------------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
|
||||
$api_key = 'OvHiwonvVKneoYttEOE64g'; // Jörg
|
||||
$mysms = new mysms($api_key);
|
||||
$login_data = array('msisdn' => '491783481356', 'password' => 'laden');
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
$user_info = json_decode($login);
|
||||
$_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$mysms->setAuthToken($user_info->authToken);
|
||||
$msisdn = "+491783481356"; //jörg
|
||||
$req_data = array('apiKey' => $api_key,'authToken' => $_SESSION['AuthToken'],'address' => $msisdn,'offset' => 0,'limit' => 10); //providing
|
||||
$ergebnis = $mysms->ApiCall('json', '/user/message/get/by/conversation', $req_data); //calling method ->ApiCall
|
||||
|
||||
$tmp1=$jsonrow->messages[0]->messageId;
|
||||
$tmp2=$jsonrow->messages[0]->status;
|
||||
$tmp3=$jsonrow->messages[0]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
|
||||
*/
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- abfragen neu versendet --------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
$smstime = time();
|
||||
$tmptime=$smstime-259200;
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE test=0 and messageId>0 and status!=2 and incoming!=1 and senddate>'".$tmptime."'");
|
||||
if($abfrage['num_rows'] != 0) {
|
||||
// echo $abfrage['smsID'];
|
||||
// echo "<pre>"; print_r($abfrage); echo "</pre>";
|
||||
$row_sender = $GLOBALS['mysql']->query_single("SELECT * FROM gateway WHERE id='".$abfrage['sender_id']."'");
|
||||
if($row_sender['num_rows']!=0) {
|
||||
//---- testvariable schreiben
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=1 WHERE smsID='".$abfrage['smsID']."'");
|
||||
//-------------------------------------------------------------
|
||||
$mysms = new mysms($row_sender['api-key']);
|
||||
$login_data = array('msisdn' => $row_sender['nummer'], 'password' => $row_sender['password']);
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
$user_info = json_decode($login);
|
||||
$token = $user_info->authToken; // $_SESSION['AuthToken'] = $user_info->authToken; // unklar wofür
|
||||
$req_data = array('address' => $abfrage['nummer'],'apiKey' => $row_sender['api-key'],'authToken' => $token,'offset' => 0,'limit' => 10);
|
||||
$ergebnis = $mysms->ApiCall('json', '/user/message/get/by/conversation', $req_data); //calling method ->ApiCall
|
||||
//-------------------------------------------------------------- unread phone
|
||||
$req_data2 = array('apiKey' => $api_key,'authToken' => $_SESSION['AuthToken']);
|
||||
$unread = $mysms->ApiCall('json', '/user/call/count/unread', $req_data2);
|
||||
//echo "<pre>"; print_r($req_data); echo "</pre>";
|
||||
$jsondata=json_decode($unread);
|
||||
$GLOBALS['mysql']->insert("UPDATE gateway SET unread_tel='".$jsondata->unreadCount."' WHERE id='".$abfrage['sender_id']."'");
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
$jrow=json_decode($ergebnis);
|
||||
$anzahl=count($jrow->messages);
|
||||
if($anzahl!=0) {
|
||||
for($i=0; $i < $anzahl; $i++) {
|
||||
$tmp1=$jrow->messages[$i]->messageId;
|
||||
$tmp2=$jrow->messages[$i]->status;
|
||||
// if($tmp2==0) { $tmp2=1; }
|
||||
$tmp3=$jrow->messages[$i]->dateStatus; $tmp3=substr($tmp3,0,-3);
|
||||
echo $jrow->messages[$i]->message." - Status: ".$tmp2."</br>";
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."',statusdate='".$tmp3."' WHERE messageId='".$tmp1."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."', WHERE messageId='".$tmp1."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE messageId='".$tmp1."'");
|
||||
if($abfrage['tId']>0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE smsid='".$tmp1."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE smsid='".$tmp1."'");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=0 WHERE logtime>'".$tmptime."'");
|
||||
echo "keine SMS zu prüfen...";
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
$tmp = $GLOBALS['mysql']->query_single("SELECT * FROM verkehr WHERE status=1");
|
||||
if($tmp['num_rows'] != 0) {
|
||||
$lat= $tmp['lat'];
|
||||
$lng= $tmp['lng'];
|
||||
$page1='http://nominatim.openstreetmap.org/reverse?format=json&lat='.$lat.'&lon='.$lng.'&email=frank@first-mp.de';
|
||||
$html2 = file_get_contents($page1);
|
||||
$jsonrow2=json_decode($html2);
|
||||
if(isset($jsonrow2->address->town)) {
|
||||
$datastreet=($jsonrow2->address->town);
|
||||
} else {
|
||||
if(isset($jsonrow2->address->city)) {
|
||||
$datastreet=($jsonrow2->address->city);
|
||||
} else {
|
||||
if(isset($jsonrow2->address->city_district)) {
|
||||
$datastreet=($jsonrow2->address->city_district);
|
||||
} else {
|
||||
$datastreet=($jsonrow2->address->village);
|
||||
}
|
||||
}
|
||||
}
|
||||
$datastreet=utf8_decode($datastreet);
|
||||
if(strlen($tmp['street'])<5) {
|
||||
$street=$tmp['street'].', '.$datastreet;
|
||||
} else {
|
||||
$street=$datastreet.', '.$tmp['street'];
|
||||
}
|
||||
|
||||
$GLOBALS['mysql']->insert("UPDATE verkehr SET street='".$street."' WHERE id='".$tmp['id']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE verkehr SET status=2 WHERE id='".$tmp['id']."'");
|
||||
echo "Versbezeichnung:".$street;
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
} else {
|
||||
echo "keine geocoordinaten zu prüfen...";
|
||||
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------- unread call
|
||||
/*
|
||||
for($i=1; $i < 4; $i++) {
|
||||
echo'---'.$i.'---';
|
||||
|
||||
$gw = $GLOBALS['mysql']->query_single("SELECT * FROM gateway WHERE id='".$i."'");
|
||||
$api_key = $gw['api-key'];
|
||||
$msisdn = $gw['nummer'];
|
||||
$smspass= $gw['password'];
|
||||
$mysms = new mysms($api_key);
|
||||
$login_data = array('msisdn' => $msisdn , 'password' => $smspass);
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
$user_info = json_decode($login);
|
||||
$_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$mysms->setAuthToken($user_info->authToken);
|
||||
|
||||
$req_data = array('apiKey' => $api_key,'authToken' => $_SESSION['AuthToken']);
|
||||
$unread = $mysms->ApiCall('json', '/user/call/count/unread', $req_data);
|
||||
echo "<pre>"; print_r($req_data); echo "</pre>";
|
||||
$jsondata=json_decode($unread);
|
||||
echo "</pre>"; print_r($unread); echo "</pre>";
|
||||
$GLOBALS['mysql']->insert("UPDATE gateway SET unread_tel='".$jsondata."' WHERE id='".$i."'");
|
||||
$jrow=json_decode($ergebnis);
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
?>
|
||||
72
checkmysms_2sms.php
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<?php
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
require('lib/config.php');
|
||||
session_name(CONFIG_SESSION); session_start();
|
||||
require('lib/mysql.class.php');
|
||||
include('lib/class.mysms.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
date_default_timezone_set('Europe/London');
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- abfragen neu versendet --------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
$smstime = time();
|
||||
$tmptime=$smstime-604800;
|
||||
for($i=0; $i < 2; $i++) {
|
||||
// $abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE errorId=0 and test=0 and messageId>0 and logtime>'".$tmptime."' ORDER BY smsID DESC");
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE test=0 and messageId>0 and logtime>'".$tmptime."' ORDER BY smsID DESC");
|
||||
if($abfrage['num_rows'] != 0) {
|
||||
// echo $abfrage['smsID'];
|
||||
// echo "<pre>"; print_r($abfrage); echo "</pre>";
|
||||
$row_sender = $GLOBALS['mysql']->query_single("SELECT * FROM benutzer WHERE id='".$abfrage['sender_id']."'");
|
||||
if($row_sender['num_rows']!=0) {
|
||||
//-------------------------------------------------------------
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=1 WHERE smsID='".$abfrage['smsID']."'");
|
||||
//-------------------------------------------------------------
|
||||
$mysms = new mysms($row_sender['api-key']);
|
||||
$login_data = array('msisdn' => $row_sender['nummer'], 'password' => $row_sender['passwd']);
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
echo "<pre>"; print_r(json_decode($login)); echo "</pre>"; // login prüfren
|
||||
$user_info = json_decode($login); $_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$req_data = array('authToken' => $_SESSION['AuthToken'], 'address'=> $abfrage['nummer'], 'query'=> utf8_decode($abfrage['text']));
|
||||
$ergbniss = $mysms->ApiCall('json', '/user/message/search', $req_data);
|
||||
echo "<pre>"; print_r(json_decode($ergbniss)); echo "</pre>";
|
||||
$jsonrow=json_decode($ergbniss);
|
||||
//-----------------------------------------------------------
|
||||
// echo count($jsonrow->messages);
|
||||
// echo $abfrage['smsID'];
|
||||
$test=1;
|
||||
if(isset($jsonrow->messages[0])) { /////
|
||||
$tmp1=$jsonrow->messages[$i]->messageId; $tmp2=$jsonrow->messages[$i]->status; $tmp3=$jsonrow->messages[$i]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE id='".$abfrage['tId']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE id='".$abfrage['tId']."'");
|
||||
|
||||
$anzahl=count($jsonrow->messages);
|
||||
for($i=0; $i < $anzahl; $i++) {
|
||||
if(isset($jsonrow->messages[$i])) {
|
||||
$tmp1=$jsonrow->messages[$i]->messageId; $tmp2=$jsonrow->messages[$i]->status; $tmp3=$jsonrow->messages[$i]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
if($tmp1==$abfrage['messageId']) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE id='".$abfrage['tId']."'");
|
||||
$test=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if($test>0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status=99 WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate=99 WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus=99 WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate=99 WHERE id='".$abfrage['tId']."'");
|
||||
}
|
||||
}
|
||||
sleep (5);
|
||||
} else {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=0");
|
||||
}
|
||||
}
|
||||
?>
|
||||
180
checkmysms_alt.php
Normal file
|
|
@ -0,0 +1,180 @@
|
|||
<?php
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
require('lib/config.php');
|
||||
session_name(CONFIG_SESSION); session_start();
|
||||
require('lib/mysql.class.php');
|
||||
include('lib/class.mysms.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
date_default_timezone_set('Europe/London');
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- Eingehende SMS -----------------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
$api_key = 'OvHiwonvVKneoYttEOE64g'; // Jörg
|
||||
$mysms = new mysms($api_key);
|
||||
$login_data = array('msisdn' => '491783481356', 'password' => 'laden');
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
$user_info = json_decode($login);
|
||||
$_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$mysms->setAuthToken($user_info->authToken);
|
||||
$msisdn = "+491783481356"; //jörg
|
||||
$req_data = array('apiKey' => $api_key,'authToken' => $_SESSION['AuthToken'],'address' => $msisdn,'offset' => 0,'limit' => 10); //providing
|
||||
$ergebnis = $mysms->ApiCall('json', '/user/message/get/by/conversation', $req_data); //calling method ->ApiCall
|
||||
|
||||
$tmp1=$jsonrow->messages[0]->messageId;
|
||||
$tmp2=$jsonrow->messages[0]->status;
|
||||
$tmp3=$jsonrow->messages[0]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- abfragen neu versendet --------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
$smstime = time();
|
||||
$tmptime=$smstime-259200;
|
||||
//$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE test=0 and messageId>0 and status!=2,0 and senddate>'".$tmptime."' ORDER BY smsID DESC");
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE test=0 and messageId>0 and status!=2 and incoming!=1 and senddate>'".$tmptime."'");
|
||||
if($abfrage['num_rows'] != 0) {
|
||||
// echo $abfrage['smsID'];
|
||||
// echo "<pre>"; print_r($abfrage); echo "</pre>";
|
||||
$row_sender = $GLOBALS['mysql']->query_single("SELECT * FROM benutzer WHERE id='".$abfrage['sender_id']."'");
|
||||
if($row_sender['num_rows']!=0) {
|
||||
//-------------------------------------------------------------
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=1 WHERE smsID='".$abfrage['smsID']."'");
|
||||
//-------------------------------------------------------------
|
||||
$mysms = new mysms($row_sender['api-key']);
|
||||
$login_data = array('msisdn' => $row_sender['nummer'], 'password' => $row_sender['passwd']);
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
//echo "<pre>"; print_r(json_decode($login)); echo "</pre>"; // login prüfren
|
||||
$user_info = json_decode($login); $_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$req_data = array('authToken' => $_SESSION['AuthToken'], 'address'=> $abfrage['nummer'], 'query'=> utf8_decode($abfrage['text']));
|
||||
$ergbniss = $mysms->ApiCall('json', '/user/message/search', $req_data);
|
||||
echo "<pre>"; print_r(json_decode($ergbniss)); echo "</pre>";
|
||||
$jsonrow=json_decode($ergbniss);
|
||||
//-----------------------------------------------------------
|
||||
// echo count($jsonrow->messages);
|
||||
// echo $abfrage['smsID'];
|
||||
$test=1;
|
||||
if(isset($jsonrow->messages[0])) { /////
|
||||
//$tmp1=$jsonrow->messages[0]->messageId; $tmp2=$jsonrow->messages[0]->status; $tmp3=$jsonrow->messages[0]->dateStatus; $tmp3=substr($tmp3,0,-3);
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE id='".$abfrage['tId']."'");
|
||||
// $GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE id='".$abfrage['tId']."'");
|
||||
|
||||
$anzahl=count($jsonrow->messages);
|
||||
for($i=0; $i < $anzahl; $i++) {
|
||||
if(isset($jsonrow->messages[$i])) {
|
||||
$tmp1=$jsonrow->messages[$i]->messageId; $tmp2=$jsonrow->messages[$i]->status; $tmp3=$jsonrow->messages[$i]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
if($tmp1==$abfrage['messageId']) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
|
||||
if($abfrage['tId']>0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE id='".$abfrage['tId']."'");
|
||||
}
|
||||
$test=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if($test>0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status=8 WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate=99 WHERE smsID='".$abfrage['smsID']."'");
|
||||
if($abfrage['tId']>0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus=8 WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate=99 WHERE id='".$abfrage['tId']."'");
|
||||
}
|
||||
}
|
||||
}
|
||||
//sleep (5);
|
||||
} else {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET test=0 WHERE logtime>'".$tmptime."'");
|
||||
echo "keine SMS zu prüfen...";
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
/*
|
||||
stdClass Object
|
||||
(
|
||||
[place_id] => 92100685
|
||||
[licence] => Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright
|
||||
[osm_type] => way
|
||||
[osm_id] => 25815620
|
||||
[lat] => 51.64401147390837
|
||||
[lon] => 12.25841893049767
|
||||
[display_name] => B 183, Sandersdorf, Bitterfeld-Wolfen, Anhalt-Bitterfeld, Sachsen-Anhalt, 06803, Deutschland
|
||||
[address] => stdClass Object
|
||||
(
|
||||
[road] => B 183
|
||||
[city_district] => Sandersdorf
|
||||
[town] => Bitterfeld-Wolfen
|
||||
[county] => Anhalt-Bitterfeld
|
||||
[state] => Sachsen-Anhalt
|
||||
[postcode] => 06803
|
||||
[country] => Deutschland
|
||||
[country_code] => de
|
||||
)
|
||||
|
||||
[boundingbox] => Array
|
||||
(
|
||||
[0] => 51.6374534
|
||||
[1] => 51.6444531
|
||||
[2] => 12.2521345
|
||||
[3] => 12.27533
|
||||
)
|
||||
|
||||
)
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
$tmp = $GLOBALS['mysql']->query_single("SELECT * FROM verkehr WHERE status=1");
|
||||
if($tmp['num_rows'] != 0) {
|
||||
$lat= $tmp['lat'];
|
||||
$lng= $tmp['lng'];
|
||||
$page1='http://nominatim.openstreetmap.org/reverse?format=json&lat='.$lat.'&lon='.$lng.'&email=frank@first-mp.de';
|
||||
$html2 = file_get_contents($page1);
|
||||
$jsonrow2=json_decode($html2);
|
||||
if(isset($jsonrow2->address->town)) {
|
||||
$datastreet=($jsonrow2->address->town);
|
||||
} else {
|
||||
if(isset($jsonrow2->address->city)) {
|
||||
$datastreet=($jsonrow2->address->city);
|
||||
} else {
|
||||
if(isset($jsonrow2->address->city_district)) {
|
||||
$datastreet=($jsonrow2->address->city_district);
|
||||
} else {
|
||||
$datastreet=($jsonrow2->address->village);
|
||||
}
|
||||
}
|
||||
}
|
||||
$datastreet=utf8_decode($datastreet);
|
||||
if(strlen($tmp['street'])<5) {
|
||||
$street=$tmp['street'].', '.$datastreet;
|
||||
} else {
|
||||
$street=$datastreet.', '.$tmp['street'];
|
||||
}
|
||||
|
||||
$GLOBALS['mysql']->insert("UPDATE verkehr SET street='".$street."' WHERE id='".$tmp['id']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE verkehr SET status=2 WHERE id='".$tmp['id']."'");
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
} else {
|
||||
echo "keine geocoordinaten zu prüfen...";
|
||||
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
?>
|
||||
199
checktuer.php
Normal file
|
|
@ -0,0 +1,199 @@
|
|||
<?php
|
||||
|
||||
require('lib/config.php');
|
||||
require('lib/mysql.class.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
$GLOBALS['pisql'] = new mysql(CONFIG_PISQL_HOST,CONFIG_PISQL_USER,CONFIG_PISQL_PW,CONFIG_PISQL_DB,53306);
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
//----------------------------------------------------------------------------------------------------------
|
||||
//date_default_timezone_set('Europe/London');
|
||||
date_default_timezone_set('Europe/Berlin');
|
||||
$jahr = (int)date('Y');
|
||||
$monat = (int)date('n');
|
||||
$tag = (int)date('j');
|
||||
//----------------------------------------------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------
|
||||
$karten = $GLOBALS['mysql']->query("SELECT * FROM karten");
|
||||
while($row = $karten->fetch_assoc()) {
|
||||
|
||||
$pi_data = $GLOBALS['pisql']->query_single("SELECT * FROM karten WHERE kID='".$row['kID']."'"); //echo'<pre>'; print_r($pi_data); echo'</pre>';
|
||||
if($pi_data['num_rows'] == 0) {
|
||||
$GLOBALS['pisql']->insert("INSERT INTO karten (kID,karte,user,gesperrt,info,verloren)
|
||||
VALUES(
|
||||
'".$row['kID']."',
|
||||
'".$row['karte']."',
|
||||
'".$row['user']."',
|
||||
'".$row['gesperrt']."',
|
||||
'".$row['info']."',
|
||||
'".$row['verloren']."')
|
||||
");
|
||||
}
|
||||
//----------------- Status nicht vorhanden
|
||||
if(is_null($row['status'])) {
|
||||
//edv
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
//pi
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
//----------------- karten / ma prüfung
|
||||
if($row['verloren'] == 0) { //----- karte nicht verloren
|
||||
if($row['gesperrt'] == 0) { //----- karte nicht gesoerrt
|
||||
if($row['user'] != 0) { //----- karte Mitarbeiter zugeordnet
|
||||
$m_data = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row['user']."'");
|
||||
if($m_data['num_rows'] == 0) {
|
||||
echo 'Fehler ID: '.$row['user'];
|
||||
echo'<pre>'; print_r($m_data); echo'</pre>';
|
||||
}
|
||||
if($m_data['aktiv'] != 0) { //pi eintragsprüfung
|
||||
// -----------------------------------------------
|
||||
// -----------------------------------------------
|
||||
// -----------------------------------------------
|
||||
// -----------------------------------------------
|
||||
// --------- Prüfung kalendereintrag
|
||||
$cstatus=0;
|
||||
if($m_data['zeitzugang']>0) { // echo"zeit";
|
||||
//--------- Kalender sperre prüfen ------
|
||||
$kal_data = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$row['user']."' AND tag='".$tag."' AND monat='".$monat."' AND jahr='".$jahr."'");
|
||||
if($kal_data['num_rows'] != 0) { // gibt es einen Kalender eintrag ???
|
||||
$kal_data2 = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$kal_data['grund']."'");
|
||||
if($kal_data2['nichtda'] != 0) { // Eintrag im Kalender der nicht verfügbar bedeutet !!!
|
||||
if(date('G')>20) {
|
||||
$tmptime=strtotime("+1 day");
|
||||
$jahr2 = (int)date('Y',$tmptime);
|
||||
$monat2 = (int)date('m',$tmptime);
|
||||
$tag2 = (int)date('d',$tmptime);
|
||||
$kal_data3 = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$row['user']."' AND tag='".$tag2."' AND monat='".$monat2."' AND jahr='".$jahr2."'");
|
||||
if($kal_data3['num_rows'] != 0) {
|
||||
$kal_data4 = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$kal_data['grund']."'");
|
||||
if($kal_data4['nichtda'] != 0) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET grund='".$kal_data4['bez']."' WHERE kID='".$row['kID']."'");
|
||||
$cstatus=3;
|
||||
}
|
||||
} else { //--------- 2. tag keinen eintrag !!!!!!!!!!!!!!!
|
||||
$tmptime=mktime(0, 0, 0,$monat,$tag,$jahr);
|
||||
$von=$tmptime+7200;
|
||||
$bis=$tmptime-18000;
|
||||
$tempt = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE fahrer='".$row['user']."' AND time<'".$von."' AND time>'".$bis."'");
|
||||
if($tempt['num_rows'] != 0) {
|
||||
$cstatus=2;
|
||||
} else { //--------- hat keine Tour am Folgetag
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET grund='".$kal_data2['bez']."' WHERE kID='".$row['kID']."'");
|
||||
$cstatus=3;
|
||||
}
|
||||
}
|
||||
} else { // nicht da wegen urlaub/krank etc. -> karte sperren
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET grund='".$kal_data2['bez']."' WHERE kID='".$row['kID']."'");
|
||||
$cstatus=3;
|
||||
}
|
||||
} //else { //--------- ist da trotz eintrag
|
||||
//$cstatus=2;
|
||||
//}
|
||||
} else { // kein Eintrag im Kalender
|
||||
// torenliste abfragen
|
||||
$von=time()+7260; // 7260 2 Stunden + 1 Minute 3600+3600+60 Bsp: 1:00 Uhr Start -> ab 23 Uhr Fahrzeug
|
||||
$bis=time()-25200; // 25200
|
||||
$tempx = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE fahrer='".$row['user']."' AND time<'".$von."' AND time>'".$bis."'");
|
||||
if($tempx['num_rows'] != 0) {
|
||||
$cstatus=2; // Tuer freischalten, weil Einsatz in der Planung
|
||||
|
||||
//echo'<pre>'; print_r($tempx); echo'</pre>';
|
||||
} else {
|
||||
$cstatus=4; // Tuersperre weil kein Einsatz
|
||||
}
|
||||
}
|
||||
if($row['status']!=$cstatus) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET gesperrt='".$row['gesperrt']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET verloren='".$row['verloren']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status='".$cstatus."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status='".$cstatus."' WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
} else {
|
||||
//---------------------- ohne tourenprüfung
|
||||
if($row['status']!=1) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=1 WHERE kID='".$row['kID']."'"); echo"karte freischalten in DB";
|
||||
}
|
||||
if($pi_data['status']!=1) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET gesperrt=0 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET verloren=0 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=1 WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
}
|
||||
} else { //----- Mitarbeiter nicht mehr da.
|
||||
if($row['status']!=9) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'"); echo"ma nicht mehr aktiv";
|
||||
}
|
||||
if($pi_data['status']!=9) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
}
|
||||
} else { //----- karte nicht zugeordnet
|
||||
if($row['status']!=9) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
//pi
|
||||
if($pi_data['status']!=9) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user=0 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
}
|
||||
} else { //----- karte gesperrt
|
||||
if($row['status']!=9) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
//pi
|
||||
if($pi_data['status']!=9) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET gesperrt=1 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
}
|
||||
} else { //----- karte verloren
|
||||
if($row['status']!=9) {
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
//pi
|
||||
if($pi_data['status']!=9) {
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET karte='".$row['karte']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET gesperrt=1 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET verloren=1 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET user='".$row['user']."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET edittime='".time()."' WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET status=9 WHERE kID='".$row['kID']."'");
|
||||
$GLOBALS['pisql']->insert("UPDATE karten SET info='".$row['info']."' WHERE kID='".$row['kID']."'");
|
||||
}
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------------
|
||||
|
||||
echo"fertig_Tuer_DB";
|
||||
?>
|
||||
70
class.mysms.php
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
<?php
|
||||
|
||||
/*!
|
||||
* Idragons Interactive
|
||||
* http://idragonsinteractive.com | http://github.com/idragons/mysms-api-php-wrapper
|
||||
*/
|
||||
|
||||
class mysms {
|
||||
|
||||
private $ApiKey = false;
|
||||
|
||||
private $AuthToken = false;
|
||||
|
||||
private $BaseUrl = 'https://api.mysms.com/';
|
||||
|
||||
function __construct($apikey, $authtoken = false) {
|
||||
|
||||
$this->ApiKey = $apikey;
|
||||
$this->AuthToken = $authtoken;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function setAuthToken($authtoken)
|
||||
{
|
||||
$this->AuthToken = $authtoken;
|
||||
}
|
||||
|
||||
|
||||
public function ApiCall($rest, $resource, $data)
|
||||
{
|
||||
if($rest == '' && $rest != 'json' && $rest != 'xml') die('Please provide valid REST type: xml/json!'); //check if $rest is xml or json
|
||||
|
||||
elseif(filter_var($this->BaseUrl.$rest.$resource, FILTER_VALIDATE_URL) == false) die('Provided Resource or MountUrl is not Valid!'); //check if https://api.mysms.com/$rest/$resource is valid url
|
||||
|
||||
elseif(!is_array($data)) die('Provide data is not an Array!'); //check if provided $data is valid array
|
||||
|
||||
else{
|
||||
|
||||
//insert api key into $data
|
||||
$data['apiKey'] = $this->ApiKey;
|
||||
|
||||
$result = $this->curlRequest($rest.$resource, $data);
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private function curlRequest($resource, $data)
|
||||
{
|
||||
$json_encoded_data = json_encode($data);
|
||||
|
||||
$curl = curl_init();
|
||||
curl_setopt ($curl, CURLOPT_URL, $this->BaseUrl.$resource);
|
||||
curl_setopt($curl, CURLOPT_POSTFIELDS, $json_encoded_data);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
|
||||
'Content-Type: application/json;charset=utf-8',
|
||||
'Content-Length: ' . strlen($json_encoded_data))
|
||||
);
|
||||
return curl_exec ($curl);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
232
class.pdf2txt.inc.php
Normal file
|
|
@ -0,0 +1,232 @@
|
|||
<?php
|
||||
/**
|
||||
* Teil aus folgendem Plugin:
|
||||
* http://www.redaxo.org/de/download/addons/?addon_id=587
|
||||
* Hiermit wird unentgeltlich, jeder Person, die eine Kopie der Software und der zugehörigen Dokumentationen (die * “Software”) erhält, die Erlaubnis erteilt, uneingeschränkt zu benutzen, inklusive und ohne Ausnahme, dem Recht, sie zu verwenden, kopieren, ändern, fusionieren, verlegen, verbreiten, unterlizenzieren und/oder zu verkaufen, und Personen, die diese Software erhalten, diese Rechte zu geben, unter den folgenden Bedingungen:
|
||||
|
||||
Der obige Urheberrechtsvermerk und dieser Erlaubnisvermerk sind in allen Kopien oder Teilkopien der Software beizulegen. Weiterhin muss im Backend der Verweis zu www.redaxo.org und das Logo “REDAXO” sichtbar und klickbar sein.
|
||||
|
||||
DIE SOFTWARE WIRD OHNE JEDE AUSDRÜCKLICHE ODER IMPLIZIERTE GARANTIE BEREITGESTELLT, EINSCHLIESSLICH DER GARANTIE ZUR BENUTZUNG FÜR DEN VORGESEHENEN ODER EINEM BESTIMMTEN ZWECK SOWIE JEGLICHER RECHTSVERLETZUNG, JEDOCH NICHT DARAUF BESCHRÄNKT. IN KEINEM FALL SIND DIE AUTOREN ODER COPYRIGHTINHABER FÜR JEGLICHEN SCHADEN ODER SONSTIGE ANSPRÜCHE HAFTBAR ZU MACHEN, OB INFOLGE DER ERFÜLLUNG EINES VERTRAGES, EINES DELIKTES ODER ANDERS IM ZUSAMMENHANG MIT DER SOFTWARE ODER SONSTIGER VERWENDUNG DER SOFTWARE ENTSTANDEN.
|
||||
|
||||
|
||||
* */
|
||||
class pdf2txt
|
||||
{
|
||||
var $src;
|
||||
var $dest;
|
||||
var $data;
|
||||
// constructor
|
||||
function pdf2txt($_src = false, $_dest = false)
|
||||
{
|
||||
$this->setSource($_src);
|
||||
$this->setDestination($_dest);
|
||||
}
|
||||
// set data if no conversion from file nescessary
|
||||
function setInput($_data)
|
||||
{
|
||||
$this->data = $_data;
|
||||
}
|
||||
// sets the source-file
|
||||
function setSource($_src)
|
||||
{
|
||||
$this->src = $_src;
|
||||
}
|
||||
// sets the destination-file
|
||||
function setDestination($_dest)
|
||||
{
|
||||
$this->dest = $_dest;
|
||||
}
|
||||
function directConvert($_data)
|
||||
{
|
||||
$pdf2txt = new pdf2txt();
|
||||
return $pdf2txt->convert($_data);
|
||||
}
|
||||
// convert to pdf
|
||||
function convert($_data = false)
|
||||
{
|
||||
if (false !== $_data) {
|
||||
$this->data = $_data;
|
||||
}
|
||||
if (false !== $this->src and false === ($this->data = file_get_contents($this->src))) {
|
||||
// [ ERROR ]
|
||||
// file does not exist
|
||||
return false;
|
||||
}
|
||||
if ($this->data === false) {
|
||||
// [ ERROR ]
|
||||
// nothing to convert
|
||||
return false;
|
||||
}
|
||||
// ###############################
|
||||
// data available -> start parsing
|
||||
// ###############################
|
||||
// parse encoding
|
||||
preg_match('~/Encoding\\s*/(\\w+)~ism', $this->data, $encoding);
|
||||
// detect encoding and assume that there is only a single charset for the hole document
|
||||
$fromEncoding = 'windows-1252';
|
||||
switch ($encoding[1]) {
|
||||
case 'MacRomanEncoding':
|
||||
$fromEncoding = 'macintosh';
|
||||
break;
|
||||
case 'WinAnsiEncoding':
|
||||
// standard encoding
|
||||
break;
|
||||
}
|
||||
// parse data
|
||||
// the following code ignores the keyword "stream" and "endstream" if they are in a string
|
||||
$isStream = false;
|
||||
$stream = '';
|
||||
$streams = array();
|
||||
$openBracketCount = 0;
|
||||
$encodedStream = false;
|
||||
foreach (preg_split('~(<<\\s*/.*?>>\\s*stream\\s*)|(\\s*endstream\\s*)|(\\()|(\\))~ism', $this->data, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY) as $k => $part) {
|
||||
if (preg_match('~<<\\s*/(.*?)>>\\s*stream\\s*~ism', $part, $match)) {
|
||||
$switch = 'stream';
|
||||
if (false !== strpos($match[1], '/Filter')) {
|
||||
$encodedStream = true;
|
||||
}
|
||||
} else {
|
||||
$switch = trim($part);
|
||||
}
|
||||
switch ($switch) {
|
||||
case '(':
|
||||
if ($isStream and !$encodedStream) {
|
||||
$openBracketCount++;
|
||||
}
|
||||
break;
|
||||
case ')':
|
||||
if ($isStream and !$encodedStream) {
|
||||
$openBracketCount--;
|
||||
}
|
||||
break;
|
||||
case 'endstream':
|
||||
if ($isStream and $openBracketCount <= 0) {
|
||||
$isStream = false;
|
||||
$streams[] = $stream;
|
||||
$stream = '';
|
||||
$encodedStream = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ($isStream) {
|
||||
$stream .= $part;
|
||||
}
|
||||
if ($switch == 'stream') {
|
||||
if ($isStream) {
|
||||
$stream .= $part;
|
||||
} else {
|
||||
$isStream = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
$textObjects = array();
|
||||
foreach ($streams as $k => $stream) {
|
||||
// uncompress the stream
|
||||
if (false === ($uncompressed = @gzuncompress($stream))) {
|
||||
// if nothing to uncompress, assume that the stream is already uncompressed
|
||||
$uncompressed = $stream;
|
||||
}
|
||||
// convert to internal encoding UTF-8
|
||||
$uncompressed = @iconv($fromEncoding, 'UTF-8', $uncompressed);
|
||||
// replace escaped brackets with placeholders
|
||||
$text = str_replace(array('\\(', '\\)', '\\[', '\\]'), array('##STARTBRACKET##', '##ENDBRACKET##', '##STARTSBRACKET##', '##ENDSBRACKET##'), $uncompressed);
|
||||
// parse streams
|
||||
// the following code ignores the keyword "BT" and "ET" if they are in a string
|
||||
$isTextObj = false;
|
||||
$textObject = '';
|
||||
$openBracketCount = 0;
|
||||
foreach (preg_split('~(\\s*BT\\s+)|(\\s+ET\\s+)|(\\()|(\\))~ism', $text, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY) as $k => $part) {
|
||||
$switch = trim($part);
|
||||
switch ($switch) {
|
||||
case '(':
|
||||
if ($isTextObj) {
|
||||
$openBracketCount++;
|
||||
}
|
||||
break;
|
||||
case ')':
|
||||
if ($isTextObj) {
|
||||
$openBracketCount--;
|
||||
}
|
||||
break;
|
||||
case 'ET':
|
||||
if ($isTextObj and $openBracketCount <= 0) {
|
||||
$isTextObj = false;
|
||||
$textObjects[] = $textObject;
|
||||
$textObject = '';
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ($isTextObj) {
|
||||
$textObject .= $part;
|
||||
}
|
||||
if ($switch == 'BT') {
|
||||
if ($isTextObj) {
|
||||
$textObject .= $part;
|
||||
} else {
|
||||
$isTextObj = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$return = '';
|
||||
foreach ($textObjects as $textObject) {
|
||||
// parse text-objects
|
||||
// the following code ignores PDF-keywords if they are in a string
|
||||
$isString = false;
|
||||
$openBracketCount = 0;
|
||||
foreach (preg_split('~(?:\\s+(Td|TD|T\\*|"|\')\\s+)|(\\()|(\\))~ism', $textObject, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY) as $k => $part) {
|
||||
switch ($part) {
|
||||
// new line
|
||||
case 'Td':
|
||||
case 'TD':
|
||||
case 'T*':
|
||||
case '"':
|
||||
case "'":
|
||||
if (!$isString) {
|
||||
$return .= "\n";
|
||||
}
|
||||
break;
|
||||
case ')':
|
||||
if ($isString and $openBracketCount <= 0) {
|
||||
$isString = false;
|
||||
$return .= $string;
|
||||
$string = '';
|
||||
} elseif ($isString) {
|
||||
$openBracketCount--;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ($isString) {
|
||||
$string .= $part;
|
||||
}
|
||||
if ($part == '(') {
|
||||
if ($isString) {
|
||||
$openBracketCount++;
|
||||
} else {
|
||||
$isString = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
$return .= "\n";
|
||||
}
|
||||
// substitute the placeholders for the brackets and escape sequences
|
||||
$convert = array('##STARTBRACKET##' => '(', '##ENDBRACKET##' => ')', '##STARTSBRACKET##' => '[', '##ENDSBRACKET##' => ']', "\\\n" => "\n", "\\\r" => "\n", "\\\n\r" => "\n", "\\\t" => "\t", "\\\\b" => "\\b", "\\\f" => "\f", '\\\\' => '\\');
|
||||
// replace octal character codes
|
||||
$text = preg_replace_callback('~\\\\([0-8]{3})~', create_function('$matches', ' if(octdec($matches[1]) > 32)
|
||||
return utf8_encode(chr(octdec($matches[1])));
|
||||
else
|
||||
return "";
|
||||
'), $return);
|
||||
// execute conversion with $convert
|
||||
$text = strtr($text, $convert);
|
||||
if (false !== $this->dest) {
|
||||
// store $text into the specified destination file
|
||||
// and return true on success or false on error
|
||||
return false !== file_put_contents($this->dest);
|
||||
} else {
|
||||
// return $text
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
56
cms.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
require('lib/config.php');
|
||||
session_name(CONFIG_SESSION); session_start();
|
||||
require('lib/mysql.class.php');
|
||||
include('lib/class.mysms.php');
|
||||
$GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB);
|
||||
date_default_timezone_set('Europe/London');
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//------------------------------------------------- abfragen -----------------------------------------------------
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
//for($i=0; $i < 5; $i++) {
|
||||
$abfrage = $GLOBALS['mysql']->query_single("SELECT * FROM log_sms WHERE status=8 and errorId=0 and messageId>0 limit 0,1");
|
||||
if($abfrage['num_rows'] != 0) {
|
||||
echo "<pre>"; print_r($abfrage); echo "</pre>";
|
||||
$row_sender = $GLOBALS['mysql']->query_single("SELECT * FROM benutzer WHERE id='".$abfrage['sender_id']."'");
|
||||
if($row_sender['num_rows']!=0) {
|
||||
$mysms = new mysms($row_sender['api-key']);
|
||||
$login_data = array('msisdn' => $row_sender['nummer'], 'password' => $row_sender['passwd']);
|
||||
$login = $mysms->ApiCall('json', '/user/login', $login_data);
|
||||
// echo "<pre>"; print_r(json_decode($login)); echo "</pre>"; // login prüfren
|
||||
$user_info = json_decode($login); $_SESSION['AuthToken'] = $user_info->authToken;
|
||||
$req_data = array('authToken' => $_SESSION['AuthToken'], 'address'=> $abfrage['nummer'], 'query'=> utf8_decode($abfrage['text']));
|
||||
$ergbniss = $mysms->ApiCall('json', '/user/message/search', $req_data);
|
||||
echo "<pre>"; print_r(json_decode($ergbniss)); echo "</pre>";
|
||||
$jsonrow=json_decode($ergbniss);
|
||||
//-----------------------------------------------------------
|
||||
// echo count($jsonrow->messages);
|
||||
// echo $abfrage['smsID'];
|
||||
if(isset($jsonrow->messages[0])) { /////
|
||||
$anzahl=count($jsonrow->messages);
|
||||
for($i=0; $i < $anzahl; $i++) {
|
||||
if(isset($jsonrow->messages[$i])) {
|
||||
$tmp1=$jsonrow->messages[$i]->messageId; $tmp2=$jsonrow->messages[$i]->status; $tmp3=$jsonrow->messages[$i]->dateStatus; $tmp3=substr($tmp3, 0, -3);
|
||||
if($tmp1==$abfrage['messageId']) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status='".$tmp2."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate='".$tmp3."' WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus='".$tmp2."' WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate='".$tmp3."' WHERE id='".$abfrage['tId']."'");
|
||||
} else {
|
||||
if($anzahl<2) {
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET status=99 WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE log_sms SET statusdate=99 WHERE smsID='".$abfrage['smsID']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus=99 WHERE id='".$abfrage['tId']."'");
|
||||
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatusdate=99 WHERE id='".$abfrage['tId']."'");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// sleep (1);
|
||||
}
|
||||
//}
|
||||
?>
|
||||
|
|
@ -0,0 +1,292 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-28 16:53:46
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_mitarbeiter.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6605928a4de714_93425312',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'04aff6747d5810c93897e694c59d0f6f149582c6' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_mitarbeiter.tpl',
|
||||
1 => 1711535485,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6605928a4de714_93425312 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div id="spinner-div" class="pt-5">
|
||||
<div class="spinner-border text-primary" role="status">
|
||||
<i class="fas fa-spinner fa-pulse fa-10x"></i>
|
||||
<p>Loading...</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="malist">
|
||||
<div class="form-group">
|
||||
<!--
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" ><i class="fad fa-user-plus"></i></span>
|
||||
<span class="input-group-addon" ><i class="fad fa-thumbtack"></i></span>
|
||||
<span class="input-group-addon" ><i class="fad fa-highlighter"></i></span>
|
||||
</div>
|
||||
-->
|
||||
<div class="input-group" style="border-color: red">
|
||||
<span class="input-group-addon" ><i class="fad fa-search"></i></span>
|
||||
<input type="text" name="search_text" id="search_text" placeholder="Suche nach Nr., Name, Ort" class="form-control" style="background-color:#333;color:#fff;border-color:#115270" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="result"></div>
|
||||
</div>
|
||||
<!-- neuer MA -->
|
||||
<div class="panel">
|
||||
<div class="panel-heading" style="background-color:#333;color:#fff"><h1 class="panel-title">neuer Mitarbeiter: </h1></div>
|
||||
<div class="panel-body" style="background-color:#333;color:#fff">
|
||||
<table class="table-condensed">
|
||||
<form action="" method="post">
|
||||
<tr><td style="width:50px;font-size:12pt">Name: </td> <td><input type="text" name="name" style="width:140px" autocomplete; placeholder="Vor + Nachmane" /> </td></tr>
|
||||
<tr><td style="width:50px;font-size:12pt">Handy: </td> <td><input type="text" name="handy" style="width:140px" autocomplete;placeholder="+491771234567" /> </td></tr>
|
||||
<tr><td style="width:50px;font-size:12pt">Email: </td> <td><input type="email" name="email"style="width:140px" autocomplete;placeholder="xxx@blabla.de" /> </td></tr>
|
||||
<tr><td style="width:50px;font-size:12pt" > <input style="background-color:#888;color:#000" type="submit" name="neu" value="speichern" /></td></tr>
|
||||
</form>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Sidebar -->
|
||||
|
||||
<div class="col-md-6">
|
||||
<div id="maedit">
|
||||
<p align="center" style="font-size:200pt;background-color:#333333;color:#115270">
|
||||
<i class="fa fa-edit" aria-hidden="true"></i>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<aside class="col-md-3" style="background-color: #333333">
|
||||
<div id="maedit2">
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.loader{
|
||||
display: none;
|
||||
}
|
||||
.input-group-addon{
|
||||
background: #333;
|
||||
color: #fff;
|
||||
border: 1px solid #115270;
|
||||
border-right: 0px solid #115270;
|
||||
}
|
||||
.malist {
|
||||
background: #222;
|
||||
color: #aaaaaa;
|
||||
padding: 5px;
|
||||
border: 1px solid #000;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 10px;
|
||||
height: 830px;
|
||||
}
|
||||
.maedit2 {
|
||||
background: #222;
|
||||
color: #aaaaaa;
|
||||
padding: 5px;
|
||||
border: 1px solid #000;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 10px;
|
||||
min-height: 830px;
|
||||
}
|
||||
.menux {
|
||||
background: #222;
|
||||
padding: 5px;
|
||||
color: #909090;
|
||||
font-size: 28px;
|
||||
height: 50px;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.ma1 {
|
||||
background: #222222;
|
||||
color: #999;
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
min-height: 115px;
|
||||
max-height: 615px;
|
||||
border: 1px solid #115270;
|
||||
border-radius: 6px;
|
||||
margin-top: -12px;
|
||||
margin-left: -5px;
|
||||
width: 570px;
|
||||
display: -webkit-flex;
|
||||
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
.max {
|
||||
background: #222;
|
||||
color: #115270;
|
||||
padding: 3px;
|
||||
border: 1px solid #115270;
|
||||
font-size: 13px;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 20px;
|
||||
min-height: 50px;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function() {
|
||||
|
||||
load_data();
|
||||
|
||||
function load_data(query)
|
||||
{
|
||||
$.ajax({
|
||||
url:"ajax.php?s=mafetch",
|
||||
method:"POST",
|
||||
data:{query:query},
|
||||
success:function(data)
|
||||
{
|
||||
$('#result').html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
$('#search_text').keyup(function(){
|
||||
var search = $(this).val();
|
||||
if(search != '')
|
||||
{
|
||||
load_data(search);
|
||||
}
|
||||
else
|
||||
{
|
||||
load_data();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function ma_wahl(maID) {
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_edit&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_edit_sb&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit2").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function ma_edit_sb(maID) {
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_edit_sb&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit2").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function ma_tuer(maID) {
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_tuer&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit2").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function ma_kal(maID) {
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_kal&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit2").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function ma_setup(maID) {
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ma_setup&tpl",
|
||||
dataType: 'html',
|
||||
data: '&maID=' + maID,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#maedit2").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
$(document).ready(function () {
|
||||
$("#do-call").click(function () {//The load button
|
||||
$('#spinner-div').show();//Load button clicked show spinner
|
||||
$.ajax({
|
||||
url: "https://jb-data.de/",
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
//On success do something....
|
||||
},
|
||||
complete: function () {
|
||||
$('#spinner-div').hide();//Request is complete so hide spinner
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,507 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-23 11:06:42
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_aktiv.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c85122a7ba48_49470330',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'051635129d19754ce9c2f9a3e92b6f8180984f8d' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_aktiv.tpl',
|
||||
1 => 1724228299,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66c85122a7ba48_49470330 (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-2" style='margin-top: -20px'>
|
||||
<p nowrap align="center" style='font-size:14pt;background-color:orange;color:#fff'>aktive Fahrzeuge<p>
|
||||
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>PKW<p>
|
||||
<table class="no style" style="width:100%">
|
||||
<tbody style="font-size:13pt">
|
||||
<?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:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
|
||||
</td>
|
||||
<td nowrap align="right" style="width:20%">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- ************************ kleine Transporter / Hundefänger / Caddy -->
|
||||
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>Caddy etc.<p>
|
||||
<table class="no style" style="width:100%">
|
||||
<tbody style="font-size:13pt">
|
||||
<?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:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
|
||||
</td>
|
||||
<td nowrap align="right" style="width:20%">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- ************************ Transporter -->
|
||||
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>Transporter<p>
|
||||
<table class="no style" style="width:100%">
|
||||
<tbody style="font-size:13pt">
|
||||
<?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:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
|
||||
</td>
|
||||
<td nowrap align="right" style="width:20%">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
|
||||
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- ************************ neues Fahrzeug -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>Neues Fahrzeug anlegen</span></i></div>
|
||||
<div class="panel-body">
|
||||
<form action="" method="post">
|
||||
<table class="no-style full">
|
||||
<tr><td nowrap="nowrap"style="width:70px;"><strong>neu: </strong></td> <td><input type="text" name="kz" style="width:150px;" placeholder="Kennzeichen" /> </td></tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu2: </strong></td> <td><input type="text" name="kb2" style="width:70px;" placeholder="0000" /> </td></tr>
|
||||
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu3: </strong></td> <td><input type="text" name="kb3" style="width:70px;" placeholder="000" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" name="neu" value="neu anlegen" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -------------------------------- Spaltenwechsel -->
|
||||
</div>
|
||||
<!-- -------------------------------- Car uaswählen info -->
|
||||
<div class="col-md-10" style='margin-top: -20px'>
|
||||
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
|
||||
|
||||
|
||||
<p style='font-size:14pt;background-color:#115270;color:#fff'>Bitte das Fahrzeug auwählen den Sie bearbeiten möchten.</p>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?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>
|
||||
<!-- ****************************************************************** -->
|
||||
<tr>
|
||||
<td style="width:120px" nowrap="nowrap"><strong>Sanikasten:</strong></td>
|
||||
<td nowrap="nowrap">
|
||||
<input type="text" name="sanimonat" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['sanidate'],"%m");?>
|
||||
" style="width:40px"/> /
|
||||
<input type="text" name="sanijahr" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['sanidate'],"%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>Ö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 }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,691 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-01 11:10:42
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_ilonexs.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660a7a1247afa4_79450131',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'090b9fddec14a7fc13beb3d7b0f7264d2bce65f0' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_ilonexs.tpl',
|
||||
1 => 1704554808,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660a7a1247afa4_79450131 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
||||
?>
|
||||
<!-- ********** -->
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function tload(tld) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=tload&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tld=' + tld,
|
||||
success: function (data) {
|
||||
$("#tload"+tld).html(data);
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- ********** -->
|
||||
<section class="col-md-9" style="background-color:#333333">
|
||||
<div class="row sortable">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-2">
|
||||
<div class="panel">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<td nowrap style="align:center;width:320px;font-size:14pt">
|
||||
<a class="fa fa-arrow-left" href="?s=p_ilonexs&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"></a>
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</strong>
|
||||
<a class="fa fa-arrow-right" href="?s=p_ilonexs&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"></a></td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="panel" style="background-color:#222222;">
|
||||
<div class="panel-heading" style="background-color:yellow;">
|
||||
<spawn style="width:5px;height:2px;font-size:16pt;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%d.%m.%y");?>
|
||||
</spawn>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
|
||||
<table class="table-hover" style="font-size:11pt;line-height: 14pt">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tage']->value, 'kt');
|
||||
$_smarty_tpl->tpl_vars['kt']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kt']->value) {
|
||||
$_smarty_tpl->tpl_vars['kt']->do_else = false;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tage']->value['tagt'] == 1) {?>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td nowrap style="width:5px;font-size:4pt;line-height: 5pt" > </td>
|
||||
</tr>
|
||||
<tr style="width:5px;background-color: gray;color:#fff">
|
||||
<td> </td>
|
||||
<td nowrap style="width:70px;font-size:8pt">--- <?php echo $_smarty_tpl->tpl_vars['kt']->value['kw'];?>
|
||||
.KW ---</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
<tr style="background:#222222">
|
||||
<?php if ($_smarty_tpl->tpl_vars['kt']->value['t'] == 0) {?>
|
||||
<td style="font-size:8pt;color:darkred" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
|
||||
</td>
|
||||
<td style="font-size:13pt;color:darkred" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['kt']->value['btag'] != 0) {?>
|
||||
<td style="font-size:8pt;color:blue" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
|
||||
</td>
|
||||
<td style="font-size:13pt;color:blue" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['kt']->value['ftag'] != 0) {?>
|
||||
<td style="font-size:8pt;color:orange" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
|
||||
</td>
|
||||
<td style="font-size:13pt;color:orange" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td style="font-size:8pt;color:#fff" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
|
||||
</td>
|
||||
|
||||
<td style="font-size:13pt;color:#fff" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
|
||||
<div class="col-md-10">
|
||||
<div class="panel-heading" style="background-color:darkred;">
|
||||
<spawn style='width:5px;height:2px;font-size:16pt;color:white;'><strong>Achtung!</strong> Diese Planung liegt in der Vergangenheit...</spawn>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fttest']->value > 0) {?>
|
||||
<div class="col-md-10">
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-heading">Feiertag</div>
|
||||
<table class="table-condensed">
|
||||
<tbody>
|
||||
<td nowrap style="width:100px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
|
||||
</strong></td>
|
||||
<td nowrap style="width:500px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
|
||||
</strong></td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="col-md-10">
|
||||
<div class="panel" style="border: black 1px solid;">
|
||||
<div class="panel-body" style="background-color: #111111">
|
||||
<table style="line-height:20px;font-size:11pt;color:#FFFFFF">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel" style="border: black 1px solid;">
|
||||
<div class="panel-body" style="background-color: #222222">
|
||||
<table style="line-height:20px;font-size:11pt;color:#FFFFFF">
|
||||
<tbody>
|
||||
|
||||
|
||||
<?php }?>
|
||||
<!-- --------------------------- Einsatzplanung ---------------------------------------- -->
|
||||
<tr id="_tload<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="border-bottom: 1px solid #000;">
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 1) {?>
|
||||
<td nowrap style="width:90px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:90px;color: aquamarine"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<td nowrap style="width:195px;font-size:11pt;">
|
||||
<!-- --------------------------- -->
|
||||
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:190px;border:none;background-color: #222222"
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?> style="border-bottom: 1px solid #FF2222;"
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?> style="border-bottom: 1px solid #FF2222;"
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?> style="border-bottom: 1px solid #FF9900;"
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?> style="border-bottom: 1px solid #99FF00;"
|
||||
|
||||
<?php } else { ?> style="border-bottom: 1px solid #dcdcdc;"
|
||||
<?php }?>
|
||||
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)";>
|
||||
<!-- --------------------------- fahrer_array -->
|
||||
<?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'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<!-- --------------------------- -->
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:100px">
|
||||
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:95px;border:none;background-color: #222222"
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?> style="border-bottom: 1px solid #ff0000;"
|
||||
<?php } else { ?> style="border-bottom: 1px solid #dcdcdc;"
|
||||
<?php }?>
|
||||
style="width:95px;"
|
||||
|
||||
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['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['auto_id']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Zusatzinfo neu -->
|
||||
|
||||
<td nowrap align="right" style="width:240px; font-size:6pt;">info </td>
|
||||
|
||||
<td style="position:static; width:50px; font-size:7pt;">
|
||||
<input type="hidden" name="sendtour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"/>
|
||||
<td>
|
||||
|
||||
<td nowrap>
|
||||
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"/>
|
||||
</center></td>
|
||||
<td><center>
|
||||
<input type="hidden" name="sendtour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"/>
|
||||
<td>
|
||||
<center>
|
||||
|
||||
</div>
|
||||
</center>
|
||||
</td>
|
||||
<!-- Infobereich !!!!! ------------------------------------- -->
|
||||
<!-- SMS Status !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
">
|
||||
<i class="fal fa-comment-alt fa-1x" style="color:#303030" ></i>
|
||||
</td>
|
||||
<!-- Infobereich !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px">
|
||||
<i class="fal fa-info fa-1x" style="color:#0080FF" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
)"></i>
|
||||
</td>
|
||||
<!-- SMS senden Änderung ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px; font-size:13pt;"
|
||||
onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
'";>
|
||||
<i class="fal fa-sms" style="color:white" >
|
||||
</td>
|
||||
<!-- 2. Tour löschen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
|
||||
'";>
|
||||
<i class="fas fa-times" style="color:white" >
|
||||
</td>
|
||||
|
||||
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;">
|
||||
<i class="fal fa-minus" style="color:white" >
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
var tld = '<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
';
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
tload(tld);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- -------------------------------------->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- rechte seite -->
|
||||
<!-- -------------------------------------->
|
||||
|
||||
<!-- Sidebar -->
|
||||
<aside class="col-md-3" style="background:#333333">
|
||||
|
||||
|
||||
<!-- ------------------------------------ -->
|
||||
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------- History -->
|
||||
<div id="tinfo"></div>
|
||||
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
|
||||
<div id="rightmenu" class="panel panel-primary">
|
||||
<header class="panel-heading" style="font-size: 16pt;line-height:80%"><span class="fad fa-calendar-alt pull-left"></span><div class="panel-title"> Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</div></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-8px">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = false;
|
||||
?>
|
||||
<tr align="left" >
|
||||
<td align="center" nowrap style="width:15px;font-size:11pt;"><i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
|
||||
'></i></td>
|
||||
<td align="left" nowrap style="width:130px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
|
||||
</td>
|
||||
<td align="right" nowrap style="width:100px;font-size:10pt"><?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Toursetup</h2></div>
|
||||
<section class="panel-body">
|
||||
<form action="" method="post">
|
||||
</br><b>Tour hinzu:</b>
|
||||
<select name="plus" style="width:140px;" >
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourplus']->value, 'tplus');
|
||||
$_smarty_tpl->tpl_vars['tplus']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tplus']->value) {
|
||||
$_smarty_tpl->tpl_vars['tplus']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['tplus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['tplus']->value['tour']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
|
||||
"/>
|
||||
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
|
||||
"/>
|
||||
<input type="submit" name="dazuplus" value="hinzufügen" >
|
||||
</select>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------- verfügbare Mitarbeiter -->
|
||||
<div id="freema"></div>
|
||||
<!-- -------------------------------- verfügbare Fahrzeuge -->
|
||||
<div id="freecar"></div>
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
|
||||
</br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br>
|
||||
|
||||
|
||||
</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'; ?>
|
||||
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
|
||||
function tinfo(tid) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=tinfo&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tid=' + tid,
|
||||
success: function (data) {
|
||||
$("#tinfo").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function load_free_cars(tag,monat,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=free_car&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
|
||||
success: function (data) {
|
||||
$("#freecar").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function load_free_ma(tag,monat,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=free_ma&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
|
||||
success: function (data) {
|
||||
$("#freema").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_car(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=pnacht&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'
|
||||
}
|
||||
});
|
||||
}
|
||||
load_free_cars(tag,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function save_info(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=paktuell&a=info_save",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
function save_user(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=pnacht&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'
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
load_free_ma(tag,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
load_free_ma(tag,monat,jahr);
|
||||
load_free_cars(tag,monat,jahr);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
var countryResult = [];
|
||||
$(document).on('keyup' , '#search-keyword' ,function(){
|
||||
var keyvalue = $("#search-keyword").val();
|
||||
|
||||
var xhttp;
|
||||
xhttp = new XMLHttpRequest();
|
||||
xhttp.onreadystatechange = function() {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
countryResult = [];
|
||||
myFunction(this , keyvalue);
|
||||
}
|
||||
};
|
||||
xhttp.open("GET", "country.xml", true);
|
||||
xhttp.send();
|
||||
});
|
||||
|
||||
function myFunction(xml , key) {
|
||||
var x, i, xmlDoc , key;
|
||||
xmlDoc = xml.responseXML;
|
||||
x = xmlDoc.getElementsByTagName("country");
|
||||
var counter = 0;
|
||||
for (i = 0; i < x.length; i++) {
|
||||
var value = x[i].childNodes[0].nodeValue.trim();
|
||||
var pattern = value.substring(0 , key.length);
|
||||
if(key.toUpperCase() == pattern.toUpperCase() && counter < 10){
|
||||
countryResult.push(value);
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
$("#search-keyword").autocomplete({
|
||||
source: countryResult
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
$( function() {
|
||||
$( "#search-keyword" ).autocomplete({
|
||||
source:countryResult
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,278 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-20 12:55:44
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/index91.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c476301c93a5_62595111',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0a55f921b0b28658895730893631014b4f2e1774' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/index91.tpl',
|
||||
1 => 1724151341,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:tpl/fuss.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_66c476301c93a5_62595111 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!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>
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="template/images/fav/ms-icon-144x144.png">
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/jquery.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/jquery-ui.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/bootstrap-notify.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/bootstrap.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="//cdnjs.cloudflare.com/ajax/libs/bootcards/1.0.0/js/bootcards.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" media="screen" href="lib/css/jquery-ui.css" />
|
||||
<link rel="stylesheet" media="screen" href="lib/css/bootstrap.css" />
|
||||
<link rel="stylesheet" media="screen" href="template/css/fontawesome5/css/all.css"/>
|
||||
<link rel="stylesheet" media="screen" href="lib/css/font-awesome.css"/>
|
||||
<link rel="stylesheet" media="screen" href="lib/css/weather-icons.css"/>
|
||||
<link rel="stylesheet" media="screen" href="lib/css/style.css" />
|
||||
|
||||
<link rel="stylesheet" href="../template/css/plan.css">
|
||||
</head>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="template/js/index.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<body style="background-color:#333333;color:#aaaaaa">
|
||||
<div class="container">
|
||||
<!-- ************************************************************************************** -->
|
||||
|
||||
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="index.php"><img src="template/images/jb.png" alt="JB-Transport.de"></a>
|
||||
</div>
|
||||
<!-- ************************************************* -->
|
||||
<div class="collapse navbar-collapse" id="myNavbar">
|
||||
<ul class="nav navbar-nav" style="font-size: 32px">
|
||||
<!-- * Daten * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 3) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-database"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Daten</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=iinfo" style="background-color: #333333;color: #fff">Datenerfassung</a></li>
|
||||
<li><a href="?s=itour">Touren anlegen</a></li>
|
||||
<li><a href="?s=inormplan">Normplan</a></li>
|
||||
<li><a href="?s=iwerbung1">Marktbeläge</a></li>
|
||||
<li><a href="?s=iss">SaSo2020</a></li>
|
||||
<li><a href="?s=iztouren">Zusatz-Tour</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * Planung * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 1) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-edit"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Planung</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=pinfo" style="background-color: #333333;color: #fff">Planung</a></li>
|
||||
<li><a href="?s=pwtag">Monat</a></li>
|
||||
<li><a href="?s=paktuell">ges.Tag</a></li>
|
||||
<li><a href="?s=pnacht"><i class="fa fa-moon-o"></i> Nacht</a></li>
|
||||
<li><a href="?s=p_night"><i class="fa fa-moon-o"></i> Test 2024</a></li>
|
||||
<li><a href="?s=ptag"><i class="fa fa-sun-o"></i> Tag</a></li>
|
||||
<li><a href="?s=ppin"><i class="fa fa-envelope-o"></i> LVZ-Post (AG)</a></li>
|
||||
<li><a href="?s=ppal">Paleten (AG)</a></li>
|
||||
<li><a href="?s=prtour"><i class="fa fa-envelope-o"></i> LVZ (Rtour)</a></li>
|
||||
<li><a href="?s=pwerbung1">M.-Belege</a></li>
|
||||
<li><a href="?s=pss"> <i class="fa fa-newspaper-o"></i> SaSo</a></li>
|
||||
<li><a href="?s=stouren"><i class="fa fa-stack-exchange"></i> Sonder</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * Overnight * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 21) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fal fa-person-dolly"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Overnight</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=p_ilonexs" style="background-color: #333333;color: #fff">Planung</a></li>
|
||||
<li><a href="?s=on_data">aktuelle Daten</a></li>
|
||||
<li><a href="?s=on_suche">Paketsuche</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * Mitarbeiter * -->
|
||||
<li><a href="?s=v_mitarbeiter"> <i class="fad fa-user-hard-hat"></i><span style="font-size:9pt"></br>Personal</span></a></li>
|
||||
<!-- * Mitarbeiter *
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 7) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-user-hard-hat"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Personal</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=mainfo" style="background-color: #333333;color: #fff">Mitarbeiter</a></li>
|
||||
<li><a href="?s=mainfo"> Info</a></li>
|
||||
<li><a href="?s=ma_aktiv">aktive Mitarbeiter</a></li>
|
||||
<li><a href="?s=ma_inaktiv">inaktive Mitarbeiter</a></li>
|
||||
<li><a href="?s=ma_sonstige">sonstige Mitarbeiter</a></li>
|
||||
<li><a href="?s=urlaub">Urlaub</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
-->
|
||||
<!-- * Fahrzeuge * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 8) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-cars"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Fuhrpark</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=c_info" style="background-color: #333333;color: #fff">Fahrzeuge</a></li>
|
||||
<li><a href="?s=c_info"><i class="fad fa-info"></i> Info</a></li>
|
||||
<li><a href="?s=c_leasing"><i class="fad fa-info"></i> Leasing</a></li>
|
||||
<li><a href="?s=c_aktiv"><i class="fad fa-cars"></i> aktive Fahrzeuge</a></li>
|
||||
<li><a href="?s=c_inaktiv"><i class="fad fa-car-garage"></i> inaktive Fahrzeuge</a></li>
|
||||
<li><a href="?s=c_sonstige"><i class="fad fa-car-bus"></i> sonstige Fahrzeuge</a></li>
|
||||
<li><a href="?s=ue_werk"><i class="fad fa-tools"></i> Werkstatt</a></li> <!-- * Werkstatt * $m1==5 -->
|
||||
<li><a href="?s=w_fahrzeuge"><i class="fad fa-truck"></i> Flotten-Fahrzeuge</a></li>
|
||||
<li><a href="?s=w_tanken"><i class="fad fa-gas-pump"></i> Tankabrechnung</a></li>
|
||||
<!-- <li><a href="?s=f_kontrolle"><i class="fas fa-car-building"></i> Kontrolle</a></li> -->
|
||||
<!-- <li><a href="?s=w_wartung"><i class="fas fa-car-mechanic"></i> Wartung</a></li> -->
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<!-- * Verwaltung * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 4) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-tasks-alt"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Büro</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=vinfo" style="background-color: #333333;color: #fff">Verwaltung</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 0) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_mitarbeiter"> Mitarbeiter</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 1) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_fahrzeuge">Fahrzeuge</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 2) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_tourentyp">Toren-Typ</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 3) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_touren">Touren</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 4) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_karten">Karten</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender"> Kalender</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_kalender"> Kalender 2024</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_urlaub"> Urlaub</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 6) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender2">Mitarbeiter-Kalender</a></li>
|
||||
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 7) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender3">Fahrzeug-Kalender</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * Auswertung * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 6) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-analytics"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>Analyse</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=ainfo" style="background-color: #333333;color: #fff">Auswertung</a></li>
|
||||
<li><a href="?s=a_ma"> Mitarbeiter</a></li>
|
||||
<li><a href="?s=a_lohn">Lohn2012(alt)</a></li>
|
||||
<li><a href="?s=a_lohn2020">Lohn2020(alt)</a></li>
|
||||
<li><a href="?s=a_lohn2023">Lohn2023</a></li>
|
||||
<li><a href="?s=a_fahrz">Fahrzeuge</a></li>
|
||||
<li><a href="?s=a_auto">Auto/Tag</a></li>
|
||||
<li><a href="?s=a_zeitk">Zeitkonto</a></li>
|
||||
<li><a href="?s=a_abr">Abrechnung</a></li>
|
||||
<li><a href="?s=a_makal">MA Ausfall</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * SMS * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 9) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-sms"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>SMS</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=smsserver" style="background-color: #333333;color: #fff">SMS-System</a></li>
|
||||
<li><a href="?s=smsserver">SMS-System</a></li>
|
||||
<li><a href="?s=ue_media"> Info-SMS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- * PDF-Listen * -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 2) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-file-pdf"></i><span class="caret"></span>
|
||||
<span style="font-size:9pt"></br>PDF</span></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="?s=linfo" style="background-color: #333333;color: #fff">PDF-Listen</a></li>
|
||||
<li><a href="?s=list_tag"> Tagliste</a></li>
|
||||
<li><a href="?s=list_tour">Tourenlisten</a></li>
|
||||
<li><a href="?s=list_akw">Änderung aktuelle KW</a></li>
|
||||
<li><a href="?s=list_nkw">Änderung nächste KW</a></li>
|
||||
<li><a href="?s=list_rsmp">RS/MP</a></li>
|
||||
<li><a href="?s=list_werbung">Werbung</a></li>
|
||||
<li><a href="?s=list_saso">SaSO</a></li>
|
||||
<li><a href="?s=list_komplett">Werbeliste KW</a></li>
|
||||
<li><a href="?s=list_monat">Monatsliste</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="?s=kalender"> <i class="fad fa-calendar-week"></i><span style="font-size:9pt"></br>Kalender</span></a></li>
|
||||
<li><a href="?s=iinfo"> <i class="fad fa-upload"></i><span style="font-size:9pt"></br>Upload</span></a></li>
|
||||
|
||||
<li><a href="?s=tuer"> <i class="fad fa-door-open"></i><span style="font-size:9pt"></br>Tür</span></a></li>
|
||||
<!-- <li> <i class="fad fa-door-open" onclick="link(1)"></i><span style="font-size:9pt"></br>Tür</span></a></li> -->
|
||||
<!-- <li><a href="?s=infop"> <i class="fad fa-comments-alt"></i><span style="font-size:9pt"></br>Chat</span></a></li> -->
|
||||
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li><a href="#"><span class="glyphicon glyphicon-user"></br></span> <?php echo $_smarty_tpl->tpl_vars['kuerzel']->value;?>
|
||||
</a></li>
|
||||
<!--
|
||||
<li>
|
||||
<a href="?s=gateway">
|
||||
<?php if ($_SESSION['gateway'] == 2) {?> <span class="glyphicon glyphicon-phone"></span> F.T.</a>
|
||||
<?php } elseif ($_SESSION['gateway'] == 18) {?> <span class="glyphicon glyphicon-phone"></span> J.B.</a>
|
||||
<?php } elseif ($_SESSION['gateway'] == 280) {?> <span class="glyphicon glyphicon-phone"></span> 1u1</a>
|
||||
<?php } else { ?> <span class="glyphicon glyphicon-phone" style="color: red"></span> NA</a>
|
||||
<?php }?>
|
||||
</li>
|
||||
-->
|
||||
<li><a href="https://jb-data.de/index.php?logout"><i class="fad fa-sign-out fa-x2"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- **************************************************************************************
|
||||
<p style="background-color: #FF0000;color: #fff">data: <?php echo $_smarty_tpl->tpl_vars['content']->value;?>
|
||||
***** </p>
|
||||
-->
|
||||
|
||||
<section id="content">
|
||||
<div class="container">
|
||||
<div class="row" style="background-color:#333333">
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<?php $_smarty_tpl->_subTemplateRender($_smarty_tpl->tpl_vars['content']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="push"></div>
|
||||
</section>
|
||||
<?php $_smarty_tpl->_subTemplateRender('file:tpl/fuss.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
|
||||
<!-- ************************ -->
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function myStop() {
|
||||
clearInterval(myInterval);
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,372 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-08 12:41:47
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_karten.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6613c9eb3468b1_37808106',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0fd1659b180248447c940bf66ded022dbbaaad3f' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_karten.tpl',
|
||||
1 => 1707991287,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6613c9eb3468b1_37808106 (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',),));
|
||||
?>
|
||||
<div class="container-fluid" style="background-color:#333333">
|
||||
<div class="row sortable">
|
||||
<div class="col-md-2">
|
||||
<div class="panel panel-warning">
|
||||
<header class="panel-heading"><h2 class="panel-title">Anzeige Karten</span></h2></header>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr><td><a href="?s=v_karten&wahl=1" title="Kicke zum auswälen"><font color="#0949CC">alle Karten</td></tr>
|
||||
<tr><td><a href="?s=v_karten&wahl=2" title="Kicke zum auswälen"><font color="#0949CC">freie Karten</td></tr>
|
||||
<tr><td><a href="?s=v_karten&wahl=6" title="Kicke zum auswälen"><font color="#0949CC">Sperre nach Zeit</td></tr>
|
||||
<tr><td><a href="?s=v_karten&wahl=3" title="Kicke zum auswälen"><font color="#0949CC">gesperrte Karten</td></tr>
|
||||
<tr><td><a href="?s=v_karten&wahl=4" title="Kicke zum auswälen"><font color="#0949CC">verlorene Karten</td></tr>
|
||||
<tr><td><a href="?s=v_karten&wahl=9" title="Kicke zum auswälen"><font color="#0949CC">Karten hinzufügen</td></tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<!-- linkes Menue 2 nach Mitarbeiter -->
|
||||
<div class="panel panel-warning">
|
||||
<header class="panel-heading"><h2 class="panel-title">Karten/Mitarbeiter</span></h2></header>
|
||||
<table class="table-condensed" style="font-size:11pt">
|
||||
<thead>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiter']->value, 'ma');
|
||||
$_smarty_tpl->tpl_vars['ma']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ma']->value) {
|
||||
$_smarty_tpl->tpl_vars['ma']->do_else = false;
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] == 0) {?><td><a href="?s=v_karten&wahl=5&id=<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
|
||||
" title="Kicke zum auswälen"><font color="#A8A5A5"><?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
|
||||
</td><?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] > 0) {?><td><a href="?s=v_karten&wahl=5&id=<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
|
||||
" title="Kicke zum auswälen"><font color="#0949CC"><?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
|
||||
</td><?php }?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!---------------------------------------------------------------------->
|
||||
<!-- mitte seite -->
|
||||
<!---------------------------------------------------------------------->
|
||||
<div class="col-md-10">
|
||||
<?php if ($_smarty_tpl->tpl_vars['wahl']->value == 9) {?>
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">Neue Karten im System anlernen</div>
|
||||
<table class="table-condensed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="line-height:120%;font-size:12pt"> <strong>lesen Sie jetzt Bitte die neue Karte ein</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap style="line-height:120%;font-size:14pt"> <strong>Neue Karten-ID: <?php echo $_smarty_tpl->tpl_vars['nextid']->value;?>
|
||||
</strong></td>
|
||||
|
||||
<td nowrap style="line-height:120%;font-size:14pt"> <strong>lesen Sie jetzt die neue Karte ein</strong></td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['wahl']->value == 0) {?>
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-heading">keine Auswahl getroffen........</div>
|
||||
<table class="table-condensed">
|
||||
<tbody>
|
||||
<td nowrap style="line-height:120%;font-size:14pt"> <strong>Bitte auswählen !!!</strong></td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Auswahl</div>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style=font-size:10pt;>Karten ID</th>
|
||||
<th style=font-size:10pt;>Seriennr.</th>
|
||||
<th style=font-size:10pt;>Zuordnung</th>
|
||||
<th style=font-size:10pt;>Sperre</th>
|
||||
<th style=font-size:10pt;>lost</th>
|
||||
<th style=font-size:10pt;>Status</th>
|
||||
<th style=font-size:10pt;>lastLog</th>
|
||||
<th style=font-size:10pt;>Bemerkung</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['karte']->value, 'kdata');
|
||||
$_smarty_tpl->tpl_vars['kdata']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kdata']->value) {
|
||||
$_smarty_tpl->tpl_vars['kdata']->do_else = false;
|
||||
?>
|
||||
<form action="" method="post">
|
||||
<tr>
|
||||
<td nowrap style="width:50px;font-size:11pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
</td>
|
||||
<td nowrap style="width:100px;font-size:10pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['karte'];?>
|
||||
</td>
|
||||
|
||||
<td nowrap style="width:180px;font-size:11pt">
|
||||
<select name="list[<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" style="width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
)" >
|
||||
<?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['kdata']->value['user']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
<td nowrap style="width:10px;font-size:11pt">
|
||||
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" id="info1_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" onChange="save_c1(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['gesperrt'];?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
)"
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['gesperrt'] == 1) {?> checked="checked" <?php }?>>
|
||||
</td>
|
||||
|
||||
<td nowrap style="width:10px;font-size:11pt">
|
||||
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" id="info2_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" onChange="save_c2(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['verloren'];?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
)"
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 1) {?> checked="checked" <?php }?>>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 0) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>unklar</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 1) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#0000FF'>freigeschaltet</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 2) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#0099FF'>aktiv Zeit</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 3) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF6600'>Kalender</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 4) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF6600'>keine Tour</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 9 && $_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 1) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>Kartenverlust</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 9 && $_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 0) {?>
|
||||
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>gesperrt</td>
|
||||
<?php }?>
|
||||
<td nowrap align="right" style="width:130px;font-size:8pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['lastlog'];?>
|
||||
Uhr</td>
|
||||
|
||||
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['info'];?>
|
||||
" id="info_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" style="width:170px;font-size:11pt" name="info<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
" onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
)"></td>
|
||||
|
||||
<!-- <td nowrap style="width:200px;font-size:11pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['info'];?>
|
||||
</td>
|
||||
<td nowrap <input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
|
||||
"/>
|
||||
<input type="image" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" src="template/images/icon/save.png"></td>-->
|
||||
</tr> <?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- rechte seite -->
|
||||
<!-- ------------------------------------
|
||||
<?php echo '<script'; ?>
|
||||
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
-->
|
||||
|
||||
</div></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function save_c1(karteID,karteID) {
|
||||
var remember = document.getElementById('info1_'+karteID);
|
||||
if (remember.checked) {
|
||||
var istC = 1;
|
||||
}else{
|
||||
var istC = 0;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=v_karte&a=save_c1",
|
||||
dataType: 'json',
|
||||
data: 'karteID=' + karteID + "&istC="+istC,
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_c2(karteID,karteID) {
|
||||
var remember = document.getElementById('info2_'+karteID);
|
||||
if (remember.checked) {
|
||||
var istC = 1;
|
||||
}else{
|
||||
var istC = 0;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=v_karte&a=save_c2",
|
||||
dataType: 'json',
|
||||
data: 'karteID=' + karteID + "&istC="+istC,
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_info(karteID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=v_karte&a=info_save",
|
||||
dataType: 'json',
|
||||
data: 'karteID=' + karteID + "&info=" + $("#info_"+karteID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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(karteID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=v_karte&a=user_save",
|
||||
dataType: 'json',
|
||||
data: 'karteID=' + karteID + "&user=" + $("#user_"+karteID).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 }
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-27 15:09:51
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/a_abr.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660428afdf7980_86110758',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'15c2a7ee06ee2c37b44d71c4bf7804dc825d14b2' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/a_abr.tpl',
|
||||
1 => 1694432189,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660428afdf7980_86110758 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['tdata']->value != 0) {?>
|
||||
<td nowrap style="width:80px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tname']->value;?>
|
||||
</td>
|
||||
<td nowrap style="width:160px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['tinfo']->value;?>
|
||||
</td>
|
||||
<td nowrap style="width:35px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tdata']->value;?>
|
||||
x</td>
|
||||
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
|
||||
|
||||
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_abr_nw&id=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
|
||||
&tid=<?php echo $_smarty_tpl->tpl_vars['tid']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
" >
|
||||
<i class="far fa-file-pdf" style="color: red"></i>
|
||||
</td>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-06-25 15:03:57
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_car.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_667ac03d7f2a16_73789598',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'17d10bd9669c8f2c8a1759530e603e4ab3ecf901' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_car.tpl',
|
||||
1 => 1719320599,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_667ac03d7f2a16_73789598 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 10pt;line-height:80%">
|
||||
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
|
||||
<span style="font-size: 9pt"> verfügbare Fahrzeuge</span>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-9px;line-height:12px">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
|
||||
$_smarty_tpl->tpl_vars['fc']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
|
||||
$_smarty_tpl->tpl_vars['fc']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td style="width:30px;font-size:12pt">
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 1) {?> <i class="far fa-car-side" style="color: sandybrown"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 2) {?> <i class="far fa-shuttle-van" style="color: orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 3) {?> <i class="far fa-truck" style="color: deepskyblue"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 4) {?> <i class="far fa-truck" style="color: cadetblue"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 5) {?> <i class="far fa-truck-moving" style="color: darkgreen"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 98) {?><i class="far fa-truck-plow" style="color: red"></i> <?php }?>
|
||||
</td>
|
||||
<td style="width:200px;font-size:10pt;">
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
|
||||
</strong></br>
|
||||
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,134 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2025-07-03 15:16:58
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_auto.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_686682cac3a302_34821248',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'18bb2e90e3e331e18c669c3806ece9813d29d12f' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_auto.tpl',
|
||||
1 => 1710853037,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_686682cac3a302_34821248 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
||||
?>
|
||||
<form action="" method="post">
|
||||
</select>
|
||||
<input type="date" name="dasdatum" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['time']->value,"%d.%m.%Y");?>
|
||||
" />
|
||||
|
||||
<select name="ma1" style="width:180px;" >
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ma1']->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']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
<input type="submit" name="datesubmit" value="OK" >
|
||||
|
||||
</form>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['datum']->value, 'date');
|
||||
$_smarty_tpl->tpl_vars['date']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['date']->value) {
|
||||
$_smarty_tpl->tpl_vars['date']->do_else = false;
|
||||
?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto']->value, 'car');
|
||||
$_smarty_tpl->tpl_vars['car']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
|
||||
$_smarty_tpl->tpl_vars['car']->do_else = false;
|
||||
?>
|
||||
<br /><b><i><span style='font-size:20.0pt;line-height:115%;color:#4F81BD'>Uebersicht Fahrzeug: <?php echo $_smarty_tpl->tpl_vars['car']->value;?>
|
||||
am <?php echo $_smarty_tpl->tpl_vars['date']->value;?>
|
||||
</span></i></b></p>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<table class="table table-striped">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['wwa']->value, 'wx');
|
||||
$_smarty_tpl->tpl_vars['wx']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['wx']->value) {
|
||||
$_smarty_tpl->tpl_vars['wx']->do_else = false;
|
||||
?>
|
||||
<tr style='font-size:11pt;color:#115270'>
|
||||
<td align="left" style='width:30px '><?php echo $_smarty_tpl->tpl_vars['wx']->value['tag'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['monat'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['jahr'];?>
|
||||
</td>
|
||||
<td align="left" style='width:120px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['fahrer'];?>
|
||||
</td>
|
||||
<td align="left" style='width:100px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['tour'];?>
|
||||
</td>
|
||||
<td align="left" style='width:170px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['infotext'];?>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
|
||||
</table>
|
||||
<!--
|
||||
|
||||
<table class="datatable full" >
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Datum</td>
|
||||
<td>Fahrer</td>
|
||||
<td>Tour</td>
|
||||
<td>Info</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['wwa']->value, 'wx');
|
||||
$_smarty_tpl->tpl_vars['wx']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['wx']->value) {
|
||||
$_smarty_tpl->tpl_vars['wx']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['tag'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['monat'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['jahr'];?>
|
||||
</td>
|
||||
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['fahrer'];?>
|
||||
</td>
|
||||
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['tour'];?>
|
||||
</td>
|
||||
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['infotext'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
--><?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,105 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-19 18:04:51
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c36d238fb2d6_33358747',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'19a665de956e7ddfca2bcea7cfdbf7ce182fb5e2' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl',
|
||||
1 => 1694432195,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66c36d238fb2d6_33358747 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
|
||||
?>
|
||||
<div class="col-md-4">
|
||||
<div class="xinfo">
|
||||
<i class="fas fa-car fa-2x fa-pull-left"> </i>
|
||||
<span> <?php echo $_smarty_tpl->tpl_vars['pkw']->value;?>
|
||||
PKW Leasing</br></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="xinfo">
|
||||
<i class="fas fa-truck-pickup fa-2x fa-pull-left"> </i>
|
||||
<span> <?php echo $_smarty_tpl->tpl_vars['cad']->value;?>
|
||||
Caddy Leasing</br></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="xinfo">
|
||||
<i class="fas fa-truck fa-2x fa-pull-left"> </i>
|
||||
<span> <?php echo $_smarty_tpl->tpl_vars['trp']->value;?>
|
||||
Transporter Leasing</br></span>
|
||||
</div>
|
||||
|
||||
|
||||
<table class="no-style full" style="color: #dddddd">
|
||||
<tr style="font-size:8pt">
|
||||
<td width=" 90px" align="left">Kennz.</td>
|
||||
<td width="100px" align="right">b.heute</td>
|
||||
<td width="100px" align="right">schätzung</td>
|
||||
<td width="100px" align="right">Datum:</td>
|
||||
<td width="100px" align="right">Prüfung</td>
|
||||
</tr>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kmdata']->value, 'km');
|
||||
$_smarty_tpl->tpl_vars['km']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['km']->value) {
|
||||
$_smarty_tpl->tpl_vars['km']->do_else = false;
|
||||
?>
|
||||
<tr style="font-size:11pt">
|
||||
<td nowrap align="left" ><?php echo $_smarty_tpl->tpl_vars['km']->value['kz'];?>
|
||||
</td>
|
||||
<td nowrap align="right"><?php echo $_smarty_tpl->tpl_vars['km']->value['pkm'];?>
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['km']->value['anz'] == 1) {?>
|
||||
<td align="right"><span style='color:red'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap align="right"><span style='color:yellowgreen'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td align="right"><span style='color:gray'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['km']->value['istkmdate'],"%d.%m.%Y");?>
|
||||
</td>
|
||||
<td align="right"><span style='color:#FF6E00'><?php echo $_smarty_tpl->tpl_vars['km']->value['istkm'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
.xinfo {
|
||||
background: #115270;
|
||||
color:#bbbbbb;
|
||||
height: 50px;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-radius:10px;
|
||||
margin-bottom: 8px;
|
||||
margin-top: -10px;
|
||||
font-size: 14pt;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-05 14:20:26
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pinfo.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660fec8a2082f0_24104181',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1b2b264160d7e5c3562331d2e49e4320a6ce3235' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pinfo.tpl',
|
||||
1 => 1694432202,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660fec8a2082f0_24104181 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=planung1&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#planung1").html(data);
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=planung2&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#planung2").html(data);
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=planung3&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#planung3").html(data);
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=planung4&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#planung4").html(data);
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=pkal_1&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#pkal_1").html(data);
|
||||
},
|
||||
});
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=pkal_2&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#pkal_2").html(data);
|
||||
},
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div id="planung1" style="text-align:center;"></div>
|
||||
<div id="planung2" style="text-align:center;"></div>
|
||||
<div id="pkal_1" style="text-align:center;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div id="planung3" style="text-align:center;"></div>
|
||||
<div id="planung4" style="text-align:center;"></div>
|
||||
<div id="pkal_2" style="text-align:center;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-10-31 21:59:07
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_data.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6723ef9bf11528_89820031',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'1ff14857faed0159d962c33bdf1d2dc1fd5de065' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_data.tpl',
|
||||
1 => 1730408270,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6723ef9bf11528_89820031 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] != 1) {?>
|
||||
<td nowrap style="width:60px;line-height:2;font-size:11pt;"><mark><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
</mark></td>
|
||||
<!-- Stellzeiten -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="time" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
|
||||
" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="zeit_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
][zeit]" onChange="save_time(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)">
|
||||
</td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right">
|
||||
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
|
||||
" style="width:28px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="pakete_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
][pakete2]" onChange="save_pakete(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)"> / <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
|
||||
|
||||
</td>
|
||||
|
||||
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
|
||||
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
|
||||
|
||||
<?php } else { ?>
|
||||
<!-- Tourname -->
|
||||
<td nowrap style="width:70px;line-height:2;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
</td>
|
||||
|
||||
<!-- Stellzeiten -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="time" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
|
||||
" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="zeit_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
][zeit]" onChange="save_time(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)">
|
||||
</td>
|
||||
|
||||
|
||||
<!-- Exemplare SaSo -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
|
||||
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="exemplare_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
][exemplare]" onChange="save_exemplare(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)"> x
|
||||
</td>
|
||||
|
||||
|
||||
<!-- Vorabgewicht aus Stellzeitenlise -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht3'];?>
|
||||
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="gewicht3_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
][gewicht3]"onChange="save_gewicht3(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)"> kg
|
||||
</td>
|
||||
|
||||
<!-- Pakete SaSo -->
|
||||
<td nowrap style="width:65px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
|
||||
|
||||
|
||||
<!-- Exemplare Amtsblatt -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['amtsblatt'];?>
|
||||
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="abst_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
][abst]" onChange="save_abst(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)"> x
|
||||
</td>
|
||||
<!-- Summe Zusatz Autorechnung -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" disabled value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewichtx'];?>
|
||||
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"> kg
|
||||
</td>
|
||||
|
||||
<!-- Vorabgewicht aus Frachtbrief -->
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right">
|
||||
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht'];?>
|
||||
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
|
||||
id="gewicht_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
][gewicht]" onChange="save_gewicht(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)"> kg
|
||||
</td>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<!-- geschätztes Gewicht pro Paket -->
|
||||
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht5'];?>
|
||||
kg/Pa.<br><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht2'];?>
|
||||
kg/Pa.
|
||||
</td>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 1) {?>
|
||||
<!-- bereitzeit/Abhlozeit -->
|
||||
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<span style="color: orange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['bereitzeit'];?>
|
||||
Uhr</span>
|
||||
<br>
|
||||
<span style="color: green"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fertigzeit'];?>
|
||||
Uhr</span>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:80px;font-size:12pt" align="right"> </td>
|
||||
|
||||
<?php }?>
|
||||
<td nowrap style="width:30px;font-size:10pt
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2200) {?>;color:#990000<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2000) {?>;color:#FF8000<?php } else { ?>;color:#008000<?php }?>" align="right">
|
||||
<i class="fa fa-car" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
|
||||
" id="button2"></i>
|
||||
</td>
|
||||
<!-- geschätztes Gewicht für Fahrzeug -->
|
||||
<td nowrap style="width:60px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht4'];?>
|
||||
kg</td>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -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 }
|
||||
}
|
||||
|
|
@ -0,0 +1,214 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-01 11:10:42
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tload.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660a7a12c7d062_74508469',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'36cf2ca68eddc973b4e0f1109a6a7b112b0be017' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tload.tpl',
|
||||
1 => 1694432193,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660a7a12c7d062_74508469 (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',),));
|
||||
?>
|
||||
<tr id="loadzeile<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
|
||||
<form action="" method="post" >
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
|
||||
<td nowrap style="width:110px;color:bisque;border-bottom: 1px solid #000"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:110px;border-bottom: 1px solid #000"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<!-- --------------------------- fahrer hinweis -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td style="width:20px"> </td> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
><i class="far fa-info" style="color:orange"></i></td> <?php }?>
|
||||
|
||||
<!-- ------------------------------------------ -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
|
||||
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
|
||||
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?>
|
||||
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?>
|
||||
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?>
|
||||
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
|
||||
|
||||
<?php } else { ?> <td style="width:20px"> </td>
|
||||
<?php }?>
|
||||
|
||||
<td nowrap style="width:195px;">
|
||||
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)";>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 3) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array3'], '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'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 4) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array4'], '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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 5) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array5'], '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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 17) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array17'], '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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:110px;">
|
||||
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" data-width="100px"
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] != 0) {?> style="width:90px;border:none;border-bottom: 1px solid "
|
||||
<?php } else { ?> style="color: red"
|
||||
<?php }?>
|
||||
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)" data-hight="10px">
|
||||
<?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'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'options2'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Zusatzinfo neu -->
|
||||
|
||||
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
|
||||
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
|
||||
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]"
|
||||
onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)">
|
||||
</td>
|
||||
|
||||
<!-- SMS Status !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
">
|
||||
<i class="fal fa-comment-alt fa-1x" style="color:#999" ></i>
|
||||
</td>
|
||||
<!-- Infobereich !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px">
|
||||
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
)"></i>
|
||||
</td>
|
||||
<!-- SMS senden Änderung ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
'";>
|
||||
<i class="fal fa-sms" style="color:#999" >
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 0) {?>
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&dazu=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
|
||||
'";>
|
||||
<i class="fal fa-plus" style="color:#999" >
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 1) {?>
|
||||
<!-- 2. Tour löschen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
|
||||
'";>
|
||||
<i class="fas fa-times" style="color:#444" >
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 2) {?>
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;">
|
||||
<i class="fal fa-minus" style="color:#444" >
|
||||
</td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2025-02-23 09:42:10
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_tourentyp.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_67badf624925a8_80871829',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4514c32b6d21ceed1e33f18238f1d8ef851c73a8' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_tourentyp.tpl',
|
||||
1 => 1705185135,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_67badf624925a8_80871829 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!-- ***** Tourenlisten linke Seite ***** -->
|
||||
<section id="content0">
|
||||
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
|
||||
<section class="grid_8 first top">
|
||||
<!-- <div class="columns">-->
|
||||
<div class="column grid_3 first">
|
||||
<div class="widget collapsible">
|
||||
<header class="current"><h2>Touren-Bereiche</h2></header>
|
||||
<section>
|
||||
<table class="no-style full">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourentyp']->value, 't_type');
|
||||
$_smarty_tpl->tpl_vars['t_type']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['t_type']->value) {
|
||||
$_smarty_tpl->tpl_vars['t_type']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td style="width:110px"><a href="?s=v_tourentyp&tid=<?php echo $_smarty_tpl->tpl_vars['t_type']->value['tid'];?>
|
||||
" title="Kicke zum auswälen" ><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tname'];?>
|
||||
</strong></a></td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['t_type']->value['taktiv'] == 0) {?> <td style="color:#CCC"><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tinfotitel'];?>
|
||||
</strong></td> <?php } else { ?> <td><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tinfotitel'];?>
|
||||
</strong></td> <?php }?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- rechte seite -->
|
||||
<div class="column grid_5 last">
|
||||
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
|
||||
<div class="widget collapsible">
|
||||
<header class="current"><h2>Info </h2></header>
|
||||
<section>
|
||||
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>
|
||||
Bitte den Touren-Typ auwählen die Sie bearbeiten möchten.
|
||||
</span>
|
||||
</section>
|
||||
</div>
|
||||
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
|
||||
<?php } else { ?>
|
||||
<!-- ///////////////// menu seite -->
|
||||
<div class="widget collapsible">
|
||||
<header class="current"><h2>Datenbank-ID: <?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
</h2></header>
|
||||
<section>
|
||||
<form action="" method="post">
|
||||
<table class="no-style sortable full">
|
||||
<tr><td nowrap="nowrap"><strong>Kurz-Bezeichnung:</strong></td><td><input type="text" name="tname" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
" style="width:220px"/></td></tr>
|
||||
<tr><td nowrap="nowrap"><strong>Bezeichnung/Ziel:</strong></td><td><input type="text" name="tinfotitel" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tinfotitel'];?>
|
||||
" style="width:220px"/></td></tr>
|
||||
<tr><td nowrap="nowrap"><strong>Tourbereich aktiv:</strong></td><td><input type="text" name="taktiv" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['taktiv'];?>
|
||||
" style="width:30px"/> 1-aktiv / 0-inaktiv</td></td></tr> <tr>
|
||||
<td nowrap="nowrap"><strong>Tagfolge:<td> <strong>Mo.</strong><input type="text" name="mo" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['mo'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>Di.</strong><input type="text" name="di" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['di'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>Mi.</strong><input type="text" name="mi" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['mi'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>Do.</strong><input type="text" name="do" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['do'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>Fr.</strong><input type="text" name="fr" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['fr'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>Sa.</strong><input type="text" name="sa" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['sa'];?>
|
||||
" style="width:25px"/>
|
||||
<strong>So.</strong><input type="text" name="so" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['so'];?>
|
||||
" style="width:25px"/>
|
||||
</td>
|
||||
</strong>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="submit" name="toursave" value="Speichern" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- rechte seite -->
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,168 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-05-23 08:21:45
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_fahrz.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_664ee079c9ea75_89544964',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'496759feafc6feeaa7555bb0d048c51aecdbd825' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_fahrz.tpl',
|
||||
1 => 1710850893,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_664ee079c9ea75_89544964 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-3">
|
||||
<div class="panel">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeugübersicht
|
||||
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=a_ma_pdf&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
|
||||
" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
|
||||
</i>
|
||||
</spawn>
|
||||
</div>
|
||||
<div class="panel-body" style="background-color:#ffffff">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist']->value, 'malist');
|
||||
$_smarty_tpl->tpl_vars['malist']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['malist']->value) {
|
||||
$_smarty_tpl->tpl_vars['malist']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:#115270"
|
||||
onclick="window.location='?s=a_fahrz&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
'">
|
||||
<span style='font-size:12pt;color:#115270'><?php echo $_smarty_tpl->tpl_vars['malist']->value['kz'];?>
|
||||
</span>
|
||||
</td>
|
||||
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:gray"
|
||||
onclick="window.location='?s=a_fahrz&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
'">
|
||||
<span style='font-size:8pt; color:#115270'><?php echo $_smarty_tpl->tpl_vars['malist']->value['name'];?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<?php if ($_smarty_tpl->tpl_vars['ma_id']->value == 0) {?>
|
||||
<!-- else - kein MA ausgewählt -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeuge</span></div>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><span style='font-size:30pt;line-height:100%; color:orange'>Fahrzeug auswählen</span></a></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<spawn style="width:5px;height:2px;font-size:12pt;"><?php echo $_smarty_tpl->tpl_vars['ma_kz']->value;?>
|
||||
* <?php echo $_smarty_tpl->tpl_vars['ma_name']->value;?>
|
||||
* (ID:<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
|
||||
) * Zeitraum <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</span></div>
|
||||
<div class="panel-body">
|
||||
<table class="table table-striped">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['senddata']->value, 'tdata');
|
||||
$_smarty_tpl->tpl_vars['tdata']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tdata']->value) {
|
||||
$_smarty_tpl->tpl_vars['tdata']->do_else = false;
|
||||
?>
|
||||
<tr style='font-size:11pt;color:#115270'>
|
||||
<td align="left" style='width:30px '><?php echo $_smarty_tpl->tpl_vars['tdata']->value['datum'];?>
|
||||
</td>
|
||||
<td align="left" style='width:120px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['typ'];?>
|
||||
</td>
|
||||
<td align="left" style='width:100px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['tname'];?>
|
||||
</td>
|
||||
<td align="left" style='width:170px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['fahrer'];?>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<aside class="col-md-3">
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<td style="font-size:18px; color: white; text-align: center">
|
||||
|
||||
<i class="fad fa-arrow-left" onclick="javascript:location.href='?s=a_fahrz&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
|
||||
'"></i>
|
||||
<span> <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</span>
|
||||
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_fahrz&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
|
||||
'"></i>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2025-01-17 14:26:54
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/phistory.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_678a5a9e830d67_32584595',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4b3cfc39737b55591e36ce635a005e46b9bb5081' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/phistory.tpl',
|
||||
1 => 1694432202,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_678a5a9e830d67_32584595 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- ---------------------uebersicht Heute ------------------------------------------ -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<table class="table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:200px";align="left"><strong>Fahrer</strong></th>
|
||||
<th nowrap style="width:100px";align="right"><strong>wie oft gefahren</strong></th>
|
||||
<th style="width:200px";align="right"><strong>zuletzt am</strong></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hinfo']->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>
|
||||
<td nowrap style="width:200px"><b> <?php echo $_smarty_tpl->tpl_vars['tour']->value['name'];?>
|
||||
</td>
|
||||
<td nowrap style="width:100px" align="right"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['zahl'];?>
|
||||
x</td>
|
||||
<td nowrap style="width:200px" align="right"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['last'];?>
|
||||
Uhr</td>
|
||||
|
||||
<!-- --------------------------- fahrer -->
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------------------------------------------------------- -->
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,753 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-10-18 11:54:47
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pss.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_671230679cd410_35945558',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4bf931a3d5de03975973cdf3837cb912c11cf51e' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pss.tpl',
|
||||
1 => 1729245201,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_671230679cd410_35945558 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
||||
echo '<script'; ?>
|
||||
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style>
|
||||
select {
|
||||
width: 250px;
|
||||
border:none;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #999999;
|
||||
background-color: #222222;
|
||||
}
|
||||
input[type=number] {
|
||||
width: 250px;
|
||||
border:none;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #DCDCDC;
|
||||
background-color: #222222;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function() {
|
||||
$("[rel=popover]").popover({'trigger':'hover'});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<style>
|
||||
[rel="popover"]{
|
||||
cursor: pointer;
|
||||
display:inline-block; /* chrome-fix */
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function caricon(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&a=load_car_icon",
|
||||
dataType: "json",
|
||||
//contentType: "application/json; charset=utf-8",
|
||||
data: 'tourID=' + tourID,
|
||||
success: function (data) {
|
||||
$("#caricon"+data.zeile).html(data.htmlresult);
|
||||
}
|
||||
});
|
||||
}
|
||||
function usericon(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&a=load_user_icon",
|
||||
dataType: "json",
|
||||
//contentType: "application/json; charset=utf-8",
|
||||
data: 'tourID=' + tourID,
|
||||
success: function (data) {
|
||||
$("#usericon"+data.zeile).html(data.htmlresult);
|
||||
}
|
||||
});
|
||||
}
|
||||
function load_free_cars(date) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&a=load_free_cars",
|
||||
dataType: "text",
|
||||
//contentType: "application/json; charset=utf-8",
|
||||
data: "date=" + date,
|
||||
success: function (data) {
|
||||
data = jQuery.parseJSON(data); // <-- *** ADD THIS LINE ***
|
||||
console.log("data")
|
||||
console.log(data)
|
||||
$("#trp").html("");
|
||||
$.each( data.trp, function( key, value ) {
|
||||
$("#trp").append(value+"<br>");
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_lohn(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&a=lohn_save",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&lohn=" + $("#lohn_"+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)
|
||||
caricon(data.zeile);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
function save_car(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&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)
|
||||
caricon(data.zeile);
|
||||
load_free_cars(tagheute);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
function save_user(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=ss&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)
|
||||
usericon(data.zeile);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
|
||||
load_free_cars(tagheute);
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- ********** --> <div class="container-fluid" style="background-color:#333333">
|
||||
<div class="row">
|
||||
<?php if ($_smarty_tpl->tpl_vars['ssa1']->value != 0) {?>
|
||||
<div class="col-md-8">
|
||||
<div class="panel panel-sbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="font-size:11pt">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ss1']->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;
|
||||
?>
|
||||
<!-- ************************************************************************************************************** -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['wechsel'] == 1) {?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-sbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="font-size:11pt">
|
||||
<tbody>
|
||||
<?php }?>
|
||||
<!-- **************************************************************************************************************
|
||||
<td nowrap style="width:65px;line-height:2;font-size:11pt;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
|
||||
" id="button1">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['afirma'] != 1) {?><mark><?php }
|
||||
echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
</mark>
|
||||
</td
|
||||
-->
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] != 0) {?>
|
||||
<td nowrap style="width:65px;line-height:2;font-size:11pt;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
|
||||
" id="button1"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:60px;line-height:2;font-size:11pt;color:#115270;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
|
||||
" id="button1">
|
||||
<?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
|
||||
</td>
|
||||
<?php }?>
|
||||
<td nowrap style="width:55px;font-size:8pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
|
||||
Uhr</td>
|
||||
<!--
|
||||
<td nowrap style="width:30px;font-size:8pt" align="right">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 11) {?>-1A-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 12) {?>-1B-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 21) {?>-2A-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 22) {?>-2B-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 31) {?>-3A-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 32) {?>-3B-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 41) {?>-4A-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 42) {?>-4B-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 51) {?>-5A-<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 52) {?>-5B-<?php }?>
|
||||
</td>
|
||||
-->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2200) {?>
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:red"><i class="fa fa-stack-exchange"></i></td> <?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 1800) {?>
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:orange"><i class="fa fa-stack-exchange"></i></td> <?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 0) {?>
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:green"><i class="fa fa-stack-exchange"></i></td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray"><i class="fa fa-stack-exchange"></i></td>
|
||||
<?php }?>
|
||||
|
||||
<td nowrap style="width:50px;font-size:8pt" align="right">(<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht'];?>
|
||||
kg)</td>
|
||||
<td nowrap style="width:60px;font-size:11pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht4'];?>
|
||||
kg</td>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['pakete'] != $_smarty_tpl->tpl_vars['tour']->value['pakete2']) {?>
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:70px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td nowrap style="width:23px;font-size:11pt;text-align:right;color:gray" id="usericon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class="fad fa-circle-notch"></i>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>usericon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</td>
|
||||
<td nowrap style="width:200px;font-size:11pt;" title="Stammfahrer: <?php echo $_smarty_tpl->tpl_vars['tour']->value['sfahrer'];?>
|
||||
" id="button4">
|
||||
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
style="width:195px"
|
||||
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['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['fahrer_id']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="caricon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<span class="fa fa-truck"></i>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>caricon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</td>
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:100px;font-size:11pt;color:gray" title="Stammfahrzeug: <?php echo $_smarty_tpl->tpl_vars['tour']->value['sauto'];?>
|
||||
" id="button4">
|
||||
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" 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['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['auto_id']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
<!-- --------------------------- Lohneinstellung -->
|
||||
<!--
|
||||
<td nowrap align="right" style="width:45px;font-size:11pt;color: lightgray" title="Lohnauswahl: <?php echo $_smarty_tpl->tpl_vars['tour']->value['lohnbez'];?>
|
||||
">
|
||||
<select name="lohnstatus[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="lohn_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
style="width:35px;border:none;border-bottom: 1px solid #dcdcdc;"
|
||||
onChange="save_lohn(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)" >
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lohn_array']->value, 'lstatus');
|
||||
$_smarty_tpl->tpl_vars['lstatus']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['lstatus']->value) {
|
||||
$_smarty_tpl->tpl_vars['lstatus']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['lstatus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['lstatus']->value['bez'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['lohnstatus']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<td nowrap align="right" id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:25px;font-size:10pt;">
|
||||
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['lohnstatus'];?>
|
||||
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
style="width:20px;border-color:#dcdcdc;border:none;border-bottom: 1px solid #dcdcdc;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]"
|
||||
onChange="save_lohn(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)">
|
||||
</td>
|
||||
<!-- --------------------------- history -->
|
||||
<td nowrap style="width:35px;font-size:11pt;text-align:center;color:gray">
|
||||
|
||||
<i style="width:20px;font-size:13pt" class="fa fa-info-circle" data-toggle="modal" data-target="#history"></i>
|
||||
<!-- The Modal -->
|
||||
<div class="modal fade" id="history">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<!-- Modal Header -->
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">History für Tor <?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
|
||||
</h4>
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
</div>
|
||||
<!-- ------------------------------------------------------------------------------------ -->
|
||||
<!-- Modal body -->
|
||||
<div class="modal-body">
|
||||
<table class="table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:200px";align="left"><strong>Fahrer</strong></th>
|
||||
<th nowrap style="width:200px";align="right"><strong>wie oft gefahren</strong></th>
|
||||
<th style="width:200px";align="right"><strong>zuletzt am</strong></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['history'], 'hinfo');
|
||||
$_smarty_tpl->tpl_vars['hinfo']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hinfo']->value) {
|
||||
$_smarty_tpl->tpl_vars['hinfo']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td nowrap style="width:200px"><b> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['name'];?>
|
||||
</td>
|
||||
<td nowrap style="width:100px" align="right"> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['zahl'];?>
|
||||
x</td>
|
||||
<td nowrap style="width:200px" align="right"> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['last'];?>
|
||||
Uhr</td>
|
||||
|
||||
<!-- --------------------------- fahrer -->
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- Modal footer -->
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- sms ohne ajax
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="smsicon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#04B404;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 99) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php }?>
|
||||
</td>
|
||||
-->
|
||||
<!-- --------------------------- sms neu 2020
|
||||
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="smsicon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<span class="fa fa-question"></i>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>smsicon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
);
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
</td>
|
||||
-->
|
||||
<!-- --------------------------- sms alt -->
|
||||
<td nowrap style="width:20px;text-align:right;font-size:11pt;" id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<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 || $_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?>
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" data-toggle="tooltip" title="SMS senden nicht möglich" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-times' style="color:#999999;"></i>
|
||||
</button>
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <!-- SMS in Warteschleife -->
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-commenting-o' style="color:#0080FF;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <!-- SMS in Warteschleife -->
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <!-- SMS in statusbericht abfarge -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-check-square-o' style="color:#FF8000;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" 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" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-check-square-o' style="color:#04B404;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" data-toggle="tooltip" title="Versand fehlgeschlagen !!" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-ban' style="color:#ff0000;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 99) {?>
|
||||
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<i class='fa fa-question' style="color:#FF8000;"></i>
|
||||
</button>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
|
||||
<?php echo '<script'; ?>
|
||||
> var tid = '<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
timer = 300000;
|
||||
var refresh_EDV = setInterval(function() {
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=ssstatus&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
id: tid,
|
||||
},
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#smsstatus"+tid).html(data);
|
||||
},
|
||||
})
|
||||
},timer);
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php }?>
|
||||
</center>
|
||||
</td>
|
||||
<!--
|
||||
<td nowrap style="width:20px;text-align:right;font-size:11pt;" id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
|
||||
<?php } else { ?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] != 0) {?>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
timer = 50000;
|
||||
var refresh_EDV<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
= setInterval(function() {
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=ssstatus&tpl',
|
||||
cache : false,
|
||||
data : {
|
||||
id:<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
,
|
||||
},
|
||||
dataType : "html",
|
||||
})
|
||||
},timer);
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php }?>
|
||||
</td>
|
||||
-->
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -------------------------------------- -->
|
||||
<?php } else { ?>
|
||||
<div class="col-md-8">
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-body">
|
||||
<h3>Keine Daten angelegt ...</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- -------------------------------------->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- -------------------------------------->
|
||||
|
||||
<!-- Sidebar -->
|
||||
<aside class="col-md-4">
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-primary">
|
||||
<div class="panel-heading"><h2 class="panel-title">Ausgabe <?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
- <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
||||
</h2></div>
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed">
|
||||
<form action="" method="post">
|
||||
<input type="submit" class="btn btn-link" value="alle SMS für <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
||||
senden " name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('Möchten sie wirklich alle SMS senden ?')">
|
||||
</form>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-primary">
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed">
|
||||
|
||||
<b><i><span style='font-size:12pt;line-height:115%;
|
||||
color:#4F81BD'>SaSo 2020 </span></i></b>   
|
||||
<b><i><span style='font-size:12pt;line-height:115%;
|
||||
color:#4F81BD'><a class="button-blue" href="?s=pss&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
">«</a>
|
||||
  <?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
.KW / <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
  
|
||||
<a class="button-blue" href="?s=pss&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
">»</a></span></i></b>
|
||||
</p>
|
||||
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- -------------------------------------
|
||||
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt; color:#4F81BD'>Kalender für <?php echo $_smarty_tpl->tpl_vars['datum']->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['maf1']->value, 'maf');
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = false;
|
||||
?>
|
||||
<td nowrap style="width:160px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
|
||||
</td>
|
||||
<td nowrap style= "width:30px;height:10px;font-size:10pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
|
||||
" width="12" height="12"/></td>
|
||||
<td nowrap style="width:150px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
|
||||
</td>
|
||||
</tbody> <?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-success">
|
||||
<header class="panel-heading"><h2 class="panel-title">Freie Transporter (tagsüber) am <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
||||
</h2></header>
|
||||
<section class="panel-body">
|
||||
<section>
|
||||
<table class="no-style full" id="trp" style="font-size:10pt">
|
||||
</table>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,531 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-09 15:52:41
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_kal.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66154829caced7_97535419',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4e65cb19f6cfbde87764722f25616db3e9ec1a2e' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_kal.tpl',
|
||||
1 => 1710321203,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:tpl/ajax/_ma_subm.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_66154829caced7_97535419 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['j1']->value['s'] != 0) {?>
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px;color: #115270"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j1']->value['j'];?>
|
||||
</p></br>
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody style="background-color: #115270">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j1']->value['a'], 'x1');
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = false;
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
|
||||
<tr style="line-height:18px;color: #ff0000";bac> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php $_prefixVariable1 = 4;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable1;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable1) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php } else {
|
||||
$_prefixVariable2 = 15;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable2;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable2) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable3 = 26;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable3;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable3) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable4 = 27;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable4;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable4) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable5 = 31;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable5;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable5) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable6 = 77;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable6;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable6) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable7 = 9;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable7;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable7) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php }}}}}}}?>
|
||||
</tr>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
|
||||
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['j2']->value['s'] != 0) {?>
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j2']->value['j'];?>
|
||||
</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody style="background-color: #115270">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j2']->value['a'], 'x1');
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = false;
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php $_prefixVariable8 = 4;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable8;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable8) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php } else {
|
||||
$_prefixVariable9 = 15;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable9;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable9) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable10 = 26;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable10;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable10) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable11 = 27;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable11;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable11) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable12 = 31;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable12;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable12) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable13 = 77;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable13;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable14 = 9;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable14;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable14) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php }}}}}}}?>
|
||||
</tr>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
|
||||
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['j3']->value['s'] != 0) {?>
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j3']->value['j'];?>
|
||||
</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody style="background-color: #115270">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j3']->value['a'], 'x1');
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = false;
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php $_prefixVariable15 = 4;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable15;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable15) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php } else {
|
||||
$_prefixVariable16 = 15;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable16;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable16) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable17 = 26;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable17;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable17) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable18 = 27;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable18;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable18) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable19 = 31;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable19;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable19) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable20 = 77;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable20;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable20) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable21 = 9;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable21;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable21) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php }}}}}}}?>
|
||||
</tr>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
|
||||
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
<?php }
|
||||
if ($_smarty_tpl->tpl_vars['j4']->value['s'] != 0) {?>
|
||||
<div class="max">
|
||||
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
|
||||
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j4']->value['j'];?>
|
||||
</p></br>
|
||||
|
||||
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
|
||||
<tbody style="background-color: #115270">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j4']->value['a'], 'x1');
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
|
||||
$_smarty_tpl->tpl_vars['x1']->do_else = false;
|
||||
?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
|
||||
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
|
||||
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php $_prefixVariable22 = 4;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable22;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable22) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php } else {
|
||||
$_prefixVariable23 = 15;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable23;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable23) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable24 = 26;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable24;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable24) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable25 = 27;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable25;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable25) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable26 = 31;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable26;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable26) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable27 = 77;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable27;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable27) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else {
|
||||
$_prefixVariable28 = 9;
|
||||
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
|
||||
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
|
||||
settype($_tmp_array, 'array');
|
||||
}
|
||||
$_tmp_array['grund'] = $_prefixVariable28;
|
||||
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
|
||||
if ($_prefixVariable28) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
|
||||
Tage</td>
|
||||
<?php }?>
|
||||
<?php }}}}}}}?>
|
||||
</tr>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
|
||||
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
|
||||
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,816 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-28 09:08:14
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/listen.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6605256e1d4442_27748519',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4ec6832ac359386b3d480d0940e1875a1d741f16' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/listen.tpl',
|
||||
1 => 1694432202,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6605256e1d4442_27748519 (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',),));
|
||||
?>
|
||||
<!-- <link rel="stylesheet" href="https://formden.com/static/cdn/bootstrap-iso.css" /> -->
|
||||
<link rel="stylesheet" media="screen" href="lib/css/bootstrap-datepicker3.min.css" />
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/bootstrap-datepicker.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/bootstrap-datepicker.de.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- --------------------------- -->
|
||||
<!-- --------------------------- listenübersicht
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.3.0/css/datepicker3.min.css" />
|
||||
-->
|
||||
<div class="row fluid">
|
||||
<!-- --------------------------- tagauswahl -->
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Datum Auswahl <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<div class="panel-body">
|
||||
<form method="post">
|
||||
<div class="form-group"> <!-- Date input -->
|
||||
<input class="form-control" id="date" name="date" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
" type="text"/>
|
||||
<button class="btn btn-default" name="submit" type="submit">Datum / KW ändern</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Einsatzplan <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Einsatzplan Nachts</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_nachtplan&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_nachtplan&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_nachtplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_nachtplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- rtour pro tag -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Einsatzplan ges.</td>
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_tagplan&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_tagplan&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_tagplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_tagplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlisten</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="table-hover-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap align="left" style="width:200px;font-size:12pt">
|
||||
<form action="" method="post">
|
||||
<select name="list" style="width:150px;" >
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['row_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']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_ma_simple&jahr=<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" aria-label="Settings" type=submit>
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="btn btn-default" href="?s=list_ma_simple" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- 2. Zeile -->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- --------------------------- Kaufland -->
|
||||
<div class="row fluid">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Kaufland <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Einsatzplanung</td>
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_kaufland&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_kaufland&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_kaufland&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_kaufland&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- --------------------------- Saso 2020 Einsatzplan-->
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Saso 2020 <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Einsatzplanung</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_saso2020&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_saso2020&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- --------------------------- Saso 2020 Infoliste Frank-->
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Saso 2020 <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">U.-Liste</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_saso2020u&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_saso2020u&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_saso2020u&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- --------------------------- R-ZTour -->
|
||||
<div class="row fluid">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>RTour - <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW / <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">RTour <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_rpin2&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_rpin2&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_rpin2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_rpin2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- rtour pro tag -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Rtour <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_rpin1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_rpin1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="save">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_rpin1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_rpin1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- --------------------------- PIN AG -->
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>LVZ POST AG - <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW / <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">PIN AG <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_pinag2&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_pinag2&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_pinag2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_pinag2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Skip to main navigation">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- rtour pro tag -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">PIN AG <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_pinag1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_pinag1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="save">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_pinag1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_pinag1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Paletten Ag-Touren</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="table-hover-striped">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">PIN Pal. <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_pinpal1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_pinpal1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="save">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="btn btn-primary" href="?s=list_pinpal1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- freies Fenster -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">PIN Pal. <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_pinpal2&icon=0&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_pinpal2&icon=1&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="save">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="btn btn-primary" href="?s=list_pinpal2&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- --------------------------- Sonder-Listen -->
|
||||
<div class="row fluid">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Sonder-Listen <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Werbeliste <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_komplett&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_komplett&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_komplett&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_komplett&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Ges.Liste <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_monat&icon=0&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_monat&icon=1&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_monat&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_monat&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Fahrzeugliste</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Fahrzeugliste aktiv</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_car" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="btn btn-default" href="?s=list_car&icon=1" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Fahrzeug einzeln</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_cargesamt&icon=0" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_cargesamt&icon=1" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- --------------------------- FAZ-Listen -->
|
||||
<div class="row fluid">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>FAZ-Listen <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</span></h2></header>
|
||||
<section class="panel-body">
|
||||
<table class="full no style" style="line-height:50px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Einsatzplan <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
.KW</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_fazeinsatz&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_fazeinsatz&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_fazeinsatz&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_fazeinsatz&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- --------------------------- -->
|
||||
<tr>
|
||||
<td nowrap style="width:200px;font-size:14pt">Ges.Liste <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
</td>
|
||||
<!-- --------------------------- Einsatzplanung -->
|
||||
<td align="right">
|
||||
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_faz_g&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" href="?s=list_faz_g&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="Delete">
|
||||
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
|
||||
</a>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
|
||||
<a class="btn btn-primary" href="?s=list_faz_g&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-primary disabled" href="?s=list_faz_g&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
" aria-label="mail send">
|
||||
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
|
||||
<?php }?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> </div>
|
||||
<!-- href="?s=list_ma_simple&jahr=<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
"
|
||||
|
||||
|
||||
<a align="right" class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
|
||||
href="?s=list_faz_w&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
&fazid=" aria-label="Settings">
|
||||
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
|
||||
|
||||
|
||||
-->
|
||||
<?php echo '<script'; ?>
|
||||
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function save_id(kw,jahr) {
|
||||
// alert($("#faz_").val());
|
||||
// $("#faz_div").html(); // wert lesen
|
||||
$("#faz_div").html('<a align="right" class="btn btn-danger" target="_pdf" onClick="javascript:open(\'\', \'_pdf\', \'height=800,width=600,resizable=yes\')" href="?s=list_faz_w&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
|
||||
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
|
||||
&fazid='+$("#faz_").val()+'" aria-label="Settings"><i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i></a>');
|
||||
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function(){
|
||||
var date_input=$('input[name="date"]'); //our date input has the name "date"
|
||||
var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body";
|
||||
date_input.datepicker({
|
||||
language: "de",
|
||||
daysOfWeekHighlighted: "0",
|
||||
calendarWeeks: true,
|
||||
autoclose: true,
|
||||
orientation: "bottom auto",
|
||||
beforeShowYear: function (date){
|
||||
if (date.getFullYear()) {
|
||||
return date.getFullYear;
|
||||
}
|
||||
},
|
||||
todayHighlight: true,
|
||||
})
|
||||
})
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-06-27 09:31:22
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/list_tag.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_667d154a15b9f1_92346951',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'50f12068c11361724c81e9b77ed48f5b34cb4790' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/list_tag.tpl',
|
||||
1 => 1694432202,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_667d154a15b9f1_92346951 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.3.0/js/bootstrap-datepicker.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="lib/js/bootstrap-datepicker.de.min.js" charset="UTF-8"><?php echo '</script'; ?>
|
||||
>
|
||||
<link rel="stylesheet" media="screen" href="lib/css/bootstrap.css" />
|
||||
|
||||
<b><i><span style='font-size:16pt;line-height:115%;
|
||||
color:#4F81BD'>Tagliste als PDF erstellen</span></i></b></p>
|
||||
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function() {
|
||||
$('#datePicker')
|
||||
.datepicker({
|
||||
format: 'dd.mm.yyyy',
|
||||
language: 'de'
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
<!--
|
||||
<form action="" method="post">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><strong>Tagauswahl: </strong><input data-provide="datepicker" type="text" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
" name="datumstadt">
|
||||
<input type="submit" name="datesave" value="PDF-erstellen" ></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
-->
|
||||
<form id="eventForm" method="post" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-xs-3 control-label">Tagauswahl</label>
|
||||
<div class="col-xs-5 date">
|
||||
<div class="input-group input-append date" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
|
||||
id="datePicker">
|
||||
<input type="text" class="form-control" name="date" />
|
||||
<span class="input-group-addon add-on"><span class="glyphicon glyphicon-calendar"></span></span>
|
||||
</div>
|
||||
<input type="submit" name="datesave" value="PDF-erstellen" >
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div><?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-07-23 08:16:21
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan2.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_669f4ab5237fd6_68237798',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'55492a090af5e2c5801645960011349473fa9f75' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan2.tpl',
|
||||
1 => 1721715375,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_669f4ab5237fd6_68237798 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data2']->value, 'onl');
|
||||
$_smarty_tpl->tpl_vars['onl']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['onl']->value) {
|
||||
$_smarty_tpl->tpl_vars['onl']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px">
|
||||
<?php if ($_smarty_tpl->tpl_vars['onl']->value['collie'] == 0) {?> <td width="80px">gesamt</td> <?php } else { ?> <td width="80px">Pack. <?php echo $_smarty_tpl->tpl_vars['onl']->value['collie'];?>
|
||||
</td> <?php }?>
|
||||
<td nowarp width="160px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['datum'];?>
|
||||
</td>
|
||||
<td nowarp width="300px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['beschreibung'];?>
|
||||
</td>
|
||||
<td nowarp width="300px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['empfaenger'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="line-height:18px"> <td width="99px">Scan : </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['datum'];?>
|
||||
</td> </tr>
|
||||
<tr style="line-height:18px"> <td width="99px">Status : </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['status'];?>
|
||||
-<?php echo $_smarty_tpl->tpl_vars['onl']->value['beschreibung'];?>
|
||||
</td> </tr>
|
||||
<tr style="line-height:18px"> <td width="99px">Packst Nr.: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['collie'];?>
|
||||
- <?php echo $_smarty_tpl->tpl_vars['onl']->value['empfaenger'];?>
|
||||
</td> </tr>
|
||||
<tr style="line-height:18px"> <td width="99px">--------------------</td> <td width="260px">------------------------------------------------</td> </tr>
|
||||
-->
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table><?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-18 13:50:46
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_ma.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c1e016882709_59610097',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'569742d09222a091df86349f30ff244d69dfb6ae' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_ma.tpl',
|
||||
1 => 1723981817,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66c1e016882709_59610097 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 14pt">
|
||||
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
|
||||
<span style="font-size: 12pt"> verfügbar</span>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-9px;line-height:20px">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
|
||||
$_smarty_tpl->tpl_vars['fc']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
|
||||
$_smarty_tpl->tpl_vars['fc']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td style="width:25px;font-size:12pt">
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 0) {?> <i class="far fa-user-check" style="color: forestgreen"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 1) {?> <i class="far fa-user-tag" style="color: orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 2) {?> <i class="far fa-user-times" style="color: crimson"></i> <?php }?>
|
||||
</td>
|
||||
<td nowrap style="width:200px;font-size:10pt;"> <strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['name'];?>
|
||||
</strong></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,120 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-20 13:49:37
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/i_info.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c482d18a3c04_37583683',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5bc221443aaa3d30d6f22e377203405bee1ea69a' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/i_info.tpl',
|
||||
1 => 1724154526,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66c482d18a3c04_37583683 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><link rel="stylesheet" type="text/css" href="lib/css/dropzone.css" />
|
||||
<?php echo '<script'; ?>
|
||||
type="text/javascript" src="lib/js/dropzone.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<div class="row sortable">
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<form action="upload24.php" method="post" enctype="multipart/form-data">
|
||||
<h2><input type="file" name="datei"> </h2>
|
||||
<input type="submit" value="Hochladen"> <br>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<form action="up_np.php" method="post" enctype="multipart/form-data">
|
||||
<h2><input type="file" name="datei">Normplan !!</h2>
|
||||
<h4>Steuerdatei xx.KW !!!</h4>
|
||||
<input type="submit" value="Hochladen"> <br>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<form action="uploadp1.php" method="post" enctype="multipart/form-data">
|
||||
<h2><input type="file" name="datei"> </h2>
|
||||
<input type="submit" value="PDF I Parser"> <br>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<form action="up_round_ss2020.php" method="post" enctype="multipart/form-data">
|
||||
<h2>nur SASO 2020 neu !!</h2>
|
||||
<h2><input type="file" name="datei"> </h2>
|
||||
<input type="submit" value="Upload"> <br>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
<form action="tankrechnung.php" method="post" enctype="multipart/form-data">
|
||||
<h2 style="color: aqua">Rechnung</h2>
|
||||
<h2><input type="file" name="datei"> </h2>
|
||||
<h4>Tankrechnung CSV</h4>
|
||||
<input type="submit" value="Upload"> <br>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,309 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-05-30 15:24:58
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_kalender.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66587e2acac186_66181579',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5c1316771d5e507391f61bbcb6060d7333bfab79' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_kalender.tpl',
|
||||
1 => 1704665562,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66587e2acac186_66181579 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div id="spinner-div" class="pt-5">
|
||||
<div class="spinner-border text-primary" role="status">
|
||||
<i class="fas fa-spinner fa-pulse fa-10x"></i>
|
||||
<p>Loading...</p>
|
||||
</div>
|
||||
</div>
|
||||
<section class="col-md-12">
|
||||
<div class="row sortable">
|
||||
<!-- Mitarbeiterliste -->
|
||||
<div class="col-md-4">
|
||||
<div class="mwahl">
|
||||
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="mitarbeiter" id="maID" onChange="sel1()">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['malist']->value, 'mlist');
|
||||
$_smarty_tpl->tpl_vars['mlist']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mlist']->value) {
|
||||
$_smarty_tpl->tpl_vars['mlist']->do_else = false;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['mlist']->value['id'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['mlist']->value['name'];?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Kalender-Grund -->
|
||||
<div class="col-md-4">
|
||||
<div class="mwahl">
|
||||
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="grund" id="grund" onChange="sel2()">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kglist']->value, 'klist');
|
||||
$_smarty_tpl->tpl_vars['klist']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['klist']->value) {
|
||||
$_smarty_tpl->tpl_vars['klist']->do_else = false;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['klist']->value['id'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['klist']->value['bez'];?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- summe
|
||||
<div class="col-md-2">
|
||||
<div class="mwahl" id="urlaub" align="center" style="font-size:8pt">
|
||||
<p>Bitte Mitarbeiter auswählen.</p>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<!-- Jahresauswahl -->
|
||||
<!-- Kalender-Grund -->
|
||||
<div class="col-md-4">
|
||||
<div class="mwahl">
|
||||
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="jahr" id="jahr" onChange="sel3()">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j_wahl']->value, 'jw');
|
||||
$_smarty_tpl->tpl_vars['jw']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['jw']->value) {
|
||||
$_smarty_tpl->tpl_vars['jw']->do_else = false;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['jw']->value;?>
|
||||
" selected=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div class="col-md-2">
|
||||
<div class="mwahl" align="center">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&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-sm" style="font-size:12pt;background-color:#115270"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</button>
|
||||
</a>
|
||||
<a class="btn btn-primary btn-sm" href="?s=kalender&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>
|
||||
|
||||
-->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!------------------------------------------------>
|
||||
<?php echo '<script'; ?>
|
||||
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style>
|
||||
ul.nav-tabs > li {
|
||||
width: 33%;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function sel1() {
|
||||
var mdata = $("#maID").val();
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_load&tpl",
|
||||
dataType: 'html',
|
||||
data: 'maID=' + mdata,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#kaledit").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function sel2() {
|
||||
var mdata = $("#grund").val();
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_load&tpl",
|
||||
dataType: 'html',
|
||||
data: 'grund=' + mdata,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#kaledit").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function sel3() {
|
||||
var mdata = $("#jahr").val();
|
||||
$('#spinner-div').show();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_load&tpl",
|
||||
dataType: 'html',
|
||||
data: 'jahr=' + mdata,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#kaledit").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function ma_wahl(jahr) {
|
||||
$('#spinner-div').show();
|
||||
var mdata = $("#maID").val();
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_load&tpl",
|
||||
dataType: 'html',
|
||||
data: 'jahr=' + jahr + "&maID=" + mdata,
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$("#kaledit").html(data);
|
||||
$('#spinner-div').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
function kaledit2(time,maID,gID) {
|
||||
|
||||
|
||||
var remember = document.getElementById('info_'+time);
|
||||
if (remember.checked){
|
||||
var istC = 1;
|
||||
}else{
|
||||
var istC = 0;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=kal_save&a=date_save",
|
||||
dataType: 'json',
|
||||
data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID,
|
||||
beforeSend:function() {
|
||||
$('.loader').show();
|
||||
},
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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)
|
||||
}
|
||||
});load_free_urlaub(mitarbeiter,jahr)
|
||||
}
|
||||
load_free_urlaub(mitarbeiter,jahr);
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#do-call").click(function () {//The load button
|
||||
$('#spinner-div').show();//Load button clicked show spinner
|
||||
$.ajax({
|
||||
url: "https://jb-data.de/",
|
||||
type: 'GET',
|
||||
dataType: 'json',
|
||||
success: function (res) {
|
||||
//On success do something....
|
||||
},
|
||||
complete: function () {
|
||||
$('#spinner-div').hide();//Request is complete so hide spinner
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<style>
|
||||
.loader{
|
||||
display: none;
|
||||
}
|
||||
.mwahl {
|
||||
align-content: center;
|
||||
background: #115270;
|
||||
color: #aaaaaa;
|
||||
padding: 5px;
|
||||
border: 1px solid;
|
||||
border-radius:6px;
|
||||
margin-left: 0px;
|
||||
margin-top: -10px;
|
||||
margin-bottom: 10px;
|
||||
height: 45px;
|
||||
}
|
||||
.malist {
|
||||
background: #115270;
|
||||
color: #808080;
|
||||
padding: 5px;
|
||||
border: 1px solid;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,598 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-11-08 09:54:55
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/iss.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_672dd1df2789c1_16621835',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6ce840e5e374515f05e2eacb60ac90a20690713d' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/iss.tpl',
|
||||
1 => 1731055840,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:tpl/_iss_datakopf.tpl' => 1,
|
||||
'file:tpl/_iss_data.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_672dd1df2789c1_16621835 (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',),));
|
||||
?>
|
||||
<!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.7.0.css/font-awesome.css" media="all" type="text/css" />
|
||||
********** -->
|
||||
|
||||
<style>
|
||||
input[type=text] {
|
||||
width: 250px;
|
||||
border:none;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #dcdcdc;
|
||||
background-color: #222222;
|
||||
}
|
||||
input[type=number] {
|
||||
width: 250px;
|
||||
border:none;
|
||||
border-bottom: 1px solid #333333;
|
||||
color: #dcdcdc;
|
||||
background-color: #222222;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(document).ready(function() {
|
||||
$("[rel=popover]").popover({'trigger':'hover'});
|
||||
});
|
||||
function save_exemplare(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_exemplare",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&exemplare=" + $("#exemplare_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_gewicht3(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_gewicht3",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&gewicht3=" + $("#gewicht3_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_abst(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_abst",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&abst=" + $("#abst_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_gewicht9(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_gewicht9",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&gewicht9=" + $("#gewicht9_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_time(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=time_save",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&zeit=" + $("#zeit_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'warning',
|
||||
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_gewicht(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_gewicht",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&gewicht=" + $("#gewicht_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_pakete(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_pakete",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&pakete=" + $("#pakete_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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_pakete2(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_pakete2",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&pakete2=" + $("#pakete2_"+tourID).val(),
|
||||
success: function (data) {
|
||||
if(data.success == true) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
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 amtsblatt(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=isaso&a=save_amtsblatt",
|
||||
dataType: "json",
|
||||
//contentType: "application/json; charset=utf-8",
|
||||
data: 'tourID=' + tourID,
|
||||
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: "top",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
<style>
|
||||
[rel="popover"]{
|
||||
cursor: pointer;
|
||||
display:inline-block; /* chrome-fix */
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!-- ********** --> <div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-8">
|
||||
<?php if ($_smarty_tpl->tpl_vars['sa11']->value != 0) {?>
|
||||
<!-- <a style="width:90px;font-size:8pt" align="left">06:00 Uhr - <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
||||
- Block 1 (<?php echo $_smarty_tpl->tpl_vars['sa11']->value;?>
|
||||
Touren)</a> -->
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-body">
|
||||
<table class="table-hover" style="font-size:11pt">
|
||||
<?php $_smarty_tpl->_subTemplateRender('file:tpl/_iss_datakopf.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['s11']->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;
|
||||
?>
|
||||
<?php $_smarty_tpl->_subTemplateRender('file:tpl/_iss_data.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
|
||||
</div>
|
||||
|
||||
<!-- -------------------------------------->
|
||||
|
||||
|
||||
|
||||
<!-- rechte seite -->
|
||||
<!-- -------------------------------------->
|
||||
|
||||
<!-- Sidebar -->
|
||||
<aside class="col-md-4">
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Datum wechseln</h2></div>
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed">
|
||||
|
||||
<b><i><span style='font-size:12pt;line-height:115%;
|
||||
color:#4F81BD'>SaSo 2020 </span></i></b>   
|
||||
<b><i><span style='font-size:12pt;line-height:115%;
|
||||
color:#4F81BD'><a class="button-blue" href="?s=iss&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
">«</a>
|
||||
  <?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
.KW / <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
  
|
||||
<a class="button-blue" href="?s=iss&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
|
||||
">»</a></span></i></b>
|
||||
</p>
|
||||
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!-- -------------------------------------->
|
||||
<!-- -------------------------------------->
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Download MPV Daten</h2></div>
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['mpvcopycheck']->value != 0) {?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tdl']->value != 0) {?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt;color:#200ADF" class="far fa-spinner fa-pulse fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<?php }?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
<td>
|
||||
<!-- Amtsblattcopy -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['abcopycheck']->value != 0) {?>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
<?php } else { ?>
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn disabled" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
|
||||
</form>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tdl']->value != 0) {?>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['tdl']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['tsumme']->value;?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td>Grunddaten</td>
|
||||
<?php }?>
|
||||
<td>Planzeiten</td>
|
||||
<td>Endzeiten</td>
|
||||
<td>Amtsblatt</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--
|
||||
<section class="panel-body" id="download" >
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
|
||||
</form>
|
||||
|
||||
</section>
|
||||
-->
|
||||
</div>
|
||||
<!-- ------------------------------------ -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tnorm']->value == 0) {?>
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Stadt-Touren Paketnorm <?php echo $_smarty_tpl->tpl_vars['norm']->value;?>
|
||||
St.</h2></div>
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed">
|
||||
<form action="" method="post">
|
||||
<label for="sasonorm">SaSo-Norm: </label>
|
||||
<input type="text" style="width:30px;" name="sasonorm" value="<?php echo $_smarty_tpl->tpl_vars['norm']->value;?>
|
||||
"> <input type="submit" name="speichern" value="Norm speichern" />
|
||||
</form>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- ------------------------------------ -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['iab']->value != 0) {?>
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Paketnorm <?php echo $_smarty_tpl->tpl_vars['abnorm']->value;?>
|
||||
St.</h2></div>
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed">
|
||||
<form action="" method="post">
|
||||
<label for="abnorm">AB.-Norm: </label>
|
||||
<input type="text" style="width:40px;" id="abnorm" name="abnorm" value="<?php echo $_smarty_tpl->tpl_vars['abnorm']->value;?>
|
||||
">
|
||||
<input type="submit" value="speichern" />
|
||||
</form>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Berechnung</h2></div>
|
||||
<section class="panel-body">
|
||||
<table class="table-condensed"> Faktor: <?php echo $_smarty_tpl->tpl_vars['abegw']->value;?>
|
||||
</br>
|
||||
<form action="" method="post">
|
||||
<b>ges.Gew. Tour10: <input type="text" style="width:50px;" name="abcalc" /> <input type="submit" name="speichern" value="AB-berechnen" />
|
||||
</form>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!-- ------------------------------------ -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tnorm']->value != 0) {?>
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<div class="panel-heading"><h2 class="panel-title">Abnahme Tour</h2></div>
|
||||
<section class="panel-body">
|
||||
<form action="" method="post">
|
||||
</br><b>Abnahme hinzu:</b>
|
||||
<select name="plus" style="width:140px;" >
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourplus']->value, 'tplus');
|
||||
$_smarty_tpl->tpl_vars['tplus']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tplus']->value) {
|
||||
$_smarty_tpl->tpl_vars['tplus']->do_else = false;
|
||||
?>
|
||||
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['tplus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['tplus']->value['tour']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
|
||||
"/>
|
||||
<input type="submit" name="dazuplus" value="hinzufügen" >
|
||||
</select>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Sidebar End -->
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-07-23 08:23:41
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_669f4c6de61450_11042744',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7141c539fa410288ad598e1649a5eae52e422935' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl',
|
||||
1 => 1721715813,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_669f4c6de61450_11042744 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
<p align="center" style="color:yellow;margin-top: -6px;margin-bottom: : 4px;font-size: 26px;background-color:teal"><?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
|
||||
</p>
|
||||
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Offline JB-Daten</p>
|
||||
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
|
||||
<tbody>
|
||||
<tr style="line-height:18px"> <td width="200px">Empfänger: </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
|
||||
</td> </tr>
|
||||
<tr style="line-height:18px"> <td width="200px"> </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['plz'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['data']->value['ort'];?>
|
||||
</br></td> </tr>
|
||||
|
||||
<tr style="line-height:18px"> <td width="200px">Status : </td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 800) {?> <td width="300px" style="background-color: #555;color:#6495ed"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?> <td width="300px" style="background-color: #555;color:#00FF00"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 9) {?> <td width="300px" style="background-color: #555;color:#ff8800"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 50) {?> <td width="300px" style="background-color: #555;color:#358d2f"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 505) {?> <td width="300px" style="background-color: #555;color:#E38EF7"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 507) {?> <td width="300px" style="background-color: #555;color:#C7B40A"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php } else { ?> <td width="300px" style="background-color: #555;color:#ff0000"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<tr style="line-height:18px"> <td width="200px">Packst.: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['collie'];?>
|
||||
</td> </tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?>
|
||||
<tr style="line-height:18px"> <td width="200px">Unterschrift:</td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['empfaenger'];?>
|
||||
</td> </tr>
|
||||
<?php }?>
|
||||
<tr style="line-height:18px"> <td width="200px">leter Scan: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['datum'];?>
|
||||
</td> </tr>
|
||||
|
||||
</body>
|
||||
</table>
|
||||
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Online Ilonexs-Daten</p>
|
||||
<div id='iloonline'><i class="fas fa-spinner fa-10x fa-pulse"></i></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
> var lab = '<?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=ue_iloscan2&tpl',
|
||||
cache : false,
|
||||
data: '&lab=' + lab,
|
||||
dataType : "html",
|
||||
success : function(data){
|
||||
$("#iloonline").html(data);
|
||||
},
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
> <?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,386 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-28 16:37:17
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_fahrzeuge.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66cf361dbb0522_29119265',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'71a55c646bcec3e4ac1081bad21925dce5bae51a' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_fahrzeuge.tpl',
|
||||
1 => 1724855836,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66cf361dbb0522_29119265 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
|
||||
?>
|
||||
|
||||
<style>
|
||||
.cinfo1 {
|
||||
background: #666666;
|
||||
color:#bbbbbb;
|
||||
height: 65px;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-color: #115270;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 13pt;
|
||||
}
|
||||
.cinfo2 {
|
||||
background: #666666;
|
||||
color:#bbbbbb;
|
||||
height: 140px;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-color: #115270;
|
||||
border-radius: 5px;
|
||||
margin-bottom:50px;
|
||||
font-size: 13pt;
|
||||
}
|
||||
.ikopf1 {
|
||||
background: #115270;
|
||||
color:#bbbbbb;
|
||||
height: 40px;
|
||||
padding: 6px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
font-size: 16pt;
|
||||
}
|
||||
.ikopf2 {
|
||||
background: #115270;
|
||||
color:#bbbbbb;
|
||||
height: 40px;
|
||||
padding: 6px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
font-size: 13pt;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$('.input-group.date').datepicker({format: "dd.mm.yyyy"});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-------------------------------------------------------------------------------------------------------------------->
|
||||
<div class="col-md-2">
|
||||
<table width="100%" style="color: #dddddd;background-color:#115270;font-size: 14pt;">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrzeuge_a']->value, 'fahrzeuge');
|
||||
$_smarty_tpl->tpl_vars['fahrzeuge']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fahrzeuge']->value) {
|
||||
$_smarty_tpl->tpl_vars['fahrzeuge']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td style="padding: 5px">
|
||||
<?php if ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 1) {?> <i class="far fa-car"></i>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 2) {?> <i class="far fa-truck-pickup"></i>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 3) {?> <i class="far fa-truck"></i>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 4) {?> <i class="fad fa-truck"></i>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 5) {?> <i class="fad fa-truck-moving"></i>
|
||||
<?php } else { ?> <i class="fad fa-car-bus"></i> <?php }?>
|
||||
</td>
|
||||
<td onClick="javascript:open('?s=w_fahrzeuge&id=<?php echo $_smarty_tpl->tpl_vars['fahrzeuge']->value['id'];?>
|
||||
','_self','')"><?php echo $_smarty_tpl->tpl_vars['fahrzeuge']->value['kz'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
<!-------------------------------------------------------------------------------------------------------------------->
|
||||
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 9) {?>
|
||||
<div class="col-md-6">
|
||||
<div class="column grid_6 last">
|
||||
<div class="widget">
|
||||
<header class="current"><h2>Info </h2></header>
|
||||
<section>
|
||||
<span style='font-size:20pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auwählen, dass Sie bearbeiten möchten.</span>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<!------------->
|
||||
<div class="col-md-6">
|
||||
<!------------->
|
||||
<div class="col-md-6">
|
||||
<p class="ikopf1"><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
|
||||
</p>
|
||||
<p class="cinfo1">KBA: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba2'];?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba3'];?>
|
||||
</br>FIN.: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['fin'];?>
|
||||
</p>
|
||||
<p class="cinfo2">1. Zulassung: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezltag'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezlmonat'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezljahr'];?>
|
||||
|
||||
</br>JB-Zulassung: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbtag'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbmonat'];?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbjahr'];?>
|
||||
|
||||
</br>Hubraum.: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ccm'];?>
|
||||
cm²
|
||||
</br>KW / PS: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kw'];?>
|
||||
/ <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ps'];?>
|
||||
|
||||
</br><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['reifen'];?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<!------------->
|
||||
<div class="col-md-6">
|
||||
<p class="ikopf2"><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hersteller'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['name'];?>
|
||||
</p>
|
||||
<p class="cinfo1"><?php echo $_smarty_tpl->tpl_vars['kba']->value['hersteller'];?>
|
||||
</br><?php echo $_smarty_tpl->tpl_vars['kba']->value['typ'];?>
|
||||
</p>
|
||||
<p class="cinfo2">1: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld1'];?>
|
||||
</br>2: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld2'];?>
|
||||
</br>3: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld3'];?>
|
||||
</br>4: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld4'];?>
|
||||
|
||||
</br>Öl: <?php echo $_smarty_tpl->tpl_vars['oel']->value['bezeichnung'];?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------------------------------->
|
||||
<!----------------- km update -->
|
||||
<table class="no-style" width="100%">
|
||||
<tr nowrap>
|
||||
<form action="" method="post">
|
||||
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">KM-Stand aktulisieren</td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"></td>
|
||||
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
|
||||
<td width="15%"><input type="submit" name="update1" value="Speichern" ></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<hr style="background-color:#115270;height:3px;border:0" width="100%">
|
||||
<!----------------- TANKEN -->
|
||||
<table class="no-style" width="100%">
|
||||
<tr nowrap>
|
||||
<form action="" method="post">
|
||||
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Tanken eingeben</td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="20%"><input type="text" name="tank" placeholder='0' required style="width:60px"/> ltr.</td>
|
||||
<td width="20%"><input type="text" name="updatesum" placeholder='0' required style="width:60px"/> €</td>
|
||||
<td width="20%"><input type="text" name="updatekm" placeholder='0' required style="width:60px"/> km</td>
|
||||
<td width="13%"><input type="submit" name="tanken" value="Speichern" ></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<hr style="background-color:#115270;height:3px;border:0" width="100%">
|
||||
<!----------------- Kontrolle -->
|
||||
<table class="no-style" width="100%">
|
||||
<form action="" method="post">
|
||||
<tr nowrap>
|
||||
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Kontrolle</td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"></td>
|
||||
<td width="24%" style="font-size: 12pt">Bremsen</td>
|
||||
<td width="15%"><input type="checkbox" name="bremse"></td>
|
||||
<tr nowrap>
|
||||
<td width="35%"></td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"></td>
|
||||
<td width="24%" style="font-size: 12pt">Ölstand</td>
|
||||
<td width="15%"><input type="checkbox" name="oel"</td>
|
||||
<tr nowrap>
|
||||
<td width="35%"></td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"></td>
|
||||
<td width="24%" style="font-size: 12pt">Reifen</td>
|
||||
<td width="15%"><input type="checkbox" name="reifen"</td>
|
||||
<tr nowrap>
|
||||
<td width="35%"></td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"></td>
|
||||
<td width="24%" style="font-size: 12pt">Wischwasser</td>
|
||||
<td width="15%"><input type="checkbox" name="ww"</td>
|
||||
<tr nowrap>
|
||||
<td width="35%"></td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%" style="font-size: 12pt"></td>
|
||||
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
|
||||
<td width="15%"><input type="submit" name="kontrolle" value="Speichern" ></td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<hr style="background-color:#115270;height:3px;border:0" width="100%" >
|
||||
<!-- --------------- OELW -->
|
||||
<table class="no-style" width="100%">
|
||||
<tr nowrap>
|
||||
<form action="" method="post">
|
||||
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Ölwechsel eingeben</td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="24%"><select name="os">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['oels']->value, 'os');
|
||||
$_smarty_tpl->tpl_vars['os']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['os']->value) {
|
||||
$_smarty_tpl->tpl_vars['os']->do_else = false;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
|
||||
" style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['os']->value['bezeichnung'];?>
|
||||
</option>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
|
||||
<td width="15%"><input type="submit" name="ow" value="Speichern" ></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<hr style="background-color:#115270;height:3px;border:0" width="100%">
|
||||
<!-- --------------- alte Tankrechnung -->
|
||||
<table class="no-style" width="100%">
|
||||
<tr nowrap>
|
||||
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">alte Tankrechnung</td>
|
||||
</tr><tr>
|
||||
<form action="" method="post">
|
||||
<td width="35%">
|
||||
<input type="text" name="td" placeholder='0' required style="width:30px"/></input>
|
||||
<input type="text" name="tm" value='<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
' required style="width:30px"/></input>
|
||||
<input type="text" name="tj" value='<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
' required style="width:60px"/></input>
|
||||
</td>
|
||||
<td width=" 2%"></td>
|
||||
<td width="20%"><input type="text" name="tank" placeholder='0' required style="width:60px"/> ltr.</td>
|
||||
<td width="20%"><input type="text" name="updatesum" placeholder='0' required style="width:60px"/> €</td>
|
||||
<td width="20%"><input type="text" name="updatekm" placeholder='0' required style="width:60px"/> km</td>
|
||||
<td width="13%"><input type="submit" name="at" value="Speichern" ></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<hr style="background-color:#115270;height:3px;border:0" width="100%">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<aside class="col-md-4">
|
||||
<div id="rightmenu">
|
||||
<p class="ikopf1">History <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
|
||||
</p></br>
|
||||
<table class="no-style" width="100%">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['history']->value, 'h');
|
||||
$_smarty_tpl->tpl_vars['h']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['h']->value) {
|
||||
$_smarty_tpl->tpl_vars['h']->do_else = false;
|
||||
?>
|
||||
<tr nowrap>
|
||||
<td style="background-color:#115270;color: #bbbbbb;font-size: 8pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['h']->value['date'],"%d.%m.%Y - %H:%M Uhr");?>
|
||||
- <?php echo $_smarty_tpl->tpl_vars['h']->value['name'];?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['re_check'] == 1 || $_smarty_tpl->tpl_vars['h']->value['re_check'] == 3) {?> <i class="far fa-check" style="color:greenyellow"></i></td><?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['re_check'] == 2) {?> <i class="far fa-check" style="color:orange"></i></td><?php }?>
|
||||
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['anz'] == 1) {?> <i class="fal fa-times" style="color: #ff0000;" onclick="window.location='?s=w_fahrzeuge&delete=<?php echo $_smarty_tpl->tpl_vars['h']->value['id'];?>
|
||||
&id=<?php echo $_smarty_tpl->tpl_vars['h']->value['fid'];?>
|
||||
'"></i> <?php }?></td>
|
||||
</tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 1) {?> <!-- km-Stand update -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">
|
||||
<i class="fad fa-pencil-alt"></i> <i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
km</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 2) {?> <!-- Kontrolle -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">Kontrolle:
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_bremse'] == 1) {?> Bremsen, <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_oel'] == 1) {?> Öl, <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_reifen'] == 1) {?> Reifen, <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_ww'] == 1) {?> Wischw. <?php }?>
|
||||
km-Stand: <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 3 || $_smarty_tpl->tpl_vars['h']->value['utyp'] == 5 || $_smarty_tpl->tpl_vars['h']->value['utyp'] == 59) {?> <!-- tanken -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt" >
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 1) {?> <span style="color: greenyellow"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
|
||||
</span>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 2) {?> <span style="color: orange"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
|
||||
</span>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 3) {?> <span style="color: darkred"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
|
||||
</span>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 4) {?> <span style="color: red"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
|
||||
</span>
|
||||
<?php } else { ?><span> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
|
||||
</span><?php }?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['h']->value['tsumme'];?>
|
||||
€
|
||||
<i class="fad fa-gas-pump"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['tank'];?>
|
||||
ltr.
|
||||
<i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
km</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 4) {?> <!-- Oelwechsel -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">Ölwechsel / km-Stand: <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 12) {?> <!-- AD Blue tanken -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt" >
|
||||
<i style="color: cornflowerblue" class="fad fa-gas-pump"></i><span style="color: cornflowerblue"> AdBlue </span>
|
||||
<?php echo $_smarty_tpl->tpl_vars['h']->value['tsumme'];?>
|
||||
€
|
||||
<i class="fad fa-gas-pump"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['tank'];?>
|
||||
ltr.
|
||||
<i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
km</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 20) {?> <!-- Fahrzeugwäsche -->
|
||||
<tr nowrap>
|
||||
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">
|
||||
<i style="color: orange" class="fad fa-car-wash"></i><span style="color: cornflowerblue"> Fahrzeugwäsche </span><?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
|
||||
km </td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-27 12:17:57
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/ajax.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660400658946e0_40844029',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'750b2cbbb2c7697313e0c0b9443827bdc5d599bb' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/ajax.tpl',
|
||||
1 => 1704309468,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660400658946e0_40844029 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_subTemplateRender($_smarty_tpl->tpl_vars['content']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,337 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-28 16:00:09
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_tanken.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66cf2d69331309_99585967',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'757c9b63d825e924e09f3e65057247b5a26bc3dd' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_tanken.tpl',
|
||||
1 => 1724853606,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66cf2d69331309_99585967 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
|
||||
?>
|
||||
|
||||
<style>
|
||||
.mre {
|
||||
background: #222;
|
||||
color:#ccc;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-color: #0093D7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 12pt;
|
||||
}
|
||||
.load {
|
||||
background: #222;
|
||||
color:#61FF00;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-color: #61FF00;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 16pt;
|
||||
}
|
||||
.cinfo2 {
|
||||
background: #666666;
|
||||
color:#bbbbbb;
|
||||
height: 140px;
|
||||
padding: 6px;
|
||||
border: 1px solid;
|
||||
border-color: #115270;
|
||||
border-radius: 5px;
|
||||
margin-bottom:50px;
|
||||
font-size: 13pt;
|
||||
}
|
||||
.ikopf1 {
|
||||
background: #115270;
|
||||
color:#bbbbbb;
|
||||
height: 40px;
|
||||
padding: 6px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
font-size: 16pt;
|
||||
}
|
||||
.ikopf2 {
|
||||
background: #115270;
|
||||
color:#bbbbbb;
|
||||
height: 40px;
|
||||
padding: 6px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
font-size: 13pt;
|
||||
}
|
||||
</style>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$('.input-group.date').datepicker({format: "dd.mm.yyyy"});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-------------------------------------------------------------------------------------------------------------------->
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="mre">
|
||||
<table class="no-style full">
|
||||
<tr align="left" style="font-size: 12pt" onclick="window.location='?s=w_tanken'">
|
||||
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 1) {?> <td nowrap style="width:100%;color:#0093D7"> unbearbeitet</td>
|
||||
<?php } else { ?> <td nowrap style="width:100%"> unbearbeitet</td> <?php }?>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="mre">
|
||||
<table class="no-style full">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['re']->value, 'me');
|
||||
$_smarty_tpl->tpl_vars['me']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['me']->value) {
|
||||
$_smarty_tpl->tpl_vars['me']->do_else = false;
|
||||
?>
|
||||
<tr align="left" style="font-size: 12pt;" onclick="window.location='?s=w_tanken&renr=<?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
|
||||
'">
|
||||
<?php if ($_smarty_tpl->tpl_vars['anz']->value != $_smarty_tpl->tpl_vars['me']->value['RechNr']) {?> <td nowrap style="width:100%"> <?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
|
||||
</td>
|
||||
<?php } else { ?> <td nowrap style="width:100%;color:#0093D7"> <?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
|
||||
</td> <?php }?>
|
||||
<td nowrap align="right" style="font-size: 8pt"><?php echo $_smarty_tpl->tpl_vars['me']->value['Rechnungsdatum'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
1= A komplett
|
||||
2= M komplett
|
||||
3=
|
||||
4=
|
||||
5= A ohne Tank
|
||||
6=
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------->
|
||||
<div class="col-md-8">
|
||||
<!---------------->
|
||||
<?php if ($_smarty_tpl->tpl_vars['load']->value == 1) {?>
|
||||
<div class="load">
|
||||
<span class="panel-title">Einladen erfolgreich.</span>
|
||||
</div>
|
||||
<?php }?>
|
||||
<!------------ einzelaufruf Tankbeleg -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 99) {?>
|
||||
<div class="mre">
|
||||
<table class="table table-condensed">
|
||||
<tr style="font-size: 9pt">
|
||||
<th>KartenNr.</th>
|
||||
<th>Kennz.</th>
|
||||
<th>Datum / eit</th>
|
||||
<th>km-Stand</th>
|
||||
<th>Liter</th>
|
||||
<th>Sorte</th>
|
||||
<th>Check ID</th>
|
||||
<th>x</th>
|
||||
</tr>
|
||||
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&ref=<?php echo $_smarty_tpl->tpl_vars['beleg']->value['id'];?>
|
||||
'">
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Karte'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Kfz'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Tankdatum'];?>
|
||||
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['beleg']->value['Tankzeit'],5,'');?>
|
||||
Uhr</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['KmStand'];?>
|
||||
km</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 5) {?>
|
||||
<td nowrap style="color:red" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Menge'];?>
|
||||
l.</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Menge'];?>
|
||||
l.</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 59) {?> <td nowrap style="color:darkmagenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 5) {?> <td nowrap style="color:magenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 12) {?> <td nowrap style="color:cyan" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 20) {?> <td nowrap style="color:orange" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } else { ?> <td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
|
||||
</td> <?php }?>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['kontrolle'];?>
|
||||
</td>
|
||||
<td nowrap align="left">
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form action="" method="post" id="tsave">
|
||||
<div class="btn-group" role="group" aria-label="...">
|
||||
<button type="submit" class="btn btn-warning">bearbeiten</button>
|
||||
<button type="submit" value=<?php echo $_smarty_tpl->tpl_vars['beleg']->value['id'];?>
|
||||
name="ok_save" class="btn btn-success" formaction="#">bestätigen</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-------------->
|
||||
<!-------------->
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['anz']->value == 1) {?>
|
||||
<div class="mre">
|
||||
<table class="table table-condensed">
|
||||
<tr style="font-size: 9pt">
|
||||
<th>KartenNr.</th>
|
||||
<th>Kennz.</th>
|
||||
<th>Datum / eit</th>
|
||||
<th>km-Stand</th>
|
||||
<th>Liter</th>
|
||||
<th>Sorte</th>
|
||||
<th>Check ID</th>
|
||||
<th>x</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['beleg']->value, 'offen');
|
||||
$_smarty_tpl->tpl_vars['offen']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['offen']->value) {
|
||||
$_smarty_tpl->tpl_vars['offen']->do_else = false;
|
||||
?>
|
||||
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&ref=<?php echo $_smarty_tpl->tpl_vars['offen']->value['id'];?>
|
||||
'">
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Karte'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Kfz'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Tankdatum'];?>
|
||||
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['offen']->value['Tankzeit'],5,'');?>
|
||||
Uhr</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['KmStand'];?>
|
||||
km</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?>
|
||||
<td nowrap style="color:red" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
|
||||
l.</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
|
||||
l.</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 59) {?> <td nowrap style="color:darkmagenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 5) {?> <td nowrap style="color:magenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 12) {?> <td nowrap style="color:cyan" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 20) {?> <td nowrap style="color:orange" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td>
|
||||
<?php } else { ?> <td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td> <?php }?>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['kontrolle'];?>
|
||||
</td>
|
||||
<td nowrap align="left">
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
|
||||
|
||||
<?php } else { ?>
|
||||
<div class="mre">
|
||||
<table class="table table-condensed">
|
||||
<tr style="font-size: 9pt">
|
||||
<th>KartenNr.</th>
|
||||
<th>Kennz.</th>
|
||||
<th>Datum/Zeit</th>
|
||||
<th>km-Stand</th>
|
||||
<th>Liter</th>
|
||||
<th>Sorte</th>
|
||||
<th>Check ID</th>
|
||||
<th>x</th>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['beleg']->value, 'offen');
|
||||
$_smarty_tpl->tpl_vars['offen']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['offen']->value) {
|
||||
$_smarty_tpl->tpl_vars['offen']->do_else = false;
|
||||
?>
|
||||
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&renr=<?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
|
||||
'">
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Karte'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Kfz'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Tankdatum'];?>
|
||||
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['offen']->value['Tankzeit'],5,'');?>
|
||||
Uhr</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['KmStand'];?>
|
||||
km</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
|
||||
l.</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
|
||||
</td>
|
||||
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['kontrolle'];?>
|
||||
</td>
|
||||
<td nowrap align="left" style="font-size: 12pt">
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
<!-------------------------------------------------------------------------------------------------------------------->
|
||||
|
||||
<!-------------------------------------------------------------------------------------------------------------------->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-08-18 13:20:12
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_nirght_kal.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66c1d8ec009f03_74208154',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'787623f5c1f17d31232d86aab284b2e333c9acba' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_nirght_kal.tpl',
|
||||
1 => 1723980009,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66c1d8ec009f03_74208154 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 14pt">
|
||||
<span style="font-size: 14pt" class="far fa-person-sign"></span>
|
||||
<span style="font-size: 12pt"> <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
|
||||
</span>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-9px;line-height:12px">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kald']->value, 'kal');
|
||||
$_smarty_tpl->tpl_vars['kal']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
|
||||
$_smarty_tpl->tpl_vars['kal']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<td style="width:30px;font-size:12pt">
|
||||
<?php if ($_smarty_tpl->tpl_vars['kal']->value['na'] != 0) {?>
|
||||
<i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
|
||||
' style="color:#b50000"></i>
|
||||
<?php } else { ?>
|
||||
<i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
|
||||
' style="color: orange"></i>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td style="width:200px;font-size:10pt;">
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['kal']->value['fahrer'];?>
|
||||
</strong></br>
|
||||
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-27 12:17:57
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/fuss.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_66040065223c31_69307034',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'816b5964d1f27eba6c612585d9462abe46b89dfb' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/fuss.tpl',
|
||||
1 => 1704622220,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_66040065223c31_69307034 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?> <footer id="page-footer">
|
||||
<div id="footer-inner">
|
||||
<p class="wrapper"><span style="float: right;"><b> © 2010-2012. All rights reserved. edv@jb-transport.de</p>
|
||||
</div>
|
||||
</footer><?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,723 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-04-04 15:36:00
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pnacht.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_660eacc0c9a318_40082285',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'8232e4bde951a48c5b2c93676c3c939211009db3' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pnacht.tpl',
|
||||
1 => 1712232504,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_660eacc0c9a318_40082285 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
|
||||
?>
|
||||
<link rel="stylesheet" href="template/css/planung.css">
|
||||
<!-- <link rel="stylesheet" href="../lib/css/select2.min.css"> -->
|
||||
<?php echo '<script'; ?>
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<!-- ********** -->
|
||||
<body style="background-color:#333333">
|
||||
<!-- ********** -->
|
||||
|
||||
<section class="col-md-9" style="background-color:#333333">
|
||||
<div class="row sortable" style="background-color:#333333">
|
||||
<!-- Main Section -- mittlere Spalte -->
|
||||
<div class="col-md-2">
|
||||
<div class="panel panel-tbox">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<td nowrap style="align:center;width:320px;font-size:14pt">
|
||||
<a class="fa fa-arrow-left" href="?s=pnacht&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"></a>
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</strong>
|
||||
<a class="fa fa-arrow-right" href="?s=pnacht&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"></a></td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-heading" style="background-color:orange;">
|
||||
<spawn style="width:5px;height:20px;font-size:16pt;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%d.%m.%y");?>
|
||||
</spawn>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<table class="table-hover" style="font-size:11pt;line-height: 14pt">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tage']->value, 'kt');
|
||||
$_smarty_tpl->tpl_vars['kt']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kt']->value) {
|
||||
$_smarty_tpl->tpl_vars['kt']->do_else = false;
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($_smarty_tpl->tpl_vars['kt']->value['tagt'] == 1) {?>
|
||||
</tr>
|
||||
<td> </td>
|
||||
<td nowrap style="width:5px;font-size:4pt;line-height: 5pt" > </td>
|
||||
</tr>
|
||||
<td style="width:5px"> </td>
|
||||
<td nowrap style="width:70px;font-size:8pt">--- <?php echo $_smarty_tpl->tpl_vars['kt']->value['kw'];?>
|
||||
.KW ---</td>
|
||||
<tr>
|
||||
<?php }?>
|
||||
<td style="font-size:8pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
|
||||
" onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
|
||||
|
||||
</td>
|
||||
<td style="font-size:13pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
|
||||
" onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
|
||||
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
|
||||
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- mitte seite -->
|
||||
|
||||
|
||||
|
||||
<!-- <div id="phelp" style="text-align:center;"></div> -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
|
||||
<div class="col-md-10">
|
||||
<div class="panel-heading" style="background-color:darkred;">
|
||||
<spawn style='font-size:16pt;color:white;'><strong>Achtung!</strong> Diese Planung liegt in der Vergangenheit...</spawn>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['fttest']->value != 0) {?>
|
||||
<div class="col-md-10">
|
||||
<div class="panel-heading" style="background-color:orangered;">
|
||||
<spawn style='font-size:16pt;color:white;'><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
|
||||
</spawn>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="col-md-10" >
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style hover">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_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;
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-tbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
|
||||
|
||||
<?php }?>
|
||||
<tr>
|
||||
<form action="" method="post">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
|
||||
<td nowrap style="width:110px;color:bisque"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td nowrap style="width:110px;"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
<!-- --------------------------- fahrer hinweis -->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td style="width:20px"> </td> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
><i class="far fa-info" style="color:orange"></i></td> <?php }?>
|
||||
|
||||
<!-- ------------------------------------------
|
||||
<td style="width:20px"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
|
||||
</td>
|
||||
-->
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
|
||||
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
|
||||
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?>
|
||||
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?>
|
||||
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?>
|
||||
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
|
||||
|
||||
<?php } else { ?> <td style="width:20px"> </td>
|
||||
<?php }?>
|
||||
|
||||
<!-- --------------------------- fahrer mit anwesenheitsprüfung
|
||||
|
||||
<td nowrap id="ma_wahl<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['typ'];?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
|
||||
" style="width:165px;font-size:10pt;"></td> -->
|
||||
|
||||
<!-- --------------------------- fahrer mit anwesenheitsprüfung -->
|
||||
<td nowrap style="width:195px;">
|
||||
<!-- --------------------------- -->
|
||||
|
||||
<!-- --------------------------- -->
|
||||
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
|
||||
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)";>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 3) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array3']->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'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 4) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array4']->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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 5) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array5']->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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 17) {?>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array17']->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;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
|
||||
</option><?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
<?php }?>
|
||||
<!-- --------------------------- -->
|
||||
|
||||
</select>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<!-- --------------------------- Fahrzeug -->
|
||||
<td nowrap style="width:110px;">
|
||||
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" data-width="100px"
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] != 0) {?> style="width:90px;border:none;border-bottom: 1px solid "
|
||||
<?php } else { ?> style="color: red"
|
||||
<?php }?>
|
||||
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)" data-hight="10px">
|
||||
<?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'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'options2'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
<!-- --------------------------- Zusatzinfo neu -->
|
||||
|
||||
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
|
||||
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
|
||||
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"
|
||||
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
]"
|
||||
onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
)">
|
||||
</td>
|
||||
<!--
|
||||
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
" style="width:117px;font-size:7pt;">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?>
|
||||
<div style="text-align: right; width:115px;font-size:8pt;color:#FF2222"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?>
|
||||
<div style="text-align: right; width:115px;font-size:8pt;color:#FF9900"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
-->
|
||||
|
||||
<!-- SMS Status !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
|
||||
|
||||
|
||||
|
||||
<!-- <i class="fal fa-comment-alt fa-1x" style="color:#999" ></i> -->
|
||||
|
||||
</td>
|
||||
<!-- Infobereich !!!!! ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px">
|
||||
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
|
||||
)"></i>
|
||||
</td>
|
||||
<!-- SMS senden Änderung ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:20px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
'";>
|
||||
<i class="fal fa-sms" style="color:#999" >
|
||||
</td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 0) {?>
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&dazu=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
|
||||
'";>
|
||||
<i class="fal fa-plus" style="color:#999" >
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 1) {?>
|
||||
<!-- 2. Tour löschen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;"
|
||||
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
|
||||
'";>
|
||||
<i class="fas fa-times" style="color:#444" >
|
||||
</td>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 2) {?>
|
||||
<!-- 2. Tour hinzufügen ------------------------------------- -->
|
||||
<td nowrap align="center" style="width:30px; font-size:13pt;">
|
||||
<i class="fal fa-minus" style="color:#444" >
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -------------------------------------->
|
||||
</section>
|
||||
|
||||
|
||||
<!-- rechte seite -->
|
||||
<!-- -------------------------------------->
|
||||
|
||||
<!-- Sidebar -->
|
||||
<aside class="col-md-3" style="background-color:#333333">
|
||||
<div id="rightmenu" class="panel panel-tbox">
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-20px">
|
||||
<thead>
|
||||
<tr>
|
||||
<td nowrap align="center" style="width:150px;font-size: 40pt">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
"/>
|
||||
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"/>
|
||||
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
"/>
|
||||
<button type="submit" class="btn btn" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('Möchten sie wirklich alle SMS senden ?')" style="background-color: #222222;color:gray">
|
||||
<i style="font-size: 40pt" class="far fa-sms fa-lg"></i>
|
||||
</form>
|
||||
</td>
|
||||
<td></td>
|
||||
<td nowrap align="center" style="width:100px;font-size: 40pt">
|
||||
<form action="" method="post">
|
||||
<button type="submit" class="btn btn" id="notifyBtn" name="vortag" value="vortag übernehmen" value="kompl. Liste per SMS senden" onclick="return confirm('Möchten sie wirklich den Vortag kopieren ??')"style="background-color: #222222;color:gray">
|
||||
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div id="rightmenu" class="panel panel-default">
|
||||
<table class="no-style full">
|
||||
<tbody>
|
||||
<td>
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
"/>
|
||||
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
"/>
|
||||
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
"/>
|
||||
<input type="submit" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('Möchten sie wirklich alle SMS senden ?')">
|
||||
</form>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
-->
|
||||
<!-- ------------------------------------ -->
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------- History -->
|
||||
<div id="tinfo"></div>
|
||||
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
|
||||
<div id="rightmenu" class="panel panel-tbox">
|
||||
<header class="panel-heading" style="font-size: 16pt;line-height:80%"><span class="fad fa-calendar-alt pull-left"></span><div class="panel-title"> Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
</div></header>
|
||||
<div class="panel-body">
|
||||
<table class="no-style full" style="margin:-8px">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
|
||||
$_smarty_tpl->tpl_vars['maf']->do_else = false;
|
||||
?>
|
||||
<tr align="left" >
|
||||
<td align="center" nowrap style="width:15px;font-size:11pt;">
|
||||
<?php if ($_smarty_tpl->tpl_vars['maf']->value['na'] != 0) {?>
|
||||
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
|
||||
' style="color:#b50000"></i>
|
||||
<?php } else { ?>
|
||||
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
|
||||
' style="color: orange"></i>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td align="left" nowrap style="width:130px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
|
||||
</td>
|
||||
<td align="right" nowrap style="width:100px;font-size:10pt"><?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- -------------------------------- verfügbare Mitarbeiter -->
|
||||
<div id="freema"></div>
|
||||
<!-- -------------------------------- verfügbare Fahrzeuge -->
|
||||
<div id="freecar"></div>
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
|
||||
</aside>
|
||||
<!-- --------------------------------------------------------------------------------- -->
|
||||
<!-- Sidebar End -->
|
||||
|
||||
</body>
|
||||
<!-- <?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'; ?>
|
||||
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var monat2 = '7';<?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
|
||||
';<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function tinfo(tid) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=tinfo&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tid=' + tid,
|
||||
success: function (data) {
|
||||
$("#tinfo").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function load_free_cars(tag,monat,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=free_car&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
|
||||
success: function (data) {
|
||||
$("#freecar").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function load_free_ma(tag,monat,jahr) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=free_ma&tpl",
|
||||
dataType: 'html',
|
||||
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
|
||||
success: function (data) {
|
||||
$("#freema").html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
function save_car(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=pnacht&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'
|
||||
}
|
||||
});
|
||||
}
|
||||
load_free_cars(tag,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function save_info(tourID) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=pnacht&a=info_save",
|
||||
dataType: 'json',
|
||||
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
|
||||
success: function (data) {
|
||||
$.notify({
|
||||
icon: 'glyphicon glyphicon-warning-ok',
|
||||
message: data.lastnote
|
||||
},{
|
||||
type: 'info',
|
||||
showProgressbar: true,
|
||||
delay: 300,
|
||||
newest_on_top: false,
|
||||
element: 'body',
|
||||
placement: {
|
||||
from: "bottom",
|
||||
align: "right"
|
||||
},
|
||||
animate: {
|
||||
enter: 'animated fadeInDown',
|
||||
exit: 'animated fadeOutUp'
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
function save_user(tourID) {
|
||||
//alert($("#car_"+tourID).val());
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: "ajax.php?s=pnacht&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'
|
||||
}
|
||||
});
|
||||
}
|
||||
load_free_ma(tag,monat,jahr);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
load_free_ma(tag,monat,jahr);
|
||||
load_free_cars(tag,monat,jahr);
|
||||
|
||||
var refreshId = setInterval(function() {
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
url : 'ajax.php?s=pnacht&a=smscheck&tpl',
|
||||
cache : false,
|
||||
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
|
||||
dataType : "json",
|
||||
success : function (back) {
|
||||
/*
|
||||
$.each(back.s, function(t,s) {
|
||||
console.log(back.s)
|
||||
$("#smscheck"+back.t).html(back.s);
|
||||
})
|
||||
*/
|
||||
for (var i = 0; i < back.length; i++) {
|
||||
console.log (back.t[i]);
|
||||
$("#smscheck"+back.t[i]).html(back.s[i]);
|
||||
//$("#smscheck"+back.i.tour).html(back.i.status);
|
||||
}
|
||||
|
||||
},
|
||||
})
|
||||
}, 60000);
|
||||
|
||||
$(function () {
|
||||
$("select").select2();
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-03-29 15:05:10
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6606ca962f6b81_39785083',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'832c4300d401959b9dbafac3e4dddb4cb929e392' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl',
|
||||
1 => 1694432193,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_6606ca962f6b81_39785083 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['data']->value['fahrer'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['auto'] == 0) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-times' style="color:#000000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 0) {?> <!-- SMS in Warteschleife -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 1) {?> <!-- SMS in statusbericht abfarge -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 2) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#04B404;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 3) {?> <!-- SMS in statusbericht abfarge -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 4) {?> <!-- SMS in statusbericht abfarge -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 5) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 8) {?> <!-- SMS in Warteschleife -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 20) {?> <!-- SMS in Warteschleife -->
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
|
||||
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 99) {?>
|
||||
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
|
||||
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
|
||||
<?php }?>
|
||||
<?php }
|
||||
}
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-07-10 14:43:32
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_tuer.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_668e81f48a21f2_00486579',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'862b2581bdbbbe20afc19a81766f14406aeea859' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_tuer.tpl',
|
||||
1 => 1720615349,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:tpl/ajax/_ma_subm.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_668e81f48a21f2_00486579 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
|
||||
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
|
||||
<div class="max">
|
||||
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
|
||||
<tbody>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['klog']->value, 'k');
|
||||
$_smarty_tpl->tpl_vars['k']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
|
||||
$_smarty_tpl->tpl_vars['k']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:18px;color: #aaa">
|
||||
<td width="160px"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['k']->value['zeit2'],"%d.%m.%y - %H:%M");?>
|
||||
Uhr</td>
|
||||
<td align="right" width="80px" style="color: #808080"><?php echo $_smarty_tpl->tpl_vars['k']->value['diff'];?>
|
||||
~<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['k']->value['diff2'],"%H:%M");?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
.max {
|
||||
background: #222;
|
||||
color: turquoise;
|
||||
padding: 3px;
|
||||
border: 1px solid turquoise;
|
||||
font-size: 13px;
|
||||
border-radius:6px;
|
||||
margin-top: -12px;
|
||||
margin-bottom: 20px;
|
||||
min-height: 50px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||