new field, finishing working with main page

add new field in post table (image), and optimize output on the main
page