echo TEXT_COUPON; ?> </td> <td><?php echo $coupon_name->fields['coupon_name']; ?> </td> </tr> <tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> <?php $customers = get_audiences_list('email'); ?> <tr> <td class="main"><?php echo TEXT_CUSTOMER; ?> </td> <td><?php echo zen_draw_pull_down_menu('customers_email_address', $customers, $_GET['customer']); ?> </td> </tr> <tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?>
function choose_audience() { global $_GET; $choose_audience_string = '<form name="audience" action="' . zen_href_link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm') . '" method="post" onsubmit="return check_form(audience);">' . ' <table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . '<td class="main">' . TEXT_PLEASE_SELECT_AUDIENCE . '<br />' . '' . zen_draw_pull_down_menu('audience_selected', get_audiences_list('newsletters'), $this->query_name) . '</td>' . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td colspan="2" align="right">' . zen_image_submit('button_select.gif', IMAGE_SELECT) . '</td>' . ' </tr>' . "\n" . '</table></form>'; return $choose_audience_string; }
</form></tr> <?php } else { ?> <tr><?php echo zen_draw_form('mail', FILENAME_MAIL, 'action=preview' . (isset($_GET['cID']) ? '&cID=' . (int) $_GET['cID'] : '') . (isset($_GET['customer']) ? '&customer=' . zen_output_string_protected($_GET['customer']) : '') . (isset($_GET['origin']) ? '&origin=' . zen_output_string_protected($_GET['origin']) : ''), 'post', 'onsubmit="return check_form(mail);" enctype="multipart/form-data"'); ?> <td><table border="0" cellpadding="0" cellspacing="2"> <tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?> </td> </tr> <?php $customers = get_audiences_list('email', '', isset($_GET['customer']) ? $_GET['customer'] : ''); ?> <tr> <td class="main"><?php echo TEXT_CUSTOMER; ?> </td> <td><?php echo zen_draw_pull_down_menu('customers_email_address', $customers, isset($_GET['customer']) ? $_GET['customer'] : ''); //, 'multiple' ?> </td> </tr> <tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10');