\documentclass[showpagenos]{article}
\makeatletter
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath,amssymb}
\usepackage[printwatermark]{xwatermark}

\thispagestyle{empty}
\watermarkpaths*[.](/){{,/Graphics}}
% The user should replace 'comet1' and 'fant' with his/her image filenames.
\newwallpaper[
  page=1,fontfamily=put,textcolor=BurntOrange,fontsize=1cm,textscale=2,
  textalign=center,textangle=45,picangle=0,tilexoffset=0pt,%squaretiles
  tileyoffset=0pt,picontoptext=false,boxalign=top-left,
  picbb=20 21 590 400,picscale=2,picfile=comet1,tileno=8,
  picfileext=eps
]{YES}

\newwallpaper[
  page=2,fontfamily=put,textcolor=BurntOrange,fontsize=1cm,textscale=2,
  textalign=center,textangle=45,picangle=45,tilexoffset=0pt,%squaretiles
  tileyoffset=0pt,picontoptext=true,boxalign=top-left,
  picbb=54 54 483 242,picscale=2,picfile=fant,tileno=4,
  picfileext=eps, graphicsoptions={keepaspectratio,hiresbb}
]{\texttt{fant}}

\newwatermark[
  pages=3-4,fontfamily=pbk,textcolor=gray!35,fontsize=12pt,fontseries=n,
  textalign=center,textangle=90,textscale=1,textxpos=-.44\paperwidth,textypos=0,
  width=\paperheight
]{%
  \xwmcolorbox[framesep=5pt,framerule=2pt,fillcolor=teal,
    innerframecolor=magenta,outerframecolor=green,
    textalign=center,width=.995\paperheight]%
    {%
      \color{white}\framebox[2cm][t]{\phantom{Hello}}\hspace{1cm}%
      \color{orange!85!red!55}\textcolor{red}{$\blacktriangleright$}%
      \hspace{2.1cm}Page \thepage~of~\pageref{xwmlastpage}%
      \hspace{2.1cm}\textcolor{red}{$\blacktriangleleft$}\hspace{1cm}%
      \color{white}\framebox[2cm][t]{\phantom{Hello}}%
      \xwmstrut{9mm}{6mm}%
  }%
}

\begin{document}
xx
\newpage
yy
\newpage
zz
\newpage
ww
\end{document}
