function initialize() { global $osC_Language, $osC_Template, $osC_Product; if (isset($osC_Product) && is_a($osC_Product, 'osC_Product') && $osC_Template->getModule() != 'tell_a_friend') { $this->_content = '<form name="tell_a_friend" action="' . osc_href_link(FILENAME_PRODUCTS, 'tell_a_friend&' . $osC_Product->getID()) . '" method="post">' . "\n" . osc_draw_input_field('to_email_address', null, 'style="width: 80%;"') . ' ' . osc_draw_image_submit_button('button_tell_a_friend.gif', $osC_Language->get('box_tell_a_friend_text')) . '<br />' . $osC_Language->get('box_tell_a_friend_text') . "\n" . '</form>' . "\n"; } }
public function initialize() { $OSCOM_Product = Registry::exists('Product') ? Registry::get('Product') : null; if (isset($OSCOM_Product) && $OSCOM_Product instanceof \osCommerce\OM\Site\Shop\Product && $OSCOM_Product->isValid()) { // HPDL && ($osC_Template->getModule() != 'tell_a_friend')) { $this->_content = '<form name="tell_a_friend" action="' . OSCOM::getLink(null, null, 'TellAFriend&' . $OSCOM_Product->getKeyword()) . '" method="post">' . "\n" . osc_draw_input_field('to_email_address', null, 'style="width: 80%;"') . ' ' . osc_draw_image_submit_button('button_tell_a_friend.gif', OSCOM::getDef('box_tell_a_friend_text')) . '<br />' . OSCOM::getDef('box_tell_a_friend_text') . "\n" . '</form>' . "\n"; } }
public static function parse($data) { $string = '<table border="0" cellspacing="0" cellpadding="2">'; $i = 0; foreach ($data['data'] as $field) { $i++; $string .= ' <tr>' . ' <td width="100">' . $field['text'] . ':</td>' . ' <td>' . osc_draw_input_field('variants[' . $data['group_id'] . '][' . $field['id'] . ']', null, 'id="variants_' . $data['group_id'] . '_' . $i . '"') . '</td>' . ' </tr>'; } $string .= '</table>'; return $string; }
function selection() { global $osC_Language, $osC_ShoppingCart; $account_types_array = array(); foreach ($this->_getAccountTypes() as $key => $type) { $account_types_array[] = array('id' => $key, 'text' => $type); } $selection = array('id' => $this->_code, 'module' => $this->_method_title, 'fields' => array(array('title' => $osC_Language->get('payment_wirecard_eft_bank_owner_firstname'), 'field' => osc_draw_input_field('wirecard_eft_owner_first', $osC_ShoppingCart->getBillingAddress('firstname'))), array('title' => $osC_Language->get('payment_wirecard_eft_bank_owner_lastname'), 'field' => osc_draw_input_field('wirecard_eft_owner_last', $osC_ShoppingCart->getBillingAddress('lastname'))), array('title' => $osC_Language->get('payment_wirecard_eft_account_type'), 'field' => osc_draw_pull_down_menu('wirecard_eft_account_type', $account_types_array)), array('title' => $osC_Language->get('payment_wirecard_eft_bank_account_number'), 'field' => osc_draw_input_field('wirecard_eft_account')), array('title' => $osC_Language->get('payment_wirecard_eft_bank_code'), 'field' => osc_draw_input_field('wirecard_eft_bank')), array('title' => $osC_Language->get('payment_wirecard_eft_check_number'), 'field' => osc_draw_input_field('wirecard_eft_check_number')))); if ($osC_ShoppingCart->getBillingAddress('country_iso_code_2') == 'IT') { $selection['fields'][] = array('title' => $osC_Language->get('payment_wirecard_eft_id_number'), 'field' => osc_draw_input_field('wirecard_eft_id_number')); } return $selection; }
function selection() { global $osC_Database, $osC_Language, $osC_ShoppingCart; for ($i = 1; $i < 13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1))); } $year = date('Y'); for ($i = $year; $i < $year + 10; $i++) { $expires_year[] = array('id' => $i, 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $selection = array('id' => $this->_code, 'module' => $this->_method_title, 'fields' => array(array('title' => $osC_Language->get('payment_cc_credit_card_owner'), 'field' => osc_draw_input_field('cc_owner', $osC_ShoppingCart->getBillingAddress('firstname') . ' ' . $osC_ShoppingCart->getBillingAddress('lastname'))), array('title' => $osC_Language->get('payment_cc_credit_card_number'), 'field' => osc_draw_input_field('cc_number')), array('title' => $osC_Language->get('payment_cc_credit_card_expiry_date'), 'field' => osc_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . osc_draw_pull_down_menu('cc_expires_year', $expires_year)))); return $selection; }
function selection() { global $osC_Database, $osC_Language, $osC_ShoppingCart; $selection = array('id' => $this->_code, 'module' => $this->_method_title); if (MODULE_PAYMENT_EWAYPAYMENT_PROCESSING_METHOD == REAL_TIME || MODULE_PAYMENT_EWAYPAYMENT_PROCESSING_METHOD == REAL_TIME_CVN || MODULE_PAYMENT_EWAYPAYMENT_PROCESSING_METHOD == GEO_IP_ANTI_FRAUD) { for ($i = 1; $i < 13; $i++) { $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1))); } $year = date('Y'); for ($i = $year; $i < $year + 10; $i++) { $expires_year[] = array('id' => $i, 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $selection['fields'] = array(array('title' => $osC_Language->get('payment_eway_au_credit_card_owner'), 'field' => osc_draw_input_field('eway_au_cc_owner', $osC_ShoppingCart->getBillingAddress('firstname') . ' ' . $osC_ShoppingCart->getBillingAddress('lastname'))), array('title' => $osC_Language->get('payment_eway_au_credit_card_number'), 'field' => osc_draw_input_field('eway_au_cc_number')), array('title' => $osC_Language->get('payment_eway_au_credit_card_expiry_date'), 'field' => osc_draw_pull_down_menu('eway_au_cc_expires_month', $expires_month) . ' ' . osc_draw_pull_down_menu('eway_au_cc_expires_year', $expires_year)), array('title' => $osC_Language->get('payment_eway_au_credit_card_cvv'), 'field' => osc_draw_input_field('eway_au_cc_cvv'))); } return $selection; }
/** * handle the country change event * * @access public * @return json */ function countryChange() { global $toC_Json, $osC_Database, $osC_Language; $Qzones = $osC_Database->query('select zone_name from :table_zones where zone_country_id = :zone_country_id order by zone_name'); $Qzones->bindTable(':table_zones', TABLE_ZONES); $Qzones->bindInt(':zone_country_id', $_REQUEST['country_id']); $Qzones->execute(); $zones_array = array(); while ($Qzones->next()) { $zones_array[] = array('id' => $Qzones->value('zone_name'), 'text' => $Qzones->value('zone_name')); } if (sizeof($zones_array) > 0) { $response = array('success' => true, 'html' => osc_draw_pull_down_menu('state', $zones_array)); } else { $response = array('success' => true, 'html' => osc_draw_input_field('state')); } echo $toC_Json->encode($response); }
function selection() { global $order, $osC_Database; 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))); } $Qcredit_cards = $osC_Database->query('select credit_card_name, credit_card_code from :table_credit_cards where credit_card_status = :credit_card_status'); $Qcredit_cards->bindRaw(':table_credit_cards', TABLE_CREDIT_CARDS); $Qcredit_cards->bindInt(':credit_card_status', '1'); $Qcredit_cards->setCache('credit-cards'); $Qcredit_cards->execute(); while ($Qcredit_cards->next()) { $credit_cards[] = array('id' => $Qcredit_cards->value('credit_card_code'), 'text' => $Qcredit_cards->value('credit_card_name')); } $Qcredit_cards->freeResult(); $selection = array('id' => $this->code, 'module' => $this->title, 'fields' => array(array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER, 'field' => osc_draw_input_field('cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_TYPE, 'field' => osc_draw_pull_down_menu('cc_type', $credit_cards)), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER, 'field' => osc_draw_input_field('cc_number')), array('title' => MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES, 'field' => osc_draw_pull_down_menu('cc_expires_month', $expires_month) . ' ' . osc_draw_pull_down_menu('cc_expires_year', $expires_year)))); return $selection; }
function confirmation() { global $osC_ShoppingCart, $osC_Language; $types_array = array(); foreach ($this->cc_types as $key => $value) { $types_array[] = array('id' => $key, 'text' => $value); } $today = getdate(); $months_array = array(); for ($i = 1; $i < 13; $i++) { $months_array[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B', mktime(0, 0, 0, $i, 1, 2000))); } $year_valid_from_array = array(); for ($i = $today['year'] - 10; $i < $today['year'] + 1; $i++) { $year_valid_from_array[] = array('id' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $year_expires_array = array(); for ($i = $today['year']; $i < $today['year'] + 10; $i++) { $year_expires_array[] = array('id' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i)), 'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))); } $confirmation = array('fields' => array(array('title' => $osC_Language->get('payment_paypal_direct_card_owner'), 'field' => osc_draw_input_field('cc_owner', $osC_ShoppingCart->getBillingAddress('firstname') . ' ' . $osC_ShoppingCart->getBillingAddress('lastname'))), array('title' => $osC_Language->get('payment_paypal_direct_card_type'), 'field' => osc_draw_pull_down_menu('cc_type', $types_array)), array('title' => $osC_Language->get('payment_paypal_direct_card_number'), 'field' => osc_draw_input_field('cc_number_nh-dns')), array('title' => $osC_Language->get('payment_paypal_direct_card_valid_from'), 'field' => osc_draw_pull_down_menu('cc_starts_month', $months_array) . ' ' . osc_draw_pull_down_menu('cc_starts_year', $year_valid_from_array) . ' ' . $osC_Language->get('payment_paypal_direct_card_valid_from_info')), array('title' => $osC_Language->get('payment_paypal_direct_card_expires'), 'field' => osc_draw_pull_down_menu('cc_expires_month', $months_array) . ' ' . osc_draw_pull_down_menu('cc_expires_year', $year_expires_array)), array('title' => $osC_Language->get('payment_paypal_direct_card_cvc'), 'field' => osc_draw_input_field('cc_cvc_nh-dns', '', 'size="5" maxlength="4"')), array('title' => $osC_Language->get('payment_paypal_direct_card_issue_number'), 'field' => osc_draw_input_field('cc_issue_nh-dns', '', 'size="3" maxlength="2"') . ' ' . $osC_Language->get('payment_paypal_direct_card_issue_number_info')))); return $confirmation; }
<p><?php echo $osC_Language->get('introduction_edit_zone_group'); ?> </p> <fieldset> <div><label for="zone_name"><?php echo $osC_Language->get('field_name'); ?> </label><?php echo osc_draw_input_field('zone_name', $osC_ObjectInfo->get('geo_zone_name')); ?> </div> <div><label for="zone_description"><?php echo $osC_Language->get('field_description'); ?> </label><?php echo osc_draw_input_field('zone_description', $osC_ObjectInfo->get('geo_zone_description')); ?> </div> </fieldset> <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />'; ?> </p> </form> </div>
?> </td> </tr> <tr> <td class="inputField"><?php echo OSCOM::getDef('param_administrator_username') . '<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_USERNAME', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo OSCOM::getDef('param_administrator_username_description'); ?> </td> </tr> <tr> <td class="inputField"><?php echo OSCOM::getDef('param_administrator_password') . '<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_PASSWORD', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo OSCOM::getDef('param_administrator_password_description'); ?> </td> </tr> <tr> <td class="inputField"><?php echo osc_draw_checkbox_field('DB_INSERT_SAMPLE_DATA', 'true', true) . ' ' . OSCOM::getDef('param_database_import_sample_data'); ?> </td> <td class="inputDescription"><?php echo OSCOM::getDef('param_database_import_sample_data_description'); ?>
Copyright (c) 2004 osCommerce Released under the GNU General Public License */ ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><h1><?php echo HEADING_TITLE; ?> </h1></td> <td class="smallText" align="right"> <?php echo tep_draw_form('search', FILENAME_CUSTOMERS, '', 'get') . HEADING_TITLE_SEARCH . ' ' . osc_draw_input_field('search') . '<input type="submit" value="GO" class="operationButton"></form>'; ?> </td> </tr> </table> <div id="infoBox_cDefault" <?php if (!empty($action)) { echo 'style="display: none;"'; } ?> > <table border="0" width="100%" cellspacing="0" cellpadding="2" class="dataTable"> <thead> <tr> <th><?php
</tr> <tr> <td class="main" colspan="2"><?php echo TEXT_MAIN; ?> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td class="main"><?php echo '<b>' . ENTRY_EMAIL_ADDRESS . '</b> ' . osc_draw_input_field('email_address'); ?> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php
<div class="form-group has-feedback"> <label for="passWord" class="control-label col-xs-3">Password</label> <div class="col-xs-9"> <?php echo osc_draw_password_field('DB_SERVER_PASSWORD', NULL, 'required aria-required="true" id="passWord"'); ?> <span class="fa fa-asterisk form-control-feedback text-danger"></span> <span class="help-block">The password that is used together with the username to connect to the database server.</span> </div> </div> <div class="form-group has-feedback"> <label for="dbName" class="control-label col-xs-3">Database Name</label> <div class="col-xs-9"> <?php echo osc_draw_input_field('DB_DATABASE', NULL, 'required aria-required="true" id="dbName" placeholder="Database"'); ?> <span class="fa fa-asterisk form-control-feedback text-danger"></span> <span class="help-block">The name of the database to hold the data in.</span> </div> </div> <p><?php echo osc_draw_button('Continue To Step 2', 'triangle-1-e', null, 'primary', null, 'btn-success btn-block'); ?> </p> </form> </div> <div class="col-xs-12 col-sm-pull-9 col-sm-3">
function selection() { global $osC_Database, $osC_Language, $order; 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))); } $Qcredit_cards = $osC_Database->query('select credit_card_name, credit_card_code from :table_credit_cards where credit_card_status = :credit_card_status'); $Qcredit_cards->bindRaw(':table_credit_cards', TABLE_CREDIT_CARDS); $Qcredit_cards->bindInt(':credit_card_status', '1'); $Qcredit_cards->setCache('credit-cards'); $Qcredit_cards->execute(); while ($Qcredit_cards->next()) { $credit_cards[] = array('id' => $Qcredit_cards->value('credit_card_code'), 'text' => $Qcredit_cards->value('credit_card_name')); } $Qcredit_cards->freeResult(); $selection = array('id' => $this->_code, 'module' => $this->_title, 'fields' => array(array('title' => $osC_Language->get('payment_ipayment_credit_card_owner'), 'field' => osc_draw_input_field('ipayment_cc_owner', $order->billing['firstname'] . ' ' . $order->billing['lastname'])), array('title' => $osC_Language->get('payment_ipayment_credit_card_type'), 'field' => osc_draw_pull_down_menu('ipayment_cc_type', $credit_cards)), array('title' => $osC_Language->get('payment_ipayment_credit_card_number'), 'field' => osc_draw_input_field('ipayment_cc_number')), array('title' => $osC_Language->get('payment_ipayment_credit_card_expiry_date'), 'field' => osc_draw_pull_down_menu('ipayment_cc_expires_month', $expires_month) . ' ' . osc_draw_pull_down_menu('ipayment_cc_expires_year', $expires_year)), array('title' => $osC_Language->get('payment_ipayment_credit_card_checknumber'), 'field' => osc_draw_input_field('ipayment_cc_checkcode', null, 'size="4" maxlength="4"') . ' <small>' . $osC_Language->get('payment_ipayment_credit_card_checknumber_location') . '</small>'))); return $selection; }
<td class="smallText" width="40%"><?php echo '<b>' . TEXT_INFO_ZONES_NAME . '</b>'; ?> </td> <td class="smallText" width="60%"><?php echo osc_draw_input_field('zone_name', $zInfo->zone_name); ?> </td> </tr> <tr> <td class="smallText" width="40%"><?php echo '<b>' . TEXT_INFO_ZONES_CODE . '</b>'; ?> </td> <td class="smallText" width="60%"><?php echo osc_draw_input_field('zone_code', $zInfo->zone_code); ?> </td> </tr> <tr> <td class="smallText" width="40%"><?php echo '<b>' . TEXT_INFO_COUNTRY_NAME . '</b>'; ?> </td> <td class="smallText" width="60%"><?php echo osc_draw_pull_down_menu('zone_country_id', tep_get_countries(), $zInfo->countries_id); ?> </td> </tr> </table>
?> </td> <td><?php echo osc_draw_textarea_field('message', null, 15, 2); ?> </td> </tr> <?php } ?> <tr> <td colspan="2" align="center" valign="top" style="padding-top: 15px"> <?php if (!$osC_Product->hasVariants()) { echo '<b>' . $osC_Language->get('field_short_quantity') . '</b> ' . osc_draw_input_field('quantity', $osC_Product->getMOQ(), 'size="3"') . ' ' . osc_draw_image_submit_button('button_in_cart.gif', $osC_Language->get('button_add_to_cart'), 'style="vertical-align:middle;" id="addToShoppingCart"'); } ?> </td> </tr> <tr> <td colspan="2" align="center"> <?php echo osc_link_object(osc_href_link(basename($_SERVER['SCRIPT_FILENAME']), $osC_Product->getID() . '&' . '&action=compare_products_add'), $osC_Language->get('add_to_compare')) . ' <span>|</span> ' . osc_link_object(osc_href_link(basename($_SERVER['SCRIPT_FILENAME']), $osC_Product->getID() . '&action=wishlist_add'), $osC_Language->get('add_to_wishlist')); ?> </td> </tr> </table> </form> <div style="clear: both;"></div>
?> <br/> <?php if ($osC_ShoppingCart->hasGiftCertificate()) { foreach ($osC_ShoppingCart->getGiftCertificateCodes() as $gift_certificate) { echo '<p id="' . $gift_certificate . '">' . $gift_certificate . ' [' . $osC_Currencies->format($osC_ShoppingCart->getGiftCertificateRedeemAmount($gift_certificate)) . ']' . ' ' . osc_draw_image_submit_button('small_delete.gif', $osC_Language->get('button_delete'), 'class="btnDeleteGiftCertificate" style="vertical-align: middle"') . '</p>'; } } ?> <div> <br/> <?php echo '<b>' . $osC_Language->get('fields_gift_certificates_redeem_code') . '</b>'; ?> <?php echo osc_draw_input_field('gift_certificate_redeem_code', null, 'id="gift_certificate_code" dir="ltr"'); ?> <?php echo osc_draw_image_submit_button('button_redeem.gif', $osC_Language->get('button_gift_certificate_redeem'), 'id="btnRedeemGiftCertificate" style="vertical-align: middle"'); ?> </div> </div> </div> <?php } ?> <div class="moduleBox"> <h6><?php echo $osC_Language->get('add_comment_to_order_title');
</label><?php echo osc_draw_input_field('symbol_right'); ?> </p> <p><label for="decimal_places"><?php echo OSCOM::getDef('field_decimal_places'); ?> </label><?php echo osc_draw_input_field('decimal_places'); ?> </p> <p><label for="value"><?php echo OSCOM::getDef('field_currency_value'); ?> </label><?php echo osc_draw_input_field('value'); ?> </p> <p><label for="default"><?php echo OSCOM::getDef('field_set_default'); ?> </label><?php echo osc_draw_checkbox_field('default'); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('priority' => 'primary', 'icon' => 'check', 'title' => OSCOM::getDef('button_save'))) . ' ' . osc_draw_button(array('href' => OSCOM::getLink(), 'priority' => 'secondary', 'icon' => 'close', 'title' => OSCOM::getDef('button_cancel'))); ?> </p>
<?php echo osc_draw_input_field('CFG_ADMINISTRATOR_PASSWORD', NULL, 'required aria-required="true" id="adminPassword"'); ?> <span class="fa fa-asterisk form-control-feedback inputRequirement"></span> <span class="help-block">The password to use for the administrator account.</span> </div> </div> <?php if (osc_is_writable($dir_fs_document_root) && osc_is_writable($dir_fs_document_root . 'admin')) { ?> <div class="form-group has-feedback"> <label for="adminDir" class="control-label col-xs-3">Administration Directory Name</label> <div class="col-xs-9"> <?php echo osc_draw_input_field('CFG_ADMIN_DIRECTORY', 'admin', 'required aria-required="true" id="adminDir"'); ?> <span class="fa fa-asterisk form-control-feedback inputRequirement"></span> <span class="help-block">This is the directory where the administration section will be installed. You should change this for security reasons.</span> </div> </div> <?php } ?> <div class="form-group has-feedback"> <label for="Zulu" class="control-label col-xs-3">Time Zone</label> <div class="col-xs-9"> <?php echo osc_draw_time_zone_select_menu('CFG_TIME_ZONE'); ?> <span class="fa fa-asterisk form-control-feedback inputRequirement"></span>
echo '<br />- ' . $osC_Language->get('recipients_email') . ': ' . $products['gc_data']['recipients_email']; } echo '<br />- ' . $osC_Language->get('message') . ': ' . $products['gc_data']['message']; } $atttributes_array = array(); if ($osC_ShoppingCart->hasVariants($products['id'])) { foreach ($osC_ShoppingCart->getVariants($products['id']) as $variants) { $atttributes_array[$variants['groups_id']] = $variants['variants_values_id']; echo '<br />- ' . $variants['groups_name'] . ': ' . $variants['values_name']; } } ?> </td> <td valign="top"><?php echo osc_draw_input_field('products[' . $products_id_string . ']', $products['quantity'], 'size="4" style="width: 40px"'); ?> </td> <td valign="top" align="right"><?php echo '<b>' . $osC_Currencies->displayPrice($products['final_price'], $products['tax_class_id'], $products['quantity']) . '</b>'; ?> </td> </tr> <?php } ?> </table> </div>
echo CONFIG_ENABLE_SSL_DESCRIPTION_LONG; ?> </div> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td width="30%" valign="top"><?php echo CONFIG_WWW_WORK_DIRECTORY; ?> </td> <td width="70%" class="smallDesc"> <?php echo osc_draw_input_field('HTTP_WORK_DIRECTORY', $dir_fs_www_root . 'oscommerce_data'); ?> <img src="templates/<?php echo $template; ?> /images/help_icon.gif" onClick="toggleBox('httpWork');"><br> <div id="httpWorkSD"><?php echo CONFIG_WWW_WORK_DIRECTORY_DESCRIPTION; ?> </div> <div id="httpWork" class="longDescription"><?php echo CONFIG_WWW_WORK_DIRECTORY_DESCRIPTION_LONG; ?> </div> </td> </tr>
?> </div> <div id="httpsCookieD" class="longDescription"><?php echo CONFIG_WWW_HTTPS_COOKIE_DOMAIN_DESCRIPTION_LONG; ?> </div> </td> </tr> <tr> <td width="30%" valign="top"><?php echo CONFIG_WWW_HTTPS_COOKIE_PATH; ?> </td> <td width="70%" class="smallDesc"> <?php echo osc_draw_input_field('HTTPS_COOKIE_PATH', $_POST['HTTP_COOKIE_PATH']); ?> <img src="templates/<?php echo $template; ?> /images/help_icon.gif" onClick="toggleBox('httpsCookieP');"><br> <div id="httpsCookiePSD"><?php echo CONFIG_WWW_HTTPS_COOKIE_PATH_DESCRIPTION; ?> </div> <div id="httpsCookieP" class="longDescription"><?php echo CONFIG_WWW_HTTPS_COOKIE_PATH_DESCRIPTION_LONG; ?> </div> </td> </tr>
?> </td> </tr> <tr> <td class="inputField"><?php echo $osC_Language->get('param_database_type') . '<br />' . osc_draw_pull_down_menu('DB_DATABASE_CLASS', $db_table_types); ?> </td> <td class="inputDescription"><?php echo $osC_Language->get('param_database_type_description'); ?> </td> </tr> <tr> <td class="inputField"><?php echo $osC_Language->get('param_database_prefix') . '<br />' . osc_draw_input_field('DB_TABLE_PREFIX', 'osc_', 'class="text"'); ?> </td> <td class="inputDescription"><?php echo $osC_Language->get('param_database_prefix_description'); ?> </td> </tr> </table> <p align="right"><?php echo '<input type="image" src="templates/' . $template . '/languages/' . $osC_Language->getCode() . '/images/buttons/continue.gif" border="0" alt="' . $osC_Language->get('image_button_continue') . '" id="inputButton" />'; ?> <?php echo '<a href="index.php"><img src="templates/' . $template . '/languages/' . $osC_Language->getCode() . '/images/buttons/cancel.gif" border="0" alt="' . $osC_Language->get('image_button_cancel') . '" /></a>'; ?>
echo $osC_Language->get('introduction_edit_shipping_module'); ?> </p> <?php $keys = ''; foreach ($module->getKeys() as $key) { $Qkey = $osC_Database->query('select configuration_title, configuration_value, configuration_description, use_function, set_function from :table_configuration where configuration_key = :configuration_key'); $Qkey->bindTable(':table_configuration', TABLE_CONFIGURATION); $Qkey->bindValue(':configuration_key', $key); $Qkey->execute(); $keys .= '<b>' . $Qkey->value('configuration_title') . '</b><br />' . $Qkey->value('configuration_description') . '<br />'; if (!osc_empty($Qkey->value('set_function'))) { $keys .= osc_call_user_func($Qkey->value('set_function'), $Qkey->value('configuration_value'), $key); } else { $keys .= osc_draw_input_field('configuration[' . $key . ']', $Qkey->value('configuration_value')); } $keys .= '<br /><br />'; } $keys = substr($keys, 0, strrpos($keys, '<br /><br />')); ?> <p><?php echo $keys; ?> </p> <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />'; ?> </p>
?> </h6> <form name="share_wishlist" method="post" action="<?php echo osc_href_link(FILENAME_ACCOUNT, 'wishlist=share_wishlist', 'SSL'); ?> "> <div class="content"> <p><?php echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_name'), 'wishlist_customer', null, true) . ' ' . osc_draw_input_field('wishlist_customer', $osC_Customer->isLoggedOn() ? $osC_Customer->getName() : null); ?> </p> <p><?php echo osc_draw_label($osC_Language->get('field_share_wishlist_customer_email'), 'wishlist_from_email', null, true) . ' ' . osc_draw_input_field('wishlist_from_email', $osC_Customer->isLoggedOn() ? $osC_Customer->getEmailAddress() : null); ?> </p> <p><?php echo osc_draw_label($osC_Language->get('field_share_wishlist_emails'), 'wishlist_emails', null, true) . ' ' . osc_draw_textarea_field('wishlist_emails', null, 40, 5); ?> </p> <p><?php echo osc_draw_label($osC_Language->get('field_share_wishlist_message'), 'wishlist_message', null, true) . ' ' . osc_draw_textarea_field('wishlist_message', null, 40, 5); ?> </p> </div> <div class="submitFormButtons" style="text-align: right;">
<td class="inputField"><?php echo 'Store Owner E-Mail Address<br />' . osc_draw_input_field('CFG_STORE_OWNER_EMAIL_ADDRESS', null, 'class="text"'); ?> </td> <td class="inputDescription">The e-mail address of the store owner that is presented to the public.</td> </tr> <tr> <td class="inputField"><?php echo 'Administrator Username<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_USERNAME', null, 'class="text"'); ?> </td> <td class="inputDescription">The administrator username to use for the administration tool.</td> </tr> <tr> <td class="inputField"><?php echo 'Administrator Password<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_PASSWORD', null, 'class="text"'); ?> </td> <td class="inputDescription">The password to use for the administrator account.</td> </tr> </table> <p align="right"><input type="image" src="images/button_continue.gif" border="0" alt="Continue" id="inputButton" /> <a href="index.php"><img src="images/button_cancel.gif" border="0" alt="Cancel" /></a></p> <?php reset($HTTP_POST_VARS); while (list($key, $value) = each($HTTP_POST_VARS)) { if ($key != 'x' && $key != 'y') { if (is_array($value)) { for ($i = 0, $n = sizeof($value); $i < $n; $i++) { echo osc_draw_hidden_field($key . '[]', $value[$i]);
?> </p> <p><?php echo '<b>' . osc_output_string_protected($_SESSION['fm_directory']) . '</b>'; ?> </p> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="40%"><?php echo '<b>' . $osC_Language->get('field_directory_name') . '</b>'; ?> </td> <td width="60%"><?php echo osc_draw_input_field('directory_name', null, 'style="width: 100%;"'); ?> </td> </tr> </table> <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />'; ?> </p> </form> <?php } else { ?>
" method="post"> <b><?php echo $osC_Language->get('login_returning_customer_heading'); ?> </b> <div> <p><?php echo $osC_Language->get('login_returning_customer_text'); ?> </p> <ol> <li><?php echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address', null, true) . osc_draw_input_field('email_address'); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), 'password', null, true) . osc_draw_password_field('password'); ?> </li> </ol> <p><?php echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL')); ?> </p> <p align="right"><?php echo osc_draw_image_submit_button('button_login.gif', $osC_Language->get('button_sign_in'));
<td class="inputDescription">Der Name des Administrators für das Anmelden an den Administrationsbereich.</td> </tr> <tr> <td class="inputField"><?php echo 'Passwort Administrator<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_PASSWORD', null, 'class="text"'); ?> </td> <td class="inputDescription">Das Passwort des Administrators für das Anmelden an den Administrationsbereich.</td> </tr> <?php if (osc_is_writable($dir_fs_document_root) && osc_is_writable($dir_fs_document_root . 'admin')) { ?> <tr> <td class="inputField"><?php echo 'Verzeichnis Administrationsbereich<br />' . osc_draw_input_field('CFG_ADMIN_DIRECTORY', 'admin', 'class="text"'); ?> </td> <td class="inputDescription">Das Verzeichnis, in dem der Administrationsbereich installiert wird. Aus Sicherheitsgründen sollte das Verzeichnis unbedingt geändert werden.</td> </tr> <?php } if (PHP_VERSION >= '5.2') { ?> <tr> <td class="inputField"><?php echo 'Zeitzone<br />' . osc_draw_time_zone_select_menu('CFG_TIME_ZONE'); ?> </td> <td class="inputDescription">Zeitzone</td> </tr>