init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
31
scripts/ajax/blitzer2.php
Normal file
31
scripts/ajax/blitzer2.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------
|
||||
// 23-behinderung
|
||||
// 21-Unfall
|
||||
// 20-Stau
|
||||
// 0-6 mobile blitzer
|
||||
// 22
|
||||
// 24-Glätte
|
||||
// 25-Nebel
|
||||
// 26- Baustellen 2
|
||||
|
||||
$tmpdata = $GLOBALS['mysql']->query("SELECT * FROM verkehr ORDER BY type"); $key=0;
|
||||
while($row = $tmpdata->fetch_assoc()) {
|
||||
$bdata[$key]['typ']=$row['type'];
|
||||
$bdata[$key]['street']=$row['street'];
|
||||
|
||||
|
||||
$bdata[$key]['vmax']=$row['vmax'];
|
||||
$key++;
|
||||
}
|
||||
$template->assign('time', time());
|
||||
if(isset($bdata)) { $template->assign('bdata', $bdata); }
|
||||
$template->assign('content', 'tpl/ajax/blitzer1.tpl');
|
||||
Loading…
Add table
Add a link
Reference in a new issue