MyAccount
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= include('myaccount_menu') %>
Hello <%= $name %>!
<%= $small_custview %>
<%= if ( $balance > 0 ) {
if (scalar(grep $_, @hide_payment_field)) {
$OUT .= qq! Make a payment
!;
} else {
$OUT .= qq! Make a payment
!;
}
} %>
<%=
if ( @open_invoices ) {
$OUT .= ' ';
} else {
$OUT .= 'You have no outstanding invoices.
';
}
%>
<%=
if ( @support_services ) {
$OUT .= ' ';
} else {
$OUT .= '';
}
%>
<%=
if ( @tickets ) {
$OUT .= ''.
'Open Tickets | '.
'# | Subject | Priority | Queue | '.
'Status | ';
my $col1 = "ffffff";
my $col2 = "dddddd";
my $col = $col1;
foreach my $ticket ( @tickets ) {
my $td = qq!!;
$OUT .=
" | $td". $ticket->{'id'}. "".
$td. $ticket->{'subject'}. "".
$td. ($ticket->{'content'} || $ticket->{'priority'}). "".
$td. $ticket->{'queue'}. "".
$td. $ticket->{'status'}. "".
' ';
$col = $col eq $col1 ? $col2 : $col1;
}
$OUT .= ' ';
} else {
$OUT .= '';
}
%>
|
<%= include('footer') %>