<?php
//enable visitors to see the PHP source code of current file
$me basename($_SERVER['PHP_SELF']);
if(isset(
$_GET['showPHP'])){
    
show_source("$me");    
    die();
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="assets/css.css" type="text/css" rel="stylesheet"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Flash game</title>
<?php 
include("includes/header.inc.php");
?>

<!--This meta element defines a description of my page:-->
<meta name="description" content="The Tone Matrix nudge. A flash musical instrument. Everyone can create music." /> 

<!--This meta element defines keywords for my page:-->
<meta name="keywords" content="tone, matrix, nudge, flash, instrument, musical" /> 

<!--See about swffit.js here http://swffit.millermedeiros.com.-->
<script type="text/javascript" src="js/swfobject.js"></script>
    <script type="text/javascript">
        var flashvars = {};
        var params = {};
        params.wmode = "transparent";
        swfobject.embedSWF("flash.swf", "minFlash", "360", "300", "9.0.0", "expressInstall.swf", flashvars, params);
        swfobject.embedSWF("swf/nudge.swf", "nudge", 
        "660", "550", "9.0.0", "expressInstall.swf", flashvars, params); 
    </script>
</head>
<body>
<div id="wrapper">
<?php 
include("includes/top-navigation.inc.php");
?>

        <div id="center-box">
<?php 
include("includes/header_img.inc.php");
?>
            <div id="left-right-padding">
<?php 
include("includes/navigation.inc.php");
?>
                <div style="clear: left;"></div>
                <h1>Tone Matrix nudge. </h1>
                <h2>Everyone can create music.</h2>
            
            <p align="right">Use your mouse to draw notes on each 16 Step Matrix.<br/>
            Adjust the volume of the iNudge.</p>
                <div id="nudge">
                <h1>Alternative content</h1>
                    <p><a href="http://www.adobe.com/go/getflashplayer">
                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" 
                    alt="Get Adobe Flash player" />
                    </a></p>
                </div>
        </div>
        <br/>
        <br/>
<?php 
include("includes/footer.inc.php");
?>
        </div>
    </div>
</div>
</body>
</html>