14 lines
346 B
PHP
14 lines
346 B
PHP
<?
|
|
if(!defined('GAME'))
|
|
{
|
|
die();
|
|
}
|
|
|
|
if( $u->info['clan'] == 0 ) {
|
|
$u->error = 'Âû íå ñîñòîèòå â êëàíå!';
|
|
}elseif( $itm['id'] > 0 ) {
|
|
$u->deleteItem($itm['id']);
|
|
mysql_query("UPDATE `clan` SET `exp`=`exp`+'1000' WHERE `id` = '".mysql_real_escape_string($u->info['clan'])."' LIMIT 1");
|
|
$u->error = 'Âû óâåëè÷èëè êëàíîâûé îïûò +1000';
|
|
}
|
|
?>
|