Changeset 455 for trunk/cgi-bin/main.cgi
- Timestamp:
- 07/30/10 15:40:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r442 r455 997 997 # because I'm lazy, we'll try to make the SELECT's bring out identical)ish) data 998 998 if ($webvar{block} =~ /\/32$/) { 999 $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata ,oldcustidfrom poolips where ip='$webvar{block}'";999 $sql = "select ip,custid,type,city,circuitid,description,notes,modifystamp,privdata from poolips where ip='$webvar{block}'"; 1000 1000 } else { 1001 $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata, oldcustid,swip from allocations where cidr='$webvar{block}'"1001 $sql = "select cidr,custid,type,city,circuitid,description,notes,modifystamp,privdata,swip from allocations where cidr='$webvar{block}'" 1002 1002 } 1003 1003 … … 1074 1074 } 1075 1075 ## end node hack 1076 $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;1077 1076 $html =~ s/\$\$CITY\$\$/<input type=text name=city value="$data[3]">/g; 1078 1077 $html =~ s/\$\$CIRCID\$\$/<input type="text" name="circid" value="$data[4]" maxlength=64 size=64 class="regular">/g; … … 1092 1091 ## end node hack 1093 1092 $html =~ s/\$\$CUSTID\$\$/$data[1]/g; 1094 $html =~ s/\$\$OLDCUSTID\$\$/$data[9]/g;1095 1093 $html =~ s/\$\$TYPESELECT\$\$/$disp_alloctypes{$data[2]}/g; 1096 1094 $html =~ s/\$\$CITY\$\$/$data[3]/g;
Note:
See TracChangeset
for help on using the changeset viewer.