|
|
|
@ -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"){ ?>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
#content
|
|
|
|
|
{
|
|
|
|
|
background-image:url('<?php echo $clan['background'] ?>');
|
|
|
|
|
background-repeat:no-repeat;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function setProfile($user, $what, $value1, $value2, $clanid, $rootlvl){
|
|
|
|
@ -749,12 +762,4 @@ if($action !== NULL) { // this is done to not require to reprogramm the whole st
|
|
|
|
|
if($displayMore){
|
|
|
|
|
displayClanProfile($clan_id, $user_ida['id']);
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<!-- Derzeitige "workaround" um jedenfalls den Background anzuzeigen sobald man ihn verändert hat zum testen -->
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
#content
|
|
|
|
|
{
|
|
|
|
|
background-image:url('<?php echo $clan['background'] ?>');
|
|
|
|
|
background-repeat:no-repeat;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
?>
|