require("php/require/config.php"); $title=sitename . "Comment Form"; require("$reqpath/login/config.php"); require("$reqpath/common.php"); require("$reqpath/login/membership.php"); include("$incpath/header.php"); include("$incpath/menu.php"); echo "
} // not post else { if ( empty($_POST['name']) || empty($_POST['email']) || empty($_POST['subject']) || empty ($_POST['comments']) ) { echo "
"; $bartitle="Some required fields were missing -- please complete required fields"; show_bartitle($bartitle); get_feedback_form($_POST); } //if empty name/subject/comment else { if ((!empty($_POST['email'])) && (bad_email_format($_POST['email']))) { echo "
"; $bartitle="Email address not in correct format "; show_bartitle($bartitle); get_feedback_form($_POST); } else { echo "
"; send_comments ($_POST); echo "
Date | : | echo htmlentities($_POST['date']) ?> |
Name | : | echo htmlentities($_POST['name']) ?> |
: | echo htmlentities($_POST['email']) ?> | |
Phone | : | echo htmlentities($_POST['phone']) ?> |
Subject | : | echo htmlentities($_POST['subject']) ?> |
Comments | : | echo htmlentities($_POST['comments']) ?> |
Contact | : | echo htmlentities($_POST['contact']) ?> |