voting/foundation.gnome.org/membership/members.wml

86 lines
2.2 KiB
Text
Raw Normal View History

---------------------------------------------------------------------- ---------------------------------------------------------------------- Converted to UTF-8 and XHTML transitional. Committing in . Modified Files: ChangeLog foundation.gnome.org/index.wml foundation.gnome.org/about/index.wml foundation.gnome.org/about/charter/index.wml foundation.gnome.org/about/history/index.wml foundation.gnome.org/contact/index.wml foundation.gnome.org/elections/index.wml foundation.gnome.org/elections/overview.wml foundation.gnome.org/elections/2000/candidates.wml foundation.gnome.org/elections/2000/index.wml foundation.gnome.org/elections/2000/results.wml foundation.gnome.org/elections/2000/rules.wml foundation.gnome.org/elections/2000/verify.wml foundation.gnome.org/elections/2000/voters.wml foundation.gnome.org/elections/2001/candidates.wml foundation.gnome.org/elections/2001/index.wml foundation.gnome.org/elections/2001/rules.wml foundation.gnome.org/elections/2001/verify.wml foundation.gnome.org/elections/2001/voters.wml foundation.gnome.org/elections/2002/candidates.wml foundation.gnome.org/elections/2002/index.wml foundation.gnome.org/elections/2002/preliminary-results.wml foundation.gnome.org/elections/2002/rules.wml foundation.gnome.org/elections/2002/verify.wml foundation.gnome.org/elections/2002/voters.wml foundation.gnome.org/elections/2003/candidates.wml foundation.gnome.org/elections/2003/index.wml foundation.gnome.org/elections/2003/preliminary-results.wml foundation.gnome.org/elections/2003/rules.wml foundation.gnome.org/elections/2003/verify.wml foundation.gnome.org/elections/2003/voters.wml foundation.gnome.org/legal/index.wml foundation.gnome.org/membership/application.wml foundation.gnome.org/membership/index.wml foundation.gnome.org/membership/members.wml foundation.gnome.org/news/index.wml include/evilsedhack ----------------------------------------------------------------------
2004-04-18 18:33:55 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>GNOME Foundation Membership List</title>
---------------------------------------------------------------------- ---------------------------------------------------------------------- Converted to UTF-8 and XHTML transitional. Committing in . Modified Files: ChangeLog foundation.gnome.org/index.wml foundation.gnome.org/about/index.wml foundation.gnome.org/about/charter/index.wml foundation.gnome.org/about/history/index.wml foundation.gnome.org/contact/index.wml foundation.gnome.org/elections/index.wml foundation.gnome.org/elections/overview.wml foundation.gnome.org/elections/2000/candidates.wml foundation.gnome.org/elections/2000/index.wml foundation.gnome.org/elections/2000/results.wml foundation.gnome.org/elections/2000/rules.wml foundation.gnome.org/elections/2000/verify.wml foundation.gnome.org/elections/2000/voters.wml foundation.gnome.org/elections/2001/candidates.wml foundation.gnome.org/elections/2001/index.wml foundation.gnome.org/elections/2001/rules.wml foundation.gnome.org/elections/2001/verify.wml foundation.gnome.org/elections/2001/voters.wml foundation.gnome.org/elections/2002/candidates.wml foundation.gnome.org/elections/2002/index.wml foundation.gnome.org/elections/2002/preliminary-results.wml foundation.gnome.org/elections/2002/rules.wml foundation.gnome.org/elections/2002/verify.wml foundation.gnome.org/elections/2002/voters.wml foundation.gnome.org/elections/2003/candidates.wml foundation.gnome.org/elections/2003/index.wml foundation.gnome.org/elections/2003/preliminary-results.wml foundation.gnome.org/elections/2003/rules.wml foundation.gnome.org/elections/2003/verify.wml foundation.gnome.org/elections/2003/voters.wml foundation.gnome.org/legal/index.wml foundation.gnome.org/membership/application.wml foundation.gnome.org/membership/index.wml foundation.gnome.org/membership/members.wml foundation.gnome.org/news/index.wml include/evilsedhack ----------------------------------------------------------------------
2004-04-18 18:33:55 +00:00
<meta name="cvsdate" content="$Date$" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>GNOME Foundation Membership List</h1>
<p>
Send comments, questions, and updates to <a
href="mailto:membership-committee&#64;gnome&#46;org">membership-committee&#64;gnome&#46;org</a>.
</p>
<?php
$error = null;
function get_members_from_sql () {
global $error;
if (is_readable ("/home/admin/secret/anonvoting")) {
include ("/home/admin/secret/anonvoting");
} else {
$error = "Can not get the authentication data.";
return FALSE;
}
$members_table = "foundationmembers";
$handle = mysql_connect ("$mysql_host", "$mysql_user", "$mysql_password");
if (!$handle) {
$error = "Can not connect to the database.";
return FALSE;
}
$select_base = mysql_select_db ($mysql_db, $handle);
if (!$select_base) {
mysql_close ($handle);
$error = "Can not select the database.";
return FALSE;
}
$query = "SELECT firstname, lastname, email, last_renewed_on FROM ".$members_table;
$query .= " WHERE DATE_SUB(CURDATE(), INTERVAL 2 YEAR) <= last_renewed_on";
$query .= " ORDER BY lastname, firstname";
$result = mysql_query ($query, $handle);
if ($result === FALSE) {
$error = mysql_error ($handle);
$retval = FALSE;
} else {
$result_array = array ();
while ($buffer = mysql_fetch_assoc ($result)) {
$result_array[] = $buffer;
}
$retval = $result_array;
}
mysql_close ($handle);
return $retval;
}
$members = get_members_from_sql ();
if ($members === FALSE) {
echo "<p>Error: ".$error.".</p>\n";
} else {
echo " <ul>\n";
$antispam = array(".", "@");
foreach ($members as $member) {
$email = str_replace($antispam, " ", $member["email"]);
echo " <li><abbr title='Last Renewed On: ".$member['last_renewed_on']."'>".$member["firstname"]." ".$member["lastname"]." &lt;".$email."&gt;</abbr></li>\n";
}
echo " </ul>\n";
}
?>
</body>
</html>