<?php
// (c) 2008 RapidComp, Andreas Schmidt & Michael Niendorf GbR
// Das Hosting schliesst automatisch die Akzeptanz eines RapidComp Lizenzvertrages bzw. der AGBs ein,
// der/die unter anderem als Textdokument bei RapidComp GbR erhältlich ist/sind.

 $Target=getDaten("Target");
 $video=getDaten("video");
 $breite=(int)getDaten("breite");
 if ($breite>800) $breite=800;
 if ($breite<100) $breite=100;
 $hoehe=(int)getDaten("hoehe");
 if ($hoehe>500) $hoehe=500;
 if ($hoehe<100) $hoehe=100;
 $BaseTarget=getDaten("BaseTarget");                    //Zielfenster
 if (!preg_match("/^[_0-9A-Z]+$/i",$BaseTarget)) $BaseTarget="_top";
?>
<body style="margin:0px;padding:0px;bgcolor:#<? Print htmlentities($bgcol);?>;">
<script type="text/javascript" src="./player.js"></script>
<script language="JavaScript">MakeFlash(<? Print $breite;?>,<? Print $hoehe;?>,"./player.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&video=<? Print urlencode($video);?>&Target=<? Print htmlentities(urlencode($Target));?>");</script><noscript>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="<? Print $breite;?>" HEIGHT="<? Print $hoehe;?>" id="livecam_Master" ALIGN="">
<PARAM NAME=movie VALUE="./player.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&video=<? Print htmlentities(urlencode($video));?>&Target=<? Print htmlentities(urlencode($Target));?>"> <PARAM NAME=quality VALUE=high><PARAM NAME=wmode 
VALUE=transparent> 
<EMBED src="./player.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&video=<? Print htmlentities(urlencode($video));?>&Target=<? Print htmlentities(urlencode($Target));?>" quality=high bgcolor=#FFFFFF  WIDTH="<? Print $breite;?>" 
HEIGHT="<? Print $hoehe;?>" NAME="player" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</noscript></body>