From 2055b14d7364da45690b5fde3b95cfd8bf831166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Wed, 27 Dec 2006 03:26:39 +0000 Subject: [PATCH] dd a page showing a user's queued submissions to the AppDB. This should be quite useful for a user, and should also reduce the number of duplicate submissions, as many users seem to think their submissions have been lost if they are not accepted within a few hours. --- queueditems.php | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 queueditems.php diff --git a/queueditems.php b/queueditems.php new file mode 100644 index 0000000..cc6416f --- /dev/null +++ b/queueditems.php @@ -0,0 +1,70 @@ +iUserId); + +if(!$oUser->isLoggedIn()) +{ + echo "You need to log in to display your queued items."; + apidb_footer(); +} + +/* Test data */ +if($sResult = testData::listSubmittedBy($oUser->iUserId)) +{ + echo html_frame_start("Your Queued Test Results","90%"); + echo $sResult; + echo html_frame_end(" "); +} +else + echo "You have no queued test results.

\n"; + +/* Applications */ +if($sResult = Application::listSubmittedBy($oUser->iUserId)) +{ + echo html_frame_start("Your Queued Applications","90%"); + echo $sResult; + echo html_frame_end(" "); +} else + echo "You have no queued applications.

\n"; + +/* Versions */ +if($sResult = Version::listSubmittedBy($oUser->iUserId)) +{ + echo html_frame_start("Your Queued Versions","90%"); + echo $sResult; + echo html_frame_end(" "); +} else + echo "You have no queued versions.

\n"; + +/* Bug links */ +if($sResult = bug::listSubmittedBy($oUser->iUserId)) +{ + echo html_frame_start("Your Queued Bug Links","90%"); + echo $sResult; + echo html_frame_end(" "); +} else + echo "You have no queued bugs.

\n"; + +/* Application data */ +if($sResult = appData::listSubmittedBy($oUser->iUserId)) +{ + echo html_frame_start("Your Queued Application Data","90%"); + echo $sResult; + echo html_frame_end(" "); +} else + echo "You have no queued application data.

\n"; + +apidb_footer(); + +?>