<!--#include virtual="../includeheaderabsolute.html"-->

<body id="home">

<div id="wrapper">

<!--#include virtual="../includebanner.html"-->

<!--#include virtual="includenavi.html"-->

<article> <!-- start of complete article -->

<section id="mainextra">

<?php
  if ($_REQUEST{'pic'}) {
    $pic = $_REQUEST{'pic'};
    if ($fp= fopen("index.txt", 'r')) {
      $str = file_get_contents("index.txt");
      $a = explode(':::::', $str);
      for ($i = 0; $i<count($a); $i++)
        $a[$i] = trim($a[$i]);

      $j = array_search($pic, $a);     
      if ($j>0) {
        echo '<img src="'.$a[$j+1].'" />';
        echo $a[$j+2];
      }
    }
  }
  else echo "No picture found";
?>

</section> <!-- mainextra -->

</article> <!-- end of complete article -->

<!--#include virtual="../includefooter.html"-->

</div> <!-- wrapper -->

</body>
</html>
