| Current Path : /var/www/cesa.co.za/php/ |
| Current File : /var/www/cesa.co.za/php/marketingsurvey.php |
<?php
if (isset($_POST["action"]) && ($_POST["action"]=="go")) {
$strmsg = "1. Did you hear the radio ads or see the newsprint features?
".$_POST["ques1"]."
If Radio, which stations?
".join(",",$_POST["Radio"])."
If print, which newspapers?
".join(",",$_POST["Newspapers"])."
2. Which medium do you think was most successful?
".$_POST["ques2"]."
3. Did you think the marketing campaign was effective?
".$_POST["ques3"]."
Why? ".$_POST["ques3_why"]."
4. How do you think CESA should market the industry on your behalf?
".$_POST["ques4"];
mail("maria@swmarketing.co.za", "CESA Marketing Survey", $strmsg);
?>
<p><b>Thank you for taking the time to fill in this questionnaire. This is greatly appreciated.<br><br>Your answers have been sent to CESA.</b></p>
<?php
} else {
?>
<form id="form1" name="form1" method="post" action="/node/177">
<input type="hidden" name="action" value="go">
<table width="687" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr height="20">
<td height="20" colspan="3" valign="top">1. Did you hear the radio ads or see the newsprint features?</td>
</tr>
<tr height="20">
<td width="40" valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Yes</td>
<td width="533" height="20" valign="top"><input type="radio" name="ques1" id="ques1" value="Yes" /></td>
</tr>
<tr height="21">
<td width="40" valign="top"> </td>
<td width="114" align="right" height="21" valign="top">No</td>
<td width="533" height="21" valign="top"><input type="radio" name="ques1" id="ques2" value="No" /></td>
</tr>
<tr height="21">
<td height="21" colspan="3" valign="top">If Radio, which stations?</td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">SAFM</td>
<td width="533" height="20" valign="top"><input name="Radio[]" type="checkbox" id="ques3" value="SAFM" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="19" valign="top">Radio 2000</td>
<td width="533" height="19" valign="top"><input name="Radio[]" type="checkbox" id="ques4" value="Radio 2000" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Radio 702</td>
<td width="533" height="20" valign="top"><input name="Radio[]" type="checkbox" id="ques5" value="Radio 702" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Metro FM</td>
<td width="533" height="20" valign="top"><input name="Radio[]" type="checkbox" id="ques6" value="Metro FM" /></td>
</tr>
<tr height="21">
<td height="21" colspan="3" valign="top">If print, which newspapers?</td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="21" valign="top">Business Day</td>
<td width="533" height="21" valign="top"><input name="Newspapers[]" type="checkbox" id="ques7" value="Business Day" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Sunday Times <br />
Business Times</td>
<td width="533" height="20" valign="top"><input name="Newspapers[]2" type="checkbox" id="ques8" value="Sunday Times" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="21" valign="top">Sowetan</td>
<td width="533" height="21" valign="top"><input name="Newspapers[]3" type="checkbox" id="ques9" value="Sowetan" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="21" valign="top">Financial Mail</td>
<td width="533" height="21" valign="top"><input name="Newspapers[]4" type="checkbox" id="ques10" value="Financial Mail" /></td>
</tr>
<tr height="21">
<td height="21" colspan="3" valign="top">2. Which medium do you think was most successful?</td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Radio</td>
<td width="533" height="20" valign="top"><input type="radio" name="ques2" id="ques11" value="Radio" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="21" valign="top">Print</td>
<td width="533" height="21" valign="top"><input type="radio" name="ques2" id="ques12" value="Print" /></td>
</tr>
<tr height="21">
<td height="21" colspan="3" valign="top">3. Did you think the marketing campaign was effective?</td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="20" valign="top">Yes</td>
<td width="533" height="20" valign="top"><input type="radio" name="ques3" id="ques13" value="Yes" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td width="114" align="right" height="21" valign="top">No</td>
<td width="533" height="21" valign="top"><input type="radio" name="ques3" id="ques14" value="No" /></td>
</tr>
<tr height="21">
<td valign="top"> </td>
<td height="21" valign="top"> </td>
<td height="21" valign="top">Why? <input name="ques3_why" type="text" id="ques3_why" size="50" /></td>
</tr>
<tr height="21">
<td height="21" colspan="3" valign="top">4. How do you think CESA should market the industry on your behalf?<br />
<textarea name="ques4" id="ques15" cols="45" rows="5"></textarea>
<br />
</p> </td>
</tr>
</tbody>
</table>
<p>Thank you for taking the time to fill in this questionnaire. This is greatly appreciated. <strong><br />
Please click Submit now to send us your answers.</strong></p>
<p><input type="submit" name="submit" id="submit" value="Submit" /></p>
</form>
<?php
}
?>