<?php
  if($_SERVER["QUERY_STRING"]) {
//  $nfofilelocation = $_GET["nfofilelocation"];
  $id = $_GET["id"];
    include("backend/nfo2png.php");
    include("backend/config.php");
    $nfo_dir = $site_config["nfo_dir"];
    $nfofilelocation = "$nfo_dir/$id.nfo";
    $f = file($nfofilelocation);
    $f = implode("",$f);
    buildNFO($f, "Powered by ".$site_config['SITENAME']);
  }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>NFO-Test</title>
</head>
<body bgcolor="blue">
  <img src="nfoview.php?1">
</body>
</html>