function Output($params) { global $db; $contents = ''; $control = ''; // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">'; $control .= TEXT_TITLE . ' ' . html_input_field('personal_links_field_0', '', 'size="40"') . '<br />'; $control .= TEXT_URL . ' ' . html_input_field('personal_links_field_1', '', 'size="64"'); $control .= ' '; $control .= html_submit_field('sub_personal_links', TEXT_ADD); $control .= html_hidden_field('personal_links_rId', ''); $control .= '</div></div>'; // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $title => $hyperlink) { $contents .= '<div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"'); $contents .= '</div>'; $contents .= '<div style="min-height:16px;">'; $contents .= '<a href="' . $hyperlink . '" target="_blank">' . $title . '</a>' . chr(10); $contents .= '</div>'; $index++; } } else { $contents = ACT_NO_RESULTS; } return $this->build_div('', $contents, $control); }
function Output($params) { global $db; $contents = ''; $control = ''; // Build control box form data $control = ' <div class="row">' . chr(10); $control .= ' <div style="white-space:nowrap">'; $control .= TEXT_NOTE . ' ' . html_input_field('my_notes_field_0', '', 'size="64"') . '<br />'; $control .= ' '; $control .= html_submit_field('sub_my_notes', TEXT_ADD); $control .= html_hidden_field('my_notes_rId', ''); $control .= ' </div>' . chr(10); $control .= ' </div>' . chr(10); // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $my_note) { $contents .= ' <div>'; $contents .= ' <div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"'); $contents .= ' </div>' . chr(10); $contents .= ' <div style="min-height:16px;">● ' . $my_note . '</div>' . chr(10); $contents .= ' </div>' . chr(10); $index++; } } else { $contents = ACT_NO_RESULTS; } return $this->build_div('', $contents, $control); }
function Output($params) { global $db; // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">'; $control .= TEXT_NOTE . ' ' . html_input_field('my_note', '', 'size="50"') . '<br />'; $control .= ' '; $control .= html_submit_field('my_note_submit', TEXT_ADD); $control .= html_hidden_field($this->module_id . '_rId', ''); $control .= '</div></div>'; // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $my_note) { if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 3) { // only let delete if user permission is full $contents .= '<div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->module_id . '\', ' . $index . ')"'); $contents .= '</div>'; } $contents .= '<div style="height:16px;">- ' . $my_note . '</div>' . chr(10); $index++; } } else { $contents = CP_MY_NOTES_NO_RESULTS; } return $this->build_div($this->title, $contents, $control); }
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); }
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); } // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">' . TEXT_SHOW . TEXT_SHOW_NO_LIMIT; $control .= html_pull_down_menu('to_receive_inv_field_0', $list_length, $params['num_rows']); $control .= html_submit_field('sub_to_receive_inv', TEXT_SAVE); $control .= '</div></div>'; // Build content box $total = 0; $sql = "select id, purchase_invoice_id, total_amount, bill_primary_name, currencies_code, currencies_value, post_date, journal_id \n\t\t from " . TABLE_JOURNAL_MAIN . " \n\t\t where journal_id in (6,7) and waiting = '1' order by post_date DESC, purchase_invoice_id 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) { $inv_balance = $result->fields['total_amount'] - fetch_partially_paid($result->fields['id']); if ($result->fields['journal_id'] == 7) { $inv_balance = -$inv_balance; } $total += $inv_balance; $contents .= '<div style="float:right">' . $currencies->format_full($inv_balance, true, $result->fields['currencies_code'], $result->fields['currencies_value']) . '</div>'; $contents .= '<div>'; $contents .= '<a href="' . html_href_link(FILENAME_DEFAULT, "module=phreebooks&page=orders&oID={$result->fields['id']}&jID={$result->fields['journal_id']}&action=edit", 'SSL') . '">'; $contents .= gen_locale_date($result->fields['post_date']) . ' - '; if ($result->fields['purchase_invoice_id'] != '') { $contents .= $result->fields['purchase_invoice_id'] . ' - '; } $contents .= htmlspecialchars($result->fields['bill_primary_name']); $contents .= '</a></div>' . chr(10); $result->MoveNext(); } } if (!$params['num_rows'] && $result->RecordCount() > 0) { $contents .= '<div style="float:right">' . $currencies->format_full($total, true, DEFAULT_CURRENCY, 1) . '</div>'; $contents .= '<div><b>' . TEXT_TOTAL . '</b></div>' . chr(10); } return $this->build_div('', $contents, $control); }
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); } // Build control box form data1 $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">' . CP_AUDIT_LOG_DISPLAY; $control .= '<select name="today_minus" onchange="">'; for ($i = 0; $i <= 365; $i++) { $control .= '<option value="' . $i . '"' . ($params['today_minus'] == $i ? ' selected="selected"' : '') . '>' . $i . '</option>'; } $control .= '</select>' . CP_AUDIT_LOG_DISPLAY2 . ' '; $control .= '</div></div>'; // Build control box form data2 $control .= '<div class="row">'; $control .= '<div style="white-space:nowrap">' . TEXT_SHOW . TEXT_SHOW_NO_LIMIT; $control .= html_pull_down_menu('audit_log_num_rows', $list_length, $params['num_rows']); $control .= html_submit_field('sub_audit_log', TEXT_SAVE); $control .= '</div></div>'; // Build content box $sql = "select a.action_date, a.action, a.reference_id, a.amount, u.display_name from " . TABLE_AUDIT_LOG . " as a, " . TABLE_USERS . " as u \n where a.user_id = u.admin_id and a.action_date >= '" . date('Y-m-d', strtotime('-' . $params['today_minus'] . ' day')) . "' \n and a.action_date <= '" . date('Y-m-d', strtotime('-' . $params['today_minus'] + 1 . ' day')) . "' order by a.action_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">' . $currencies->format_full($result->fields['amount'], true, DEFAULT_CURRENCY, 1, 'fpdf') . '</div>'; $contents .= '<div>'; $contents .= $result->fields['display_name'] . '-->'; $contents .= $result->fields['action'] . '-->'; $contents .= $result->fields['reference_id']; $contents .= '</div>' . chr(10); $result->MoveNext(); } } $this->title = CP_AUDIT_LOG_TITLE . " " . date('Y-m-d', strtotime('-' . $params['today_minus'] . ' day')); return $this->build_div('', $contents, $control); }
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); } // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">' . TEXT_SHOW . TEXT_SHOW_NO_LIMIT; $control .= html_pull_down_menu('todays_s_quotes_field_0', $list_length, $params['num_rows']); $control .= html_submit_field('sub_todays_s_quotes', TEXT_SAVE); $control .= '</div></div>'; // Build content box $total = 0; $sql = "select id, purchase_invoice_id, total_amount, bill_primary_name, currencies_code, currencies_value \n\t\t from " . TABLE_JOURNAL_MAIN . " \n\t\t where journal_id = 9 and post_date = '" . date('Y-m-d') . "' order by purchase_invoice_id"; 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) { $total += $result->fields['total_amount']; $contents .= '<div style="float:right">' . $currencies->format_full($result->fields['total_amount'], true, $result->fields['currencies_code'], $result->fields['currencies_value']) . '</div>'; $contents .= '<div>'; // $contents .= '<a href="' . html_href_link(FILENAME_DEFAULT, 'module=phreebooks&page=orders&oID=' . $result->fields['id'] . '&jID=10&action=edit', 'SSL') . '">'; $contents .= '<a href="' . html_href_link(FILENAME_DEFAULT, 'module=phreebooks&page=orders&oID=' . $result->fields['id'] . '&jID=9&action=edit', 'SSL') . '">'; // $contents .= '<a href="' . html_href_link(FILENAME_DEFAULT, 'cat=orders&module=orders&oID=' . $result->fields['id'] . '&jID=9&action=edit', 'SSL') . '">'; $contents .= $result->fields['purchase_invoice_id'] . ' - '; $contents .= htmlspecialchars($result->fields['bill_primary_name']); $contents .= '</a></div>' . chr(10); $result->MoveNext(); } } if (!$params['num_rows'] && $result->RecordCount() > 0) { $contents .= '<div style="float:right">' . $currencies->format_full($total, true, $result->fields['currencies_code'], $result->fields['currencies_value']) . '</div>'; $contents .= '<div><b>' . TEXT_TOTAL . '</b></div>' . chr(10); } return $this->build_div('', $contents, $control); }
function Output($params) { global $db; // load the report security tokens $rr_security = array(); $result = $db->Execute("select reportid, params from " . TABLE_REPORT_FIELDS . " where entrytype = 'security'"); while (!$result->EOF) { $rr_security[$result->fields['reportid']] = $result->fields['params']; $result->MoveNext(); } // load the report list $query_raw = "select id, reporttype, description from " . TABLE_REPORTS . " order by description"; $reports = $db->Execute($query_raw); $data_array = array(array('id' => '', 'text' => GEN_HEADING_PLEASE_SELECT)); $type_array = array(); while (!$reports->EOF) { $type_array[$reports->fields['id']] = $reports->fields['reporttype']; if (security_check($rr_security[$reports->fields['id']])) { $data_array[] = array('id' => $reports->fields['id'], 'text' => $reports->fields['description']); } $reports->MoveNext(); } // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">'; $control .= TEXT_REPORT . ' ' . html_pull_down_menu('report_id', $data_array); $control .= ' '; $control .= html_submit_field('my_favorite_reports', TEXT_ADD); $control .= html_hidden_field($this->module_id . '_rId', ''); $control .= '</div></div>'; // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $id => $description) { $contents .= '<div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->module_id . '\', ' . $index . ')"'); $contents .= '</div>'; $contents .= '<div style="height:16px;">'; $contents .= ' <a href="index.php?cat=reportwriter&module=' . ($type_array[$id] == 'frm' ? 'form_gen' : 'rpt_gen') . '&ReportID=' . $id . '&todo=open" target="_blank">' . $description . '</a>' . chr(10); $contents .= '</div>'; $index++; } } else { $contents = CP_FAVORITE_REPORTS_NO_RESULTS; } return $this->build_div($this->title, $contents, $control); }
function Output($params) { global $db; $contents = ''; $control = ''; // load the report list $result = $db->Execute("select id, security, doc_title from " . TABLE_PHREEFORM . " \n\t\t where doc_ext in ('rpt','frm') order by doc_title"); $data_array = array(array('id' => '', 'text' => GEN_HEADING_PLEASE_SELECT)); $type_array = array(); while (!$result->EOF) { if (security_check($result->fields['security'])) { $data_array[] = array('id' => $result->fields['id'], 'text' => $result->fields['doc_title']); } $result->MoveNext(); } // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">'; $control .= TEXT_REPORT . ' ' . html_pull_down_menu('report_id', $data_array); $control .= ' '; $control .= html_submit_field('sub_favorite_reports', TEXT_ADD); $control .= html_hidden_field('favorite_reports_rId', ''); $control .= '</div></div>'; // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $id => $description) { $contents .= '<div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"'); $contents .= '</div>'; $contents .= '<div style="height:16px;">'; $contents .= ' <a href="index.php?module=phreeform&page=popup_gen&rID=' . $id . '" target="_blank">' . $description . '</a>' . chr(10); $contents .= '</div>'; $index++; } } else { $contents = ACT_NO_RESULTS; } return $this->build_div('', $contents, $control); }
function Output($params) { global $db; $contents = ''; $control = ''; // Build control box form data $control = '<div class="row">'; $control .= '<div style="white-space:nowrap">'; if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 1) { // only show add new if user permission is set to add $control .= TEXT_TITLE . ' ' . html_input_field('company_links_field_0', '', 'size="40"') . '<br />'; $control .= TEXT_URL . ' ' . html_input_field('company_links_field_1', '', 'size="64"'); $control .= ' '; $control .= html_submit_field('sub_company_links', TEXT_ADD); } $control .= html_hidden_field('company_links_rId', ''); $control .= '</div></div>'; // Build content box $contents = ''; if (is_array($params)) { $index = 1; foreach ($params as $title => $hyperlink) { if ($_SESSION['admin_security'][SECURITY_ID_USERS] > 3) { // only let delete if user permission is full $contents .= '<div style="float:right; height:16px;">'; $contents .= html_icon('phreebooks/dashboard-remove.png', TEXT_REMOVE, 'small', 'onclick="return del_index(\'' . $this->dashboard_id . '\', ' . $index . ')"'); $contents .= '</div>'; } $contents .= '<div style="height:16px;">'; $contents .= ' <a href="' . $hyperlink . '" target="_blank">' . $title . '</a>' . chr(10); $contents .= '</div>'; $index++; } } else { $contents = ACT_NO_RESULTS; } return $this->build_div('', $contents, $control); }
<?php if ($install_trans_module) { ?> <tr><th><?php echo MODULE_TRANSLATOR_INSTALL_INFO; ?> </th></tr> <tr> <td class="main" align="center"><?php echo html_submit_field('install', TEXT_INSTALL, ''); ?> </td> </tr> <?php } else { ?> <tr><th><?php echo MODULE_TRANSLATOR_REMOVE_INFO; ?> </th></tr> <tr> <td class="main" align="center"><?php echo html_submit_field('remove', TEXT_REMOVE, 'onclick="if (!confirm(\'' . MODULE_TRANSLATOR_REMOVE_CONFIRM . '\')) return false"'); ?> </td> </tr> <?php } ?> </table> </form>
<?php echo html_form('company_mgr_del', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . '&action=delete'); ?> <fieldset><legend><?php echo SETUP_CO_MGR_DEL_CO; ?> </legend> <table width="100%" border="0" cellspacing="2" cellpadding="2"> <tr><td><?php echo SETUP_CO_MGR_SELECT_DELETE; ?> </td></tr> <tr><td><?php echo SETUP_CO_MGR_DELETE_CONFIRM; ?> </td></tr> <tr><td><?php echo html_pull_down_menu('company', load_company_dropdown(true)); ?> </td></tr> <tr><td align="right"><?php echo html_submit_field('button', SETUP_CO_MGR_DEL_CO, 'onclick="if (!confirm(\'' . SETUP_CO_MGR_JS_DELETE_CONFIRM . '\')) return false"'); ?> </td></tr> </table> </fieldset></form> </td> </tr> </table> </div>
</td> <td> <table> <tr> <th colspan="2"><?php echo SHIPPING_UPS_VIEW_REPORTS . gen_locale_date($date); ?> </th> </tr> <tr> <td><?php echo SHIPPING_UPS_CLOSE_REPORTS; ?> </td> <td align="right"><?php echo html_submit_field('close_ups', TEXT_VIEW, ''); ?> </td> </tr> </table> </td> </tr> </table> <table width="95%" border="1" cellspacing="1" cellpadding="1"> <tr> <th colspan="8"><?php echo SHIPPING_UPS_SHIPMENTS_ON . gen_locale_date($date); ?> </th> </tr> <tr>
// Path: /modules/services/pages/popup_label_image/template_main.php // ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title><?php echo TITLE . ' - ' . COMPANY_NAME; ?> </title> </head> <body> <div id="image"> <?php if ($image) { echo '<h2>' . $image . '</h2>'; } else { echo html_form('download', FILENAME_DEFAULT, gen_get_all_get_params(array('todo')) . 'todo=download') . chr(10); echo html_submit_field('action', SHIPPING_TEXT_DOWNLOAD, '') . chr(10); echo SHIPPING_THERMAL_INST; echo '</form>'; } ?> </form> </div> </body> </html>
?> </h2></td></tr> <tr> <td nowrap="nowrap"> <?php echo TEXT_ADMIN_EMAIL; ?> </td> <td><?php echo html_input_field('admin_email', $_POST['admin_email'], 'size="60"'); ?> </td> </tr> <tr> <td nowrap="nowrap"> <?php echo TEXT_LOGIN_COMPANY; ?> </td> <td><?php echo html_pull_down_menu('company', load_company_dropdown(), $admin_company); ?> </td> </tr> <tr><td colspan="2" align="right"><?php echo html_submit_field('submit', TEXT_PASSWORD_FORGOTTEN) . ' '; ?> </td></tr> </tbody> </table> </div> </form>
<tr> <td><?php echo TEXT_FY_MONTH_INFO; ?> </td> <td><?php echo html_pull_down_menu('fy_month', $sel_fy_month, $_POST['fy_month'] ? $_POST['fy_month'] : '01'); ?> </td> </tr> <tr> <td><?php echo TEXT_FY_YEAR_INFO; ?> </td> <td><?php echo html_pull_down_menu('fy_year', $sel_fy_year, $_POST['fy_year'] ? $_POST['fy_year'] : date('Y')); ?> </td> </tr> <tr> <td colspan="2" align="right"><?php echo html_submit_field('btn_install', TEXT_CONTINUE, 'onclick="showLoading()"'); ?> </td> </tr> </tbody> </table> </form>
$keys .= html_input_field('configuration[' . $key . ']', $value['value']); } $keys .= '<br /><br />'; } $keys = substr($keys, 0, strrpos($keys, '<br /><br />')); $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); $contents = array('form' => html_form('modules', FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'set', 'subject')) . 'set=' . $module_type . ($_GET['subject'] != '' ? '&subject=' . $_GET['subject'] : '') . '&action=save')); if (ADMIN_CONFIGURATION_KEY_ON == 1) { $contents[] = array('text' => '<strong>Key: ' . $mInfo->code . '</strong><br />'); } $contents[] = array('text' => $keys); // special conditions if ($module_type == 'shipping' && $mInfo->code == 'fedex' && MODULE_SHIPPING_FEDEX_RATE_LICENSE == '' && MODULE_SHIPPING_FEDEX_ACCOUNT_NUMBER != '') { $contents[] = array('align' => 'center', 'text' => '<br />' . html_button_field('get_key', 'Get FedEx Meter Number', 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'set', 'subject')) . 'set=' . $module_type . '&subject=fedex&action=get_fedex_key', 'SSL') . '\'"')); } $contents[] = array('align' => 'center', 'text' => '<br />' . html_submit_field('update', TEXT_UPDATE) . html_button_field('cancel', TEXT_CANCEL, 'onclick="location.href = \'' . html_href_link(FILENAME_DEFAULT, gen_get_all_get_params(array('action', 'set', 'subject')) . 'set=' . $module_type . ($_GET['subject'] != '' ? '&subject=' . $_GET['subject'] : ''), 'SSL') . '\'"')); break; default: $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); if ($mInfo->status == '1') { $keys = ''; reset($mInfo->keys); while (list(, $value) = each($mInfo->keys)) { $keys .= '<b>' . $value['title'] . '</b><br />'; if ($value['use_function']) { $use_function = $value['use_function']; $keys .= setup_call_function($use_function, $value['value']); } else { $keys .= $value['value']; } $keys .= '<br /><br />';
<fieldset> <legend><?php echo GL_UTIL_PURGE_ALL; ?> </legend> <table class="ui-widget" style="border-style:none;width:100%"> <tbody class="ui-widget-content"> <tr> <td><?php echo GL_UTIL_PURGE_DB; ?> </td> <td valign="top" align="right"> <?php echo html_input_field('purge_confirm', '', 'size="10" maxlength="10"') . ' '; echo html_submit_field('purge_db', GL_BTN_PURGE_DB, 'onclick="if (confirm(\'' . GL_UTIL_PURGE_DB_CONFIRM . '\')) submitToDo(\'purge_db\')"'); ?> </td> </tr> </tbody> </table> </fieldset> <?php } ?>
</tr> <tr> <td align="center"><?php echo '<h3>' . GL_BB_IMPORT_SALES_ORDERS . '</h3>' . GL_BB_IMPORT_HELP_MSG; ?> </td> <td align="center"> <?php echo html_file_field('file_name_so') . '<br /><br />'; ?> <?php echo html_submit_field('import_so', GL_BB_IMPORT_SALES_ORDERS); ?> </td> </tr> <tr> <td align="center"><?php echo '<h3>' . GL_BB_IMPORT_RECEIVABLES . '</h3>' . GL_BB_IMPORT_HELP_MSG; ?> </td> <td align="center"> <?php echo html_file_field('file_name_ar') . '<br /><br />'; ?> <?php echo html_submit_field('import_ar', GL_BB_IMPORT_RECEIVABLES); ?> </td> </tr> </table> </form>
<tr> <td><?php echo MSG_INSPECT_ERRORS; ?> </td> </tr> <tr> <td><?php echo $messageStack->output(); ?> </td> </tr> <?php } ?> <tr> <td align="right"> <?php echo html_submit_field('btn_recheck', TEXT_RECHECK); echo html_submit_field('btn_install', TEXT_INSTALL, $error ? 'disabled="disabled"' : ''); ?> </td> </tr> </tbody> </table> </form>
<td><?php echo html_pull_down_menu('language', $languages, $language_index); ?> </td> </tr> <?php } ?> <tr> <td colspan="2" align="right"> <div id="wait_msg" style="display:none;"><?php echo TEXT_FORM_PLEASE_WAIT; ?> </div> <?php echo html_submit_field('submit', TEXT_LOGIN_BUTTON); ?> </td> </tr> <tr> <td colspan="2"><?php echo '<a href="' . html_href_link(FILENAME_DEFAULT, 'module=phreedom&page=main&req=pw_lost_req', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?> </td> </tr> <tr> <td colspan="2"> <?php echo TEXT_COPYRIGHT; ?> (c) 2008 - 2013 <a href="http://www.PhreeSoft.com">PhreeSoft, LLC</a><br />
echo GL_UTIL_BEG_BAL_TEXT; ?> </td> <td align="right"><?php echo html_submit_field('beg_balances', GL_BTN_BEG_BAL); ?> </td> </tr> </table> </fieldset> <fieldset> <legend><?php echo GL_UTIL_PURGE_ALL; ?> </legend> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td><?php echo GL_UTIL_PURGE_DB; ?> </td> <td valign="top" align="right"> <?php echo html_input_field('purge_confirm', '', 'size="10" maxlength="10"') . ' '; echo html_submit_field('purge_db', GL_BTN_PURGE_DB, 'onclick="if (!confirm(\'' . GL_UTIL_PURGE_DB_CONFIRM . '\')) return false"'); ?> </td> </tr> </table> </fieldset> </form>