1 <% include('/elements/header.html', 'FCC Form 477 Report' ) %>
3 <FORM ACTION="477.html" METHOD="GET">
4 <INPUT TYPE="hidden" NAME="magic" VALUE="active">
6 <TABLE BGCOLOR="#cccccc" CELLSPACING=0>
9 <TH CLASS="background" COLSPAN=2 ALIGN="left">
10 <FONT SIZE="+1">Search options</FONT>
14 <% include( '/elements/tr-select-agent.html',
15 'curr_value' => scalar( $cgi->param('agentnum') ),
20 <% include( '/elements/tr-select-pkg_class.html',
22 'empty_label' => '(empty class)',
26 <SCRIPT type="text/javascript">
27 function partchange(what) {
28 var id = 'part' + what.value;
29 var element = document.getElementById(id);
31 element.style.display = '';
33 element.style.display = 'none';
38 <% include( '/elements/tr-checkbox.html',
39 'label' => 'Enable part IA?',
42 'onchange' => 'partchange(this)',
46 <TR id='partIA' style="display:none"><TD>Part IA</TD><TD><TABLE>
47 <TR><TD>Download speeds</TD><TD>
50 % foreach my $speed ( @FS::Report::FCC_477::download ) {
54 <% include( '/elements/select-table.html',
55 'table' => 'part_pkg_report_option',
57 'hashref' => { 'disabled' => '' },
58 'element_name' => 'part1_column_option',
61 FS::Report::FCC_477::restore_fcc477map("part1_column_option_$i"),
69 <TD>Upload speeds</TD><TD>
72 % foreach my $speed ( @FS::Report::FCC_477::upload ) {
76 <% include( '/elements/select-table.html',
77 'table' => 'part_pkg_report_option',
79 'hashref' => { 'disabled' => '' },
80 'element_name' => 'part1_row_option',
83 FS::Report::FCC_477::restore_fcc477map("part1_row_option_$i"),
91 <TR><TD>Technologies</TD><TD>
94 % foreach my $tech ( @FS::Report::FCC_477::technology ) {
98 <% include( '/elements/select-table.html',
99 'table' => 'part_pkg_report_option',
100 'name_col' => 'name',
101 'hashref' => { 'disabled' => '' },
102 'element_name' => "part1_technology_option_$i",
103 'empty_label' => '(omit)',
105 FS::Report::FCC_477::restore_fcc477map("part1_technology_option_$i"),
115 <% include( '/elements/tr-checkbox.html',
116 'label' => 'Enable part IIA?',
119 'onchange' => 'partchange(this)',
123 <TR id='partIIA' style="display:none"><TD>Part IIA</TD><TD><TABLE>
124 % foreach my $option ( @FS::Report::FCC_477::part2aoption ) {
126 <TH><% $option %></TH>
128 <% include( '/elements/select-table.html',
129 'table' => 'part_pkg_report_option',
130 'name_col' => 'name',
131 'hashref' => { 'disabled' => '' },
132 'element_name' => 'part2a_row_option',
140 <% include( '/elements/tr-checkbox.html',
141 'label' => 'Enable part IIB?',
144 'onchange' => 'partchange(this)',
148 <TR id='partIIB' style="display:none"><TD>Part IIB</TD><TD><TABLE>
149 % foreach my $option ( @FS::Report::FCC_477::part2boption ) {
151 <TH><% $option %></TH>
153 <% include( '/elements/select-table.html',
154 'table' => 'part_pkg_report_option',
155 'name_col' => 'name',
156 'hashref' => { 'disabled' => '' },
157 'element_name' => 'part2b_row_option',
165 <% include( '/elements/tr-checkbox.html',
166 'label' => 'Enable part IV?',
169 'onchange' => 'partchange(this)',
173 <TR id='partIV' style="display:none"><TD>Part IV</TD><TD><TABLE>
174 <% include( '/elements/tr-textarea.html',
175 'label' => 'Explanatory notes',
184 <% include( '/elements/tr-checkbox.html',
185 'label' => 'Enable part V?',
191 <% include( '/elements/tr-checkbox.html',
192 'label' => 'Enable part VI?',
194 'value' => 'VI_census',
201 <INPUT TYPE="submit" VALUE="Get Report">
205 <% include('/elements/footer.html') %>
209 unless $FS::CurrentUser::CurrentUser->access_right('List packages');