function Output($params) { global $db, $currencies; if (count($params) != $this->size_params) { //upgrading $params = $this->Upgrade($params); } $list_length = array(); $contents = ''; $control = ''; for ($i = 0; $i <= $this->max_length; $i++) { $list_length[] = array('id' => $i, 'text' => $i); } $list_order = array(array('id' => 'asc', 'text' => TEXT_ASC), array('id' => 'desc', 'text' => TEXT_DESC)); $list_limit = array(array('id' => '0', 'text' => TEXT_NO), array('id' => '1', 'text' => TEXT_YES)); // Build control box form data $control = '<div class="row">'; $control .= ' <div style="white-space:nowrap">'; $control .= TEXT_SHOW . TEXT_SHOW_NO_LIMIT . ' ' . html_pull_down_menu('po_status_field_0', $list_length, $params['num_rows']) . '<br />'; $control .= CP_PO_STATUS_SORT_ORDER . ' ' . html_pull_down_menu('po_status_field_1', $list_order, $params['order']) . '<br />'; $control .= CP_PO_STATUS_HIDE_FUTURE . ' ' . html_pull_down_menu('po_status_field_2', $list_limit, $params['limit']); $control .= html_submit_field('sub_po_status', TEXT_SAVE); $control .= ' </div>'; $control .= '</div>'; if (count($params) != $this->size_params) { $this->update(); } // Build content box $sql = "select id, post_date, purchase_invoice_id, bill_primary_name, total_amount, currencies_code, currencies_value \n\t\t from " . TABLE_JOURNAL_MAIN . " where journal_id = 4 and closed = '0'"; if ($params['limit'] == '1') { $sql .= " and post_date <= '" . date('Y-m-d') . "'"; } if ($params['order'] == 'desc') { $sql .= " order by post_date desc"; } if ($params['num_rows']) { $sql .= " limit " . $params['num_rows']; } $result = $db->Execute($sql); if ($result->RecordCount() < 1) { $contents = ACT_NO_RESULTS; } else { while (!$result->EOF) { $contents .= '<div style="float:right">'; $contents .= html_button_field('invoice_' . $result->fields['id'], TEXT_RECEIVE, 'onclick="window.open(\'' . html_href_link(FILENAME_DEFAULT, 'module=phreebooks&page=orders&oID=' . $result->fields['id'] . '&jID=6&action=prc_so', 'SSL') . '\',\'_blank\')"') . " "; $contents .= $currencies->format_full($result->fields['total_amount'], true, $result->fields['currencies_code'], $result->fields['currencies_value']); $contents .= '</div>'; $contents .= '<div>'; $contents .= '<a href="' . html_href_link(FILENAME_DEFAULT, 'module=phreebooks&page=orders&oID=' . $result->fields['id'] . '&jID=4&action=edit', 'SSL') . '">'; $contents .= $result->fields['purchase_invoice_id'] . ' - '; $contents .= gen_locale_date($result->fields['post_date']); $contents .= ' ' . htmlspecialchars(gen_trim_string($result->fields['bill_primary_name'], 20, true)); $contents .= '</a>'; $contents .= '</div>' . chr(10); $result->MoveNext(); } } return $this->build_div('', $contents, $control); }
// | Copyright(c) 2008-2014 PhreeSoft (www.PhreeSoft.com) | // +-----------------------------------------------------------------+ // | This program is free software: you can redistribute it and/or | // | modify it under the terms of the GNU General Public License as | // | published by the Free Software Foundation, either version 3 of | // | the License, or any later version. | // | | // | 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/phreeform/pages/admin/template_tab_tools.php // ?> <div id="tab_tools"> <fieldset> <legend><?php echo PHREEFORM_TOOLS_REBUILD_TITLE; ?> </legend> <p><?php echo PHREEFORM_TOOLS_REBUILD_DESC; ?> </p> <p align="center"><?php echo PHREEFORM_TOOLS_REBUILD_SUBMIT . ' ' . html_button_field('fix', TEXT_SUBMIT, 'onclick="submitToDo(\'fix\')"'); ?> </fieldset> </div>
foreach ($extra_toolbar_buttons as $key => $value) { $toolbar->icon_list[$key] = $value; } } // add the help file index and build the toolbar $toolbar->add_help('03.04.02'); echo $toolbar->build_toolbar(); // Build the page ?> <div class="pageHeading"><?php echo GL_HEADING_BEGINNING_BALANCES; ?> </div> <?php if ($security_level > 1) { echo '<div align="center">' . html_button_field('bb_inv', GL_BTN_IMP_BEG_BALANCES, 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, 'cat=gen_ledger&module=beg_bal_imp', 'SSL') . '\'"') . '</div>' . chr(10); } ?> <table id="item_table" align="center" border="1" cellspacing="1" cellpadding="1"> <tr> <th><?php echo TEXT_GL_ACCOUNT; ?> </th> <th><?php echo TEXT_DESCRIPTION; ?> </th> <th><?php echo TEXT_ACCOUNT_TYPE; ?>
<th><?php echo html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small'); ?> </th> <th><?php echo TEXT_FILENAME; ?> </th> <th><?php echo TEXT_ACTION; ?> </th> </tr> <?php if (sizeof($cInfo->attachments) > 0) { foreach ($cInfo->attachments as $key => $value) { echo '<tr>'; echo ' <td>' . html_checkbox_field('rm_attach_' . $key, '1', false) . '</td>' . chr(10); echo ' <td>' . $value . '</td>' . chr(10); echo ' <td>' . html_button_field('dn_attach_' . $key, TEXT_DOWNLOAD, 'onclick="submitSeq(' . $key . ', \'download\', true)"') . '</td>'; echo '</tr>' . chr(10); } } else { echo '<tr><td colspan="3">' . TEXT_NO_DOCUMENTS . '</td></tr>'; } ?> </tbody> </table> </fieldset> </div> </div>
<div id="tab_chart_of_accounts"> <?php echo $chart_of_accounts_toolbar->build_toolbar(); ?> <h1><?php echo $chart_of_accounts->title; ?> </h1> <div align="center"> <?php echo GL_SELECT_STD_CHART . html_pull_down_menu('std_chart', $sel_chart); ?> <?php echo GL_CHART_IMPORT_DESC . html_file_field('file_name') . '<br />'; ?> <?php echo html_checkbox_field('delete_chart', '1', false) . GL_CHART_REPLACE; ?> <?php echo html_button_field('import', TEXT_IMPORT, 'onclick="submitToDo(\'import\')"'); ?> <?php echo '<br />' . GL_CHART_DELETE_WARNING; ?> </div> <div id="chart_of_accounts_content"><?php echo $chart_of_accounts->build_main_html(); ?> </div> </div>
<td><?php echo SHIPPING_FEDEX_MULTIWGHT_REPORTS; ?> </td> <td align="right"><?php echo html_button_field('multiweight_fedex', TEXT_VIEW, 'onclick="window.open(\'index.php?cat=services&module=popup_label_mgr&subject=fedex&action=multiweight&date=' . $date . '\',\'ship_mgr\',\'width=800,height=700,resizable=1,scrollbars=1,top=50,left=50\')"'); ?> </td> </tr> <tr> <td><?php echo SHIPPING_FEDEX_HAZMAT_REPORTS; ?> </td> <td align="right"><?php echo html_button_field('hazmat_fedex', TEXT_VIEW, 'onclick="window.open(\'index.php?cat=services&module=popup_label_mgr&subject=fedex&action=hazmat&date=' . $date . '\',\'ship_mgr\',\'width=800,height=700,resizable=1,scrollbars=1,top=50,left=50\')"'); ?> </td> </tr> </table> </td> </tr> </table> <table width="95%" border="1" cellspacing="1" cellpadding="1"> <tr> <th colspan="8"><?php echo SHIPPING_FEDEX_SHIPMENTS_ON . gen_spiffycal_db_date_short($date); ?> </th> </tr> <tr>
?> </td> <td><?php echo html_button_field('ship_log_' . $method_id, SHIPPING_CREATE_ENTRY, 'onclick="window.open(\'index.php?module=shipping&page=popup_tracking&method=' . $method_id . '&action=new\',\'popup_tracking\',\'width=550,height=350,resizable=1,scrollbars=1,top=150,left=200\')"'); ?> </td> <td><?php echo html_button_field('close_' . $method_id, SRV_TRACK_FEDEX_V7, 'onclick="submitAction(\'' . $method_id . '\', \'track\')"'); ?> </td> <td> <?php echo html_file_field('file_name') . ' '; ?> <?php echo html_button_field('recon_' . $method_id, SHIPPING_RECON_BILL, 'onclick="submitAction(\'' . $method_id . '\', \'reconcile\')"'); ?> </td> </tr> </table> <table class="ui-widget" style="border-collapse:collapse;width:100%"> <thead class="ui-widget-header"> <tr> <th colspan="8"><?php echo SHIPPING_FEDEX_V7_SHIPMENTS_ON . gen_locale_date($date); ?> </th> </tr> <tr> <th><?php echo SHIPPING_TEXT_SHIPMENT_ID;
?> <tr> <td colspan="2" align="right"><?php echo html_button_field('ordr_nums', GEN_ADM_TOOLS_BTN_SAVE, 'onclick="submitToDo(\'ordr_nums\')"'); ?> </td> </tr> </table> </fieldset> <fieldset> <legend><?php echo GEN_ADM_TOOLS_SECURITY_HEADING; ?> </legend> <p><?php echo GEN_ADM_TOOLS_SECURITY_DESC; ?> </p> <p align="center"> <?php echo TEXT_CLEAN_BEFORE . ' ' . html_calendar_field($cal_clean); ?> <?php echo html_button_field('clean_security', GEN_ADM_TOOLS_BTN_CLEAN, 'onclick="submitToDo(\'clean_security\')"'); ?> </p> </fieldset> </div>
// Build the page ?> <h1><?php echo PAGE_TITLE; ?> </h1> <div id="filter_bar"> <table class="ui-widget" style="border-style:none;"> <tbody class="ui-widget-content"> <tr> <td><?php echo TEXT_FILTERS . ' ' . TEXT_SHOW_INACTIVE . ' ' . html_checkbox_field('f0', '1', $_SESSION['f0']); ?> </td> <td><?php echo ' ' . html_button_field('apply', TEXT_APPLY, 'onclick="document.forms[0].submit();"'); ?> </td> </tr> </tbody> </table> </div> <div style="height:19px"><?php echo $query_split->display_count(TEXT_DISPLAY_NUMBER . constant('ACT_' . strtoupper($type) . '_TYPE_NAME')); ?> <div style="float:right"><?php echo $query_split->display_links(); ?> </div> </div> <table class="ui-widget" style="border-collapse:collapse;width:100%">
<td align="center"><?php echo 'Select order file to import from Amazon: ' . html_file_field('file_name'); ?> </td> <td align="right"><?php echo 'Maximum results per page ' . html_pull_down_menu('pull_down_max', $display_length, $max_list, 'onchange="changePageResults();"'); ?> </td> </tr> <tr> <td align="center"> <?php echo 'Select the date to build the Amazon ship confirmation on: ' . html_calendar_field($cal_pps) . ' '; ?> <?php echo html_button_field('confirm', 'Build Confirmation File', 'onclick="submitToDo(\'ship_confirm\', true)"'); ?> </td> <td> </td> </tr> </table> <?php if ($so_query_result->RecordCount() > 0) { // only show if there are open sales orders ?> <!-- Display open Sales orders --> <h1><?php echo "Amazon Open Sales Orders"; ?> </h1>
echo html_icon('actions/document-print.png', TEXT_PRINT, 'small', 'onclick="printOrder(' . $oID . ')"') . chr(10); break; case 6: break; case 7: echo html_icon('actions/document-print.png', TEXT_PRINT, 'small', 'onclick="printOrder(' . $oID . ')"') . chr(10); break; case 9: echo html_icon('actions/system-shutdown.png', TEXT_TOGGLE, 'small', 'onclick="submitSeq(' . $oID . ', \'toggle\')"') . chr(10); echo html_icon('actions/document-print.png', TEXT_PRINT, 'small', 'onclick="printOrder(' . $oID . ')"') . chr(10); break; case 10: if (!$query_result->fields['closed']) { echo html_button_field('invoice_' . $oID, TEXT_INVOICE, 'onclick="window.open(\'' . html_href_link(FILENAME_DEFAULT, 'module=phreebooks&page=orders&oID=' . $oID . '&jID=12&action=prc_so', 'SSL') . '\',\'_blank\')"') . chr(10); } echo html_button_field('delivery_' . $oID, ORD_DELIVERY_DATES, 'onclick="deliveryList(' . $oID . ')"') . chr(10); echo html_icon('actions/system-shutdown.png', TEXT_TOGGLE, 'small', 'onclick="submitSeq(' . $oID . ', \'toggle\')"') . chr(10); echo html_icon('actions/document-print.png', TEXT_PRINT, 'small', 'onclick="printOrder(' . $oID . ')"') . chr(10); break; case 12: if (defined('MODULE_SHIPPING_STATUS') && $shipper_code) { if ($sID) { if ($date_shipped == $date_today) { echo html_icon('phreebooks/void-truck-icon.png', ORD_VOID_SHIP, 'small', 'onclick="if (confirm(\'Are you sure you want to delete this shipment?\')) voidShipment(' . $shipped . ', \'' . $shipper_code . '\')"') . chr(10); } echo html_icon('phreebooks/stock_id.png', TEXT_VIEW_SHIP_LOG, 'small', 'onclick="loadPopUp(\'' . $shipper_code . '\', \'edit\', ' . $sID . ')"') . chr(10); } elseif (!$shipped) { echo html_icon('phreebooks/truck-icon.png', TEXT_SHIP, 'small', 'onclick="shipList(' . $oID . ', \'' . $shipper_code . '\')"') . chr(10); } } if (!$closed) {
<tr><th colspan="2"><?php echo OSCOMMERCE_SHIP_CONFIRM_TITLE; ?> </th></tr> <tr><td colspan="2"><?php echo OSCOMMERCE_SHIP_CONFIRM_INFO; ?> </td></tr> <tr> <td align="right"><?php echo OSCOMMERCE_TEXT_CONFIRM_ON; ?> </td> <td><script language="javascript">shipDate.writeControl(); shipDate.displayLeft=true; shipDate.dateFormat="<?php echo DATE_FORMAT_SPIFFYCAL; ?> ";</script></td> </tr> <tr> <td align="right"><?php echo OSCOMMERCE_SHIP_CONFIRM_TEXT; ?> </td> <td><?php echo html_button_field('confirm', OSCOMMERCE_SHIP_CONFIRM_BTN, 'onclick="submitToDo(\'confirm\')"'); ?> </td> </tr> </table> </form>
<?php if ($auto_print) { ?> <applet id="qz" name="QZ Print Plugin" code="qz.PrintApplet.class" archive="<?php echo DIR_WS_ADMIN . 'modules/phreedom/includes/jzebra/qz-print.jar'; ?> " width="16px" height="16px"> <param name="permissions" value="all-permissions" /> <param name="printer" value="<?php echo MODULE_SHIPPING_FEDEX_V7_PRINTER_NAME; ?> "> </applet> <?php echo html_button_field('print_label', TEXT_PRINT, 'onclick="labelPrint()"'); } else { ?> <table border="0" cellspacing="0" cellpadding="2"> <tr><td width="50%" valign="top"> <div> <fieldset> <legend><?php echo SHIPPING_RECP_INFO; ?> </legend> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="dataTableContent"><?php echo GEN_PRIMARY_NAME; ?>
</th> <th class="dataTableHeadingContent"></th> </tr> </tfoot> </table> <div id="search_customer" > <?php echo ORD_ACCT_ID . ' ' . html_input_field('copy_search', isset($order->short_name) ? $order->short_name : TEXT_SEARCH, 'size="21" maxlength="30" title="' . TEXT_SEARCH . '" onchange="accountGuess(true)"'); echo ' ' . html_icon('actions/system-search.png', TEXT_SEARCH, 'small', 'align="top" style="cursor:pointer" onclick="accountGuess(true)"') . '<br>' . chr(10); echo html_input_field('copy_bill_primary_name', $order->bill_primary_name, 'size="33" maxlength="32" onfocus="clearField(\'bill_primary_name\', \'' . GEN_PRIMARY_NAME . '\')" onblur="setField(\'bill_primary_name\', \'' . GEN_PRIMARY_NAME . '\')"', true) . '<br>' . chr(10); echo html_button_field('customer_popup_buttom', TEXT_SELECT_CUSTOMER, 'onclick="popupContact()"') . '<br>' . chr(10); ?> </div> <table id="item_table" class="ui-widget" style="border-collapse:collapse;"> <thead class="ui-widget-header"> <tr> <th class="dataTableHeadingContent"></th> <th class="dataTableHeadingContent"><?php echo TEXT_QUANTITY; ?> </th> <th class="dataTableHeadingContent"><?php echo TEXT_SKU; ?>
?> </legend> <p><?php echo INV_TOOLS_VALIDATE_SO_PO_DESC; ?> </p> <table align="center" border="0" cellspacing="2" cellpadding="1"> <tr> <th><?php echo INV_TOOLS_REPAIR_SO_PO; ?> </th> </tr> <tr> <td align="center"><?php echo html_button_field('inv_on_order_fix', INV_TOOLS_BTN_SO_PO_FIX, 'onclick="submitToDo(\'inv_on_order_fix\')"'); ?> </td> </tr> </table> </fieldset> </form> <hr/> <h3> Etiquetas para imprimir </h3> <div> <label for="nueva_etiqueta">Agregar</label><input type="text" name="nueva_etiqueta" id="nueva_etiqueta" onkeypress> <br/> <a href="#" onclick="imprimir_listado(); return false;"> Imprimir listado </a> </div> <br/> <table id="etiquetas_pendientes">
</thead> <tbody class="ui-widget-content"> <tr><td colspan="2"><?php echo TRANSLATOR_EXPORT_DESC; ?> </td></tr> <tr> <td><?php echo TRANSLATOR_ISO_EXPORT . ' '; ?> </td> <td><?php echo html_pull_down_menu('lang', $sel_language, DEFAULT_LANGUAGE); ?> </td> </tr> <tr> <td colspan="2"><?php echo ' '; ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_button_field('export', TEXT_EXPORT, 'onclick="submitToDo(\'export_all_go\', true)"'); ?> </td> </tr> </tbody> </table> </form>
<td align="right"><?php echo html_button_field('import_so', GL_BB_IMPORT_SALES_ORDERS, 'onclick="submitToDo(\'import_so\')"'); ?> </td> </tr> <tr><td colspan="2"><hr /></td></tr> <tr> <td><h3><?php echo GL_BB_IMPORT_RECEIVABLES; ?> </h3></td> <td align="right"><?php echo html_file_field('file_name_ar'); ?> </td> </tr> <tr> <td><?php echo GL_BB_IMPORT_HELP_MSG; ?> </td> <td align="right"><?php echo html_button_field('import_ar', GL_BB_IMPORT_RECEIVABLES, 'onclick="submitToDo(\'import_ar\')"'); ?> </td> </tr> </tbody> </table> </td></tr> </table> </form>
</tr> <tr> <td width="80%"><?php echo DESC_AGREE; ?> </td> <td><?php echo html_radio_field('license', 'agree', false) . ' ' . TEXT_AGREE; ?> </td> </tr> <tr> <td width="80%"><?php echo DESC_DISAGREE; ?> </td> <td><?php echo html_radio_field('license', 'disagree', true) . ' ' . TEXT_DISAGREE; ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_button_field('submit_form', TEXT_CONTINUE, 'onclick="document.forms[0].submit()"'); ?> </td> </tr> </tbody> </table> </form>
<?php } ?> </table> </fieldset> <fieldset> <legend><?php echo SETUP_CO_MGR_DEL_CO; ?> </legend> <table> <tr> <td colspan="3" style="color:red"><?php echo SETUP_CO_MGR_DELETE_CONFIRM; ?> </td> </tr> <tr> <td colspan="3"><?php echo SETUP_CO_MGR_SELECT_DELETE . html_pull_down_menu('del_company', load_company_dropdown(true)); ?> </td> <td align="right"><?php echo html_button_field('del_button', TEXT_DELETE, 'onclick="if (confirm(\'' . SETUP_CO_MGR_JS_DELETE_CONFIRM . '\')) submitToDo(\'delete_co\')"'); ?> </td> </tr> </table> </fieldset> </div>
echo GEN_ADM_TOOLS_ENCRYPT_PW; ?> </td> <td><?php echo html_password_field('new_encrypt_key'); ?> </td> </tr> <tr> <td><?php echo GEN_ADM_TOOLS_ENCRYPT_PW_CONFIRM; ?> </td> <td><?php echo html_password_field('new_encrypt_confirm'); ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_button_field('encrypt_key', GEN_ADM_TOOLS_BTN_SAVE, 'onclick="submitToDo(\'encrypt_key\')"'); ?> </td> </tr> </tbody> </table> </fieldset> <?php } ?> </form>
?> </h1> <fieldset> <legend><?php echo GL_UTIL_BEG_BAL_LEGEND; ?> </legend> <table class="ui-widget" style="border-style:none;width:100%"> <tbody class="ui-widget-content"> <tr> <td><?php echo GL_UTIL_BEG_BAL_TEXT; ?> </td> <td align="right"><?php echo html_button_field('beg_balances', GL_BTN_BEG_BAL, 'onclick="submitToDo(\'beg_balances\')"'); ?> </td> </tr> </tbody> </table> </fieldset> <fieldset> <legend><?php echo HEADING_MODULE_IMPORT; ?> </legend> <table class="ui-widget" style="border-collapse:collapse;width:100%"> <thead class="ui-widget-header"> <tr><th colspan="4"><?php
<td><?php echo ' ' . INV_ENTRY_INVENTORY_TYPE . ' ' . html_pull_down_menu('f1', $type_select_list, $f1, ''); ?> </td> <?php if ($account_type == 'v' && $contactID) { ?> <td><?php echo ' ' . INV_HEADING_PREFERRED_VENDOR . ' ' . html_checkbox_field('f2', '1', $f2); ?> </td> <?php } ?> <td><?php echo ' ' . html_button_field('apply', TEXT_APPLY, 'onclick="submitToDo();"'); ?> </td> </tr> </tbody> </table> </div> <div style="height:19px"><?php echo $query_split->display_count(TEXT_DISPLAY_NUMBER . TEXT_ITEMS); ?> <div style="float:right"><?php echo $query_split->display_links(); ?> </div> </div> <table class="ui-widget" style="border-collapse:collapse;width:100%">
<?php echo html_input_field('reportname', $reportname, 'size="32" maxlength="30"'); ?> </td> <td align="right"> <?php echo html_button_field('import_one', TEXT_IMPORT_ONE, 'onclick="submitToDo(\'import_one\')"') . chr(10); ?> </td> </tr> <tr class="ui-widget-header"> <th colspan="2"><?php echo ' '; ?> </th> </tr> <tr> <td><?php echo TEXT_IMPORT_ALL_DESC . ' '; ?> </td> <td align="right"> <?php echo html_button_field('import_all', TEXT_IMPORT_ALL, 'onclick="submitToDo(\'import_all\')"') . chr(10); ?> </td> </tr> </tbody> </table> </form>
<th><?php echo GEN_ADM_TOOLS_REPAIR_TEST; ?> </th> <th><?php echo GEN_ADM_TOOLS_REPAIR_FIX; ?> </th> </tr> <tr> <td align="center"><?php echo html_button_field('coa_hist_test', GEN_ADM_TOOLS_BTN_TEST, 'onclick="submitToDo(\'coa_hist_test\')"'); ?> </td> <td align="center"><?php echo html_button_field('coa_hist_fix', GEN_ADM_TOOLS_BTN_REPAIR, 'onclick="if (confirm(\'' . GEN_ADM_TOOLS_REPAIR_CONFIRM . '\')) submitToDo(\'coa_hist_fix\')"'); ?> </td> </tr> </tbody> </table> </fieldset> <?php if ($security_level == 4) { ?> <fieldset> <legend><?php echo GL_UTIL_PURGE_ALL; ?> </legend>
?> </td> </tr> <tr> <td align="right"><?php echo GEN_BACKUP_COMP_TYPE; ?> </td> <td> <?php echo html_radio_field('conv_type', 'zip', true, '', '') . GEN_COMP_ZIP . ' '; ?> <?php echo html_radio_field('conv_type', 'bz2', false, '', '') . GEN_COMP_BZ2; ?> </td> </tr> <tr> <td align="right"><?php echo html_button_field('backup', GEN_ADM_TOOLS_BTN_BACKUP, 'onclick="submitToDo(\'backup\', true)"'); ?> </td> <td><?php echo html_button_field('clean', GEN_ADM_TOOLS_BTN_CLEAN, 'onclick="if (confirm(\'' . GEN_ADM_TOOLS_BTN_CLEAN_CONFIRM . '\')) submitToDo(\'clean\')"'); ?> </td> </tr> </tbody> </table> </div>
echo TEXT_SOURCE_LANGUAGE . ' ' . html_input_field('source_lang', 'en_us'); ?> </td> </tr> <tr><th colspan="2"><?php echo TEXT_OPTIONS; ?> </th></tr> <tr> <td> <?php echo html_checkbox_field('replace', '1', false); ?> <?php echo TRANSLATOR_NEW_OVERRIDE . ' '; ?> </td> <td><?php echo html_input_field('history_lang', DEFAULT_LANGUAGE); ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_button_field('new', TEXT_CREATE_NEW_TRANSLATION, 'onclick="submitToDo(\'create_new\')"'); ?> </td> </tr> </tbody> </table> </form>
?> </td> <td align="right"> <?php echo $account_type == 'v' ? ORD_PURCHASE_TAX . ' ' : ORD_SALES_TAX . ' '; echo ' ' . html_input_field('sales_tax', $currencies->format($order->sales_tax ? $order->sales_tax : '0.00', true, $order->currencies_code, $order->currencies_value), 'readonly="readonly" size="15" maxlength="20" onchange="updateTotalPrices()" style="text-align:right"'); ?> </td> </tr> <tr> <td><div id="show_attach" style="display:none"> <?php echo html_checkbox_field('rm_attach', '1', $order->del_attach ? true : false, '', '') . ' ' . TEXT_DELETE_ATTACHMENT; ?> <?php echo html_button_field('dn_attach', TEXT_DOWNLOAD_ATTACHMENT, 'onclick="downloadAttachment()"'); ?> </div> </td> <td align="right"> <?php echo ORD_INVOICE_TOTAL . ' '; echo html_input_field('total', $currencies->format($order->total_amount, true, $order->currencies_code, $order->currencies_value), 'readonly="readonly" size="15" maxlength="20" style="text-align:right"'); ?> </td> </tr> </tbody> </table> </td> </tr> </tbody>
<tbody class="ui-widget-content"> <?php if (is_array($page_list)) { foreach ($page_list as $key => $value) { $installed = defined('MODULE_' . strtoupper($key) . '_STATUS'); echo ' <tr>'; echo ' <td' . ($installed ? ' class="ui-state-active"' : '') . '>' . $value . '</td>'; echo ' <td>' . constant('MODULE_' . strtoupper($key) . '_DESCRIPTION') . '</td>'; if (!$installed && $security_level > 1) { echo ' <td> </td>'; echo ' <td align="center">' . html_button_field('btn_' . $key, TEXT_INSTALL, 'onclick="submitToDo(\'install_' . $key . '\')"') . '</td>' . chr(10); } else { echo ' <td align="center">' . constant('MODULE_' . strtoupper($key) . '_STATUS') . '</td>'; echo ' <td align="center" nowrap="nowrap">' . chr(10); if ($security_level > 3) { echo html_button_field('btn_' . $key, TEXT_REMOVE, 'onclick="if (confirm(\'' . TEXT_REMOVE_MESSAGE . '\')) submitToDo(\'remove_' . $key . '\')"') . chr(10); } // check to see if the module has special admin settings if (file_exists(DIR_FS_MODULES . $key . '/pages/admin/pre_process.php')) { echo html_icon('categories/preferences-system.png', TEXT_PROPERTIES, 'medium', 'onclick="location.href=\'' . html_href_link(FILENAME_DEFAULT, 'module=' . $key . '&page=admin', 'SSL') . '\'"') . chr(10); } echo '</td>' . chr(10); } echo ' </tr>' . chr(10); echo '<tr><td colspan="4"><hr /></td></tr>'; } } ?> </tbody> </table> </div>
// pull in extra toolbar overrides and additions if (count($extra_toolbar_buttons) > 0) { foreach ($extra_toolbar_buttons as $key => $value) { $toolbar->icon_list[$key] = $value; } } // add the help file index and build the toolbar $toolbar->add_help(''); echo $toolbar->build_toolbar(); // Build the page ?> <div class="pageHeading"><?php echo HEADING_TITLE_CRASH_TITLE; ?> </div> <table width="400" align="center" border="0" cellspacing="10" cellpadding="10"> <tr> <td><?php echo HEADING_TITLE_CRASH_INFORMATION; ?> </td> </tr> <tr> <td align="center"><?php echo html_button_field('download', HEADING_TITLE_CRASH_BUTTON, 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, 'cat=general&module=debug', 'SSL') . '\'"'); ?> </td> </tr> </table> </form>
?> </th> </tr> <tr> <td><?php echo html_input_field('field_cnt', $field_cnt, 'onchange="submitToDo(\'reload\')"'); ?> </td> <td> </td> <?php for ($i = 0; $i < $field_cnt; $i++) { echo "<td>" . html_pull_down_menu('field' . $i, $fields, $field[$i], 'onchange="submitToDo(\'reload\')"') . "</td>\n"; } ?> <td align="right"><?php echo html_button_field('filter', 'Filter', 'onclick="submitToDo(\'filter\')"'); ?> </td> </tr> </thead> <tbody class="ui-widget-content"> <?php $row = 0; $odd = true; while (!$query_result->EOF) { ?> <tr class="<?php echo $odd ? 'odd' : 'even'; ?> "> <td><?php