ID ".$extdisplay." "._("deleted")."!
"; } else if(!isset($extdisplay)) { echo "
Add a user
"; // echo ""; } else { $delURL = $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."&action=del&extdisplay=$extdisplay"; //If we have some data, load it up... this means we are editing. if($extdisplay!=""){ $customerInfo=customerdb_get($extdisplay); $name=$customerInfo['name']; $addr1=$customerInfo['addr1']; $addr2=$customerInfo['addr2']; $city=$customerInfo['city']; $state=$customerInfo['state']; $zip=$customerInfo['zip']; $sip=$customerInfo['sip']; $did=$customerInfo['did']; $device=$customerInfo['device']; $serial=$customerInfo['serial']; $ip=$customerInfo['ip']; $account=$customerInfo['account']; $email=$customerInfo['email']; $username=$customerInfo['username']; $password=$customerInfo['password']; } if(isset($customerInfo) && is_array($customerInfo)){ $action="edit"; echo "