table2: added hide_empty param
manage_shop: implemented hide_empty on some tables