echo html_input_field('i_contact_last', $cInfo->i_contact_last, 'size="33" maxlength="32"', false); ?> </td> </tr> <tr> <td align="right"><?php echo ACT_ACCOUNT_NUMBER; ?> </td> <td><?php echo html_input_field('i_account_number', $cInfo->i_account_number, 'size="17" maxlength="16"'); ?> </td> <td align="right"><?php echo ACT_ID_NUMBER; ?> </td> <td><?php echo html_input_field('i_gov_id_number', $cInfo->i_gov_id_number, 'size="17" maxlength="16"'); ?> </td> </tr> </table> <table id="im_address_form" class="ui-widget" style="border-collapse:collapse;width:100%;"> <?php echo draw_address_fields($cInfo->contact, 'im', false, false, false); ?> </table> </fieldset> </div>
} ?> </tr> </table> </fieldset> <?php // *********************** Mailing/Main Address (only one allowed) ****************************** ?> <fieldset class="formAreaTitle"> <legend><?php echo ACT_CATEGORY_M_ADDRESS; ?> </legend> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <?php $var_name = $type . 'm_address'; $temp_array = $cInfo->{$var_name}; $tmp = array(); if (is_array($temp_array)) { foreach ($temp_array[0] as $key => $value) { $tmp[$type . 'm_' . $key] = $value; } } $aInfo = new objectInfo($tmp); echo draw_address_fields($aInfo, $type . 'm', false, false, false); ?> </table> </fieldset> </div>
// | This program is distributed in the hope that it will be useful, | // | but WITHOUT ANY WARRANTY; without even the implied warranty of | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // | GNU General Public License for more details. | // +-----------------------------------------------------------------+ // Path: /modules/contacts/pages/main/template_addbook.php // ?> <div id="tab_addbook"> <?php // *********************** SHIPPING ADDRESSES ************************************* if (defined('MODULE_SHIPPING_STATUS')) { // show shipping address for customers and vendors echo ' <fieldset>'; echo ' <legend>' . ACT_CATEGORY_S_ADDRESS . '</legend>'; echo ' <table id="' . $type . 's_address_form" class="ui-widget" style="border-style:none;width:100%;">'; echo ' <tr><td>' . ACT_SHIPPING_MESSAGE . '</td></tr>'; echo draw_address_fields($cInfo, $type . 's', true); echo ' </table>'; echo ' </fieldset>'; } // *********************** BILLING/BRANCH ADDRESSES ********************************* echo '<fieldset>'; echo ' <legend>' . ACT_CATEGORY_B_ADDRESS . '</legend>'; echo ' <table id="' . $type . 'b_address_form" class="ui-widget" style="border-collapse:collapse;width:100%;">'; echo ' <tr><td>' . ACT_BILLING_MESSAGE . '</td></tr>'; echo draw_address_fields($cInfo, $type . 'b', true); echo ' </table>'; echo '</fieldset>'; ?> </div>
echo html_input_field('i_contact_last', $cInfo->i_contact_last, 'size="33" maxlength="32"', false); ?> </td> </tr> <tr> <td align="right" class="main"><?php echo ACT_ACCOUNT_NUMBER; ?> </td> <td class="main"><?php echo html_input_field('i_account_number', $cInfo->i_account_number, 'size="17" maxlength="16"'); ?> </td> <td align="right" class="main"><?php echo ACT_ID_NUMBER; ?> </td> <td class="main"><?php echo html_input_field('i_gov_id_number', $cInfo->i_gov_id_number, 'size="17" maxlength="16"'); ?> </td> </tr> </table> <table width="100%" class="formArea" border="0" cellspacing="0" cellpadding="0"> <?php echo draw_address_fields($cInfo, 'im', false, false, false); ?> </table> </fieldset> </div>