$titel="Fun-Stuff einsenden!";
$htitel="Fun-Stuff einsenden";
include "funcs.inc.php";
include ("header.inc.php");
connect();
echo "Das Einsenden neuer Inhalte ist derzeit nicht möglich!";
die();
$submit=$_POST["submit"];
$mode=$_POST["mode"];
$typ=$_POST["typ"];
if (!isset($typ))
{
	switch ($submit) {
		case "Fun-Pic":
			$typ=1;
			break;
		case "Fun-Video":
			$typ=2;
			break;
		case "Witz":
			$typ=3;
			break;
		case "Fun-Sound": // HIER ****
			$typ=4;
			break;
		case "Videolink":
			$typ=5;
	}
}
if ($die_userid=="")
{
?>
Du bist nicht angemeldet! Wenn du angemeldet bist, erhälst du pro Fun-Pic 1 gratis-SMS sowie pro Fun-Video 10 gratis-SMS!
=> Hier gehts zur Anmeldung
include ("footer.inc.php");
die;
}
if ($typ=="")
{
	include("einsenden/wahl.php");
}
if ($typ==1 && $mode==1)
{
	include ("einsenden/picstuff.php");
}
if ($typ==2 && $mode==1)
{
	include ("einsenden/vidstuff.php");
}
if ($typ==3 && $mode==1)
{
	include ("einsenden/jokestuff.php");
}
if ($typ==4 && $mode==1)
{
	include ("einsenden/sndstuff.php");
}
if ($typ==5 && $mode==1)
{
	include ("einsenden/vidservicestuff.php");
}
if ($typ==1)
{
	if ($mode==0 || $error<>"")
	{
		if ($error<>"")
		{
			echo "Fehler:
$error";	
		}
		include ("einsenden/image.php");
	}
	else
	{
		include ("einsenden/picok.php");
	}
}
if ($typ==2)
{
	if ($mode==0 || $error<>"")
	{
		if ($error<>"")
		{
			echo "Fehler:
$error";	
		}
		include ("einsenden/vid.php");
	}
	else
	{
		include ("einsenden/vidok.php");
	}
}
if ($typ==3)
{
	if ($mode==0 || $error<>"")
	{
		if ($error<>"")
		{
			echo "Fehler:
$error";	
		}
		include ("einsenden/joke.php");
	}
	else
	{
		include ("einsenden/jokeok.php");
	}
}
if ($typ==4)
{
	if ($mode==0 || $error<>"")
	{
		if ($error<>"")
		{
			echo "Fehler:
$error";	
		}
		include ("einsenden/sound.php");
	}
	else
	{
		include ("einsenden/sndok.php");
	}
}
if ($typ==5)
{
	if ($mode==0 || $error<>"")
	{
		if ($error<>"")
		{
			echo "Fehler:
$error";	
		}
		include ("einsenden/vidservice.php");
	}
	else
	{
		include ("einsenden/vidserviceok.php");
	}
}
include ("footer.inc.php");
?>