This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/appimage.php

20 lines
514 B
PHP
Raw Normal View History

<?php
2005-01-27 15:42:53 +00:00
/*************************/
/* code to show an image */
/*************************/
2004-03-15 16:22:00 +00:00
include("path.php");
require(BASE."include/"."incl.php");
2005-01-27 15:42:53 +00:00
require(BASE."include/"."screenshot.php");
if(!havepriv("admin") && $_REQUEST['queued'])
2004-03-15 16:22:00 +00:00
{
2005-01-27 15:42:53 +00:00
errorpage("Insufficient privileges.");
2004-03-15 16:22:00 +00:00
exit;
}
2005-01-27 15:42:53 +00:00
$oScreenshot = new screenshot($_REQUEST['id'],$_REQUEST['queued']);
if(!$_REQUEST['thumbnail'])
$oScreenshot->oScreenshotImage->output_to_browser(1);
else
2005-01-27 15:42:53 +00:00
$oScreenshot->oThumbnailImage->output_to_browser(1);
2004-03-15 16:22:00 +00:00
?>