Ignore:
Timestamp:
05/14/13 17:45:17 (11 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Merge /trunk changes up to r516

Location:
branches/stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable

  • branches/stable/cgi-bin/main.cgi

    r550 r592  
    1414use DBI;
    1515use CommonWeb qw(:ALL);
    16 use CustIDCK;
    1716use POSIX qw(ceil);
    1817use NetAddr::IP;
     
    2322##uselib##
    2423
     24use CustIDCK;
    2525use MyIPDB;
    2626
     
    10451045  # because I'm lazy, we'll try to make the SELECT's bring out identical)ish) data
    10461046  if ($webvar{block} =~ /\/32$/ && !$webvar{reallyblock}) {
    1047     $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid from poolips where ip='$webvar{block}'";
     1047    $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata from poolips where ip='$webvar{block}'";
    10481048  } else {
    1049     $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,oldcustid,swip from allocations where cidr='$webvar{block}'"
     1049    $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,swip from allocations where cidr='$webvar{block}'"
    10501050  }
    10511051
     
    11221122  }
    11231123## end node hack
    1124     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    11251124    $html =~ s/\$\$CITY\$\$/<input type=text name=city value="$data[3]">/g;
    11261125    $html =~ s/\$\$CIRCID\$\$/<input type="text" name="circid" value="$data[4]" maxlength=64 size=64 class="regular">/g;
     
    11401139## end node hack
    11411140    $html =~ s/\$\$CUSTID\$\$/$data[1]/g;
    1142     $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;
    11431141    $html =~ s/\$\$TYPESELECT\$\$/$disp_alloctypes{$data[2]}/g;
    11441142    $html =~ s/\$\$CITY\$\$/$data[3]/g;
Note: See TracChangeset for help on using the changeset viewer.