<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

  <link rel="stylesheet" type="text/css" href="pdpstyles.css">
  <title>PaydayPERX Site and Order Assistance</title>
<script src="botstopper.js"></script>

</head>


<body>

<div class="container">
<div class="header"><img src="paydayperx.jpg"><span class="pagetitle"><font color="orange">PaydayPERX Central: Site and Order Assistance</font></span>
</div>

<div class="helpbar"><a href="javascript:history.go(-2)"><span class="addescrip"><font color="LimeGreen"><b>BACK</b> to your site</a></font><font color="white"> (note: any form data you have entered will be erased)</font></div>

<div class="nav">
<p class="category"><a href="faqs.html">Frequently-Asked Questions</a></p>
<p class="category"><a href="suggestoffer.php">Suggest an Offer</a></p>
<p class="category"><a href="feedback.php">Send us Feedback</a></p>
</div>
<div class="content">
<h2>Site and Order Assistance</h2>

<?php
$form_block ="<p class=\"addescrip\">Your feedback is critically important to us at PaydayPERX. If you can't find offers you like, if you don't really feel like you're getting value out of the site, or if you have a problem with an order or a merchant, it means you won't be using the site, and that's bad news for us. We want your experience with your site to be enjoyable, with the kinds of offers you want to see on products and services you enjoy. Unfortunately sometimes mistakes happen, and we know that every once in a while orders get garbled, packages get addressed incorrectly, discounts don't get applied, and things get messed up. We can't prevent it from happening to everyone, but if it's happened to you, we want to do all we can to resolve the situation quickly and to your satisfaction.</p><p class=\"addescrip\">If you have a question about how to use the site, the <a href=\"faqs.html\" target=\"_blank\">Frequently Asked Questions</a> page should be able to guide you to where you want to be. If that should not give you the information you need, please feel free to send us information using the form below and we will send you a reply ASAP with the answers to your questions about the site.</p><p class=\"addescrip\">If you're here because of a problem with an actual order or transactions of yours, we apologize fo your inconvenience and hope we can get the issue sorted out as soon as possible. Please provide us with as much detail as possible regarding the transaction - including the merchant name, and the order number and other identifying information off of your invoice, if possible - and a description of what the specific problem is. Also include the names and job titles of any personnel you have talked to or emailed at the merchant so that we can follow up directly as your advocate in the situation. Make sure you provide accurate contact information about yourself so that we can get in touch with you ASAP. We will not save nor do we utilize your personal information for anything other than the resolution of this specific issue; click <a href=\"privacy.php\" target=\"_blank\">here</a> to review our privacy policy.
<FORM METHOD=\"POST\" NAME=\"form1\" class=\"bodytext\" style=\"position:relative;text-align:right;margin-right:4cm\" ACTION=\"$_SERVER[PHP_SELF]\">
<INPUT type=\"hidden\" name=\"op\" value=\"ds\">
<br><p class=\"addescrip\">Your Name:<input type=\"text\" name=\"client_name\">
<br>Your email address:<input type=\"text\" name=\"client_email\">
<br>Your work phone (with extension#):<input type=\"text\" name=\"phone\">
<br>If you would like us to contact you at home, enter the number here(NOT required): <input type=\"text\" name=\"home_phone\">
<br>(Note: We will not contact you at home unless you enter the number. We will not contact you at home later than 7PM EST.)
<br>Name of the merchant with which there is a problem:&nbsp;<input type=\"text\" name=\"merchant_name\">
<br>Invoice or transaction number (if available):<input type=\"text\" name=\"transaction_num\">
<br><textarea name=\"user_text\" rows=\"10\" cols=\"50\" wrap=\"wrap\">Enter a detailed description of the issue:</textarea>
<br>When all of the fields are filled out to your satisfaction, please hit <strong>validate</strong> to thwart spam. A brief test will be run to validate the fields have not come from a bot, script, or auto-responder. The <strong>submit</strong> button will appear when no error messages are triggered - click it to send your information.<br>
<p></p>
<Input type=\"button\" value=\"validate\" onclick=\"validate_user_text();\">

<p class=\"addescrip\">If you'd like to provide us with anonymous, cumulative feedback about your site, we'll soon be implementing a quick and easy survey form. Check back in a week or two.</p><p class=\"addescrip\">Prefer talking to a human being? Just call us Monday through Friday during normal business hours at 614-444-2435. Thank you in advance for your feedback!</p>

</form><p class=\"category\"><span class=\"<a href=\"javascript:history.back()\"><font color=\"limegreen\"><b>BACK to your site</b></font></a> (note: any form data you have entered will be erased)</font></p>
</div>";

								if ($_POST[op] != "ds") {

								//they need to see the form
								echo "$form_block";

								} else if ($_POST[op] == "ds") {

								//check value of $_POST[sender_name]
								if ($_POST[client_name] == "") {
								$name_err ="<font color=red><strong>Please enter your name.</strong></font><br>";
								$send ="no";
								}

                                //check value of $_POST[sender_name]
								if ($_POST[client_name] == "tiffanys") {
								$spam_err ="<font color=red><strong>Submission from this sender is disallowed.</strong></font><br>";
								$send ="no";
								}

								//check value of $_POST[feedback]
								if ($_POST[user_text] == "Enter a detailed description of the issue:") {
								$default_err ="<font color=red><strong>Please enter a description of the issue.</strong></font><br>";
								$send ="no";
								}

                                if ($_POST[user_text] == "") {
								$message_err ="<font color=red><strong>Please enter a description of the issue.</strong></font><br>";
								$send ="no";
								}


								if ($send != "no"){
								//it's ok to send,so build the mail
echo "<form method=\"post\" action=\"gdform.asp\">";
echo "<INPUT type=\"hidden\" name=\"subject\" value=\"Site/Order Assistance\">";
echo "<INPUT type=\"hidden\" name=\"redirect\" value=\"thankyou.html\">";
echo "<input type=\"hidden\" name=\"Form_sent_from\" value=\"assistance.php\">";
echo "<input type=\"hidden\" name=\"client_name\" value=\"$_POST[client_name]\">";
echo "<input type=\"hidden\" name=\"client_email\" value=\"$_POST[client_email]\">";
echo "<input type=\"hidden\" name=\"phone\" value=\"$_POST[phone]\">";
echo "<input type=\"hidden\" name=\"home_phone\" value=\"$_POST[home_phone]\">";
echo "<input type=\"hidden\" name=\"merchant_name\" value=\"$_POST[merchant_name]\">";
echo "<input type=\"hidden\" name\"transaction_num\" value=\"$_POST[transaction_num]\">";
echo "<input type=\"hidden\" name=\"user_text\" value=\"$_POST[user_text]\">";
echo "<p class=\"addescrip\">You entered the following data:";
echo "<table style=\"border:1px solid black;\"><tbody><tr><td style=\"border:1px solid dimgray;\">Name: </td><td style=\"border:1px solid dimgray;\">".$_POST[client_name]."</td></tr><tr style=\"border:1px solid black;\"><td style=\"border:1px solid dimgray;\">Email: </td><td>".$_POST[client_email]."</td></tr><tr><td style=\"border:1px solid dimgray;\">Phone: </td><td style=\"border:1px solid dimgray;\">".$_POST[phone]."</td></tr><tr><td style=\"border:1px solid dimgray;\">Home phone: </td><td style=\"border:1px solid dimgray;\">".$_POST[home_phone]."</td></tr><tr><td style=\"border:1px solid dimgray;\">Merchant name: </td><td style=\"border:1px solid dimgray;\">".$_POST[merchant_name]."</td></tr><tr style=\"border:1px solid dimgray;\"><td style=\"border:1px solid dimgray;\">Invoice/Transaction Number: </td><td style=\"border:1px solid dimgray;\">".$_POST[transaction_num]."</td></tr><tr style=\"border:1px solid dimgray;\"><td style=\"border:1px solid dimgray;\">Stated issue: </td><td style=\"border:1px solid dimgray;\">".$_POST[user_text]."</td></tr></tbody></table>";
echo "<br><br><font color=\"green\"><b>Scripts, bots and auto-emailers thwarted! Click 'submit' to send your offer suggestion now!</b>&nbsp;&nbsp;<input type=\"submit\" value=\"submit\"> <br>or click the <input type=\"button\" value=\"back\" onclick=\"javascript:history.go(-1)\"> button to make changes!</p><p class=\"addescrip\">If you'd like to provide us with anonymous, cumulative feedback about your site, we'll soon be implementing a quick and easy survey form. Check back in a week or two.</p><p class=\"addescrip\">Prefer talking to a human being? Just call us Monday through Friday during normal business hours at 614-444-2435. Thank you in advance for your feedback!</p><div>";

                                } else if ($send =="no"){
								//print error messages
                                echo "$spam_err";
                                echo "$name_err";
                                echo "$default_err";
								echo "$message_err";
								echo "$form_block";

								}
							}
							?>



<div class="footer">
<p class="copyright">&copy;1999-2008 PaydayPERX</p>

</div>

</div>

</body>
</html>
