ID ".$extdisplay." "._("deleted")."!








"; } else if(!isset($extdisplay)) { echo "

Add a user

"; // echo "
  • Add
    "; } 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!=""){ $inventoryInfo=inventorydb_get($extdisplay); $empnum=$inventoryInfo['empnum']; $empname=$inventoryInfo['empname']; $building=$inventoryInfo['building']; $floor=$inventoryInfo['floor']; $room=$inventoryInfo['room']; $section=$inventoryInfo['section']; $cubicle=$inventoryInfo['cubicle']; $desk=$inventoryInfo['desk']; $exten=$inventoryInfo['exten']; $phusername=$inventoryInfo['phusername']; $phpassword=$inventoryInfo['phpassword']; $mac=$inventoryInfo['mac']; $serial=$inventoryInfo['serial']; $device=$inventoryInfo['device']; $distdate=$inventoryInfo['distdate']; $ip=$inventoryInfo['ip']; $pbxbox=$inventoryInfo['pbxbox']; $extrainfo=$inventoryInfo['extrainfo']; } if(isset($inventoryInfo) && is_array($inventoryInfo)){ $action="edit"; echo "

    ".$extdisplay." ".$empname."

    "; echo "

    Delete inventory

    "; } else { echo "

    Add inventory

    "; } } echo "
    "; echo "\n"; echo "\n"; echo ""; echo ""; echo ""; echo "\n"; //empnum echo "\n"; //empname echo ""; echo "\n"; //building echo "\n"; //floor echo "\n"; //room echo "\n"; //section echo "\n"; //cubicle echo "\n"; //desk echo "\n"; //exten echo "\n"; //phusername echo "\n"; //phpassword echo "\n"; //mac echo "\n"; //Serial echo "\n"; //Device echo "\n"; //DistDate echo "\n"; //IP echo "\n"; //pbxbox echo "\n"; //extrainfo echo "\n"; ?>
    "; echo ($extdisplay ? _('Edit inventory') : _('Add inventory')); echo "
    "; echo "Employee #\n"; echo "Employee Number\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Employee Name\n"; echo "Employee Name\n"; echo ""; echo "\n"; echo "
    \n"; echo "Building Located\n"; echo "Building where the phone is located\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Floor #\n"; echo "Floor # phone is on\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Room #\n"; echo "Room phone is in\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Floor Section #\n"; echo "Floor Section # the phone is in\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Cubicle #\n"; echo "Cubicle phone is in\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Desk #\n"; echo "Desk Number phone is on\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Extension #\n"; echo "Exten Assigned to the phone\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Phone UserName\n"; echo "Phone Admin Username\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Phone Password\n"; echo "Phone Admin Password \n"; echo "\n"; echo "\n"; echo "
    \n"; echo "MAC Address\n"; echo "MAC Address of phone\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Serial #\n"; echo "Serial Number of the phone\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Phone/Device\n"; echo "Device (example... Linksys PAP-2, Sipura)\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Distributed Date\n"; echo "Distribution Date\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "IP Address\n"; echo "IP Address Assigned If not DHCP\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "PBX Box Name\n"; echo "PBX Box Name\n"; echo "\n"; echo "\n"; echo "
    \n"; echo "Extra Info\n"; echo "Extra Information\n"; echo "\n"; echo "\n"; echo "