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

Contents of /newmaint/gpg.wml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jul 13 18:13:22 2001 UTC (11 years, 10 months ago) by tbm
Branch: MAIN
Changes since 1.1: +1 -1 lines
add some missing }
1 tbm 1.1 <?
2     include("gpgconfig.inc");
3     include("common.inc");
4     include("gpgcommon.inc");
5     ?>
6     #use wml::gpgpage title="GPG Signing Coordination Page"
7     <?
8    
9     function print_people($db, $sql) {
10     if (! ($query = pg_exec($db, $sql))) {
11     echo "Problem with query", pg_ErrorMessage($db), "<BR>";
12     return FALSE;
13     }
14     $rows = pg_NumRows($query);
15     for ($i = 0; $i < $rows; $i++) {
16     $row = pg_Fetch_Array($query, $i);
17     echo "<H2>";
18     echo $row["forename"], " ", $row["surname"];
19     echo " &lt;", $row["email"], "&gt;";
20     echo "</H2>\n";
21    
22     echo "<LI>";
23     print_all_places($row["id"], FALSE);
24     echo "</LI>";
25    
26     }
27 tbm 1.2 }
28 tbm 1.1 ?>
29    
30     <H1>People looking for GPG Signing</H1>
31     <?
32     $sql = "SELECT id, forename, surname, email FROM people WHERE offer is FALSE";
33     print_people($db, $sql);
34     ?>
35     <H1>People offering GPG Signing</H1>
36     <?
37     $sql = "SELECT id, forename, surname, email FROM people WHERE offer is TRUE";
38     print_people($db, $sql);
39     ?>
40    

  ViewVC Help
Powered by ViewVC 1.1.5