custom PHP layout; debug menu