/[webwml]/newmaint/whoisam.wml
ViewVC logotype

Contents of /newmaint/whoisam.wml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Thu Dec 16 12:43:57 2004 UTC (8 years, 5 months ago) by tbm
Branch: MAIN
Changes since 1.6: +3 -3 lines
Rename function in order not to conflict with the one in common.inc
1 csmall 1.1 <?
2     include("config.inc");
3     include("common.inc");
4    
5 tbm 1.7 function print_name($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.7 print_name($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.7 print_name($db, $sql); ?>
38 tbm 1.6 </UL>
39 tbm 1.5 <?
40     pg_Close($db);
41     ?>
42 tbm 1.4

  ViewVC Help
Powered by ViewVC 1.1.5