I'm having trouble creating a header with boxes, images and other features. Is it possible to create a header like the following one in LaTeX? How?

I'm having trouble creating a header with boxes, images and other features. Is it possible to create a header like the following one in LaTeX? How?

\thepagebut the number does not change in each page. It still shows 1 in all the pages – est.tenorio Aug 19 '13 at 01:47\thepagefrom within thelrboxthen that's exactly the result you would get. Instead, if you're following the suggested link, write\rhead{\thepage}or possibly something like\rhead{\raisebox{<dim>}[0pt][0pt]{\thepage}}where<dim>is some positive/negative dimension that will help line the page number where you would like it. – A.Ellett Aug 19 '13 at 04:10