File size: 754B
<?php
include 'head.php';
$lucky1 = rand(7,9); $lucky2 = rand(5,7); $lucky3 = rand(7,8); echo '<center><img src="img/lucky7.jpg"/><br/><big><b>'; if(isset($_GET["spin"])) { if($lucky1=="7") { if($lucky2=="7") { if($lucky3=="7"){ echo '<blink>Congratulations! You won 777</blink>
, you just won a good fortune.<br/><form action="fortune.php" method="post"><input type="submit" name="xxx" value="Get it!!"/></form>';
} } } else { echo "$lucky1"; echo "$lucky2"; echo "$lucky3"; } } else {
echo '7 7 7'; } echo '
</b></big><br/>'; if(isset($_GET["spin"])) { echo "?...<a href=\"lucky7.php?spin\">Keep Spinning!</a><hr></hr></center>"; } else { echo ' Can i get 777? <a href="lucky7.php?spin">Start Spinning!</a><hr></hr></center>'; } include 'foot.php'; ?>