Made this just now for you.
Create a file called streets.php and insert this.
<?php
require_once('globals.php');
echo "<h3>The Streets</h3><hr />";
$map = '<img src="images/streets.png" usemap="#image-map">
<map name="image-map">
<area target="" alt="Search 1" title="Search 1" href="streets.php?search=1" coords="0,0,100,100" shape="rect">
<area target="" alt="Search 2" title="Search 2" href="streets.php?search=1" coords="100,0,200,100" shape="rect">
<area target="" alt="Search 3" title="Search 3" href="streets.php?search=1" coords="200,0,300,100" shape="rect">
<area target="" alt="Search 4" title="Search 4" href="streets.php?search=1" coords="300,0,400,100" shape="rect">
<area target="" alt="Search 5" title="Search 5" href="streets.php?search=1" coords="400,0,500,100" shape="rect">
<area target="" alt="Search 6" title="Search 6" href="streets.php?search=1" coords="0,0,100,200" shape="rect">
<area target="" alt="Search 7" title="Search 7" href="streets.php?search=1" coords="100,0,200,200" shape="rect">
<area target="" alt="Search 8" title="Search 8" href="streets.php?search=1" coords="200,0,300,200" shape="rect">
<area target="" alt="Search 9" title="Search 9" href="streets.php?search=1" coords="300,0,400,200" shape="rect">
<area target="" alt="Search 10" title="Search 10" href="streets.php?search=1" coords="400,0,500,200" shape="rect">
<area target="" alt="Search 11" title="Search 11" href="streets.php?search=1" coords="0,0,100,300" shape="rect">
<area target="" alt="Search 12" title="Search 12" href="streets.php?search=1" coords="100,0,200,300" shape="rect">
<area target="" alt="Search 13" title="Search 13" href="streets.php?search=1" coords="200,0,300,300" shape="rect">
<area target="" alt="Search 14" title="Search 14" href="streets.php?search=1" coords="300,0,400,300" shape="rect">
<area target="" alt="Search 15" title="Search 15" href="streets.php?search=1" coords="400,0,500,300" shape="rect">
<area target="" alt="Search 16" title="Search 16" href="streets.php?search=1" coords="0,0,100,400" shape="rect">
<area target="" alt="Search 17" title="Search 17" href="streets.php?search=1" coords="100,0,200,400" shape="rect">
<area target="" alt="Search 18" title="Search 18" href="streets.php?search=1" coords="200,0,300,400" shape="rect">
<area target="" alt="Search 19" title="Search 19" href="streets.php?search=1" coords="300,0,400,400" shape="rect">
<area target="" alt="Search 20" title="Search 20" href="streets.php?search=1" coords="400,0,500,400" shape="rect">
<area target="" alt="Search 21" title="Search 21" href="streets.php?search=1" coords="0,0,100,500" shape="rect">
<area target="" alt="Search 22" title="Search 22" href="streets.php?search=1" coords="100,0,200,500" shape="rect">
<area target="" alt="Search 23" title="Search 23" href="streets.php?search=1" coords="200,0,300,500" shape="rect">
<area target="" alt="Search 24" title="Search 24" href="streets.php?search=1" coords="300,0,400,500" shape="rect">
<area target="" alt="Search 25" title="Search 25" href="streets.php?search=1" coords="400,0,500,500" shape="rect">
</map>';
if (isset($_GET['search']) && $_GET['search']) {
if ($ir['steps'] <= '0')
{
echo "Sorry, you don't have enough Steps.";
$h->endpage(); exit;
}
$num = rand(1, 5);
$db->query("UPDATE `users` SET `steps`=`steps` - 1 WHERE `userid` = $userid");
switch ($num) {
case 1:
$tokens = rand(10, 75);
echo "You find {$tokens} crystals";
$db->query("UPDATE `users` SET `crystals` = `crystals` + {$tokens} WHERE `userid` = {$userid}");
break;
case 2:
$money = rand(100, 2500);
echo "You find ".money_formatter($money);
$db->query("UPDATE `users` SET `money` = `money` + {$money} WHERE `userid` = {$userid}");
break;
case 3:
echo "You Find Nothing";
break;
case 4:
echo "You Find Nothing";
break;
case 5:
echo "You Find Nothing";
break;
}
?><hr />
You have <?php echo $ir['steps']; ?> Steps Left.
<hr /><?php
echo $map;
} else {
?>You have <?php echo $ir['steps']; ?> Steps Left.<hr />
Click Anywhere on the Street to Search it.<br />
<?php
echo $map;
}
$h->endpage();
Upload the Attached Image to public_html/images/ directory.
Insert this into your Five minute Cron, usually cron_fivemins.php
$db->query("UPDATE users SET steps=steps+5 WHERE steps <= 100");
And Finally, Insert this into your SQL databse
ALTER TABLE `users` ADD `steps` int(11) NOT NULL DEFAULT '0';