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/queueditems.php
2007-01-18 01:40:11 +00:00

67 lines
1.6 KiB
PHP

<?php
/**
* A list of the user's queued items
*/
require_once("path.php");
require_once(BASE."include/incl.php");
require_once(BASE."include/appData.php");
$oUser = new User($_SESSION['current']->iUserId);
if(!$oUser->isLoggedIn())
util_show_error_page_and_exit("You need to log in to view your queued items.");
apidb_header("View Your Queued Items");
/* Test data */
if($sResult = testData::listSubmittedBy($oUser->iUserId))
{
echo html_frame_start("Your Queued Test Results","90%");
echo $sResult;
echo html_frame_end("&nbsp;");
}
else
echo "You have no queued test results.<br /><br />\n";
/* Applications */
if($sResult = Application::listSubmittedBy($oUser->iUserId))
{
echo html_frame_start("Your Queued Applications","90%");
echo $sResult;
echo html_frame_end("&nbsp;");
} else
echo "You have no queued applications.<br /><br />\n";
/* Versions */
if($sResult = Version::listSubmittedBy($oUser->iUserId))
{
echo html_frame_start("Your Queued Versions","90%");
echo $sResult;
echo html_frame_end("&nbsp;");
} else
echo "You have no queued versions.<br /><br />\n";
/* Bug links */
if($sResult = bug::listSubmittedBy($oUser->iUserId))
{
echo html_frame_start("Your Queued Bug Links","90%");
echo $sResult;
echo html_frame_end("&nbsp;");
} else
echo "You have no queued bugs.<br /><br />\n";
/* Application data */
if($sResult = appData::listSubmittedBy($oUser->iUserId))
{
echo html_frame_start("Your Queued Application Data","90%");
echo $sResult;
echo html_frame_end("&nbsp;");
} else
echo "You have no queued application data.<br /><br />\n";
apidb_footer();
?>