blob: c6a661a98b37a79d44ddbef332e61452dfebef25 (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
<%
print header('POP Listing', menubar(
'Main Menu' => $p,
)), "Points of Presence<BR><BR>", &table(), <<END;
<TR>
<TH></TH>
<TH>City</TH>
<TH>State</TH>
<TH>Area code</TH>
<TH>Exchange</TH>
<TH>Local</TH>
</TR>
END
foreach my $svc_acct_pop ( sort {
#$a->getfield('popnum') <=> $b->getfield('popnum')
$a->state cmp $b->state || $a->city cmp $b->city
|| $a->ac <=> $b->ac || $a->exch <=> $b->exch || $a->loc <=> $b->loc
} qsearch('svc_acct_pop',{}) ) {
my($hashref)=$svc_acct_pop->hashref;
print <<END;
<TR>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{popnum}</A></TD>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{city}</A></TD>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{state}</A></TD>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{ac}</A></TD>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{exch}</A></TD>
<TD><A HREF="${p}edit/svc_acct_pop.cgi?$hashref->{popnum}">
$hashref->{loc}</A></TD>
</TR>
END
}
print <<END;
<TR>
<TD COLSPAN=5><A HREF="${p}edit/svc_acct_pop.cgi"><I>Add new POP</I></A></TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
END
%>
|