1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header') %>
4 Hello <%= $name %>!<BR><BR>
7 <%= if ( $balance > 0 ) {
8 if (scalar(grep $_, @hide_payment_field)) {
9 $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!;
11 $OUT .= qq! <B><A HREF="${url}make_thirdparty_payment&payby_method=CC">Make a payment</A></B><BR><BR>!;
15 if ( @open_invoices ) {
16 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
17 '<TR><TH BGCOLOR="#ff6666" COLSPAN=5>Open Invoices</TH></TR>';
18 my $link = qq!<A HREF="<%= $url %>myaccount!;
23 foreach my $invoice ( @open_invoices ) {
24 my $td = qq!<TD BGCOLOR="#$col">!;
25 my $a=qq!<A HREF="${url}view_invoice;invnum=!. $invoice->{'invnum'}. '">';
27 "<TR>$td${a}Invoice #". $invoice->{'invnum'}. "</A></TD>$td</TD>".
28 "$td$a". $invoice->{'date'}. "</A></TD>$td</TD>".
29 qq!<TD BGCOLOR="#$col" ALIGN="right">$a\$!. $invoice->{'owed'}.
32 $col = $col eq $col1 ? $col2 : $col1;
34 $OUT .= '</TABLE><BR>';
36 $OUT .= 'You have no outstanding invoices.<BR><BR>';
41 if ( @support_services ) {
42 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
43 '<TR><TH BGCOLOR="#ff6666" COLSPAN="3">Support Time Remaining</TH>'.
44 '</TR><TR><TH ALIGN="left">#</TH><TH>Package</TH>'.
45 '<TH>Time Remaining</TH></TR>';
50 foreach my $support ( @support_services ) {
51 my $td = qq!<TD BGCOLOR="#$col">!;
52 my $a = qq!<A HREF="${url}view_support_details;svcnum=!.
53 $support->{'svcnum'}. '">';
55 "<TR>$td$a". $support->{'pkgnum'}. "</A></TD>".
56 $td.$a. $support->{'pkg'}. "</A></TD>".
57 $td.$a. $support->{'time'}. "</A></TD>".
59 $col = $col eq $col1 ? $col2 : $col1;
61 $OUT .= '</TABLE><BR>';
69 $OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
70 '<TR><TH BGCOLOR="#ff6666" COLSPAN=5>Open Tickets</TH></TR>'.
71 '<TR><TH>#</TH><TH>Subject</TH><TH>Priority</TH><TH>Queue</TH>'.
72 '<TH>Status</TH></TR>';
77 foreach my $ticket ( @tickets ) {
78 my $td = qq!<TD BGCOLOR="#$col">!;
80 "<TR>$td". $ticket->{'id'}. "</TD>".
81 $td. $ticket->{'subject'}. "</TD>".
82 $td. ($ticket->{'content'} || $ticket->{'priority'}). "</TD>".
83 $td. $ticket->{'queue'}. "</TD>".
84 $td. $ticket->{'status'}. "</TD>".
86 $col = $col eq $col1 ? $col2 : $col1;
94 <%= include('footer') %>