<?php
 $Target=getDaten("Target");
 $bgcol=getDaten("bgcol");
 $camcol=getDaten("camcol");
 $camname=getDaten("camname");
 $logovar=getDaten("logovar");
 $bg=getDaten("bg");
 $text=getDaten("text");
 $flash=getDaten("flash");
 $breite=(int)getDaten("breite");
 if ($breite>800) $breite=800;
 if ($breite<100) $breite=100;
 $hoehe=(int)getDaten("hoehe");
 if ($hoehe>600) $hoehe=600;
 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;background-color:<? Print htmlentities($bgcol);?>;">
<script type="text/javascript" src="./cams.js"></script>
<script language="JavaScript">MakeFlash(<? Print $breite;?>,<? Print $hoehe;?>,"./<?=$flash;?>.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&bid=<?=htmlentities(urlencode($Target));?>&text=<?=htmlentities(urlencode($text));?>&camcol=<?=htmlentities(urlencode($camcol));?>&camnamevar=<?=htmlentities(urlencode($camname));?>&logovar=<?=htmlentities(urlencode($logovar));?>&bg=<?=htmlentities(urlencode($bg));?>");</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="./<?=$flash;?>.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&bid=<?=htmlentities(urlencode($Target));?>text=<?=htmlentities(urlencode($text));?>&camcol=<?=htmlentities(urlencode($camcol));?>&camnamevar=<?=htmlentities(urlencode($camname));?>&logovar=<?=htmlentities(urlencode($logovar));?>&bg=<?=htmlentities(urlencode($bg));?>"> <PARAM NAME=quality VALUE=high><PARAM NAME=wmode 
VALUE=transparent> <EMBED src="./<?=$flash;?>.swf?base=<? Print htmlentities(urlencode($BaseTarget));?>&bid=<?=htmlentities(urlencode($Target));?>text=<?=htmlentities(urlencode($text));?>&camcol=<?=htmlentities(urlencode($camcol));?>&camnamevar=<?=htmlentities(urlencode($camname));?>&logovar=<?=htmlentities(urlencode($logovar));?>&bg=<?=htmlentities(urlencode($bg));?>" quality=high bgcolor=<? Print htmlentities($bgcol);?>  WIDTH="<? Print $breite;?>" 
HEIGHT="<? Print $hoehe;?>" NAME="livecam_Master" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</noscript></body>