<?php
   //20180824 - reworked - maanie
   include_once("system.php");
   include_once("_nemo.basic.cls.php");

   //$page = new NemoBasic();
   if(isset($_REQUEST[UID]))
   {
      $xdb->doQuery("UPDATE tblEmail SET strStatus = 'Read', strLastUser = 'Email Read Receipt'
         WHERE UniqueID = ". $xdb->qs($_REQUEST[UID])." AND strStatus NOT IN('Error')", 0);
   }
//die("sdk;mf");
   $im = imagecreatetruecolor(1, 1);
   $text_color = imagecolorallocate($im, 255, 255, 255);
   //$text_color = imagecolorallocate($im, 0, 0, 0);

   // Set the content type header - in this case image/jpeg
   header('Content-Type: image/jpeg');

   // Output the image
   imagejpeg($im);

   // Free up memory
   imagedestroy($im);

?>