init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
19
scripts/ajax/pnachtx.php
Normal file
19
scripts/ajax/pnachtx.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
$abfrage_conline = $GLOBALS['mysql']->query("SELECT * FROM karten WHERE status <9 AND status >1 ORDER BY status ASC LIMIT 0,5"); $key=0;
|
||||
while($row = $abfrage_conline->fetch_assoc()) {
|
||||
$abfrage_c[$key]['name'] = $_SESSION['ma_all'][$row['user']]['name'];
|
||||
$abfrage_c[$key]['status']=$row['status'];
|
||||
$abfrage_c[$key]['etime']=$row['edittime'];
|
||||
$abfrage_c[$key]['lastlog']=$row['lastlog'];
|
||||
$abfrage_c[$key]['grund']=$row['grund'];
|
||||
if($row['lastlog']>=$row['edittime']) {
|
||||
$abfrage_c[$key]['ontour']=1;
|
||||
} else {
|
||||
$abfrage_c[$key]['ontour']=0;
|
||||
}
|
||||
$key++;
|
||||
}
|
||||
$template->assign('abfrage_c', $abfrage_c);
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
$template->assign('content', 'tpl/ajax/conline.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue