'Other services' links on front page
[hcoop/zz_old/portal.git] / portal.mlt
1 <% val you = Init.getUser();
2 val bal = Balance.lookupBalance (#bal you);
3 @header [] %>
4
5 <% if Group.inGroupNum 0 then %>
6 <b><h3>Admin</h3></b>
7 <a href="users">Members</a><br>
8 <a href="groups">Groups</a><br>
9 <a href="balances">Balances</a><br>
10 <a href="kind">Contact kinds</a><br>
11 <% end %>
12
13 <b><h3>Your account</h3></b>
14
15 <a href="pref">Preferences</a><br>
16 <a href="money">Financial</a><br>
17 <a href="contact">Contact information</a><br>
18 <a href="location">Your geographic locations</a><br>
19 <a href="link">Public URL directory</a><br>
20
21 <b><h3>Support requests</h3></b>
22
23 <a href="domain">Request control of a domain with domtool</a><br>
24 <a href="apt">Request Debian apt packages</a><br>
25 <a href="list">Request a Mailman mailing list</a><br>
26 <a href="support">Other support request</a><br>
27
28 <h3><b><a href="money">Your recent account activity</a></b></h3>
29
30 <table>
31 <tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Amount</b></td> </tr>
32 <% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %>
33 <tr> <td><% #d trn %></td> <td><a href="money?trn=<% #id trn %>"><% Web.html (#descr trn) %></a></td> <td><% amount %>/<% #amount trn %></td> </tr>
34 <% end %>
35 </table>
36 <b>Balance: $<% #amount bal %></b>
37
38 <h3><b><a href="poll">Current polls</a></b></h3>
39
40 <% foreach pol in Poll.listCurrentPolls () do %>
41 <li> <a href="poll?id=<% #id pol %>"><% Web.html (#title pol) %></a>
42 <% if Poll.takingVotes pol then %><a href="poll?vote=<% #id pol %>">[VOTE]</a><% end %>
43 (<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li>
44 <% end %>
45
46 <h3><b><a href="support">Open support issues</a></b></h3>
47
48 <% foreach (name, issue) in Support.listOpenIssues (#id you) do %>
49 <a href="user?id=<% #usr issue %>"><% name %></a>: <a href="issue?cat=<% #cat issue %>&id=<% #id issue %>"><% Web.html (#title issue) %></a>
50 <% switch #status issue of
51 Support.NEW => %>(New)<%
52 | Support.PENDING => %>(Pending)<%
53 | Support.CLOSED => %>(Closed)<%
54 end %>
55 <br>
56 <% end %>
57
58 <h3><b>Statistics</b></h3>
59
60 <a href="webbw">Apache bandwidth</a><br>
61 <a href="quotas">Disk usage</a><br>
62
63 <h3><b>Public pages</b></h3>
64
65 <a href="http://hcoop.net/dyn/members.html">Member directory</a><br>
66 <a href="http://hcoop.net/dyn/locs.html">Member location summary</a><br>
67 <a href="http://hcoop.net/dyn/sites.html">URL directory</a><br>
68
69 <h3><b>Miscellaneous</b></h3>
70
71 <a href="apps">Review pending membership applications</a><br>
72 <a href="dir">Contact information directory</a><br>
73 <a href="poll">Polls</a><br>
74
75 <h3><b>Other services</b></h3>
76
77 <a href="/webalizer/">Webalizer</a><br>
78 <a href="/mrtg/">MRTG statistics</a><br>
79 <a href="/usermin/">Usermin</a><br>
80 <a href="/squirrel/">SquirrelMail</a><br>
81
82 <% @footer [] %>