Create query.php

This file in  one themes  folder as a single templet file.