<?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 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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>wpnFire</title>
<?php 
include("includes/header.inc.php");
?>

<!--This meta element defines a description of my page:-->
<meta name="description" content="Rapid fire platform game" /> 

<!--This meta element defines keywords for my page:-->
<meta name="keywords" content="action, platform, game, stick" /> 

<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/rapid-fire-game.swf", "rapid-fire-game", "796", "209", "9.0.0", "expressInstall.swf", flashvars, params);
</script>

<!--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/stick.swf", "stick", 
        "796", "600", "9.0.0", "expressInstall.swf", flashvars, params); 
    </script>
</head>
<body>
<div id="wrapper">
<?php 
include("includes/top-navigation.inc.php");
?>

    <div id="center-box">

        <div id="rapid-fire-game">
            <div id="flash.text">
                <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>
            </div>
        </div>

           <div id="left-right-padding">

<?php 
include("includes/navigation.inc.php");
?>
            <div style="clear: left;"></div>
            <h1>Rapid Fire Platform Game</h1>
            <h2>The ultimate stickfigure Action Game!</h2>
        </div>
        <div id="Small-left-right-padding">
            <div class="hr"></div>
            
            <div id="wpnFire-image">
            <img src="image/stick-game.gif" alt="" align="right" />
            </div>
            
            
            <div id="text-wpnFire-right">
              <p><img src="image/keys/control_mouse.png" alt="control mouse leftclick=Fire" />  = Aim <br/>
                  <img src="image/keys/control_leftclick.png" alt="control key d=Right" />  = Shoot <br/>
                  <img src="image/keys/control_wasd.png" alt="control wasd Movement" />  = Movement <br/>
                  <img src="image/keys/control_e.png" alt="e=Next Weapon" /> = Next Weapon<br/>
                  <img src="image/keys/control_q.png" alt="q=Previous Weapon" />  = Previous Weapon</p>
            </div>

            <div id="text-wpnFire-left">
                <h3>Controls:</h3>
                <p><img src="image/keys/control_a.png" alt="The control keya a=Left" />  = Left <br/>
                  <img src="image/keys/control_d.png" alt="The control key d=Right" />  = Right <br/>
                  <img src="image/keys/control_s.png" alt="control key s=Crouch" />  = Crouch <br/>
                  <img src="image/keys/control_w.png" alt="key w=Jump" />  = Jump <br/>
                  <img src="image/keys/control_space.png" alt="key space=Kick" />  = Kick <br/>
                  <img src="image/keys/control_p.png" alt="key p=configure/Pause" />  = Configure/Pause<br/>
                  <img src="image/keys/control_enter.png" alt="enter=Quit" />  = Quit </p>
            </div>
 
            
                <div class="hr"></div>
                <a href="http://www.jonas-grolin.dk/swf/stick.swf">
                    <img src="image/fullscreen.png" alt="Fullscreen button" />
                </a>
        </div>
          <div id="stick">
            <h1>Alternative content</h1>
            <div id="flash.text">
                <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>
             </div>
          </div>
                <br/>
                <br/>
                <br/>
        <div id="Small-left-right-padding">
                <img src="image/game-flash.gif" alt="high paced action platform game" align="left" />
                
                <iframe width="640" height="470" 
                src="http://www.youtube.com/embed/2aZe9_S4wI8" 
                frameborder="0" allowfullscreen ></iframe>
 
                <img src="image/game-flash.gif" alt="high paced action platform game" align="right" />
                
                <br/>
            
        </div>
<?php 
include("includes/footer.inc.php");
?>
        </div>
        <br/>
        <br/>
    </div>
</div>
</body>
</html>