init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
23
scripts/ajax/ip_status.php
Normal file
23
scripts/ajax/ip_status.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
$abfrage_online = $GLOBALS['mysql']->query("SELECT * FROM ipcheck"); $key=0;
|
||||
while($row = $abfrage_online->fetch_assoc()) {
|
||||
if($row['id']==1) {
|
||||
$so1['name']=$row['name'];
|
||||
$so1['time']=$row['time'];
|
||||
$template->assign('so1', $so1);
|
||||
}
|
||||
if($row['id']==2) {
|
||||
$so2['name']=$row['name'];
|
||||
$so2['time']=$row['time'];
|
||||
$template->assign('so2', $so2);
|
||||
}
|
||||
if($row['id']==3) {
|
||||
$so3['name']=$row['name'];
|
||||
$so3['time']=$row['time'];
|
||||
$template->assign('so3', $so3);
|
||||
}
|
||||
|
||||
$key++;
|
||||
}
|
||||
$template->assign('content', 'tpl/ajax/ip_status.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue