<?php
require('admin/config.php');
require('admin/connect.php');
?>
<TITLE><?php echo $domain ?> - Pictures & More</TITLE>
<HEAD>
<MAP NAME="babybrynteson">
<AREA SHAPE="rect" HREF="news.php" COORDS="0,0 92,30">
<AREA SHAPE="rect" HREF="pics.php" COORDS="94,0 186,30">
<AREA SHAPE="rect" HREF="video.php" COORDS="188,0 280,30">
<AREA SHAPE="rect" HREF="<?php echo $cafepress ?>" TARGET="new" COORDS="282,0 374,30">
<AREA SHAPE="rect" HREF="/admin/" COORDS="376,0 468,30">
<AREA SHAPE="rect" HREF="index.php" COORDS="470,0 562,30">
<AREA SHAPE="rect" HREF="http://<?php echo $weblink ?>" COORDS="564,0 650,30">
</MAP>
<IMG SRC='images/new_video.gif' BORDER='0' style="POSITION: absolute; TOP: 0px; LEFT: 0px; Z-INDEX: 25">
<IMG USEMAP="#babybrynteson" SRC='images/new_title.gif' border='0' style="POSITION: absolute; TOP: 70px; LEFT: 0px; Z-INDEX: 25">
<?php
if ($id) {
// query the DB
$sql = "SELECT * FROM video WHERE id=$id";
$result = mysql_query($sql);
$myrow = mysql_fetch_array($result);
?>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, howtosave)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, howtosave, 'width=450,height=250,scrollbars=no');
return false;
}
//-->
</SCRIPT>
<div class="news" style="POSITION: absolute; TOP: 125px; LEFT: 5px; Z-INDEX: 25; WIDTH: 650px">
<center>
<img src="/video/now_playing.gif">
</center>
<p>
<center>
<embed src="/video/<?php echo $myrow["filenamelow"] ?>" width="400" height="300" controller="true" cache="true" autoplay="true" bgcolor="#2c3895"></embed><br>
<A HREF="howtosave.php" onClick="return popup(this, 'notes')">Saving Instructions</A>
</center>
<? INCLUDE("bottom.inc")?>
<?php
} else {
// Display error message and redirect
?>
<div class="news" style="POSITION: absolute; TOP: 125px; LEFT: 5px; Z-INDEX: 25; WIDTH: 650px">
<center>
If you are looking for a video, you must use the links above.
<p>
</center>
<? INCLUDE("bottom.inc")?>
</div>
<?php
}
?>