Last change
on this file since 659 was 655, checked in by Bidi, 16 years ago |
Opravena větev new, nyní by zde měly být už i adresáře.
|
File size:
769 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | $db->select_db($Config['Mangos']['DatabaseRealmd']);
|
---|
4 |
|
---|
5 | if(array_key_exists('jmeno', $_POST))
|
---|
6 | {
|
---|
7 | $name = $_POST['jmeno'];
|
---|
8 |
|
---|
9 | $str = $db->query('select * from `account` inner join `account_banned` on `account`.`id` = `account_banned`.`id` where `username` = "'.$name.'"');
|
---|
10 | $str_end = $str->fetch_assoc();
|
---|
11 |
|
---|
12 | if($str_end['id'] == '')
|
---|
13 | {
|
---|
14 | echo('<center><font color="blue" face="verdana" size="2">tento účet <span style="color: red">není</span> zabanován</font></center>');
|
---|
15 | } else
|
---|
16 | {
|
---|
17 | $reason = $str_end['banreason'];
|
---|
18 | echo('<center><font color="blue" face="verdana" size="2">účet: <span style="color: red">'.$name.'</span> je zabanován, důvod: <span style="color: red">'.$reason.'</span></font></center>');
|
---|
19 | }
|
---|
20 | }
|
---|
21 |
|
---|
22 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.