init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
34
scripts/list_a_monat.php
Normal file
34
scripts/list_a_monat.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?
|
||||
$heute_jahr = date("Y");
|
||||
$heute_monat = date("m");
|
||||
$heute_tag = date("d");
|
||||
|
||||
if(isset($_POST['tourwahl'])) {
|
||||
// echo $_POST['Tourwahl'];
|
||||
// echo $_POST['monate'];
|
||||
// echo $_POST['jahre'];
|
||||
$a_monat=$_POST['monate'];
|
||||
$a_jahr=$_POST['jahre'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//---------------------------
|
||||
$touren = $GLOBALS['mysql']->query_array("SELECT * FROM touren WHERE typ>0 and typ<7 ORDER BY id");
|
||||
$monate['id']= array(1,2,3,4,5,6,7,8,9,10,11,12);
|
||||
$monate['name']=array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
|
||||
$monate['monat']=$heute_monat;
|
||||
$jahre['id']= array(2012,2013,2014,2015,2016,2017,2018,2019,2020);
|
||||
$jahre['name']=array(2012,2013,2014,2015,2016,2017,2018,2019,2020);
|
||||
$jahre['jahr']=$heute_jahr;
|
||||
|
||||
//---------------------------
|
||||
$heute = "$heute_tag.$heute_monat.$heute_jahr";
|
||||
$template->assign('monate', $monate);
|
||||
$template->assign('jahre', $jahre);
|
||||
$template->assign('datum', $heute);
|
||||
$template->assign('content', 'tpl/list_a_monat.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue