Location: PHPKode > scripts > Magical 8 Ball > magical8ball/answers/magic-8-ball.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
  <title>Magical 8 Ball - Answers to all of your Questions</title>
	<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
	<link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico">
</head>
<body>
<!-- begin 8 ball generator -->
	<div id="container">
		<div>
		<h1>I'm the Magical 8 Ball</h1>
		<a href="<?php $_SERVER['PHP_SELF']; ?>" title="Click me to start over again!"><img width="200px" src="http://www.magical8ball.com/images/magical-8-ball.jpg" alt="magical 8 ball"></a>
		<h2>Ask me questions. I'll give you answers.</h2>
		</div>
			<div style="margin-top:-10px;">
			<form>
			<input id="questions" type="text" onfocus="if(this.value == '  Enter any question that can be answered by YES or NO') { this.value = ''; }" value="  Enter any question that can be answered by YES or NO" />
			</form>
			</div>
				<div style="margin-top:30px;">
				<a id="buttonlink" href="<?php $_SERVER['PHP_SELF']; ?>"><span id="submitbutton">submit</span></a>
				</div>
		<div id="answers">
		<?php include "answers.php" ; ?>
		</div>
	</div>
<!-- end 8 ball generator -->
</body>
</html>
Return current item: Magical 8 Ball