account_details.php 1.47 KB
Newer Older
1
2
3
4
5
6
<table>
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
7
8
		<td align="left"><?= __("Username") . ":" ?></td>
		<td align="left"><?= $row["Username"] ?></td>
9
10
11
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
12
		<td align="left"><?= __("Account Type") . ":" ?></td>
13
14
15
16
17
18
19
20
21
22
23
24
25
26
		<td align="left">
			<?php
			if ($row["AccountType"] == "User") {
				print __("User");
			} elseif ($row["AccountType"] == "Trusted User") {
				print __("Trusted User");
			} elseif ($row["AccountType"] == "Developer") {
				print __("Developer");
			}
			?>
		</td>
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
27
28
		<td align="left"><?= __("Email Address") . ":" ?></td>
		<td align="left"><a href="mailto:<?= htmlspecialchars($row["Email"], ENT_QUOTES) ?>"><?= htmlspecialchars($row["Email"], ENT_QUOTES) ?></a></td>
29
30
31
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
32
33
		<td align="left"><?= __("Real Name") . ":" ?></td>
		<td align="left"><?= htmlspecialchars($row["RealName"], ENT_QUOTES) ?></td>
34
35
36
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
37
38
		<td align="left"><?= __("IRC Nick") . ":" ?></td>
		<td align="left"><?= htmlspecialchars($row["IRCNick"], ENT_QUOTES) ?></td>
39
40
41
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
42
43
		<td align="left"><?= __("PGP Key Fingerprint") . ":" ?></td>
		<td align="left"><?= html_format_pgp_fingerprint($row["PGPKey"]) ?></td>
44
45
46
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
47
		<td align="left"><?= __("Last Voted") . ":" ?></td>
48
		<td align="left">
Lukas Fleischer's avatar
Lukas Fleischer committed
49
		<?= $row["LastVoted"] ? date("Y-m-d", $row["LastVoted"]) : __("Never"); ?>
50
51
52
53
		</td>
	</tr>

	<tr>
Lukas Fleischer's avatar
Lukas Fleischer committed
54
		<td colspan="2"><a href="<?= get_uri('/packages/'); ?>?K=<?= $row['Username'] ?>&amp;SeB=m"><?= __("View this user's packages") ?></a></td>
55
56
57
	</tr>

</table>