-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqueueditems.php
69 lines (56 loc) · 1.56 KB
/
queueditems.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?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())
{
login_form();
exit;
}
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(" ");
}
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(" ");
} 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(" ");
} 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(" ");
} 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(" ");
} else
echo "You have no queued application data.<br><br>\n";
apidb_footer();