|
|
@ -14,6 +14,8 @@ include_once (ROOT_PATH . '/include/designfunctions.inc.php');
|
|
|
|
|
|
|
|
|
|
|
|
defineIfNotDefined('CLAN_LVL_NEWSLETTER', 1);
|
|
|
|
defineIfNotDefined('CLAN_LVL_NEWSLETTER', 1);
|
|
|
|
defineIfNotDefined('CLAN_LVL_CHAT', 2);
|
|
|
|
defineIfNotDefined('CLAN_LVL_CHAT', 2);
|
|
|
|
|
|
|
|
defineIfNotDefined('CLAN_LVL_BACKGROUND', 3);
|
|
|
|
|
|
|
|
|
|
|
|
defineIfNotDefined('MAX_CHARS_CLANSIGN', 8);
|
|
|
|
defineIfNotDefined('MAX_CHARS_CLANSIGN', 8);
|
|
|
|
$GLOBALS['clan_buffered_instances'] = array ();
|
|
|
|
$GLOBALS['clan_buffered_instances'] = array ();
|
|
|
|
|
|
|
|
|
|
|
@ -339,6 +341,10 @@ function isClanChatAvailable($clanid) {
|
|
|
|
$clan = getClan($clanid);
|
|
|
|
$clan = getClan($clanid);
|
|
|
|
return $clan['level'] >= CLAN_LVL_CHAT;
|
|
|
|
return $clan['level'] >= CLAN_LVL_CHAT;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function isClanBackgroundAvailable($clanid) {
|
|
|
|
|
|
|
|
$clan = getClan($clanid);
|
|
|
|
|
|
|
|
return $clan['level'] >= CLAN_LVL_BACKGROUND;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function sendClanNewsletter($user, $text){
|
|
|
|
function sendClanNewsletter($user, $text){
|
|
|
|
$clan = getClan($user['clan']);
|
|
|
|
$clan = getClan($user['clan']);
|
|
|
|