Location: PHPKode > projects > Red Squirrel Cam > redsquirrelcam/playermain.php
<html>
<head>
<title>SQUIRRELCAM - EVENTVIEWER</title>

</head>
<body bgcolor=#000000>
<?php
$emb = $_GET['emb'];
$vcam = $_GET['cam'];
?>
<p align="center"><font color=#99aaaa size="3" face="Verdana"><b>RED</b></font><font color=#ff2244 size="3" face="Verdana"><i><b>SQUIRREL</b></i><font color=#99aaaa size="3" face="Verdana"><b>CAM</b></font>-</font><font color=#ff2244 size="3" face="Verdana"><b>EVENTVIEWER</b></font>
<p align="center">
<?php
echo "<object type=\"video/mp4\" data=\"".$emb."\" width=\"720\" height=\"576\">";
?>
    <param name="controller" value="true" >
    <param name="autoplay" value="true">
<param name="scale" value="tofit">
<param name="allow_fullscreen" value="true">
  </object>

<br><br>
<?php
$confile = "squirrelconfig.txt";
$rf = fopen($confile, "r");
$active = fgets($rf);
$cf = 0;
while ( $cf < 20 ) {
$camcount = substr($active, $cf, 1);
$cf = $cf + 1;
if ($cf <=9){
$ccf = "00".$cf;
}
else {
$ccf = "0".$cf;
}
if ($camcount == "1") {
echo "<a href=\"listeventplayer.php?from=ep&cam=".$cf."\" target=\"listframe\"><img src=\"images/cam".$ccf;
if ($vcam == $cf){
echo "on";
}
echo ".png\" border=\"0\"></a><img src=\"images/spacer.gif\">";
}
else {
echo "<img src=\"images/cam".$ccf."dis.png\" border=\"0\"><img src=\"images/spacer.gif\">";
}
if ($cf == "10"){
echo "<br><img src=\"images/spacer.gif\"><br>";
}
if ($cf == "20"){
echo "<br><img src=\"images/spacer.gif\"><br>";
}
}

?>




 
</body>
</html>
Return current item: Red Squirrel Cam