Exemplo n.º 1
0
<?php

require('functions.php');

$scan = new Scan;
$conn = $scan->record_scan($_GET['t'], $_GET['d']);

?>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<title>Tag Puzzles</title>
		<meta name = ÒviewportÓ content = Òuser-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-widthÓ>
		<link rel="stylesheet" type="text/css" href="style.css" media="all" />
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
		<script type="text/javascript">
			(function(){
				
				function Puzzles () {
					
					//setup constants
					var targetScore = 6;
					
					
					//setup variables for puzzle column
					var puzzleBase = $(".puzzle");
					var puzzleWidth = puzzleBase.width();
					var progressHeight = puzzleBase.height() - puzzleWidth;
					var progress = $("div.progress");
					targetScore = targetScore + 1; //IMPORTANT - see below