Added ticket_max and ticket_new_count to global_var table
Modified views accordingly
Changed some links so that web app functions appropriately