$osC_ObjectInfo = new osC_ObjectInfo(osC_Countries_Admin::getZone($_GET['zID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('zone_name'); ?> </div> <div class="infoBoxContent"> <form name="zDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&zID=' . $osC_ObjectInfo->getInt('zone_id') . '&action=zone_delete'); ?> " method="post"> <?php $can_be_deleted = true; $Qcheck = $osC_Database->query('select count(*) as total from :table_address_book where entry_zone_id = :entry_zone_id'); $Qcheck->bindTable(':table_address_book', TABLE_ADDRESS_BOOK); $Qcheck->bindInt(':entry_zone_id', $osC_ObjectInfo->get('zone_id')); $Qcheck->execute(); if ($Qcheck->valueInt('total') > 0) {
$osC_ObjectInfo = new osC_ObjectInfo(osC_CreditCards_Admin::get($_GET['ccID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->size($osC_Template->getModule()) > 0) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('credit_card_name'); ?> </div> <div class="infoBoxContent"> <form name="aDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&ccID=' . $osC_ObjectInfo->getInt('id') . '&action=delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_card'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('credit_card_name') . '</b>';
$osC_ObjectInfo = new osC_ObjectInfo(osC_TaxClasses_Admin::getEntry($_GET['trID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->get('tax_class_title') . ': ' . $osC_ObjectInfo->getProtected('geo_zone_name'); ?> </div> <div class="infoBoxContent"> <form name="trDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&trID=' . $osC_ObjectInfo->getInt('tax_rates_id') . '&action=entry_delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_tax_rate'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('tax_class_title') . ': ' . $osC_ObjectInfo->getProtected('geo_zone_name') . '</b>';
$osC_ObjectInfo = new osC_ObjectInfo(osC_ZoneGroups_Admin::getEntry($_GET['zeID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('countries_name') . ': ' . $osC_ObjectInfo->getProtected('zone_name'); ?> </div> <div class="infoBoxContent"> <form name="zeDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&zeID=' . $osC_ObjectInfo->getInt('association_id') . '&action=entry_delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_zone_entry'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('countries_name') . ': ' . $osC_ObjectInfo->getProtected('zone_name') . '</b>';
$osC_ObjectInfo = new osC_ObjectInfo(osC_Currencies_Admin::get($_GET['cID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('title'); ?> </div> <div class="infoBoxContent"> <form name="cDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&cID=' . $osC_ObjectInfo->getInt('currencies_id') . '&action=delete'); ?> " method="post"> <?php if ($osC_ObjectInfo->get('code') == DEFAULT_CURRENCY) { ?> <p><?php echo '<b>' . $osC_Language->get('introduction_delete_currency_invalid') . '</b>';
} ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('products_name'); ?> </div> <div class="infoBoxContent"> <form name="pDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $osC_ObjectInfo->getInt('products_id') . '&cID=' . $_GET['cID'] . '&action=delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_product'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('products_name') . '</b>';
} ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('categories_name'); ?> </div> <div class="infoBoxContent"> <form name="cEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&cID=' . $osC_ObjectInfo->getInt('categories_id') . '&action=save'); ?> " method="post" enctype="multipart/form-data"> <p><?php echo $osC_Language->get('introduction_edit_category'); ?> </p> <fieldset> <div><label><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_CreditCards_Admin::get($_GET['ccID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->size($osC_Template->getModule()) > 0) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('credit_card_name'); ?> </div> <div class="infoBoxContent"> <form name="ccEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&ccID=' . $osC_ObjectInfo->getInt('id') . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_card'); ?> </p> <fieldset> <div><label for="credit_card_name"><?php
$osC_ObjectInfo->set('products_date_available', $Qdata->value('products_date_available')); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('products_name'); ?> </div> <div class="infoBoxContent"> <form name="pEdit" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&page=' . $_GET['page'] . '&pID=' . $osC_ObjectInfo->getInt('products_id') . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_product_expected'); ?> </p> <p><?php echo $osC_Language->get('field_date_expected') . '<br />' . osc_draw_input_field('products_date_available', $osC_ObjectInfo->get('products_date_available'));
} ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('export.png') . ' ' . $osC_ObjectInfo->getProtected('name'); ?> </div> <div class="infoBoxContent"> <form name="lExport" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&lID=' . $osC_ObjectInfo->getInt('languages_id') . '&action=export'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_export_language'); ?> </p> <fieldset> <div><p>(<a href="javascript:selectAllFromPullDownMenu('groups');"><u><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_Countries_Admin::get($_GET['cID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('countries_name'); ?> </div> <div class="infoBoxContent"> <form name="cDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&cID=' . $osC_ObjectInfo->getInt('countries_id') . '&action=delete'); ?> " method="post"> <?php $can_be_deleted = true; $Qcheck = $osC_Database->query('select count(*) as total from :table_address_book where entry_country_id = :entry_country_id'); $Qcheck->bindTable(':table_address_book', TABLE_ADDRESS_BOOK); $Qcheck->bindInt(':entry_country_id', $osC_ObjectInfo->getInt('countries_id')); $Qcheck->execute(); if ($Qcheck->valueInt('total') > 0) {
?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBox"> <h3><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('title'); ?> </h3> <form name="tDelete" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&tID=' . $osC_ObjectInfo->getInt('id') . '&action=delete'); ?> " method="post"> <?php if ($osC_ObjectInfo->getInt('total_products') > 0) { ?> <p><?php echo '<b>' . sprintf(OSCOM::getDef('delete_error_product_type_in_use'), $osC_ObjectInfo->getInt('total_products')) . '</b>'; ?>
</div> <div class="infoBoxContent"> <form name="lDefine" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group'] . '&action=batch_save_definitions'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_language_definitions'); ?> </p> <fieldset> <?php foreach ($_POST['batch'] as $id) { $osC_ObjectInfo = new osC_ObjectInfo(osC_Languages_Admin::getDefinition($id)); echo '<div><label for="def[' . $osC_ObjectInfo->getProtected('definition_key') . ']">' . $osC_ObjectInfo->getProtected('definition_key') . '</label>' . osc_draw_textarea_field('def[' . $osC_ObjectInfo->get('definition_key') . ']', $osC_ObjectInfo->get('definition_value')) . '</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() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group']) . '\';" class="operationButton" />'; ?> </p> </form> </div>
?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } if (!osc_empty($osC_ObjectInfo->get('set_function'))) { $value_field = osc_call_user_func($osC_ObjectInfo->get('set_function'), $osC_ObjectInfo->get('configuration_value'), $osC_ObjectInfo->get('configuration_key')); } else { $value_field = osc_draw_input_field('configuration[' . $osC_ObjectInfo->get('configuration_key') . ']', $osC_ObjectInfo->get('configuration_value')); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('configuration_title'); ?> </div> <div class="infoBoxContent"> <form name="cEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&gID=' . (int) $_GET['gID'] . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_parameter'); ?> </p> <fieldset> <div><label for="configuration[<?php
} ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('tax_class_title') . ': ' . $osC_ObjectInfo->getProtected('geo_zone_name'); ?> </div> <div class="infoBoxContent"> <form name="trEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&trID=' . $osC_ObjectInfo->getInt('tax_rates_id') . '&action=entry_save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_tax_rate'); ?> </p> <fieldset> <div><label for="tax_zone_id"><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_Countries_Admin::get($_GET['cID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('countries_name'); ?> </div> <div class="infoBoxContent"> <form name="cEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&cID=' . $osC_ObjectInfo->getInt('countries_id') . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_country'); ?> </p> <fieldset> <div><label for="countries_name"><?php
</style> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBox"> <h3><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('action_title'); ?> </h3> <form name="tEdit" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&aID=' . $osC_ObjectInfo->get('action') . '&action=entry_save'); ?> " method="post"> <p><?php echo OSCOM::getDef('introduction_edit_assignments'); ?> </p> <fieldset id="containment"> <p><label>Active Modules:</label><ul id="modulesInstalled" class="connectedList">
$osC_ObjectInfo = new osC_ObjectInfo(osC_Categories_Admin::get($_GET['cID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('categories_name'); ?> </div> <div class="infoBoxContent"> <form name="cDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&cID=' . $osC_ObjectInfo->getInt('categories_id') . '&action=delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_category'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('categories_name') . '</b>';
$osC_ObjectInfo = new osC_ObjectInfo(osC_Administrators_Admin::get($_GET['aID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('user_name'); ?> </div> <div class="infoBoxContent"> <form name="aDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&aID=' . $osC_ObjectInfo->getInt('id') . '&action=delete'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_administrator'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->get('user_name') . '</b>';
} ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('move.png') . ' ' . $osC_ObjectInfo->getProtected('categories_name'); ?> </div> <div class="infoBoxContent"> <form name="cMove" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&cID=' . $osC_ObjectInfo->getInt('categories_id') . '&action=move'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_move_category'); ?> </p> <fieldset> <div><label for="new_category_id"><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_TaxClasses_Admin::get($_GET['tcID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('tax_class_title'); ?> </div> <div class="infoBoxContent"> <form name="tcEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&tcID=' . $osC_ObjectInfo->getInt('tax_class_id') . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_tax_class'); ?> </p> <fieldset> <div><label for="tax_class_title"><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_Languages_Admin::getDefinition($_GET['dID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('definition_key'); ?> </div> <div class="infoBoxContent"> <form name="lDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group'] . '&dID=' . (int) $_GET['dID'] . '&action=delete_definition'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_delete_language_definition'); ?> </p> <p><?php echo '<b>' . $osC_ObjectInfo->getProtected('definition_key') . '</b>';
?> </div> <div class="infoBoxContent"> <form name="lDefine" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group'] . '&action=edit_definition'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_language_definitions'); ?> </p> <fieldset> <div><label for="def[<?php echo $osC_ObjectInfo->getProtected('definition_key'); ?> ]"><?php echo $osC_ObjectInfo->getProtected('definition_key'); ?> </label><?php echo osc_draw_textarea_field('def[' . $osC_ObjectInfo->get('definition_key') . ']', $osC_ObjectInfo->get('definition_value')); ?> </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() . '=' . (int) $_GET[$osC_Template->getModule()] . '&group=' . $_GET['group']) . '\';" class="operationButton" />'; ?> </p>
<?php foreach ($osC_Language->getAll() as $l) { ?> <div id="pName_<?php echo $l['code']; ?> " <?php echo $l['code'] != $osC_Language->getCode() ? ' style="display: none;"' : ''; ?> > <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><h1><?php echo osc_output_string_protected($products_name[$l['id']]) . (!osc_empty($osC_ObjectInfo->get('products_model')) ? '<br /><span>' . $osC_ObjectInfo->getProtected('products_model') . '</span>' : ''); ?> </h1></td> <td align="right"><h1><?php echo $osC_Currencies->format($osC_ObjectInfo->get('products_price')); ?> </h1></td> </tr> </table> <p><?php echo $osC_Image->show($osC_ObjectInfo->get('image'), $products_name[$l['id']], 'align="right" hspace="5" vspace="5"', 'product_info') . $products_description[$l['id']]; ?> </p> <?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_ZoneGroups_Admin::get($_GET['zID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('edit.png') . ' ' . $osC_ObjectInfo->getProtected('geo_zone_name'); ?> </div> <div class="infoBoxContent"> <form name="zEdit" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&zID=' . $osC_ObjectInfo->getInt('geo_zone_id') . '&action=save'); ?> " method="post"> <p><?php echo $osC_Language->get('introduction_edit_zone_group'); ?> </p> <fieldset> <div><label for="zone_name"><?php
$osC_ObjectInfo = new osC_ObjectInfo(osC_ZoneGroups_Admin::get($_GET['zID'])); ?> <h1><?php echo osc_link_object(osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()), $osC_Template->getPageTitle()); ?> </h1> <?php if ($osC_MessageStack->exists($osC_Template->getModule())) { echo $osC_MessageStack->get($osC_Template->getModule()); } ?> <div class="infoBoxHeading"><?php echo osc_icon('trash.png') . ' ' . $osC_ObjectInfo->getProtected('geo_zone_name'); ?> </div> <div class="infoBoxContent"> <form name="zDelete" class="dataForm" action="<?php echo osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule() . '&zID=' . $osC_ObjectInfo->getInt('geo_zone_id') . '&action=delete'); ?> " method="post"> <?php if (osC_ZoneGroups_Admin::hasTaxRate($osC_ObjectInfo->getInt('geo_zone_id'))) { ?> <p><?php echo '<b>' . sprintf($osC_Language->get('delete_warning_group_in_use_tax_rate'), osC_ZoneGroups_Admin::numberOfTaxRates($osC_ObjectInfo->getInt('geo_zone_id'))) . '</b>'; ?>