14 lines
346 B
PHP
14 lines
346 B
PHP
|
<?
|
|||
|
if(!defined('GAME'))
|
|||
|
{
|
|||
|
die();
|
|||
|
}
|
|||
|
|
|||
|
if( $u->info['clan'] == 0 ) {
|
|||
|
$u->error = '<27><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>!';
|
|||
|
}elseif( $itm['id'] > 0 ) {
|
|||
|
$u->deleteItem($itm['id']);
|
|||
|
mysql_query("UPDATE `clan` SET `exp`=`exp`+'2500' WHERE `id` = '".mysql_real_escape_string($u->info['clan'])."' LIMIT 1");
|
|||
|
$u->error = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> +2500';
|
|||
|
}
|
|||
|
?>
|