Location: PHPKode > projects > ezStats for XBOX Live > ezStats2_xbl/install/templates/_index.html
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta name="author" content="ezzemm">
		
		<title>ezStats 2 for XBOX Live - Installation</title>
		
		<link rel="shortcut icon" href="../favicon.ico" />
		<link rel="stylesheet" href="../admin/stylesheets/reset.css" />
		<link rel="stylesheet" href="../admin/stylesheets/fonts.css" />
		<link rel="stylesheet" href="../admin/stylesheets/style.php?files=structure,content,form" />
		
		<!--[if lt IE 9]>
			<link rel="stylesheet" href="../admin/stylesheets/ie_fix.css" />
			<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		
		<script src="https://www.google.com/jsapi" type="text/javascript"></script>
		<script type="text/javascript" charset="utf-8">
			google.load("jquery", "1");
			//google.load("jqueryui", "1");
		</script>
		
		<script src="../scripts/functions.js"></script>
		<script src="../plugins/jQuery.prettyLoader.js"></script>
		
		<script type="text/javascript" charset="utf-8">
			$(document).ready(function(){
				$.prettyLoader({loader: "../admin/stylesheets/images/ajax-loader.gif"});
				
				$('a.button').click(function(e){
					if ($(this).attr("rel") != "external") e.preventDefault();
					
					// Daten aus Inputfeldern extrahieren
					var elements = $('#content input:not(:radio), #content input:radio:checked,  #content select');
					if (elements.length) {
						var input = {};
						for (var i = 0; i < elements.length; i++) {
							input[elements.eq(i).attr('name')] = elements.eq(i).val();
						}
					} else input = "";
					
					
					$.ajax({
						type:     "POST",
						url:      "index.php",
						dataType: "json",
						data: {
							input: input,
							step: $('#button a').attr("href")
						},
						error: function(data) {
							if (data && data.responseText)
								$('aside').text("").html(data.responseText).fadeIn();
						},
						success: function(data) {
							$('#content').hide();
							
							if (data.html) $('#content').html(data.html);
							$('#button .error').text(data.error);
							$('#button a').attr("href", data.step).text(data.button);
							
							$('#content').slideDown();
							
							if (typeof data.href != "undefined") $('#button a').attr({href: data.href, rel: "external"});
						}
					});
				});
			});
		</script>
	</head>
	<body>
		<div id="wrap" class="wrap">
			<header>
				<hgroup>
					<h1>Installation of ezStats 2</h1>
					<h2>for XBOX Live (v. $config[version])</h2>
				</hgroup>
			</header>
			<section id="content"></section>
			<section id="button">
				<p class="error"></p>
				<p class="fright"><a href="" class="button"></a></p>
			</section>
			<aside></aside>
		</div>
	</body>
</html>
Return current item: ezStats for XBOX Live