function credit_selection() { global $aLang; global $oCurrencies; $sTheme = oos_var_prep_for_os($_SESSION['theme']); $sLanguage = oos_var_prep_for_os($_SESSION['language']); $image_submit = '<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . 'themes/' . $sTheme . '/images/buttons/' . $sLanguage . '/redeem.gif" border="0" alt="' . $aLang['image_button_redeem_voucher'] . '" title = "' . $aLang['image_button_redeem_voucher'] . '">'; $selection_string = ''; $selection_string .= '<tr>' . "\n"; $selection_string .= ' <td width="10"></td>'; $selection_string .= ' <td class="main">' . "\n"; $selection_string .= $aLang['text_enter_coupon_code'] . oos_draw_input_field('gv_redeem_code') . '</td>'; $selection_string .= ' <td align="right">' . $image_submit . '</td>'; $selection_string .= ' <td width="10"></td>'; $selection_string .= '</tr>' . "\n"; return $selection_string; }
<?php $heading = array(); $contents = array(); switch ($action) { case 'delete': $heading[] = array('text' => '<b>' . $fInfo->name . '</b>'); $contents = array('form' => oos_draw_form('file', $aFilename['file_manager'], 'info=' . urlencode($fInfo->name) . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $fInfo->name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['file_manager'], 'info=' . urlencode($fInfo->name)) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'new_folder': $heading[] = array('text' => '<b>' . TEXT_NEW_FOLDER . '</b>'); $contents = array('form' => oos_draw_form('folder', $aFilename['file_manager'], 'action=insert')); $contents[] = array('text' => TEXT_NEW_FOLDER_INTRO); $contents[] = array('text' => '<br />' . TEXT_FILE_NAME . '<br />' . oos_draw_input_field('folder_name')); $contents[] = array('align' => 'center', 'text' => '<br />' . ($directory_writeable ? oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) : '') . ' <a href="' . oos_href_link_admin($aFilename['file_manager'], 'info=' . urlencode($_GET['info'])) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'upload': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_UPLOAD . '</b>'); $contents = array('form' => oos_draw_form('file', $aFilename['file_manager'], 'action=processuploads', 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_UPLOAD_INTRO); for ($i = 1; $i < 6; $i++) { $file_upload .= oos_draw_file_field('file_' . $i) . '<br />'; } $contents[] = array('text' => '<br />' . $file_upload); $contents[] = array('align' => 'center', 'text' => '<br />' . ($directory_writeable ? oos_image_swap_submits('upload', 'upload_off.gif', IMAGE_UPLOAD) : '') . ' <a href="' . oos_href_link_admin($aFilename['file_manager'], 'info=' . urlencode($_GET['info'])) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; default: if (isset($fInfo) && is_object($fInfo)) { $heading[] = array('text' => '<b>' . $fInfo->name . '</b>');
for ($i = 0, $n = count($languages); $i < $n; $i++) { $manufacturer_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']'); } $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_URL . $manufacturer_inputs_string); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $_GET['mID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_HEADING_EDIT_MANUFACTURER . '</b>'); $contents = array('form' => oos_draw_form('manufacturers', $aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=save', 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_EDIT_INTRO); $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_NAME . '<br />' . oos_draw_input_field('manufacturers_name', $mInfo->manufacturers_name)); $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_IMAGE . '<br />' . oos_draw_file_field('manufacturers_image') . '<br />' . $mInfo->manufacturers_image); $manufacturer_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $manufacturer_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('manufacturers_url[' . $languages[$i]['id'] . ']', oos_get_manufacturer_url($mInfo->manufacturers_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_URL . $manufacturer_inputs_string); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_MANUFACTURER . '</b>'); $contents = array('form' => oos_draw_form('manufacturers', $aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $mInfo->manufacturers_name . '</b>'); $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE); if ($mInfo->products_count > 0) { $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_products') . ' ' . TEXT_DELETE_PRODUCTS); $contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $mInfo->products_count)); } $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['manufacturers'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>');
function selection() { global $oOrder, $aLang; if (MODULE_PAYMENT_PSIGATE_INPUT_MODE == 'Local') { for ($i = 1; $i < 13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000))); } $today = getdate(); for ($i = $today['year']; $i < $today['year'] + 10; $i++) { $expires_year[] = array('id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => $aLang['module_payment_psigate_text_credit_card_owner'], 'field' => $oOrder->billing['firstname'] . ' ' . $oOrder->billing['lastname']), array('title' => $aLang['module_payment_psigate_text_credit_card_number'], 'field' => oos_draw_input_field('psigate_cc_number')), array('title' => $aLang['module_payment_psigate_text_credit_card_expires'], 'field' => oos_draw_pull_down_menu('psigate_cc_expires_month', $expires_month) . ' ' . oos_draw_pull_down_menu('psigate_cc_expires_year', $expires_year)))); } else { $selection = array('id' => $this->code, 'module' => $this->title); } return $selection; }
?> </td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <td class="main"><?php echo TEXT_NEWSLETTER_TITLE; ?> </td> <td class="main"><?php echo oos_draw_input_field('title', $nInfo->title, '', true); ?> </td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_NEWSLETTER_CONTENT; ?> </td> <td class="main"><?php
$contents = array('form' => oos_draw_form('block', $aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id . '&action=save', 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_EDIT_INTRO); $block_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $block_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('block_name[' . $languages[$i]['id'] . ']', oos_get_block_name($bInfo->block_id, $languages[$i]['id'])); } eval('$value_field = ' . $bInfo->set_function . '"' . htmlspecialchars($bInfo->block_side) . '");'); $contents[] = array('text' => '<br />' . TEXT_BLOCK_NAME . $block_inputs_string); $contents[] = array('text' => '<br /><b>' . TEXT_BLOCK_FUNCTION . ':</b><br />' . oos_draw_input_field('function', $bInfo->block_file)); $contents[] = array('text' => '<br /><b>' . TEXT_BLOCK_CACHE . ':</b><br />' . oos_draw_input_field('block_cache', $bInfo->block_cache)); $contents[] = array('text' => '<br /><b>' . TABLE_HEADING_COLUMN . ':</b><br />' . $value_field); $contents[] = array('text' => '<br /><b>' . TABLE_HEADING_STATUS . ':</b> ' . oos_draw_pull_down_menu('block_status', $block_status_array, $bInfo->block_status)); $contents[] = array('text' => '<br /><b>' . TEXT_BLOCK_LOGIN . ':</b> ' . oos_draw_pull_down_menu('block_login_flag', $block_login_flag_array, $bInfo->block_login_flag)); $contents[] = array('text' => '<br /><b>' . TEXT_BLOCK_PAGE . ':</b><br />' . oos_show_block_to_page($bInfo->block_id)); $contents[] = array('text' => '<br /><b>' . TABLE_HEADING_SORT_ORDER . ':</b><br />' . oos_draw_input_field('sort_order', $bInfo->block_sort_order, 'size="2"')); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_BLOCK . '</b>'); $contents = array('form' => oos_draw_form('block', $aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $bInfo->block_name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; default: if (isset($bInfo) && is_object($bInfo)) { $heading[] = array('text' => '<b>' . $bInfo->block_name . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['content_block'], 'page=' . $_GET['page'] . '&bID=' . $bInfo->block_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . oos_date_short($bInfo->date_added)); if (oos_is_not_null($bInfo->last_modified)) {
$contents[] = array('text' => '<br />' . TEXT_INFO_TEXT_REPLY_NAME . $ticket_reply_inputs_string); $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert','insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TEXT_REPLY . '</b>'); $contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $ticket_reply_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('ticket_reply_name[' . $languages[$i]['id'] . ']', oos_get_ticket_reply_name($oInfo->ticket_reply_id, $languages[$i]['id'])); } for ($i = 0, $n = count($languages); $i < $n; $i++) { $ticket_reply_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_textarea_field('ticket_reply_text[' . $languages[$i]['id'] . ']','soft', 50, 10,oos_get_ticket_reply_text($oInfo->ticket_reply_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_INFO_TEXT_REPLY_NAME . $ticket_reply_inputs_string); if (TICKET_DEFAULT_REPLY_ID != $oInfo->ticket_reply_id) $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TEXT_REPLY . '</b>'); $contents = array('form' => oos_draw_form('reply', $aFilename['ticket_reply'], 'page=' . $_GET['page'] . '&oID=' . $oInfo->ticket_reply_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO);
<td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td> </tr> <tr> <td align="right" class="main"><?php echo oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['customers'], oos_get_all_get_params(array('action'))) .'">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr></form> <?php } else { ?> <tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo oos_draw_separator('trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td> <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><?php echo oos_draw_form('search', $aFilename['customers'], '', 'get'); ?> <td class="smallText" align="right"><?php echo HEADING_TITLE_SEARCH . ' ' . oos_draw_input_field('search'); ?></td> </form></tr> <tr><?php echo oos_draw_form('status', $aFilename['customers'], '', 'get'); ?> <td class="smallText" align="right"><?php echo HEADING_TITLE_STATUS . ' ' . oos_draw_pull_down_menu('status', array_merge(array(array('id' => '0', 'text' => TEXT_ALL_CUSTOMERS)), $customers_statuses_array), '0', 'onChange="this.form.submit();"'); ?></td> </form></tr> </table></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent">*</td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_LASTNAME; ?></td>
$contents[] = array('text' => TEXT_INFO_INSERT_INTRO); $contents[] = array('text' => '<br />' . TEXT_INFO_CLASS_TITLE . '<br />' . oosTaxClassesPullDown('name="tax_class_id" style="font-size:10px"')); $contents[] = array('text' => '<br />' . TEXT_INFO_ZONE_NAME . '<br />' . oosGeoZonesPullDown('name="tax_zone_id" style="font-size:10px"')); $contents[] = array('text' => '<br />' . TEXT_INFO_TAX_RATE . '<br />' . oos_draw_input_field('tax_rate')); $contents[] = array('text' => '<br />' . TEXT_INFO_RATE_DESCRIPTION . '<br />' . oos_draw_input_field('tax_description')); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['tax_rates'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_TAX_RATE . '</b>'); $contents = array('form' => oos_draw_form('rates', $aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $contents[] = array('text' => '<br />' . TEXT_INFO_CLASS_TITLE . '<br />' . oosTaxClassesPullDown('name="tax_class_id" style="font-size:10px"', $trInfo->tax_class_id)); $contents[] = array('text' => '<br />' . TEXT_INFO_ZONE_NAME . '<br />' . oosGeoZonesPullDown('name="tax_zone_id" style="font-size:10px"', $trInfo->geo_zone_id)); $contents[] = array('text' => '<br />' . TEXT_INFO_TAX_RATE . '<br />' . oos_draw_input_field('tax_rate', $trInfo->tax_rate)); $contents[] = array('text' => '<br />' . TEXT_INFO_RATE_DESCRIPTION . '<br />' . oos_draw_input_field('tax_description', $trInfo->tax_description)); $contents[] = array('text' => '<br />' . TEXT_INFO_TAX_RATE_PRIORITY . '<br />' . oos_draw_input_field('tax_priority', $trInfo->tax_priority)); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_TAX_RATE . '</b>'); $contents = array('form' => oos_draw_form('rates', $aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $trInfo->tax_class_title . ' ' . number_format($trInfo->tax_rate, TAX_DECIMAL_PLACES) . '%</b>'); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; default: if (isset($trInfo) && is_object($trInfo)) { $heading[] = array('text' => '<b>' . $trInfo->tax_class_title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['tax_rates'], 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('text' => '<br />' . TEXT_INFO_DATE_ADDED . ' ' . oos_date_short($trInfo->date_added)); $contents[] = array('text' => '' . TEXT_INFO_LAST_MODIFIED . ' ' . oos_date_short($trInfo->last_modified));
</div> <div><?php echo oos_draw_password_field('password', '', 'class="inputbox" size="15"'); ?> </div> <?php if (SHOW_CAPTCHA == '1') { ?> <div class="clr"></div> <div><img src="./captcha.php" alt="CAPTCHA"></div> <div class="inputlabel"><?php echo SECURITYCODE; ?> </div> <div><?php echo oos_draw_input_field('captchastring', '', 'class="inputbox" size="15"'); ?> </div> <?php } ?> <div align="left"><input type="submit" name="submit" class="button" value="Login" /></div> <div class="ctr"><a href="<?php echo oos_href_link_admin($aFilename['password_forgotten'], '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN; ?> </a></div> </div> </form>
} } $shopping_cart_detail .= oos_image(OOS_IMAGES . $sProductImage, $products[$i]['name'], SMALL_IMAGE_WIDTH * SHOPPING_CART_MINI_IMAGE, SMALL_IMAGE_HEIGHT * SHOPPING_CART_MINI_IMAGE) . '</a></td>' . "\n"; } // Delete box only for shopping cart if ($sPage == $aPages['shopping_cart']) { $shopping_cart_detail .= ' <td align="center" valign="top">' . oos_draw_checkbox_field('cart_delete[]', $products[$i]['id']) . '</td>' . "\n"; } // Quantity box or information as an input box or text if (DECIMAL_CART_QUANTITY == '1') { $quantity = number_format($products[$i]['quantity'], 2); } else { $quantity = number_format($products[$i]['quantity']); } if ($sPage == $aPages['shopping_cart']) { $shopping_cart_detail .= ' <td align="center" valign="top" class ="main">' . oos_draw_input_field('cart_quantity[]', $quantity, 'size="4"') . oos_draw_hidden_field('products_id[]', $products[$i]['id']) . '<br />' . (oos_get_products_quantity_order_min($products[$i]['id']) > 1 ? $aLang['products_order_qty_min_text_cart_short'] . oos_get_products_quantity_order_min($products[$i]['id']) : '') . (oos_get_products_quantity_order_units($products[$i]['id']) > 1 ? $aLang['products_order_qty_unit_text_cart_short'] . oos_get_products_quantity_order_units($products[$i]['id']) : "") . '</td>' . "\n"; } else { $shopping_cart_detail .= ' <td align="center" valign="top" class ="main">' . $quantity . '</td>' . "\n"; } if (PRODUCT_LIST_MODEL > 0) { if ($sPage == $aPages['shopping_cart']) { $shopping_cart_detail .= ' <td valign="top" class="main"><a href="' . oos_href_link($aPages['product_info'], 'products_id=' . $products[$i]['id']) . '">' . $products[$i]['model'] . '</a></td>' . "\n"; } } // Product name, with or without link if ($sPage == $aPages['shopping_cart']) { $shopping_cart_detail .= ' <td valign="top" class="main"><a href="' . oos_href_link($aPages['product_info'], 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>'; } else { $shopping_cart_detail .= ' <td valign="top" class="main"><b>' . $products[$i]['name'] . '</b>'; } // Display marker if stock quantity insufficient
</nobr></td> <td class="dataTableContent"><?php echo oos_draw_input_field('admin_lastname', $myAccount['admin_lastname']); ?> </td> </tr> <tr> <td class="dataTableContent"><nobr><?php echo TEXT_INFO_EMAIL; ?> </nobr></td> <td class="dataTableContent"><?php if ($_GET['error']) { echo oos_draw_input_field('admin_email_address', $myAccount['admin_email_address']) . ' <nobr>' . TEXT_INFO_ERROR . '</nobr>'; } else { echo oos_draw_input_field('admin_email_address', $myAccount['admin_email_address']); } ?> </td> </tr> <tr> <td class="dataTableContent"><nobr><?php echo TEXT_INFO_PASSWORD; ?> </nobr></td> <td class="dataTableContent"><?php echo oos_draw_password_field('admin_password'); ?> </td> </tr> <tr>
$informations_inputs_string = ''; $informations_description_inputs_string = ''; $informations_heading_title_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $informations_name_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_name[' . $languages[$i]['id'] . ']', oos_get_informations_name($mInfo->information_id, $languages[$i]['id'])); $informations_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_url[' . $languages[$i]['id'] . ']', oos_get_informations_url($mInfo->information_id, $languages[$i]['id'])); $informations_heading_title_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('information_heading_title[' . $languages[$i]['id'] . ']', oos_get_informations_heading_title($mInfo->information_id, $languages[$i]['id'])); $informations_description_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', 'soft', '100', '10', oos_get_informations_description($mInfo->information_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_INFORMATION_NAME . $informations_name_inputs_string); $contents[] = array('text' => '<br />' . TEXT_INFORMATION_IMAGE . '<br />' . oos_draw_file_field('information_image') . '<br />' . $mInfo->information_image); $contents[] = array('text' => '<br />' . TEXT_INFORMATION_URL . $informations_inputs_string); $contents[] = array('text' => '<br />' . TEXT_INFORMATION_HEADING_TITLE . $informations_heading_title_inputs_string); $contents[] = array('text' => '<br />' . TEXT_INFORMATION_DESCRIPTION . $informations_description_inputs_string); $contents[] = array('text' => '<br />' . TEXT_INFORMATION_SORT_ORDER . '<br />' . oos_draw_input_field('sort_order') . '<br />' . $mInfo->sort_order); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': if ($mInfo->information_id > 5) { $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_INFORMATION . '</b>'); $contents = array('form' => oos_draw_form('information', $aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $mInfo->information_name . '</b>'); $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['information'], 'page=' . $_GET['page'] . '&mID=' . $mInfo->information_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); } break; default: if (isset($mInfo) && is_object($mInfo)) { $heading[] = array('text' => '<b>' . $mInfo->information_name . '</b>');
break; case 'edit_category': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_CATEGORY . '</b>'); $contents = array('form' => oos_draw_form('categories', $aFilename['categories'], 'action=update_category&categories=' . $categories, 'post', 'enctype="multipart/form-data"') . oos_draw_hidden_field('categories_id', $cInfo->categories_id)); $contents[] = array('text' => TEXT_EDIT_INTRO); $category_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $category_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('categories_name[' . $languages[$i]['id'] . ']', oos_get_category_name($cInfo->categories_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_NAME . $category_inputs_string); $contents[] = array('text' => '<br />' . oos_image(OOS_SHOP_IMAGES . $cInfo->categories_image, $cInfo->categories_name) . '<br />' . OOS_SHOP_IMAGES . '<br /><b>' . $cInfo->categories_image . '</b>'); $contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_IMAGE . '<br />' . oos_draw_file_field('categories_image')); $customers_statuses_array = oos_get_customers_statuses(); $contents[] = array('text' => '<br />' . TEXT_ONLY_FOR_GROUP . '</br />' . oos_draw_pull_down_menu('group', array_merge(array(array('id' => '0', 'text' => PULL_DOWN_DEFAULT)), $customers_statuses_array), $cInfo->access)); $contents[] = array('text' => '<br />' . TEXT_EDIT_SORT_ORDER . '<br />' . oos_draw_input_field('sort_order', $cInfo->sort_order, 'size="2"')); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&cID=' . $cInfo->categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete_category': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_CATEGORY . '</b>'); $contents = array('form' => oos_draw_form('categories', $aFilename['categories'], 'action=delete_category_confirm&categories=' . $categories) . oos_draw_hidden_field('categories_id', $cInfo->categories_id)); $contents[] = array('text' => TEXT_DELETE_CATEGORY_INTRO); $contents[] = array('text' => '<br /><b>' . $cInfo->categories_name . '</b>'); if ($cInfo->childs_count > 0) { $contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_CHILDS, $cInfo->childs_count)); } if ($cInfo->products_count > 0) { $contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_PRODUCTS, $cInfo->products_count)); } $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&cID=' . $cInfo->categories_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break;
function selection() { global $oOrder, $aLang; for ($i=1; $i<13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); } $today = getdate(); for ($i=$today['year']; $i < $today['year']+10; $i++) { $expires_year[] = array('id' => strftime('%y',mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y',mktime(0,0,0,1,1,$i))); } for ($i = 1; $i < 13; $i ++) { $start_month[] = array ('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0,0,0,$i,1,2000))); } $today = getdate(); for ($i = $today['year'] - 4; $i <= $today['year']; $i ++) { $start_year[] = array ('id' => strftime('%y', mktime(0,0,0,1,1,$i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $form_array = array (); // Owner $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_owner'], 'field' => oos_draw_input_field('cc_owner', $oOrder->billing['firstname'] . ' ' . $oOrder->billing['lastname'])))); // CC Number $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_number'], 'field' => oos_draw_input_field('cc_number')))); // Startdate if (USE_CC_START == '1') { $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_start'], 'field' => oos_draw_pull_down_menu('cc_start_month', $start_month).' '.oos_draw_pull_down_menu('cc_start_year', $start_year)))); } // expire date $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_expires'], 'field' => oos_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . oos_draw_pull_down_menu('cc_expires_year', $expires_year)))); // CVV if (USE_CC_CVV == '1') { $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_cvv'], 'field' => oos_draw_input_field('cc_cvv', '', 'size=4 maxlength=4')))); } if (USE_CC_ISS == '1') { $form_array = array_merge($form_array, array(array('title' => $aLang['module_payment_cc_text_credit_card_issue'], 'field' => oos_draw_input_field('cc_issue', '', 'size=2 maxlength=2')))); } // cards if (MODULE_PAYMENT_CC_ACCEPT_VISA == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_visa.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_MASTERCARD == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_mastercard.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_AMERICANEXPRESS == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_amex.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_DINERSCLUB == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_diners.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_DISCOVERNOVUS == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_discover.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_JCB == '1') $this->accepted .= oos_image(OOS_ICONS . 'cc_jcb.jpg'); if (MODULE_PAYMENT_CC_ACCEPT_OZBANKCARD == '1') $this->accepted .=''; $form_array = array_merge(array(array('title'=>$aLang['module_payment_cc_accepted_cards'],'field'=>$this->accepted)),$form_array); $selection = array ('id' => $this->code, 'module' => $this->title, 'fields' => $form_array); return $selection; }
<td class="main"><?php echo TEXT_PRODUCTS_TAX_CLASS; ?></td> <td class="main"><?php echo oos_draw_separator('trans.gif', '24', '15') . ' ' . oos_draw_pull_down_menu('products_tax_class_id', $tax_class_array, $pInfo->products_tax_class_id); ?></td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_WEIGHT; ?></td> <td class="main"><?php echo oos_draw_separator('trans.gif', '24', '15') . ' ' . oos_draw_input_field('products_weight', $pInfo->products_weight); ?></td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_SORT_ORDER; ?></td> <td class="main"><?php echo oos_draw_separator('trans.gif', '24', '15') . ' ' . oos_draw_input_field('products_sort_order', $pInfo->products_sort_order); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?></td> </tr> <tr> <?php if (NEW_PRODUCT_PREVIEW == '1') { ?> <td class="main" align="right"><?php echo oos_draw_hidden_field('products_date_added', (($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . oos_image_swap_submits('preview', 'preview_off.gif', IMAGE_PREVIEW) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&pID=' . $_GET['pID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td> <?php } else { ?> <td class="main" align="right"><?php echo oos_draw_hidden_field('products_date_added', (($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . oos_image_swap_submits('save', 'save_off.gif', IMAGE_SAVE) . ' <a href="' . oos_href_link_admin($aFilename['categories'], 'categories=' . $categories . '&pID=' . $_GET['pID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td>
$heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_CUSTOMERS_STATUS . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['customers_status'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id . '&action=save', 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $customers_status_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $customers_status_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('customers_status_name[' . $languages[$i]['id'] . ']', oos_get_customer_status_name($cInfo->customers_status_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_NAME . $customers_status_inputs_string); $contents[] = array('text' => '<br />' . oos_image(OOS_SHOP_IMAGES . 'icons/' . $cInfo->customers_status_image, $cInfo->customers_status_name) . '<br />' . OOS_SHOP_IMAGES . 'icons/<br /><b>' . $cInfo->customers_status_image . '</b>'); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_IMAGE . '<br />' . oos_draw_file_field('customers_status_image')); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_PUBLIC_INTRO . '<br /><b>' . ENTRY_CUSTOMERS_STATUS_PUBLIC . '</b> ' . oos_draw_pull_down_menu('customers_status_public', $customers_status_public_array, $cInfo->customers_status_public)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_SHOW_PRICE_INTRO . '<br /><b>' . ENTRY_CUSTOMERS_STATUS_SHOW_PRICE . '</b> ' . oos_draw_pull_down_menu('customers_status_show_price', $customers_status_show_price_array, $cInfo->customers_status_show_price)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_SHOW_PRICE_TAX_INTRO . '<br /><b>' . ENTRY_CUSTOMERS_STATUS_SHOW_PRICE_TAX . '</b> ' . oos_draw_pull_down_menu('customers_status_show_price_tax', $customers_status_show_price_tax_array, $cInfo->customers_status_show_price_tax)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_PRICE_INTRO . '<br /><b>' . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_PRICE . '</b> ' . oos_draw_input_field('customers_status_discount', $cInfo->customers_status_discount)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_OT_XMEMBER_INTRO . '<br /><b>' . ENTRY_OT_XMEMBER . '</b> ' . oos_draw_pull_down_menu('customers_status_ot_discount_flag', $customers_status_ot_discount_flag_array, $cInfo->customers_status_ot_discount_flag) . '<br />' . TEXT_INFO_CUSTOMERS_STATUS_MINIMUM_AMOUNT_OT_XMEMBER_INTRO . '<br /><b>' . ENTRY_MINIMUM_AMOUNT_OT_XMEMBER . '</b><br />' . oos_draw_input_field('customers_status_ot_minimum', $cInfo->customers_status_ot_minimum) . '<br />' . TEXT_INFO_CUSTOMERS_STATUS_DISCOUNT_PRICE . '<br />' . oos_draw_input_field('customers_status_ot_discount', $cInfo->customers_status_ot_discount)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_STAFFELPREIS_INTRO . '<br /><b>' . ENTRY_STAFFELPREIS . '</b> ' . oos_draw_pull_down_menu('customers_status_qty_discounts', $customers_status_qty_discounts_array, $cInfo->customers_status_qty_discounts)); $contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO . '<br /><b>' . ENTRY_CUSTOMERS_STATUS_PAYMENT . '</b><br />' . oos_installed_payment($cInfo->customers_status_payment)); if (DEFAULT_CUSTOMERS_STATUS_ID != $cInfo->customers_status_id) { $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT); } $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['customers_status'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_CUSTOMERS_STATUS . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['customers_status'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $cInfo->customers_status_name . '</b>'); if ($remove_status) { $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['customers_status'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_status_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); }
function selection() { global $oOrder, $aLang; for ($i = 1; $i < 13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000))); } $today = getdate(); for ($i = $today['year']; $i < $today['year'] + 10; $i++) { $expires_year[] = array('id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => $aLang['module_payment_2checkout_text_credit_card_owner_first_name'], 'field' => oos_draw_input_field('pm_2checkout_cc_owner_firstname', $oOrder->billing['firstname'])), array('title' => $aLang['module_payment_2checkout_text_credit_card_owner_last_name'], 'field' => oos_draw_input_field('pm_2checkout_cc_owner_lastname', $oOrder->billing['lastname'])), array('title' => $aLang['module_payment_2checkout_text_credit_card_number'], 'field' => oos_draw_input_field('pm_2checkout_cc_number')), array('title' => $aLang['module_payment_2checkout_text_credit_card_expires'], 'field' => oos_draw_pull_down_menu('pm_2checkout_cc_expires_month', $expires_month) . ' ' . oos_draw_pull_down_menu('pm_2checkout_cc_expires_year', $expires_year)), array('title' => $aLang['module_payment_2checkout_text_credit_card_checknumber'], 'field' => oos_draw_input_field('pm_2checkout_cc_cvv', '', 'size="4" maxlength="3"') . ' <small>' . $aLang['module_payment_2checkout_text_credit_card_checknumber_location'] . '</small>'))); return $selection; }
?> </td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_SORT_ORDER; ?> </td> <td class="main"><?php echo oos_draw_separator('trans.gif', '24', '15') . ' ' . oos_draw_input_field('products_sort_order', $pInfo->products_sort_order); ?> </td> </tr> </table></td> </tr> <tr> <td><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <?php if (NEW_PRODUCT_PREVIEW == '1') { ?>
if (isset($_GET['pID']) ) { echo '<input type="hidden" name="products_id" value="' . $sInfo->products_id . '">'; } else { echo '<input type="hidden" name="products_up_id" value="' . $sInfo->products_id . '">'; } ?> <td class="main"><?php echo ($sInfo->products_name) ? $sInfo->products_name . ' <small>(' . $currencies->format($in_price) . ' - ' . TEXT_TAX_INFO . $currencies->format($in_price_netto) . ')</small>' : oos_draw_products_pull_down('products_id', 'style="font-size:10px"', $specials_array); echo oos_draw_hidden_field('products_price', $sInfo->products_price); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_SPECIALS_SPECIAL_PRICE; ?> </td> <td class="main"><?php echo oos_draw_input_field('specials_price', $in_new_price); echo ' ' . TEXT_TAX_INFO . $in_new_price_netto; ?> </td> </tr> <tr> <td class="main"><?php echo TEXT_SPECIALS_EXPIRES_DATE; ?> </td> <td class="main"><?php echo oos_draw_input_field('day', substr($sInfo->expires_date, 8, 2), 'size="2" maxlength="2" class="cal-TextBox"') . oos_draw_input_field('month', substr($sInfo->expires_date, 5, 2), 'size="2" maxlength="2" class="cal-TextBox"') . oos_draw_input_field('year', substr($sInfo->expires_date, 0, 4), 'size="4" maxlength="4" class="cal-TextBox"'); ?><a class="so-BtnLink" href="javascript:calClick();return false;" onmouseover="calSwapImg('BTN_date', 'img_Date_OVER',true);" onmouseout="calSwapImg('BTN_date', 'img_Date_UP',true);" onclick="calSwapImg('BTN_date', 'img_Date_DOWN');showCalendar('new_special','dteWhen','BTN_date');return false;"><?php echo oos_image(OOS_IMAGES . 'cal_date_up.gif', 'Calendar', '22', '17', 'align="absmiddle" name="BTN_date"'); ?></a></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><br /><?php echo TEXT_SPECIALS_PRICE_TIP; ?></td> <td class="main" align="right" valign="top"><br /><?php echo (($form_action == 'insert') ? oos_image_swap_submits('insert','insert_off.gif', IMAGE_INSERT) : oos_image_swap_submits('update','update_off.gif', IMAGE_UPDATE)). ' <a href="' . oos_href_link_admin($aFilename['specials'], 'page=' . $_GET['page'] . '&sID=' . $_GET['sID']) . '">' . oos_image_swap_button('cancel','cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr> </table></td> </form></tr> <?php } else { ?> <tr>
$languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $products_status_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('products_status_name[' . $languages[$i]['id'] . ']'); } $contents[] = array('text' => '<br />' . TEXT_INFO_ORDERS_STATUS_NAME . $products_status_inputs_string); $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['products_status'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_ORDERS_STATUS . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['products_status'], 'page=' . $_GET['page'] . '&psID=' . $psInfo->products_status_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $products_status_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $products_status_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('products_status_name[' . $languages[$i]['id'] . ']', oos_get_products_status_name($psInfo->products_status_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_INFO_ORDERS_STATUS_NAME . $products_status_inputs_string); if (DEFAULT_PRODUTS_STATUS_ID != $psInfo->products_status_id) { $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_SET_DEFAULT); } $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['products_status'], 'page=' . $_GET['page'] . '&psID=' . $psInfo->products_status_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_ORDERS_STATUS . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['products_status'], 'page=' . $_GET['page'] . '&psID=' . $psInfo->products_status_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $psInfo->products_status_name . '</b>'); if ($remove_status) { $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['products_status'], 'page=' . $_GET['page'] . '&psID=' . $psInfo->products_status_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); }
$page_type_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $page_type_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('page_type_name[' . $languages[$i]['id'] . ']'); } $contents[] = array('text' => '<br />' . TEXT_INFO_PAGE_TYPE_NAME . $page_type_inputs_string); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['content_page_type'], 'page=' . $_GET['page']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_PAGE_TYPE . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['content_page_type'], 'page=' . $_GET['page'] . '&ptID=' . $oInfo->page_type_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $page_type_inputs_string = ''; $languages = oos_get_languages(); for ($i = 0, $n = count($languages); $i < $n; $i++) { $page_type_inputs_string .= '<br />' . oos_image(OOS_SHOP_IMAGES . 'flags/' . $languages[$i]['iso_639_2'] . '.gif', $languages[$i]['name']) . ' ' . oos_draw_input_field('page_type_name[' . $languages[$i]['id'] . ']', oosGetPageTypeName($oInfo->page_type_id, $languages[$i]['id'])); } $contents[] = array('text' => '<br />' . TEXT_INFO_PAGE_TYPE_NAME . $page_type_inputs_string); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['content_page_type'], 'page=' . $_GET['page'] . '&ptID=' . $oInfo->page_type_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_PAGE_TYPE . '</b>'); $contents = array('form' => oos_draw_form('status', $aFilename['content_page_type'], 'page=' . $_GET['page'] . '&ptID=' . $oInfo->page_type_id . '&action=deleteconfirm')); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $oInfo->page_type_name . '</b>'); if ($remove_status) { $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('delete', 'delete_off.gif', IMAGE_DELETE) . ' <a href="' . oos_href_link_admin($aFilename['content_page_type'], 'page=' . $_GET['page'] . '&ptID=' . $oInfo->page_type_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); } break; default: if (isset($oInfo) && is_object($oInfo)) {
$heading = array(); $contents = array(); switch ($action) { case 'release': break; case 'voucherreport': $heading[] = array('text' => '<b>' . TEXT_HEADING_COUPON_REPORT . '</b>'); $contents[] = array('text' => TEXT_NEW_INTRO); break; case 'neww': $heading[] = array('text' => '<b>' . TEXT_HEADING_NEW_COUPON . '</b>'); $contents[] = array('text' => TEXT_NEW_INTRO); $contents[] = array('text' => '<br />' . COUPON_NAME . '<br />' . oos_draw_input_field('name')); $contents[] = array('text' => '<br />' . COUPON_AMOUNT . '<br />' . oos_draw_input_field('voucher_amount')); $contents[] = array('text' => '<br />' . COUPON_CODE . '<br />' . oos_draw_input_field('voucher_code')); $contents[] = array('text' => '<br />' . COUPON_USES_COUPON . '<br />' . oos_draw_input_field('voucher_number_of')); break; default: $heading[] = array('text' => '[' . $cInfo->coupon_id . '] ' . $cInfo->coupon_code); $amount = $cInfo->coupon_amount; if ($cInfo->coupon_type == 'P') { $amount .= '%'; } else { $amount = $currencies->format($amount); } if ($action == 'voucherdelete') { $contents[] = array('text' => TEXT_CONFIRM_DELETE . '</br></br>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'action=confirmdelete&cID=' . $_GET['cID'], 'NONSSL') . '">' . oos_image_swap_button('confirm', 'confirm_off.gif', 'Confirm Delete Voucher') . '</a>' . '<a href="' . oos_href_link_admin($aFilename['coupon_admin'], 'cID=' . $cInfo->coupon_id, 'NONSSL') . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', 'Cancel') . '</a>'); } else { $prod_details = NONE; if ($cInfo->restrict_to_products) { $prod_details = '<a href="' . oos_href_link_admin($aFilename['listproducts'], 'cID=' . $cInfo->coupon_id) . '" TARGET="_blank" ONCLICK="window.open(\'' . $aFilename['listproducts'] . '?cID=' . $cInfo->coupon_id . '\', \'Valid_Categories\', \'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600\'); return false">View</A>';
/** * Output a form filefield * * @param $name * @param $required * @return string */ function oos_draw_file_field($name, $required = false) { $field = oos_draw_input_field($name, '', '', $required, 'file'); return $field; }
?> </td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <td valign="top" class="main"><?php echo TEXT_AMOUNT; ?> </td> <td><?php echo oos_draw_input_field('amount'); ?> </td> </tr> <tr> <td colspan="2"><?php echo oos_draw_separator('trans.gif', '1', '10'); ?> </td> </tr> <tr> <td valign="top" class="main"><?php echo TEXT_MESSAGE; ?> </td> <td><?php
$email_body = sprintf($aLang['text_email_intro'], $friendname, $from_name, $products_name, STORE_NAME) . "\n\n"; if (!empty($_POST['yourmessage'])) { $email_body .= oos_prepare_input($_POST['yourname']) . "\n\n"; } $email_body .= sprintf($aLang['text_email_link'], oos_href_link($aModules['products'], $aFilename['product_info'], 'products_id=' . $_GET['products_id'])) . "\n\n" . sprintf($aLang['text_email_signature'], STORE_NAME . "\n" . OOS_HTTP_SERVER . OOS_SHOP . "\n"); oos_mail($friendname, $friendemail, $email_subject, stripslashes($email_body), '', $from_email_address); } else { if (isset($_SESSION['customer_id'])) { $your_name_prompt = $account_values['customers_firstname'] . ' ' . $account_values['customers_lastname']; $your_email_address_prompt = $account_values['customers_email_address']; } else { $your_name_prompt = oos_draw_input_field('yourname', $fromname_error == '1' ? $yourname : $_GET['yourname']); if ($fromname_error == '1') { $your_name_prompt .= ' <span class="errorText">' . $aLang['text_required'] . '</span>'; } $your_email_address_prompt = oos_draw_input_field('from', $fromemail_error == '1' ? $from : $_GET['from']); if ($fromemail_error == '1') { $your_email_address_prompt .= $aLang['entry_email_address_check_error']; } } } } if (isset($_GET['send_to'])) { if (oos_validate_is_email(trim($_GET['send_to']))) { $friendemail = oos_var_prep_for_os($_GET['send_to']); } } // links breadcrumb $oBreadcrumb->add($aLang['navbar_title'], oos_href_link($aModules['tell_a_friend'], $aFilename['tell_a_friend'], 'send_to=' . $friendemail . '&products_id=' . $_GET['products_id'])); $aOption['template_main'] = $sTheme . '/modules/tell_a_friend.html'; $aOption['page_heading'] = $sTheme . '/heading/page_heading.html';
$contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_VALUE . '<br />' . oos_draw_input_field('currency_value')); $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_INFO_SET_AS_DEFAULT); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT) . ' <a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $_GET['cID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'edit': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_EDIT_CURRENCY . '</b>'); $contents = array('form' => oos_draw_form('currencies', $aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id . '&action=save')); $contents[] = array('text' => TEXT_INFO_EDIT_INTRO); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_TITLE . '<br />' . oos_draw_input_field('title', $cInfo->title)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_CODE . '<br />' . oos_draw_input_field('code', $cInfo->code)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_SYMBOL_LEFT . '<br />' . oos_draw_input_field('symbol_left', $cInfo->symbol_left)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_SYMBOL_RIGHT . '<br />' . oos_draw_input_field('symbol_right', $cInfo->symbol_right)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_DECIMAL_POINT . '<br />' . oos_draw_input_field('decimal_point', $cInfo->decimal_point)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_THOUSANDS_POINT . '<br />' . oos_draw_input_field('thousands_point', $cInfo->thousands_point)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_DECIMAL_PLACES . '<br />' . oos_draw_input_field('decimal_places', $cInfo->decimal_places)); $contents[] = array('text' => '<br />' . TEXT_INFO_CURRENCY_VALUE . '<br />' . oos_draw_input_field('currency_value', $cInfo->value)); if (DEFAULT_CURRENCY != $cInfo->code) { $contents[] = array('text' => '<br />' . oos_draw_checkbox_field('default') . ' ' . TEXT_INFO_SET_AS_DEFAULT); } $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; case 'delete': $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_CURRENCY . '</b>'); $contents[] = array('text' => TEXT_INFO_DELETE_INTRO); $contents[] = array('text' => '<br /><b>' . $cInfo->title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<br />' . ($remove_currency ? '<a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id . '&action=deleteconfirm') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>' : '') . ' <a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; default: if (isset($cInfo) && is_object($cInfo)) { $heading[] = array('text' => '<b>' . $cInfo->title . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id . '&action=edit') . '">' . oos_image_swap_button('edit', 'edit_off.gif', IMAGE_EDIT) . '</a> <a href="' . oos_href_link_admin($aFilename['currencies'], 'page=' . $_GET['page'] . '&cID=' . $cInfo->currencies_id . '&action=delete') . '">' . oos_image_swap_button('delete', 'delete_off.gif', IMAGE_DELETE) . '</a>');
echo TEXT_FEATURED_PRODUCT; ?> </td> <td class="main"><?php echo $sInfo->products_name ? $sInfo->products_name : oos_draw_products_pull_down('products_id', 'style="font-size:10px"', $featured_array); echo oos_draw_hidden_field('products_price', $sInfo->products_price); ?> </td> </tr> <tr> <td class="main"><?php echo TEXT_FEATURED_EXPIRES_DATE; ?> </td> <td class="main"><?php echo oos_draw_input_field('day', substr($sInfo->expires_date, 8, 2), 'size="2" maxlength="2" class="cal-TextBox"') . oos_draw_input_field('month', substr($sInfo->expires_date, 5, 2), 'size="2" maxlength="2" class="cal-TextBox"') . oos_draw_input_field('year', substr($sInfo->expires_date, 0, 4), 'size="4" maxlength="4" class="cal-TextBox"'); ?> <a class="so-BtnLink" href="javascript:calClick();return false;" onMouseOver="calSwapImg('BTN_date', 'img_Date_OVER',true);" onMouseOut="calSwapImg('BTN_date', 'img_Date_UP',true);" onClick="calSwapImg('BTN_date', 'img_Date_DOWN');showCalendar('new_feature','dteWhen','BTN_date');return false;"><?php echo oos_image(OOS_IMAGES . 'cal_date_up.gif', 'Calendar', '22', '17', 'align="absmiddle" name="BTN_date"'); ?> </a></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="right" valign="top"><br /><?php echo ($form_action == 'insert' ? oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT) : oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE)) . ' <a href="' . oos_href_link_admin($aFilename['featured'], 'page=' . $_GET['page'] . '&fID=' . $_GET['fID']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'; ?> </td>
</td> </tr> </table></td> <?php $heading = array(); $contents = array(); switch ($action) { case 'edit': $keys = ''; reset($mInfo->keys); while (list($key, $value) = each($mInfo->keys)) { $keys .= '<b>' . $value['title'] . '</b><br />' . $value['description'] . '<br />'; if ($value['set_function']) { eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');"); } else { $keys .= oos_draw_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' => oos_draw_form('modules', $aFilename['modules'], 'set=' . $_GET['set'] . '&module=' . $_GET['module'] . '&action=save')); $contents[] = array('text' => $keys); $contents[] = array('align' => 'center', 'text' => '<br />' . oos_image_swap_submits('update', 'update_off.gif', IMAGE_UPDATE) . ' <a href="' . oos_href_link_admin($aFilename['modules'], 'set=' . $_GET['set'] . '&module=' . $_GET['module']) . '">' . oos_image_swap_button('cancel', 'cancel_off.gif', IMAGE_CANCEL) . '</a>'); break; default: $heading[] = array('text' => '<b>' . $mInfo->title . '</b>'); if ($mInfo->status == '1') { $keys = ''; reset($mInfo->keys); while (list(, $value) = each($mInfo->keys)) {
<td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?> </td> <td class="pageHeading" align="right"><?php echo oos_draw_separator('trans.gif', 1, HEADING_IMAGE_HEIGHT); ?> </td> <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><?php echo oos_draw_form('orders', $aFilename['orders'], '', 'get'); ?> <td class="smallText" align="right"><?php echo HEADING_TITLE_SEARCH . ' ' . oos_draw_input_field('oID', '', 'size="12"') . oos_draw_hidden_field('action', 'edit'); ?> </td> </form></tr> <tr><?php echo oos_draw_form('status', $aFilename['orders'], '', 'get'); ?> <td class="smallText" align="right"><?php echo HEADING_TITLE_STATUS . ' ' . oos_draw_pull_down_menu('status', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $orders_statuses), '', 'onChange="this.form.submit();"'); ?> </td> </form></tr> </table></td> </tr> </table></td> </tr>