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