1 <% val you = Init.getUser();
2 val bal = Balance.lookupBalance (#bal you);
3 val deposit = Balance.depositAmount (#id bal);
4 val showBal = Util.sub (#amount bal, deposit);
7 <div style="border: 2px solid red; background-color: LightSalmon;">
9 <h3>Notice: Transition to Upgraded Servers in Progress</h3>
11 <p>We are now providing a more powerful shell server and web server
12 running Debian Squeeze. All members <strong>must take action</strong>
13 to run their services on the new machines. There are also changes to
14 mail routing that require action by most members. Read the <a
15 href="http://wiki.hcoop.net/NavajosBogMigrationGuide">migration
16 guide</a> for details on what you need to do to keep your account
17 working. We have also called a roll call, so check your spam folder
18 for recent mail from hcoop if you have not received it.
23 <h3><a href="money">Your recent account activity</a></h3>
25 <% ref running = showBal %>
27 <tr> <td><b>Date</b></td> <td><b>Description</b></td> <td><b>Amount</b></td> <td><b>Balance</b></td></tr>
28 <% foreach (amount, trn) in Money.listUserTransactionsLimit (Init.getUserId (), 5) do %>
29 <tr> <td><% #d trn %></td> <td><a href="money?trn=<% #id trn %>"><% Web.html (#descr trn) %></a></td> <td><% amount %>/<% #amount trn %></td>
30 <td><% running %></tr>
31 <% running := Util.sub (running, amount)
34 <a href="money?lookback=inf">Show all transactions</a><br>
35 <b>Balance: $<% showBal %></b><br>
36 <b>Deposit: $<% deposit %></b> (3 months of dues at the minimal <a href="pledge">pledge level</a>)
38 <!--b>Balance: $<% #amount bal %></b-->
40 <% val polls = Poll.listCurrentPolls ();
43 <h3><a href="poll">Current polls</a></h3>
45 <% foreach pol in polls do %>
46 <li> <a href="poll?id=<% #id pol %>"><% Web.html (#title pol) %></a>
47 <% if Poll.takingVotes pol then %><a href="poll?vote=<% #id pol %>">[VOTE]</a><% end %>
48 (<% Web.html (#starts pol) %> to <% Web.html (#ends pol) %>)</li>
52 <% val issues = Support.listOpenIssues (#id you);
55 <h3><a href="support">Open support issues</a></h3>
57 <% foreach (name, issue) in issues do %>
58 <a href="user?id=<% #usr issue %>"><% name %></a>: <a href="issue?cat=<% #cat issue %>&id=<% #id issue %>"><% Web.html (#title issue) %></a>
59 <% switch #status issue of
60 Support.NEW => %>(New)<%
61 | Support.PENDING => %>(Pending)<%
62 | Support.CLOSED => %>(Closed)<%
68 val {total, vhosts} = Stats.getWebbwUser {user = Init.getUserName (), last = 0};
71 %><h3>Your web traffic this month</h3>
72 <table><tr><th>Site</th> <th>Data transferred (kB)</th></tr><%
73 foreach e in vhosts do %>
74 <tr><td align="right"><a href="<% if #ssl (#host e) then %>https<% else %>http<% end %>://<% #hostname (#host e) %>/"><% #hostname (#host e) %><% if #ssl (#host e) then %> (SSL)<% end %></a> <a href="/webalizer/<% #id (#host e) %>/">[detail]</a></td><td><% #size e %></td></tr>