Contact Us, Powerstore 3.01
The form does not work. The problem does not come from the form itself but from:
WA_Universal_Email/Email_Template/contactus.php. When trying the form through the internet and when looking at the page in Dreamweaver the problem is indicated to be located in line 14. Does anyone have to proper code?
Thank you,
David
<html>
<head>
</head>
<body style="font-family: Arial, Helvetica, sans-serif;">
<div id="content" style="font-size: 12px;">
<h1 style="color: #3476a3;font-size: 16px;font-weight: bold;margin:0;"><?php echo($WAGLOBAL_Site_Name); ?> Contact Form Response</h1>
<hr style="margin:0;"/>
<?php
foreach( $_POST as $pkey => $pval ){
if ($pval != "" && strpos($pkey,"Security_") !== 0 && $pkey != "x" && $pkey != "y") {
?>
<div style="formRow">
<strong><?php echo(str_replace("_"," ",$pkey)); ?>: </strong>
<?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval),$pval))); ?>
</div>
<?php
}
}
?>
</div>
</body>
</html>