<?php

	$flash_games = array
	(
		'flash' => array
		(
			'name' => 'Flash Element TD',
			'code' => '<embed src="http://novelconcepts.co.uk/FlashElementTD/FlashElementTD.swf" menu="false" quality="high" bgcolor="#333333" width="650" height="450" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />',
			'author' => '',	
		),
		'last-stand' => array
		(
			'name' => 'Last Stand',
			'code' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="650" height="34	0"> 
                <param name="src" value="http://216.40.252.170/last-standMjIy.swf"> 
                <embed src="http://216.40.252.170/last-standMjIy.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="650" height="340"></embed> 
              </object>',
			'author' => '',	
		),
		'age-of-war' => array
		(
			'name' => 'Age of War',
			'code' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="650" height="450"> 
                <param name="src" value="http://207.218.234.18/ageofwarupdate1MzYx.swf"> 
                <embed src="http://207.218.234.18/ageofwarupdate1MzYx.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="650" height="450"></embed> 
              </object>',
			'author' => '',	
		),
		'smileys-war' => array
		(
			'name' => 'Smiley\'s War',
			'code' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="375"> 
                <param name="src" value="http://207.218.234.18/smileyswarupdate1Mjky.swf"> 
                <embed src="http://207.218.234.18/smileyswarupdate1Mjky.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="500" height="375"></embed> 
              </object>',
			'author' => '',	
		),
		'boxhead' => array
		(
			'name' => 'Boxhead 2play rooms',
			'code' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="640" height="480"> 
                <param name="src" value="http://207.218.205.99/boxhead2playMjMz.swf"> 
                <embed src="http://207.218.205.99/boxhead2playMjMz.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="640" height="480"></embed> 
              </object>',
			'author' => '',	
		),
		'defender' => array
		(
			'name' => 'Vr defender y3k',
			'code' => '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="660" height="480"> 
                <param name="src" value="http://216.40.252.74/vrdefender1MjUy.swf"> 
                <embed src="http://216.40.252.74/vrdefender1MjUy.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="660" height="480"></embed> 
              </object>',
			'author' => '',	
		),
		'mario' => array
		(
			'name' => 'Super Mario',
			'code' => '<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_1-windows-i586.cab#Version=1,4,1,0"
        width="512"
        height="480"
        id="vNES" name="vNES">

        <param name="code" value="AppletGui">
        <param name="archive" value="http://mirror.nintendo8.com.mirror.cedeen.com.nyud.net/vnes-070714.jar">

        <param name="sound" value="on" />
        <param name="timeemulation" value="on"/ >
        <param name="fps" value="off" />
        <param name="stereo" value="off"/ >
        <param name="rom" value="http://mirror.nintendo8.com.mirror.cedeen.com.nyud.net/games/x_english/smb.zig" />
        <param name="showsoundbuffer" value="off" />
        <param name="scale" value="on" />
        <param name="scanlines" value="off" />
        <param name="nicesound" value="on" />

        <param name="romsize" value="40976" />
        <param name="type" value="application/x-java-applet;version=1.4.1">
        <param name="scriptable" value="true">
        <param name="codebase" value="/">

  <COMMENT>
    <embed type="application/x-java-applet;version=1.4.1"
           name="vNES"
           code="AppletGui"
           archive="http://mirror.nintendo8.com.mirror.cedeen.com.nyud.net/vnes-070714.jar"
           sound="on"
           timeemulation="on"
           fps="off"
           stereo="off"
           rom="http://mirror.nintendo8.com.mirror.cedeen.com.nyud.net/games/x_english/smb.zig"
           showsoundbuffer="off"
           scale="on"
           scanlines="off"
           nicesound="on"
           romsize="40976"
           width="512"
           height="480"
           scriptable="true"
           codebase="/"
           pluginspage="http://java.sun.com/products/plugin/index.html#download"
           alt="..">
      <noembed>..</noembed>
    </embed>

  </COMMENT>
</object> <br/>Pohyb sipkami, skakanie X, strielanie Z',
			'author' => '',	
		),
	);
	
	$game = (isset($_GET['game']) && array_key_exists($_GET['game'], $flash_games)) ? $_GET['game'] : 'flash';

?>

<div id="register_form01">
	<div id="menu01_head">:: flash games</div>
	<b><?php echo $flash_games[$game]['name']; ?></b>
	<div id="melodie_01"><br />
		<?php
		
			echo $flash_games[$game]['code'];
		
		?>
		<br/>
		<?php
		
			if($flash_games[$game]['author'] != '')
			{
				echo "<b>Author</b>: ".$flash_games[$game]['author'];
			}
		
		?>
	</div>
</div>