changed css styles and sql statement to display in an order pending, approved , rejected