init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
22
scripts/ajax/sasolive.php
Normal file
22
scripts/ajax/sasolive.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
if (date('w')==6) {
|
||||
$jahr = (int)date('Y');
|
||||
$kw = (int)date('W');
|
||||
$abfrage1 = $GLOBALS['mysql']->query("SELECT * FROM tourenliste WHERE kw='".$kw."' and jahr='".$jahr."' and typ=19 ORDER BY tour"); $key=0;
|
||||
while($row = $abfrage1->fetch_assoc()) {
|
||||
$test_sped = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$row['tour']."'");
|
||||
$sslive[$key]['tnamek']=$test_sped['tour'];
|
||||
$sslive[$key]['status']=$row['status'];
|
||||
$sslive[$key]['pal']="0";
|
||||
$sslive[$key]['istpal']="0";
|
||||
$sslive[$key]['pakete']=$row['Pakete'];
|
||||
$tour=$row['tour'];
|
||||
$key++;
|
||||
}
|
||||
$template->assign('sslive', $sslive);
|
||||
//echo'<pre>'; print_r($abfrage1); echo'</pre>';
|
||||
|
||||
$template->assign('content', 'tpl/ajax/sasolive.tpl');
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue