Added new styles
updated
Updated table flavor
Resolved undefined variables and warnings in a few php functions