blob: fdebfb339cd9de260eadf6c4a4bcee0f28edb7cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<table class="arch-bio-entry">
<tr>
<td>
<h3><?= htmlspecialchars($row["Username"], ENT_QUOTES) ?></h3>
<table class="bio">
<tr>
<th><?= __("Username") . ":" ?></th>
<td><?= $row["Username"] ?></td>
</tr>
<tr>
<th><?= __("Account Type") . ":" ?></th>
<td>
<?php
if ($row["AccountType"] == "User") {
print __("User");
} elseif ($row["AccountType"] == "Trusted User") {
print __("Trusted User");
} elseif ($row["AccountType"] == "Developer") {
print __("Developer");
}
?>
</td>
</tr>
<tr>
<th><?= __("Email Address") . ":" ?></th>
<td><a href="mailto:<?= htmlspecialchars($row["Email"], ENT_QUOTES) ?>"><?= htmlspecialchars($row["Email"], ENT_QUOTES) ?></a></td>
</tr>
<tr>
<th><?= __("Real Name") . ":" ?></th>
<td><?= htmlspecialchars($row["RealName"], ENT_QUOTES) ?></td>
</tr>
<tr>
<th><?= __("IRC Nick") . ":" ?></th>
<td><?= htmlspecialchars($row["IRCNick"], ENT_QUOTES) ?></td>
</tr>
<tr>
<th><?= __("PGP Key Fingerprint") . ":" ?></th>
<td><?= html_format_pgp_fingerprint($row["PGPKey"]) ?></td>
</tr>
<tr>
<th><?= __("Last Voted") . ":" ?></th>
<td>
<?= $row["LastVoted"] ? date("Y-m-d", $row["LastVoted"]) : __("Never"); ?>
</td>
</tr>
<tr>
<th>Links:</th>
<td>
<a href="<?= get_uri('/packages/'); ?>?K=<?= $row['Username'] ?>&SeB=m"><?= __("View this user's packages") ?></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
|