} // END - if
} // END - foreach
+ // No content is default
+ $content['zip_content'] = '';
+
if (isPostRequestParameterSet('zip')) {
// Output entered ZIP code
$content['zip_content'] = loadTemplate('member_order-zip2', true, postRequestParameter('zip'));
- } else {
- $content['zip_content'] = '<tr><td colspan="3" height="5" class="seperator"> </td></tr>';
- }
+ } // END - if
// HTML extension
if ((isExtensionActive('html_mail')) && (postRequestParameter('html') == 'Y')) {
loadTemplate('member_order_page2', false, $content);
} else {
// Remember maybe entered ZIP code in constant
- $add = '';
if (isExtensionActive('html_mail')) {
// Add some content when html extension is active
- if ((getConfig('order_multi_page') == 'Y') || (isAdmin())) $add = '<tr><td colspan="3" class="seperator bottom" height="5"> </td></tr>';
$content['html_extension'] = loadTemplate('member_order-html_intro', true);
} else {
// No HTML extension installed
// Yes
if (postRequestParameter('zip') > 0) {
$data = array(
- 'zip' => bigintval(postRequestParameter('zip')),
- 'add' => $add
+ 'zip' => bigintval(postRequestParameter('zip'))
);
} else {
$data = array(
- 'zip' => '',
- 'add' => $add
+ 'zip' => ''
);
}
$content['zip_content'] = loadTemplate('member_order-zip1', true, $data);