Added a sidebar to the widgets area

Recoded the included php code and transformed it into a Wordpress
sidebar template.