14 lines
348 B
PHP
14 lines
348 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`+'50000' 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> +50000';
|
|||
|
}
|
|||
|
?>
|