348 lines
16 KiB
PHP
348 lines
16 KiB
PHP
<?php
|
|
error_reporting(E_ALL);
|
|
ini_set('display_errors', 0);
|
|
|
|
//echo'<pre>'; print_r($test_tour2['num_rows']); echo'</pre>';
|
|
|
|
$_SESSION['m1']=1; $_SESSION['m2']=13;
|
|
if($_SESSION['benutzer']==12) { $planer="T. Muerbe"; }
|
|
else if($_SESSION['benutzer']==13) { $planer="Anett"; }
|
|
else if($_SESSION['benutzer']==18) { $planer="Joerg Basse"; }
|
|
else if($_SESSION['benutzer']==44) { $planer="I. Steinmacher"; }
|
|
else $planer="Frank";
|
|
|
|
$jahr_aktuell = (int)date('Y');
|
|
$kw_aktuell = (int)date('W');
|
|
if(isset($_POST['smssenden'])) {
|
|
$tourid=$_POST['smssenden'];
|
|
$row_smstour = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE id='".$tourid."'");
|
|
$sms_tag=$row_smstour['tag'];
|
|
$sms_monat=$row_smstour['monat'];
|
|
$sms_jahr=$row_smstour['jahr'];
|
|
$row_tourn = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row_smstour['tour']."'");
|
|
$sms_tour=$row_tourn['tour'];
|
|
$sms_auto=$row_smstour['auto'];
|
|
$sms_zeit=$row_smstour['zeit'];
|
|
$sms_gewicht=$row_smstour['gewicht'];
|
|
$sms_norm=$row_smstour['Norm'];
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$sms_auto."'");
|
|
$sms_autoname=$row_autox['kz'];
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row_smstour['fahrer']."'");
|
|
$sms_nummer[0]=$row_fahrerx['handy'];
|
|
$MessageText = "TIP-Werbung ".$sms_tag.".".$sms_monat.".".$sms_jahr." * Tour: ".$sms_tour." * ".$sms_zeit." Uhr * ".$sms_gewicht." kg * ".$sms_norm."er Norm * mit ".$sms_autoname." * Danke ".$_SESSION['bname'];
|
|
//------------------------------
|
|
//$GLOBALS['sms']->sendsms($MessageText,$sms_nummer);
|
|
$GLOBALS['cms']->sendcms($MessageText,$sms_nummer,$tourid);
|
|
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus=20,smsid='".$_SESSION['messageId']."',logid='".time()."' WHERE id='".$tourid."'");
|
|
if($_SESSION['messageId']>0) {
|
|
$success="SMS erfolgreich an: ".$sms_nummer[0]." versendet."; $template->assign('success', $success);
|
|
} else {
|
|
$error="Fehler: SMS konnte nicht versendet werden !!! - Fehlercode:".$_SESSION['messageId']; $template->assign('error', $error);
|
|
}
|
|
}
|
|
//------------------------ alle Touren speichern
|
|
//------------------------------------------ komplette Tabelle speichern
|
|
|
|
//------------------------------------------ komplette SMS Senden
|
|
elseif(isset($_POST['smspower'])) {
|
|
$key=0; $ssms=0;
|
|
$mpv_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw_aktuell."' and jahr='".$jahr_aktuell."' and typ=13 ORDER BY tour");
|
|
while($row = $mpv_tour->fetch_assoc()) {
|
|
$sms_tag=$row['tag'];
|
|
$sms_monat=$row['monat'];
|
|
$sms_jahr=$row['jahr'];
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
$s_tour=$row['tour'];
|
|
$sms_tour=$row_tour['tour'];
|
|
$wochentag=date('l',mktime(0,0,0,$row['monat'],$row['tag'],$row['jahr']));
|
|
$sms_wt=$wochentag=$GLOBALS['core']->translateDate($wochentag);
|
|
$sms_zeit=$row['zeit'];
|
|
$sms_gewicht=$row['gewicht'];
|
|
$sms_norm=$row['Norm'];
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$sms_autoname=$row_autox['kz'];
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row['fahrer']."'");
|
|
$sms_nummer[0]=$row_fahrerx['handy'];
|
|
$MessageText = "Kaufland-Werbung ".$sms_tag.".".$sms_monat.".".$sms_jahr." * Tour: ".$sms_tour." * ".$sms_zeit." Uhr * ".$sms_gewicht." kg * ".$sms_norm."er Norm * mit ".$sms_autoname." * Danke ".$_SESSION['bname'];
|
|
//------------------------------ sms neu
|
|
$GLOBALS['cms']->sendcms($MessageText,$sms_nummer,$row['id']);
|
|
$GLOBALS['mysql']->insert("UPDATE tourenliste SET smsstatus=20,fertig=1,logid='".time()."' WHERE id='".$row['id']."'");
|
|
$key++;
|
|
//sleep(1);
|
|
}
|
|
$success="Hinweis: ".$key." SMS zum senden vorgemerkt !!!!!!!!!!"; $template->assign('success', $success);
|
|
}
|
|
//----------------------- auslesen
|
|
//---------------------- Touren
|
|
$key=0; $atyp1=0; $atyp2=0; $atyp3=0; $atyp4=0;
|
|
$rs_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw_aktuell."' and jahr='".$jahr_aktuell."' and typ=13 ORDER BY zeit");
|
|
while($row = $rs_tour->fetch_assoc()) {
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
if($row_tour['utyp']==1) {
|
|
$wochentag=date('l',mktime(0,0,0,$row['monat'],$row['tag'],$row['jahr']));
|
|
$datumland=$wochentag=$GLOBALS['core']->translateDate($wochentag)." - ".$row['tag'].".".$row['monat'].".".$row['jahr'];
|
|
$template->assign('datumland', $datumland);
|
|
$ltag=$row['tag'];
|
|
$lmonat=$row['monat'];
|
|
$ljahr=$row['jahr'];
|
|
} else {
|
|
$wochentag=date('l',mktime(0,0,0,$row['monat'],$row['tag'],$row['jahr']));
|
|
$datumstadt=$wochentag=$GLOBALS['core']->translateDate($wochentag)." - ".$row['tag'].".".$row['monat'].".".$row['jahr'];
|
|
$template->assign('datumstadt', $datumstadt);
|
|
$stag=$row['tag'];
|
|
$smonat=$row['monat'];
|
|
$sjahr=$row['jahr'];
|
|
}
|
|
if($row_tour['utyp']==1) {
|
|
$atyp1++;
|
|
$rs_tour1[$key]['id']=$row['id'];
|
|
$rs_tour1[$key]['tid']=$key;
|
|
$rs_tour1[$key]['tour']=$row_tour['tour'];
|
|
$rs_tour1[$key]['fahrer_id']=$row['fahrer'];
|
|
$rs_tour1[$key]['zeit']=$row['zeit'];
|
|
$rs_tour1[$key]['smsid']=$row['smsid'];
|
|
$rs_tour1[$key]['smsstatus']=$row['smsstatus'];
|
|
$rs_tour1[$key]['smsstatusdate']=$row['smsstatusdate'];
|
|
$rs_tour1[$key]['pakete']=$row['Pakete'];
|
|
$rs_tour1[$key]['gewicht4']=$row['gewicht4'];
|
|
$rs_tour1[$key]['gewicht']=$row['gewicht'];
|
|
$rsnorm1=$row['Norm']; $template->assign('rsnorm1', $rsnorm1);
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$rs_tour1[$key]['kennz']=$row_autox['kz'];
|
|
$rs_tour1[$key]['auto_id']=$row['auto'];//sparen
|
|
$row_auto_array = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge WHERE aktiv>0 AND typ>1 ORDER BY kz");
|
|
$rs_tour1[$key]['auto_array']=$row_auto_array;
|
|
$template->assign('rs_tour1', $rs_tour1); // LAND Dienstag abend
|
|
}
|
|
if($row_tour['utyp']==2) {
|
|
$atyp2++;
|
|
$rs_tour2[$key]['id']=$row['id'];
|
|
$rs_tour2[$key]['tid']=$key;
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
$rs_tour2[$key]['tour']=$row_tour['tour'];
|
|
$rs_tour2[$key]['fahrer_id']=$row['fahrer'];
|
|
$rs_tour2[$key]['zeit']=$row['zeit'];
|
|
$rs_tour2[$key]['smsid']=$row['smsid'];
|
|
$rs_tour2[$key]['smsstatus']=$row['smsstatus'];
|
|
$rs_tour2[$key]['smsstatusdate']=$row['smsstatusdate'];
|
|
$rs_tour2[$key]['pakete']=$row['Pakete'];
|
|
$rs_tour2[$key]['gewicht']=$row['gewicht'];
|
|
$rs_tour2[$key]['gewicht4']=$row['gewicht4'];
|
|
$rsnorm2=$row['Norm']; $template->assign('rsnorm2', $rsnorm2);
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$rs_tour2[$key]['kennz']=$row_autox['kz'];
|
|
$rs_tour2[$key]['auto_id']=$row['auto'];//sparen
|
|
$row_auto_array = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge WHERE aktiv>0 AND typ>1 ORDER BY kz");
|
|
$rs_tour2[$key]['auto_array']=$row_auto_array;
|
|
$template->assign('rs_tour2', $rs_tour2); // Stadt NORD
|
|
}
|
|
if($row_tour['utyp']==3) {
|
|
$atyp3++;
|
|
$rs_tour3[$key]['id']=$row['id'];
|
|
$rs_tour3[$key]['tid']=$key;
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
$rs_tour3[$key]['tour']=$row_tour['tour'];
|
|
$rs_tour3[$key]['fahrer_id']=$row['fahrer'];
|
|
$rs_tour3[$key]['zeit']=$row['zeit'];
|
|
$rs_tour3[$key]['smsid']=$row['smsid'];
|
|
$rs_tour3[$key]['smsstatus']=$row['smsstatus'];
|
|
$rs_tour3[$key]['smsstatusdate']=$row['smsstatusdate'];
|
|
$rs_tour3[$key]['gewicht']=$row['gewicht'];
|
|
$rs_tour3[$key]['gewicht4']=$row['gewicht4'];
|
|
$rs_tour3[$key]['pakete']=$row['Pakete'];
|
|
$rsnorm3=$row['Norm']; $template->assign('rsnorm3', $rsnorm3);
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$rs_tour3[$key]['kennz']=$row_autox['kz'];
|
|
$rs_tour3[$key]['auto_id']=$row['auto'];
|
|
$row_auto_array = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge WHERE aktiv>0 AND typ>1 ORDER BY kz");
|
|
$rs_tour3[$key]['auto_array']=$row_auto_array;
|
|
$template->assign('rs_tour3', $rs_tour3); // Stadt WEST
|
|
}
|
|
if($row_tour['utyp']==4) {
|
|
$atyp4++;
|
|
$rs_tour4[$key]['id']=$row['id'];
|
|
$rs_tour4[$key]['tid']=$key;
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
$rs_tour4[$key]['tour']=$row_tour['tour'];
|
|
$rs_tour4[$key]['fahrer_id']=$row['fahrer'];
|
|
$rs_tour4[$key]['zeit']=$row['zeit'];
|
|
$rs_tour4[$key]['smsid']=$row['smsid'];
|
|
$rs_tour4[$key]['smsstatus']=$row['smsstatus'];
|
|
$rs_tour4[$key]['smsstatusdate']=$row['smsstatusdate'];
|
|
$rs_tour4[$key]['gewicht']=$row['gewicht'];
|
|
$rs_tour4[$key]['gewicht4']=$row['gewicht4'];
|
|
$rs_tour4[$key]['pakete']=$row['Pakete'];
|
|
$rsnorm4=$row['Norm']; $template->assign('rsnorm4', $rsnorm4);
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$rs_tour4[$key]['kennz']=$row_autox['kz'];
|
|
$rs_tour4[$key]['auto_id']=$row['auto'];//sparen
|
|
$row_auto_array = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge WHERE aktiv>0 AND typ>1 ORDER BY kz");
|
|
$rs_tour4[$key]['auto_array']=$row_auto_array;
|
|
$template->assign('rs_tour4', $rs_tour4); // Stadt SUED
|
|
}
|
|
$key++;
|
|
}
|
|
//----------------------
|
|
//---- aktive Fahrer ---
|
|
//-------- Land Rundschau Tag -1
|
|
$nichtda_m = $GLOBALS['mysql']->query("SELECT * FROM mitarbeiter WHERE rs>0 && aktiv>0 ORDER BY name");
|
|
$zahl=0;
|
|
$row_fahrer_array1=array();
|
|
while($row3 = $nichtda_m->fetch_assoc()) {
|
|
$nichtda3 = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$row3['id']."' AND tag='".$row['ltag']."' AND monat='".$row['lmonat']."' AND jahr='".$row['ljahr']."'");
|
|
if($nichtda3['num_rows']>0) { $nichtdax = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$nichtda3['grund']."'"); }
|
|
if($nichtda3['num_rows'] == 0) {
|
|
$row_fahrer_array1[$zahl]['id']=$row3['id'];
|
|
$row_fahrer_array1[$zahl]['name']=$row3['name'];
|
|
$zahl++;
|
|
}
|
|
elseif($nichtdax['nichtda'] != 1 || $nichtdax['nichtda'] != 13) {
|
|
$row_fahrer_array1[$zahl]['id']=$row3['id'];
|
|
$row_fahrer_array1[$zahl]['name']=$row3['name'];
|
|
$zahl++;
|
|
}
|
|
}
|
|
//---------- Stadt Rundschau Tag x
|
|
$nichtda_s = $GLOBALS['mysql']->query("SELECT * FROM mitarbeiter WHERE rs>0 && aktiv>0 ORDER BY name");
|
|
$zahl=0;
|
|
$row_fahrer_array2=array();
|
|
while($row4 = $nichtda_s->fetch_assoc()) {
|
|
$nichtda4 = $GLOBALS['mysql']->query_single("SELECT * FROM planer WHERE mid='".$row3['id']."' AND tag='".$stag."' AND monat='".$smonat."' AND jahr='".$sjahr."'");
|
|
if($nichtda4['num_rows']>0) { $nichtdax = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$nichtda4['grund']."'"); }
|
|
if($nichtda4['num_rows'] == 0) {
|
|
$row_fahrer_array2[$zahl]['id']=$row4['id'];
|
|
$row_fahrer_array2[$zahl]['name']=$row4['name'];
|
|
$zahl++;
|
|
}
|
|
elseif($nichtdax['nichtda'] != 1 || $nichtdax['nichtda'] != 13) {
|
|
$row_fahrer_array2[$zahl]['id']=$row4['id'];
|
|
$row_fahrer_array2[$zahl]['name']=$row4['name'];
|
|
$zahl++;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// zurückrechen
|
|
$kw_alt = (int)date('W',time()-604800);
|
|
$jahr_alt = (int)date('Y',time()-604800);
|
|
|
|
$kei=0;
|
|
$rs_tour = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw_alt."' and jahr='".$jahr_alt."' and typ=13");
|
|
while($row = $rs_tour->fetch_assoc()) {
|
|
$row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
|
$last[$kei]['tour']=$row_tour['tour'];
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row['fahrer']."'");
|
|
$last[$kei]['fahrer']=$row_fahrerx['name'];
|
|
$row_autox = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['auto']."'");
|
|
$last[$kei]['kennz']=$row_autox['kz'];
|
|
$kei++;
|
|
}
|
|
//----------------------- Mitarbeiter info
|
|
//---------- land
|
|
if($atyp1>0) {
|
|
$test = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$ltag."' AND monat='".$lmonat."' AND jahr='".$ljahr."'");
|
|
$key=0;
|
|
while($row = $test->fetch_assoc()) {
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row['mid']."'");
|
|
$maf1[$key]['fahrer']=$row_fahrerx['name'];
|
|
$row_icon = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$row['grund']."'");
|
|
$maf1[$key]['bez']=$row_icon['bez'];
|
|
$maf1[$key]['icon']=$row_icon['icon'];
|
|
$key++;
|
|
}
|
|
$bday = $GLOBALS['mysql']->query("SELECT * FROM mitarbeiter WHERE gebtag='".$ltag."' AND gebmonat='".$lmonat."' and aktiv>0");
|
|
while($row = $bday->fetch_assoc()) {
|
|
if($row['gebjahr']>0) {
|
|
$maf1[$key]['fahrer']=$row['name']; $jahre=$ljahr-$row['gebjahr']; $maf1[$key]['bez']=$jahre.". Geburtstag"; $maf1[$key]['icon']="bday.png";
|
|
$key++;
|
|
}}
|
|
$auto = $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$ltag."' AND monat='".$lmonat."' AND jahr='".$ljahr."'");
|
|
while($row = $auto->fetch_assoc()) {
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['fid']."'");
|
|
$maf1[$key]['fahrer']=$row_fahrerx['kz'];
|
|
$row_icon = $GLOBALS['mysql']->query_single("SELECT * FROM fplaner_bez WHERE id='".$row['grund']."'");
|
|
$maf1[$key]['bez']=$row_icon['bez'];
|
|
$maf1[$key]['icon']=$row_icon['icon'];
|
|
$key++;
|
|
}
|
|
$template->assign('maf1', $maf1);
|
|
}
|
|
//------ 2tag stadttouren
|
|
$test = $GLOBALS['mysql']->query("SELECT * FROM planer WHERE tag='".$stag."' AND monat='".$smonat."' AND jahr='".$sjahr."'");
|
|
$key=0;
|
|
while($row = $test->fetch_assoc()) {
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM mitarbeiter WHERE id='".$row['mid']."'");
|
|
$maf2[$key]['fahrer']=$row_fahrerx['name'];
|
|
$row_icon = $GLOBALS['mysql']->query_single("SELECT * FROM planer_bez WHERE id='".$row['grund']."'");
|
|
$maf2[$key]['bez']=$row_icon['bez'];
|
|
$maf2[$key]['icon']=$row_icon['icon'];
|
|
$key++;
|
|
}
|
|
$bday = $GLOBALS['mysql']->query("SELECT * FROM mitarbeiter WHERE gebtag='".$stag."' AND gebmonat='".$smonat."' and aktiv>0");
|
|
while($row = $bday->fetch_assoc()) {
|
|
// if($row['gebjahr']>0) {
|
|
$maf2[$key]['fahrer']=$row['name']; $jahre=$sjahr-$row['gebjahr']; $maf2[$key]['bez']=$jahre.". Geburtstag"; $maf2[$key]['icon']="bday.png";
|
|
$key++;
|
|
// }
|
|
}
|
|
$auto = $GLOBALS['mysql']->query("SELECT * FROM fplaner WHERE tag='".$stag."' AND monat='".$smonat."' AND jahr='".$sjahr."'");
|
|
while($row = $auto->fetch_assoc()) {
|
|
$row_fahrerx = $GLOBALS['mysql']->query_single("SELECT * FROM fahrzeuge WHERE id='".$row['fid']."'");
|
|
$maf2[$key]['fahrer']=$row_fahrerx['kz'];
|
|
$row_icon = $GLOBALS['mysql']->query_single("SELECT * FROM fplaner_bez WHERE id='".$row['grund']."'");
|
|
$maf2[$key]['bez']=$row_icon['bez'];
|
|
$maf2[$key]['icon']=$row_icon['icon'];
|
|
$key++;
|
|
}
|
|
|
|
//---------------------------
|
|
$testcar = $GLOBALS['mysql']->query("SELECT * FROM fahrzeuge WHERE aktiv>0 and aktiv<90 and besitz<4 and typ>2 ORDER BY kz"); $key=0;
|
|
while($row = $testcar->fetch_assoc()) {
|
|
$test_kal = $GLOBALS['mysql']->query_single("SELECT * FROM fplaner WHERE tag='".$stag."' and monat='".$smonat."' and jahr='".$sjahr."' and fid='".$row['id']."'");
|
|
if($test_kal['num_rows'] == 0) {
|
|
$test_tour2 = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE tag='".$stag."' and monat='".$smonat."' and jahr='".$sjahr."' and auto='".$row['id']."' and typ>5");
|
|
if($test_tour2['num_rows'] == 0) {
|
|
$frstrp[$key]['car'] =$row['kz'];
|
|
$frstrp[$key]['ort'] =$row['standort'];
|
|
$frstrp[$key]['bez'] =$row['hersteller']." ".$row['name'];
|
|
$key++;
|
|
}
|
|
}
|
|
}
|
|
|
|
$template->assign('frstrp', $frstrp);
|
|
//---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$template->assign('maf2', $maf2);
|
|
|
|
$template->assign('datum_unix', mktime(0,0,0, $smonat,$stag,$sjahr));
|
|
$template->assign('fahrer_array1', $row_fahrer_array1);
|
|
$template->assign('fahrer_array2', $row_fahrer_array2);
|
|
|
|
|
|
$template->assign('atyp1', $atyp1);
|
|
$template->assign('atyp2', $atyp2);
|
|
$template->assign('atyp3', $atyp3);
|
|
$template->assign('atyp4', $atyp4);
|
|
|
|
|
|
$template->assign('kw_alt', $kw_alt);
|
|
$template->assign('jahr_alt', $jahr_alt);
|
|
$template->assign('kw_aktuell', $kw_aktuell);
|
|
$template->assign('last', $last); // letzte Woche
|
|
|
|
|
|
|
|
|
|
|
|
$template->assign('content', 'tpl/ptip.tpl');
|
|
?>
|