<?php if (isset($pageJS)) { js::internal($pageJS); } if ($this->server->HTTP_X_PJAX == false) { ?> </div> </body> </html> <?php }