rendered paste body<?php$doctype = $_POST['doctype'];$language = $_POST['lang'];$charset = $_POST['charset'];$description = $_POST['description'];$keywords = $_POST['keywords'];$owner = $_POST['owner'];$author = $_POST['author'];$title = $_POST['title'];if(!empty($_POST['submit'])) {if(stristr($doctype, 'xhtml')) { echo ('<' . $doctype . '><br /><html xmlns="http://www.w3.org/1999/xhtml" lang="' . $language . '" xml:lang="' . $language . '">'); } else { echo ('<' . $doctype . '><br /><html lang="' . $language . '">');}echo ('<br /><head><br />');if ($charset != NULL) { if(stristr($doctype, 'xhtml11')) { echo ('<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=' . $charset . '" />'); } else { echo ('<meta http-equiv="Content-Type" content="text/html; charset=' . $charset . '" />'); }}else { if(stristr($doctype, 'xhtml11')) { echo ('<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />'); } else { echo ('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'); }}if ($description != NULL) { echo ('<br /><meta name="description" content="' . $description . '" />');}if ($keywords != NULL) { echo ('<br /><meta name="keywords" content="' . $keywords . '" />');}if ($owner != NULL) { echo ('<br /><meta name="owner" content="' . $owner . '" />');}if ($author != NULL) { echo ('<br /><meta name="author" content="' . $author . '" />');}echo ('<br /><meta name="generator" content=HTML Generator made by Tecfan" />');if ($title != NULL) { echo ('<br /><title>' . $title . '</title>');}else { echo ('<br /><title>INSERT THE TITLE OF THE PAGE HERE</title>');}echo ('<br /></head><br />');echo ('<body><br /><br />');echo ('This page was generated by Tecfan\'s html generator.');echo ('<br /><br /></body><br />');echo ('</html>');}?>