game/_incl_data/class/magic/clan_exp5000.php

14 lines
346 B
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
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`+'5000' 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> +5000';
}
?>