blob: 858e5e9ba4cd7953b72f4afb85c5dc8ec24bb0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<HTML><HEAD><TITLE>Reseller</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>Reseller</FONT><BR><BR>
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<TABLE BORDER=0 CELLPADDING=4><TR>
<%= include('agent_menu') %>
<TD VALIGN="top">
<%=
if ( @customers ) {
$OUT .= '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 BGCOLOR="#eeeeee">'.
'<TR><TH BGCOLOR="#cccccc" COLSPAN=3>Customers</TH><TD>';
my $col1 = "ffffff";
my $col2 = "dddddd";
my $col = $col1;
foreach my $customer ( @customers ) {
my $td = qq!<TD BGCOLOR="#$col">!;
my $a = qq!<A HREF="${url}view_customer;custnum=!.
$customer->{'custnum'}. '">';
$OUT .=
'<TR>'.
"$td<FONT COLOR=\"". $customer->{'statuscolor'}. '">'.
ucfirst($customer->{'status'}). "</TD>". "$td</TD>".
"$td$a". $customer->{'name'}. "</A></TD>".
'</TR>';
#"$td</TD>".
$col = $col eq $col1 ? $col2 : $col1;
}
$OUT .= '</TABLE>';
} else {
$OUT .= 'No customers.<BR><BR>';
}
%>
</TD></TR></TABLE>
<HR>
<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
</BODY></HTML>
|