init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
40
scripts/stouren.php
Normal file
40
scripts/stouren.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
$_SESSION['m1']=1; $_SESSION['m2']=15;
|
||||
if(isset($_POST['liste'])) {
|
||||
echo $_POST['dasdatum'];
|
||||
$datum_arr = explode('.',$_POST['dasdatum']);
|
||||
$timestamp1 = mktime(0,0,0, $datum_arr[1] , $datum_arr[0] ,$datum_arr[2]);
|
||||
header("Location:?s=stouren&list=".$_POST['liste'].'&time='.$timestamp1);
|
||||
|
||||
|
||||
}
|
||||
if($_GET['list'] != '') {
|
||||
|
||||
|
||||
|
||||
$dasdatum=date('d.m.Y',$inforow['time']);
|
||||
$datum_arr = explode('.',$dasdatum);
|
||||
$timestamp1 = mktime(20,0,0, $datum_arr[1] , $datum_arr[0] ,$datum_arr[2]);
|
||||
|
||||
|
||||
echo $datum_arr[1];
|
||||
echo $datum_arr[0];
|
||||
echo $datum_arr[2];
|
||||
|
||||
//header("Location:?s=planer");
|
||||
//header("Location:?s=planer&list=".$ptid."&db&save");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
$template->assign('time', time());
|
||||
$template->assign('table', $table);
|
||||
$template->assign('content', 'tpl/select_date.tpl');
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue