source: build-queue/developers/list.php @ 2586

Revision 2586, 1.0 KB checked in by alanbach-guest, 5 years ago (diff)
  • Added list.php for developer side information, * Bunch of other minor updates
Line 
1<?
2include('../data.php');
3include('../package.php');
4
5$t=new packages ();
6$pkgs=$t->getAll();
7?>
8<html>
9<head>
10<title>Parsix Build Queue System</title>
11<link rel="icon" href="http://parsix.org/html/themes/parsix/images/icon.png" type="image/png" />
12<link rel="shortcut icon" href="http://parsix.org/html/themes/parsix/images/favicon.ico" />
13<link rel="stylesheet" href="http://parsix.org/html/themes/parsix/style/styleNN.css" type="text/css" />
14<style type="text/css">
15@import url("themes/parsix/style/style.css");
16</style>
17</head>
18<a href="index.php">Add New Packages</a><hr />
19<table border="1">
20<tr>
21<th style='width:120px'>Package</th>
22<th style='width:130px'>Develoer</th>
23<th style='width:90px' >Distro</th>
24<th style='width:60px'> Status</th>
25</tr>
26<?
27foreach($pkgs as $pkg) :
28        echo "\t<tr>\n";
29        echo "\t\t<td>".$pkg->getPkgName()."</td>\n";
30        echo "\t\t<td>".$pkg->getDeveloper()."</td>\n";
31        echo "\t\t<td>".$pkg->getDistro()."</td>\n";
32        echo "\t\t<td>". ( ($pkg->getStatus()==TRUE) ?  "Confirmed" : "Not Confirmed") ." </td>\n";
33        echo "\t</tr>\n";
34endforeach;
35?>
Note: See TracBrowser for help on using the repository browser.