| 1 |
<?
|
| 2 |
include("config.inc");
|
| 3 |
include("common.inc");
|
| 4 |
|
| 5 |
function print_applicants($db, $sql) {
|
| 6 |
if (! ($query = pg_exec($db, $sql))) {
|
| 7 |
echo "Problem with query", pg_ErrorMessage($db), "<BR>";
|
| 8 |
pg_Close($db);
|
| 9 |
return FALSE;
|
| 10 |
}
|
| 11 |
$rows = pg_NumRows($query);
|
| 12 |
for ($i = 0 ; $i < $rows ; $i++) {
|
| 13 |
$row = pg_Fetch_Array($query, $i);
|
| 14 |
echo "<LI>", $row["name"], "\n";
|
| 15 |
}
|
| 16 |
return TRUE;
|
| 17 |
}?>
|
| 18 |
#use wml::nmpage title="Debian New Maintainer - Application Manager List"
|
| 19 |
<?
|
| 20 |
if (! ($db = open_db())) {
|
| 21 |
echo "Cannot open database!";
|
| 22 |
return FALSE;
|
| 23 |
}
|
| 24 |
?>
|
| 25 |
<H1>Debian New Maintainer - Application Manager List</H1><BR>
|
| 26 |
<P>Below is the list of Debian maintainers who are currently active as
|
| 27 |
Application Managers:
|
| 28 |
<UL>
|
| 29 |
<? $sql = "SELECT * from manager WHERE is_active IS TRUE ORDER by name";
|
| 30 |
print_applicants($db, $sql); ?>
|
| 31 |
</UL>
|
| 32 |
<P>
|
| 33 |
Below is the list of Debian maintainers who used to help as Application
|
| 34 |
Managers in the past:
|
| 35 |
<UL>
|
| 36 |
<? $sql = "SELECT * from manager WHERE is_active IS FALSE ORDER by name";
|
| 37 |
print_applicants($db, $sql); ?>
|
| 38 |
</UL>
|
| 39 |
<?
|
| 40 |
pg_Close($db);
|
| 41 |
?>
|
| 42 |
|