<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
//Hier stehn alle Variablen drin, die noch benötigt werden
include ($CONFIG);
/*
include ("location.php");
$Location = new Location ();
$Location->SetPropertys ($_REQUEST["id"],false);
$x = $Location->koordinaten[0];
$y = $Location->koordinaten[1];
*/
header ("Content-type: image/png");
//Damit ein Bild kommt
$
handle = @imagecreatefromPNG ("pics/ug.png");
/*
switch ($Location->stockwerk) {
case -1 : $
handle = @imagecreatefromPNG ("pics/ug.png"); break;
case 0 : $
handle = @imagecreatefromPNG ("pics/eg.png"); break;
case 1 : $
handle = @imagecreatefromPNG ("pics/1og.png"); break;
case 2 : $
handle = @imagecreatefromPNG ("pics/2og.png"); break;
}
$viewpoint_color = ImageColorAllocate ($
handle,$r,$g,$b);
$border_color = ImageColorAllocate ($
handle,0,0,0);
ImageFilledArc ($
handle,$x+7,$y+6,14,14,0,360,$viewpoint_color,IMG_ARC_PIE); //IMG_ARC_PIE IMG_ARC_CHORD
ImageFilledArc ($
handle,$x+7,$y+6,14,14,0,360,$border_color,IMG_ARC_NOFILL);
*/
ImagePNG ($
handle);
?>