<!DOCTYPE HTML>
<html lang="<?php echo $language; ?>">
<head>
<title><?php echo $sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="MP3 files" />
<meta name="keywords" content="VESPA Script MP3 Audio" />
<meta name="robots" content="index,follow" />
<link rel="stylesheet" href="<?php echo $theme ?>/style.css" type="text/css" media="screen" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://ie7-js.googlecode.com/svn/version/2.1(beta3)/IE9.js" ></script>
<![endif]-->
<link href='http://fonts.googleapis.com/css?family=Shanti|PT+Sans+Narrow' rel='stylesheet' type='text/css'>
<!--[if gte IE 9]>
<style type="text/css">
.gradient {
filter: none;
}
</style>
<![endif]-->
<?php include 'vespa/includes/player-check.inc.php'; // VESPA checks which player to use ?>
</head>
<body>
<?php if ($direrror == 1) { echo '<div class="errormessage">'.$msg_dirnotexist.'</div>'; } // error message is shown here ?>
<div class="main">
<header>
<h1><?php echo $sitename; ?></h1>
</header>
<div class="leftcolumn">
<nav>
<?php include 'vespa/includes/directory-navigation.inc.php'; // navigation through subdirectories ?>
</nav>
<aside>
<?php include 'vespa/includes/sortorder-dropdown.inc.php'; // VESPA provides drop down so that user can apply sort order to files ?>
</aside>
</div>
<div class="content">
<div class="indextext">
<?php
if (isset($_GET['page'])) {
include 'vespa/includes/page.inc.php'; // VESPA shows a page if it exists in /vespa/pages
}
else { ?>
<h2 id="pagename">
<?php echo basename($absolute_dir) // VESPA displays the current directory as page name ?>
</h2>
<?php include 'vespa/includes/index-text.inc.php'; // VESPA shows file called index.txt there
}?>
</div>
<?php
// VESPA includes all available outputs for different content types here
if ($noothercontent != 1) { // VESPA shows no other content if a page has to be shown
include 'vespa/includes/audio.inc.php'; // VESPA shows audio files if they exist
}
?>
</div>
</div>
<footer>Powered by <a href="http://vespa.willinger.cc" title="VESPA website" target="_blank">VESPA</a></footer><!-- Please be nice and let this link live. I love to see who is using VESPA and how! -->
</body>
</html>
<?php include 'vespa/includes/jplayer-js-function.inc.php'; ?>