1 <HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
2 <BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
3 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
4 <TABLE BORDER=0 CELLPADDING=4><TR><TD VALIGN="top" HEIGHT=384 BGCOLOR="#dddddd">
5 <A HREF="<%= $url %>myaccount">MyAccount</A><BR>
6 <!-- <A HREF="<%= $url %>other">SomethingElse</A><BR> -->
9 Hello <%= $name %>!<BR><BR>
10 <%= $small_custview %>
12 <%= if ( $balance > 0 ) {
13 $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!;
16 if ( @open_invoices ) {
17 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
18 '<TR><TH BGCOLOR="#ff3333" COLSPAN=5>Open Invoices</TH><TD>';
19 my $link = qq!<A HREF="<%= $url %>myaccount!;
24 foreach my $invoice ( @open_invoices ) {
25 my $td = qq!<TD BGCOLOR="#$col">!;
26 my $a=qq!<A HREF="${url}view_invoice;invnum=!. $invoice->{'invnum'}. '">';
28 "<TR>$td${a}Invoice #". $invoice->{'invnum'}. "</A></TD>$td</TD>".
29 "$td$a". $invoice->{'date'}. "</A></TD>$td</TD>".
30 qq!<TD BGCOLOR="#$col" ALIGN="right">$a\$!. $invoice->{'owed'}.
33 $col = $col eq $col1 ? $col2 : $col1;
37 $OUT .= 'You have no outstanding invoices.<BR><BR>';
43 <FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>