<?php

$t = '
<center><img src=foolol.PNG></center>
Not to worry, Cartograph G is and will always be freeware.
If you somehow found the proposition of paying $5 reasonable you\'re out of luck, i\'m not accepting donations either.

Contrary to unpopular belief, the absurd features displayed on the <a href="http://www.minecraftforum.net/viewtopic.php?f=1022&t=165779">forum page</a> are real.
X-Ray vision is a real but failed attempt at making a roofless view mode, for use in the nether and to look for underground structures.
Cake mode is simply wooloscopy with cake in place of wool, upside-down mode is made just for the joke and actually does what the name suggests.
The interface screenshot is real too, and included in the newest Cartograph G version as a bonus.

<a href=download.php?f=cartograph_g_2011_04_01_bins_april_fools_edition.rar><b>cartograph_g_2011_04_01 (April fools\' edition)</b></a>

New features of this version:<ul><li>Locked chests
<li>Does not display April fool message
<li>Log screen instant-close bug fixed.
<li>Obsidian typo
<li>Fixed spaces in map names for when the post processor is disabled.
<li>Tracks and snow blocks are on 3d views now ceilings of the block below.
</ul>


';


require('duck2011online.php');
$r = 'AprilFool2011';
$sql = 'SELECT id, name, value FROM duck2011 WHERE name="'.$r.'"';
$mainq = mysql_query($sql);
$aantal_lijnen = mysql_num_rows($mainq);
if ($aantal_lijnen > 0){
    $row=mysql_fetch_row($mainq);
    $counter = $row[2];
}else{
    $counter = 0;
    $sql =  'INSERT INTO duck2011 (name, value) values ("'.$r.'","'.($counter+1).'")';
    $mainq = mysql_db_query($db,$sql, $dbh);
}
$sql = 'UPDATE duck2011 SET value="'.($counter+1).'" WHERE name="'.$r.'"';
$mainq = mysql_db_query($db,$sql, $dbh);


echo nl2br($t);
echo '<br>Oh, by the way, you\'re visitor number <b>'.$counter.'</b>';

?>