This commit is contained in:
steven 2025-08-11 22:23:30 +02:00
commit 72a26edcff
22092 changed files with 2101903 additions and 0 deletions

24
scripts/ajax/a_abr.php Normal file
View file

@ -0,0 +1,24 @@
<?php
$a_touren = $GLOBALS['a_touren'];
//echo'<pre>'; print_r($row); echo'</pre>';
$tourx = $GLOBALS['mysql']->query_single("SELECT * FROM tourenliste WHERE tour='".$_POST['tid']."' and monat='".$_POST['monat']."' and jahr='".$_POST['jahr']."'");
$template->assign('tdata', $tourx['num_rows']);
if($tourx['num_rows']!=0) {
$ta_id= array_search($_POST['tid'], array_column($a_touren, 'id'));
$template->assign('tname',$a_touren[$ta_id]['tour']);
$template->assign('tinfo',$a_touren[$ta_id]['infotitel']);
$template->assign('tid',$_POST['tid']);
$template->assign('monat',$_POST['monat']);
$template->assign('jahr',$_POST['jahr']);
}
$template->assign('content', 'tpl/ajax/a_abr.tpl');
?>