<?php
/*
 * This file is part of Web Pro Manager.
 * 
 * Web Pro Manager is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Web Pro Manager is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Web Pro Manager.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * @author The Web Pro Miami, Inc. <info@thewebpro.com>
 * @copyright The Web Pro Miami, Inc. <info@thewebpro.com>, http://www.thewebpro.com/
 * @license http://www.gnu.org/licenses/gpl.html GNU GPL
 * @package WebProManager
*/

//////////////////////////////
/// Define these variables ///
//////////////////////////////

// Where the form goes after successful submission
$nRedirect = "http://www.midamericamuseum.org/page.htm";

// Required fields (multiple values accepted, comma-delimited)
$nRequired = "nFullName,nEmail";

// Fields to be validated (multiple values accepted, comma-delimited)
$nValidate_email = "nEmail";

// Dont process these fields (multiple values accepted, comma-delimited)
$nDontProcess = "nSend";

// Mail settings (leave everything blank if you don't want to send mail)
$nAction_email = "info@midamericamuseum.org"; // (multiple values accepted, comma-delimited)
$nAction_email_bodyFile = "inc/bodyfile.html";
$nMailHost = "localhost";
$nMailUser = "email@midamericamuseum.org";
$nMailPass = "Ameri123";
$nMailFrom = $_POST["nEmail"];
$nEmailFromName = $_POST["nFullName"];
$nEmailSubject = "Form Submission - Midamericamuseum.org";
$nDEBUGMailer = 0; // turns off/on PHPMailer comprehensive debugging

// Database settings (leave each blank if not in use)
$nAction_addtodb = "";  // Adds data submitted to this table
$nAction_modifydb = ""; // Updates this table with data submitted (nAction_modifydb_id required)
$nAction_modifydb_id = $nID; // Set this field to update an item (PHP can be used here)

// Translate these fields within a database (multiple values accepted, comma-delimited)
// (field to be translated, db table name, db field name)
$nTranslate ="nSchoolID1_nSchools_nName,nPostForum_nYesNoNotreq_nResponse";
?>