Init.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?
|
||||
if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
}
|
||||
|
||||
if( $u->info['host_reg'] == 0 ) {
|
||||
$u->error = 'Ó âàñ íåò Íàñòàâíèêà';
|
||||
}elseif( $itm['id'] > 0 ) {
|
||||
$u->deleteItem($itm['id']);
|
||||
mysql_query('UPDATE `users` SET `host_reg` = 0 WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
||||
$u->error = 'Âû îòêàçàëèñü îò íàñòàâíèêà';
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user