|
|
|
@ -49,6 +49,7 @@ 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':
|
|
|
|
@ -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){
|
|
|
|
@ -750,11 +763,3 @@ 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>
|