diff --git a/ag/clan/clan_info.php b/ag/clan/clan_info.php index 835cf8d..c9290cd 100644 --- a/ag/clan/clan_info.php +++ b/ag/clan/clan_info.php @@ -49,9 +49,10 @@ if((isset($_GET['value1']) || isset($_GET['value2']) || isset($_GET['edited'])) switch($what) { case 'Banner': case 'Homepage': + case 'Background': $value1 = validateURL($_GET['value1']); break; - case 'Info': + case 'Info': $value1 = encodeNoHTMLWithBB($_GET['value1']); break; case 'Clanzeichen': @@ -66,7 +67,6 @@ if((isset($_GET['value1']) || isset($_GET['value2']) || isset($_GET['edited'])) $value1 = validateUnsignedIntegerArray($_GET['value1'], NULL); // kicked members $value2 = validateUnsignedIntegerArray($_GET['value2'], NULL); // whitelist members break; - case 'Background': } } @@ -470,6 +470,19 @@ function displayClanProfile($clanid, $userid){ } else{ displayClanProfileEditable($clan, $user['id']); } + + if($clan['background'] != "0"){ ?> + + + - - \ No newline at end of file +?> \ No newline at end of file diff --git a/ag/inclu/char.php b/ag/inclu/char.php index 254dfd5..f4eabef 100644 --- a/ag/inclu/char.php +++ b/ag/inclu/char.php @@ -110,7 +110,7 @@ echo getHorizontalAdvertisement(); { if($chars_bilds[$i]!='design/bilder/avatare/Char.gif') { - echo '