<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>More stuff...</title>
</head>

<body>
<?php
  $secrets = array (
    'k_alavala' => 'Sarcastic Fringehead',
    'arbarry' => 'Wunderpus photogenicus',
    'p_bhatt' => 'Spiny Lumpsucker',
    'v_bodapati' => 'Pleasing Fungus Beetle',
    'stbonfie' => 'Pink Fairy Armadillo',
    'h_choi22' => 'Raspberry Crazy Ant',
    'ljcrotts' => 'Satanic Leav-Tailed Gecko',
    'jdfink' => 'Tasselled Wobbegong',
    'pmhayes' => 'Hellbender',
    'jaiacouc' => 'Chicken Turtle',
    'jejon23' => 'Star-Nosed Mole',
    's_khan9' => 'Red-Lipped Batfish',
    'n_khant' => 'Goblin Shark',
    'jbmillik' => 'Leafy Seadragon',
    'a_taweel' => 'Frilled-Necked Lizard',
    'jlterrell' => 'Moustached Puffbird',
    'a_thummalap' => 'Fried Egg Jellyfish',
    'joe' => 'Boring Animal Name'
  );

  $user = $_COOKIE['q5user'];
  $animal = $secrets[$user];

  if ($animal == '') {
      echo '<p>You changed the username, but not to something I recognize!</p>';
  } else if ($user == 'joe') {
      echo '<p>Hey Joe! Where are you going with that gun in your hand? No animal for you!</p>';
  } else {
      echo '<p>Congratulations! Your secret animal is "'.$animal.'"</p>';
      echo '<p>For the next step, the <a href="adminpage.php">administrator page</a> is pretty locked down. There\'s a link to <a href="partb.php">a secret page</a> that you could open from that page.... there\'s no way to get to the administrator page though. Oh well, you must be out of luck.</p>';
  }
?>
</body>
</html>

