<?php
	$pagetitle = "Jumpman’s performances";
	include("header.phtml.en");
?>
	<body>
		<script>
			function recharge() {
				document.getElementById('mario').firstChild.style.display='none'
				setTimeout('recharge2()',1);
			}
			function recharge2() {
				document.getElementById('mario').firstChild.style.display='inline-block'
				window.location = "#mario"
			}
			</script>
      <?php include("menu.phtml.en");?>
		<div id="contenu">
		<h2>Jumpman’s performances</h2>
		<h3>Videos</h3>
		<p>Jumpman’s personnal adaptations in video: videogame and Movie soundtracks performed on the guitar and the ocarina.
Most of the pieces were arranged by Jumpman.</p>
      <p>Choose a category:
				<ul>
				<?php
					include("sql.php");
					$base = mysqli_connect ($sqlserver, $sqllogin, $sqlpass);
					mysqli_select_db ($base, $sqlbase);
					mysqli_query($base, "SET NAMES 'UTF8'");
					$erreur = 'Erreur dans la base de données SQL.';
					$req = mysqli_query($base, 'SELECT * FROM videocats where author="jumpman" ORDER BY rank asc') or die($erreur);
					while($videocats = mysqli_fetch_array($req))
					{
						echo("<li>");
						lien("videos?cat=".$videocats["id"], $videocats["menu_en"]);
						echo("</li>\n");
					}
				?>
				</ul>
<p>Tabs are available in the <?php lien("scores", "scores")?> section.</p>
		<p><a class="youtube" href="http://www.youtube.com/jumpmanfr" target="_blank">Jumpman’s YouTube channel</a>
		<h3>Extra</h3>
		<p>A Mario game in Flash developed by Jumpman :-) Space bar to jump, CTRL to run.
		Click the picture to start. Enjoy! (yeah I know, the flag is missing at the end ^^)
		
		<p class="flash_animation" id="mario"><embed src="mario.swf" type="application/x-shockwave-flash" width="500" height="440"><br>
		<a href="javascript:void(recharge())">Restart</a>
		</div>
		<?php //include("stats.php");
		mysqli_close($base);?>
	</body>
</html>