<?php
/* **********************************
* Set your Configuration here
*
* Please don't use trailing slahes in directory names
************************************/
// Please enter the absolute HTTP path to your APOLMB installation here
$HTTP_Path = "http://apolmb.sourceforge.net/example" ;
// Path to the media root directory
$Media_Path = "public" ;
// Please enter the relative or absolute path to the background image here
$BG_Image = "graphics/dill.png" ;
// Put your background color here (in hex format)
$BG_Color = "000000" ;
// The transparency of the background image (0 is completely visible, with 1 only BG_color will be in the background)
$BG_Opacity = "0.8" ;
/* **********************************
* Don't change this
************************************/
// did somebody pass another media directory to start with?
if ($_GET['startdir']){
$Media_Path = $_GET['startdir'];
}
// build the SWF call
$SWFcall = "index.lzx.swf10.swf?httppath=" . $HTTP_Path . "&mediapath=" . $Media_Path . "&bgimage=" . $BG_Image . "&bgcolor=" . $BG_Color . "&bgopacity=" . $BG_Opacity;
?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width; initial-scale=1.0;">
<!-- Enter your metadata for the basic HTML frame -->
<!-- This will show in the title bar of the browser -->
<title>APOLMB Online Media Browser based on Flash / OpenLaszlo</title>
<!-- Give a short description of your apolmb installation -->
<meta name="description" content="Apolmb is a simple PHP- and Flash-only media browser for online directories."/>
<!-- Enter some keywords for your content here -->
<meta name="keywords" content="apolmb, media, viewer, openlaszlo, flash, php, online, server, directories, image, music, mp3, gallery, thumbnail, player, audio, video" />
<!-- Don't change anything from here -->
<script type="text/javascript" src="embed-compressed.js"></script>
<style type="text/css">
html, body
{
/* http://www.quirksmode.org/css/100percheight.html */
height: 100%;
/* prevent browser decorations */
margin: 0;
padding: 0;
border: 0 none;
}
body {
background-color: #000000;
}
img { border: 0 none; }
</style><!--[if IE]>
<style type="text/css">
/* Fix IE scrollbar braindeath */
html { overflow: auto; overflow-x: hidden; }
</style>
<![endif]-->
</head>
<body>
<script type="text/javascript" defer>
lz.embed.resizeWindow('100%', '100%');
lz.embed.swf({url: '<?php echo($SWFcall);?>', allowfullscreen: 'false', bgcolor: '#000000', width: '100%', height: '100%', id: 'lzapp', accessible: 'false', cancelmousewheel: false});
lz.embed.lzapp. loadstatus(p) {
// called with a percentage (0-100) indicating load progress
}
lz.embed.lzapp. loaded() {
// called when this application is done loading
}
</script><noscript>
Please enable JavaScript in order to use this application.
</noscript>
</body>
</html>