- label_cell($myrow[0]);
- label_cell($myrow[1]);
- edit_button_cell("Edit".$myrow[0], _("Edit"));
- delete_button_cell("Delete".$myrow[0], _("Delete"));
+ label_cell($myrow["loc_code"]);
+ label_cell($myrow["location_name"]);
+ label_cell($myrow["delivery_address"]);
+ label_cell($myrow["phone"]);
+ inactive_control_cell($myrow["loc_code"], $myrow["inactive"], 'locations', 'loc_code');
+ edit_button_cell("Edit".$myrow["loc_code"], _("Edit"));
+ delete_button_cell("Delete".$myrow["loc_code"], _("Delete"));