Changeset 468 for branches/htmlform/cgi-bin/main.cgi
- Timestamp:
- 08/12/10 12:00:28 (14 years ago)
- Location:
- branches/htmlform
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform
-
branches/htmlform/cgi-bin/main.cgi
r466 r468 960 960 # because I'm lazy, we'll try to make the SELECT's bring out identical)ish) data 961 961 if ($webvar{block} =~ /\/32$/) { 962 $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata ,oldcustidfrom poolips where ip='$webvar{block}'";962 $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata from poolips where ip='$webvar{block}'"; 963 963 } else { 964 $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata, oldcustid,swip from allocations where cidr='$webvar{block}'"964 $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,swip from allocations where cidr='$webvar{block}'" 965 965 } 966 966 … … 1037 1037 } 1038 1038 ## end node hack 1039 $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;1040 1039 $html =~ s/\$\$CITY\$\$/<input type=text name=city value="$data[3]">/g; 1041 1040 $html =~ s/\$\$CIRCID\$\$/<input type="text" name="circid" value="$data[4]" maxlength=64 size=64 class="regular">/g; … … 1055 1054 ## end node hack 1056 1055 $html =~ s/\$\$CUSTID\$\$/$data[1]/g; 1057 $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;1058 1056 $html =~ s/\$\$TYPESELECT\$\$/$disp_alloctypes{$data[2]}/g; 1059 1057 $html =~ s/\$\$CITY\$\$/$data[3]/g;
Note:
See TracChangeset
for help on using the changeset viewer.