Make contact panel and map panel as single php script