Main Menu | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$is_user = (strtolower($my->usertype) <> '');
if (!$is_user)
{
echo "
Nur registrierte Nutzer dürfen diesen Bereich sehen.
Bitte loggen sie sich ein oder melden sie sich an.
";
header("location:http://www.labellos.de/forum/login/index.php");
}
else
{
include_once('functions.inc.php');
include_once('config.inc.php');
$profile=get_profile();
if (!$profile)
{
create_profile();
}
if ($avatar)
{
}
if ($save_profile)
{
if ((strlen($password)>0) && (strlen($password2)>0))
{
update_password($password,$password2);
}
else
profile_save($request,$change);
}
if ($add_buddy)
{
$state=add_buddy($username);
header("location:http://www.labellos.de/index.php?option=com_community&task=buddy_list");
}
if ($del_buddy)
{
del_buddy($username);
header("location:http://www.labellos.de/index.php?option=com_community&task=buddy_list");
}
if ($message_send)
{
send_message($user,$subject,$messagetext);
}
if ($deleteall_message)
{
delete_all_message();
}
if ($delete_message)
{
delete_message($delete_message);
}
if ($delete_messages)
{
$mark=explode(",",$delete_messages);
foreach($mark as $message_id)
{
delete_message($message_id);
}
}
if ($add_band)
{
add_band($add_band);
}
if ($add_band_name)
{
$add_band_name=str_replace("\\\"","",$add_band_name);
$band_id=get_band_id($add_band_name);
if ($band_id)
{
add_band($band_id);
}
}
if ($new_band)
{
$message = add_new_band($request);
}
if ($delete_band)
{
delete_band($delete_band);
}
if ($add_diary)
{
if ($add_diary=="Abschicken")
{
add_diary($subject,$text);
}
else
{
edit_diary($subject,$text,$id);
}
}
if ($del_diary)
{
delete_diary($id);
}
if ($approve_buddy)
{
approve_buddy($approve_buddy);
}
if ($delete_buddy)
{
delete_buddy($delete_buddy);
}
if ($delete_posting)
{
$ids=delete_posting($post_id,$id);
$id=$ids['id'];
$view=$ids['view'];
}
if ($album_send)
{
new_album($album_name,$album_venue,$album_description,$album_access);
}
if ($album_update)
{
update_album($album_name,$album_venue,$album_description,$album_access,$id);
}
if ($album_upload)
{
upload_album($picture,$id);
}
if ($delete_album)
{
delete_album($id);
}
if ($delete_picture)
{
delete_picture($id);
}
if ($send_new_thread)
{
new_group_thread($group_id,$thema,$text);
}
if ($send_new_post)
{
new_group_post($show_thread,$text);
}
if ($send_new_comment)
{
new_comment($task,$id,$text,$username);
}
if ($delete_leaflet)
{
delete_leaflet($delete_leaflet);
}
if ($delete_festival_leaflet)
{
delete_festival_leaflet($delete_festival_leaflet);
}
if ($add_leaflet)
{
add_leaflet($add_leaflet);
}
if ($add_festival_leaflet)
{
add_festival_leaflet($add_festival_leaflet);
}
if ($send_new_pinboard)
{
add_pinboard($username,$text,$task);
}
if ($send_my_pinboard)
{
add_my_pinboard($text,$task);
}
if ($delete_my_pinboard)
{
delete_my_pinboard($delete_my_pinboard,$task);
}
if ($delete_pinboard)
{
delete_pinboard($delete_pinboard,$task,$username);
}
$task=check_attack($task);
switch ($task) {
case "start":
include_once('start.php');
break;
case "profile":
include_once('profile.php');
break;
case "profile_edit":
include_once('profile_edit.php');
break;
case "show_profile":
include_once('show_profile.php');
break;
case "message_center":
include_once('message_center.php');
break;
case "favorite_bands":
include_once('favorite_bands.php');
break;
case "buddy_list":
include_once('buddy_list.php');
break;
case "diary":
include_once('diary.php');
break;
case "show_concert":
include_once('show_concert.php');
break;
case "gallery":
include_once('gallery.php');
break;
case "show_gallery":
include_once('show_gallery.php');
break;
case "show_buddys":
include_once('show_buddys.php');
break;
case "show_people":
include_once('show_people.php');
break;
case "show_diary":
include_once('show_diary.php');
break;
case "visitors":
include_once('visitors.php');
break;
case "search":
include_once('search.php');
break;
case "fan_page":
include_once('fan_page.php');
break;
case "fan_forum":
include_once('fan_forum.php');
break;
case "show_fans":
include_once('show_fans.php');
break;
case "leaflet":
include_once('leaflet.php');
break;
case "show_pinboard":
include_once('show_pinboard.php');
break;
case "pinboard":
include_once('pinboard.php');
break;
default:
include_once('start.php');
break;
}
}
?> Bitte loggen sie sich ein oder melden sie sich an.