Last change
on this file since 89 was 89, checked in by george, 17 years ago |
Přidáno: Chybějící soubory nového webu centrály.
|
-
Property svn:executable
set to
*
|
File size:
630 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | include_once('../global.php');
|
---|
4 | include_once('code.php');
|
---|
5 |
|
---|
6 | $User = array(0 => array('fullname' => ''));
|
---|
7 | $DbResult = $Database->select('users', '*,CONCAT(second_name, " ",first_name) as fullname');
|
---|
8 | while($Row = $DbResult->fetch_array())
|
---|
9 | {
|
---|
10 | $User[$Row['id']] = $Row;
|
---|
11 | }
|
---|
12 |
|
---|
13 | $DbResult = $Database->select('hosts','*','1 ORDER BY id');
|
---|
14 | while($Row = $DbResult->fetch_array())
|
---|
15 | {
|
---|
16 | $Row = $Row['id'].':'.$Row['parent'].':'.$Row['name'].':'.$Row['IP'].':'.$User[$Row['user']]['fullname'].':'.$Row['block']."\n";
|
---|
17 | $Row = StrTr($Row, "\xA9\xAB\xAE\xB9\xBB\xBE", "\x8A\x8D\x8E\x9A\x9D\x9E");
|
---|
18 | echo($Row);
|
---|
19 | }
|
---|
20 |
|
---|
21 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.