<?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>Siege Game</title>
<?php 
include("includes/header.inc.php");
?>

<!--This meta element defines a description of my page:-->
<meta name="description" content="Play the most notable sieges of the past 2500 years in this fairly 
                simple physics strategy game" /> 

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

<!--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/siege-flash-game.swf", "siege-flash-game", 
        "760", "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>Siege</h1>
                <h2>Play the most notable sieges of the past 2500 years in this fairly 
                simple physics strategy game.</h2>
            </div>
            <div class="hr"></div>
            <div id="Small-left-right-padding">
            <a href="swf/siege-flash-game.swf">
                <img src="image/fullscreen.png" alt="Fullscreen button" align="left" />
            </a>
            
                <div id="siege-flash-game">
                    <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>
                <p>To win a level you as the Siege commander have to kill all the castle defenders 
                and save the hostages by carefully choosing what supporting   blocks of the castle to smash.</p>
                <p>You can earn one of the three medals (Clear, Decisive and Brilliant Victory) and also you 
                can loot each castle by hitting the treasure chest.</p>
                <p>The fewer shots the better. </p>
                <p>The Level Editor allows you to create and share your own custom levels.</p>
                <p>Check the People's Empire to play the user submitted levels.</p>
                <p>The bonus level unlocks at the end when all the previous castles are taken.</p>
                <br/>
                <h2>Sieger Walkthrough - Levels 1-14</h2>
                <iframe width="640" height="510" src="http://www.youtube.com/embed/5VHtlVb2ClQ" 
                frameborder="0" allowfullscreen></iframe>
            </div>
            <br/>
            <br/>
        
<?php 
include("includes/footer.inc.php");
?>
        </div>
    </div>
</div>
</body>
</html>