form-comments

This commit is contained in:
Jesús 2019-11-18 20:15:14 -05:00
parent 215e4fdcfb
commit cb435f9750
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -38,6 +38,13 @@ if(empty($_POST['name']) ||
// article
$postID = str_replace('/','',$post_id);
// web-site
if (!empty($link)) {
$web = "Web: {$link}";
} else {
$web = NULL;
}
//slug
$nslug = seourl($name);
$fslug = date("Ymd-H:i:s");
@ -51,14 +58,14 @@ if(empty($_POST['name']) ||
EOT;
$email_body = <<<EOT
Haz recibido un nuevo comentario del formulario de tu sitio web.\n\n
Aqui estan los detalles:\n\n
Haz recibido un nuevo comentario del formulario de tu sitio web.
Aqui estan los detalles:\n
post_id: {$postID}
Author: {$name}
Date: {$publish}
Email: {$email_address}
Slug: {$slug}
Web: {$link}\n
{$web}\n
{$comment}
EOT;