/** * mailus.php * * Allows a user to communicate with the site admins * via double blind email ... * */ session_start(); include_once ("includes/classes/class.userinfo.php"); $user = new userinfo(); include_once ("includes/classes/class.urlcreator.php"); include_once ("includes/classes/class.search.php"); include_once ("includes/classes/class.form.php"); include_once ("includes/stddefs.php"); include_once ("includes/listfuncs.php"); $link = MyDb::getInstance(); $myForm = new htmlForm(); $mailOpts = array( "I have an account problem", "I am having problems with my username or password", "I am having problems with listing an item", "I want to report another user", "I want to give you some feedback", "I want to close my account", "Other issue"); include_once ("includes/header.php"); // Do a JS check if user isn't logged in $submitCheck=""; if (!$user->isValidUser()) { include("js/mailus.js"); $submitCheck="validateForm(this)"; } include_once ("includes/navigation.php"); // If user not logged in/reg'd then ask for details ... if ($user->isValidUser()) { $nameText = "
From: ".$thisUser->getUserName()."
"; } else { $nameText = "Your name : ".$myForm->textField("name","name","",40,60)."
"; $nameText .= "Your email : ".$myForm->textField("email","email","",40,60)."
"; } ?>When you contact us
1. We will do our best to respond within 24 hours.
2. We will always be polite
3. We reserve the right to remind you of the terms and conditions.
4. We are here to help.
include 'includes/roundedboxClose.php' ?>