+function get_item_locations($show_inactive)
+{
+ $sql = "SELECT * FROM ".TB_PREF."locations";
+ if (!$show_inactive) $sql .= " WHERE !inactive";
+ return db_query($sql, "could not query locations");;
+}
+
+//------------------------------------------------------------------------------------
+