Add styles, layouts, and images, fix some SQL queries

Everything is perfect...
IF CONDITIONAL NOT INDENTED