init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
22
scripts/ajax/p_nirght_kal.php
Normal file
22
scripts/ajax/p_nirght_kal.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
|
||||
// $tagp = strtotime("+0 day");
|
||||
$tag = $_POST['tag'];
|
||||
$monat = $_POST['monat'];
|
||||
$jahr = $_POST['jahr'];
|
||||
$datum=$tag.".".$monat.".".$jahr;
|
||||
|
||||
$ma_kalender = $GLOBALS['mysql']->sql("SELECT * FROM planer WHERE tag='".$tag."' AND monat='".$monat."' AND jahr='".$jahr."'"); $key=0;
|
||||
while($row = $ma_kalender->fetch_assoc()) {
|
||||
$maf1[$key]['fahrer'] = $_SESSION['ma_all'][$row['mid']]['name'];
|
||||
$maf1[$key]['bez'] = $_SESSION['pbz'][$row['grund']]['bez'];
|
||||
$maf1[$key]['icon'] = $_SESSION['pbz'][$row['grund']]['fa'];
|
||||
$maf1[$key]['na'] = $_SESSION['pbz'][$row['grund']]['nichtda'];
|
||||
$key++;
|
||||
}
|
||||
$template->assign('datum', $datum);
|
||||
$template->assign('kald', $maf1);
|
||||
$template->assign('content', 'tpl/ajax/p_nirght_kal.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue