<td colspan="2"> <b> ' . sprintf(TEXT_OPTIONAL_COMPANY_FIELDS, BOX_HEADING_SYSTEM, BOX_CONFIGURATION_100) . ' </b> <br/><br/> </td> </tr> '; $title_text = '_TITLE'; $desc_text = '_DESC'; for ($i = 0; $i < $new_fields_count; $i++) { $field_name = $new_fields[$i][0]; $field_title = constant($field_name . $title_text); $field_desc = constant($field_name . $desc_text); $post_data .= ' <tr>' . $text_start . $field_title . COLON . $text_end . $field_start . xtc_draw_input_field_installer($field_name, EMPTY_STRING, $text_text, $size40) . HTML_BR . $field_desc . HTML_BR . $cell_end . ' </tr> '; unset($hidden_fields[$field_name]); } unset($hidden_fields[$zone_setup_text]); $headline = str_replace(HASH, TITLE_ZONE_CONFIG, $headline0); $headline = str_replace(ATSIGN, TITLE_ZONE_CONFIG_NOTE, $headline); $post_data .= $headline . ' <tr>' . $field_start_2 . '<strong>' . $font_size_1 . TEXT_ZONE . $font_strong_end . HTML_NBSP . $font_size_1 . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($zone_setup_text, 'yes', TRUE_STRING_S) . HTML_NBSP . HTML_NBSP . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($zone_setup_text, 'no') . $required_start . $font_strong_end . ' </td> </tr> '; unset($hidden_fields[$zone_setup_text]); $include_form_check = true; include 'includes/program_frame.php';
<p> <b><?php echo TEXT_ZONE; ?> </b><br /> <?php echo TEXT_ZONE_YES; ?> <?php echo xtc_draw_radio_field_installer('ZONE_SETUP', 'yes', 'true'); ?> <?php echo TEXT_ZONE_NO; ?> <?php echo xtc_draw_radio_field_installer('ZONE_SETUP', 'no'); ?> </p> </div> <div class="col-xs-2 pull-right nopad"> <div class="pull-right"> <a class="btn btn-default" href="index.php"><?php echo TEXT_CANCEL_BUTTON; ?> </a> <input type="submit" class="btn btn-primary" value="<?php echo TEXT_CONTINUE_BUTTON; ?> " /> </div> </div>
</tr> '; $headline = str_replace(HASH, TITLE_GUEST_CONFIG, $headline0); $headline = str_replace(ATSIGN, TITLE_GUEST_CONFIG_NOTE, $headline); $post_data .= $headline . ' <tr> <td> ' . $p_start . TEXT_STATUS_DISCOUNT . $new_line . xtc_draw_input_field_installer($status_discount_text, $zero_value) . HTML_BR . TEXT_STATUS_DISCOUNT_LONG . $p_end . $p_start . TEXT_STATUS_OT_DISCOUNT_FLAG . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($status_ot_discount_flag_text, ONE_STRING) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($status_ot_discount_flag_text, ZERO_STRING, TRUE_STRING_S) . $font_size_1_br . TEXT_STATUS_OT_DISCOUNT_FLAG_LONG . $p_end . $p_start . TEXT_STATUS_OT_DISCOUNT . $new_line . xtc_draw_input_field_installer($status_ot_discount_text, $zero_value) . HTML_BR . TEXT_STATUS_OT_DISCOUNT_LONG . $p_end . $p_start . TEXT_STATUS_GRADUATED_PRICE . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($graduated_price_text, ONE_STRING) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($graduated_price_text, ZERO_STRING, TRUE_STRING_S) . $font_size_1_br . TEXT_STATUS_GRADUATED_PRICE_LONG . $p_end . $p_start . TEXT_STATUS_SHOW_PRICE . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($show_price_text, ONE_STRING, TRUE_STRING_S) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($show_price_text, ZERO_STRING) . $font_size_1_br . TEXT_STATUS_SHOW_PRICE_LONG . $p_end . $p_start . TEXT_STATUS_SHOW_TAX . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($show_tax_text, ONE_STRING, TRUE_STRING_S) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($show_tax_text, ZERO_STRING) . $font_size_1_br . TEXT_STATUS_SHOW_TAX_LONG . $p_end . ' </td> </tr> '; $headline = str_replace(HASH, TITLE_CUSTOMERS_CONFIG, $headline0); $headline = str_replace(ATSIGN, TITLE_CUSTOMERS_CONFIG_NOTE, $headline); $post_data .= $headline . ' <tr> <td>' . $p_start . TEXT_STATUS_DISCOUNT . $new_line . xtc_draw_input_field_installer($status_discount2_text, $zero_value) . HTML_BR . TEXT_STATUS_DISCOUNT_LONG . $p_end . $p_start . TEXT_STATUS_OT_DISCOUNT_FLAG . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($status_ot_discount_flag2_text, ONE_STRING) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($status_ot_discount_flag2_text, ZERO_STRING, TRUE_STRING_S) . $font_size_1_br . TEXT_STATUS_OT_DISCOUNT_FLAG_LONG . $p_end . $p_start . TEXT_STATUS_OT_DISCOUNT . $new_line . xtc_draw_input_field_installer($status_ot_discount2_text, $zero_value) . HTML_BR . TEXT_STATUS_OT_DISCOUNT_LONG . $p_end . $p_start . TEXT_STATUS_GRADUATED_PRICE . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($graduated_price2_text, ONE_STRING, TRUE_STRING_S) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($graduated_price2_text, ZERO_STRING) . $font_size_1_br . TEXT_STATUS_GRADUATED_PRICE_LONG . $p_end . $p_start . TEXT_STATUS_SHOW_PRICE . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($show_price2_text, ONE_STRING, TRUE_STRING_S) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($show_price2_text, ZERO_STRING) . $font_size_1_br . TEXT_STATUS_SHOW_PRICE_LONG . $p_end . $p_start . TEXT_STATUS_SHOW_TAX . $new_line . TEXT_ZONE_YES . $font_end . xtc_draw_radio_field_installer($show_tax2_text, ONE_STRING, TRUE_STRING_S) . $font_size_1 . TEXT_ZONE_NO . $font_end . xtc_draw_radio_field_installer($show_tax2_text, ZERO_STRING) . $font_size_1_br . TEXT_STATUS_SHOW_TAX_LONG . $p_end . ' </td> </tr> '; $include_form_check = true; include 'includes/program_frame.php'; function get_check_bool_value($field_name, $error_message) { global $error, $messageStack, $install_step; $field = $_POST[$field_name]; if ($field != ONE_STRING && $field != ZERO_STRING) { $error = true; $messageStack->add($install_step, $error_message); } else { return $field; }
</h5> <?php echo xtc_draw_hidden_field_installer('action', 'process'); ?> <p> <b><?php echo TEXT_GENDER; ?> </b><br /> <?php echo TEXT_MALE; echo xtc_draw_radio_field_installer('GENDER', 'm', true); ?> <?php echo TEXT_FEMALE; echo xtc_draw_radio_field_installer('GENDER', 'f', false); ?> * <br /> <b><?php echo TEXT_FIRSTNAME; ?> </b><br /> <?php echo xtc_draw_input_field_installer('FIRST_NAME', '', 'text', 'style="width: 30%;" '); ?> * <br /> <b><?php echo TEXT_LASTNAME; ?> </b><br /> <?php