Help for this page

Select Code to Download


  1. or download this
    if (row[0] eq '1') {
      print "<td><form><input type="checkbox" name="trunk_usage" value="1"
    + checked>% Trunk Usage</form></td>";
    
  2. or download this
    if ($widget[4] eq '1') {
      print "<td><form><input type="checkbox" name="trunk_usage" value="1"
    + checked>% Trunk Usage</form></td>";
    
  3. or download this
    my $sql = 'SELECT name,active 
               FROM comm_desk_widget_status 
    ...
    while (my ($name,$active) = $sth->fetchrow_array) {
      $widget{$name} = $active;
    }
    
  4. or download this
    if ($widget{'percent_trunk_usage'} == 1) {
      print "<td><form><input type="checkbox" name="trunk_usage" value="1"
    + checked>% Trunk Usage</form></td>";