MyAccount
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= include('myaccount_menu') %>
Hello <%= $name %>!
<%= $small_custview %>
<%= if ( $balance > 0 ) {
$OUT .= qq! Make a payment
!;
} %>
<%=
if ( @open_invoices ) {
$OUT .= '';
} else {
$OUT .= 'You have no outstanding invoices.
';
}
%>
<%=
if ( defined($support_time) ) {
$OUT .= ''.
'Support Time Remaining | '.
"$support_time |
";
}
%>
<%=
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->{'priority'}. "".
$td. $ticket->{'name'}. "".
$td. $ticket->{'status'}. "".
' ';
$col = $col eq $col1 ? $col2 : $col1;
}
$OUT .= ' ';
} else {
$OUT .= '';
}
%>
powered by freeside
|