Generating almost all content in php