function displaySettings()
 {
     $contents = xtc_draw_form('modules', 'easymarketing.php', 'content=save', 'post');
     $module_keys = $this->keys();
     $keys_extra = array();
     for ($j = 0, $k = sizeof($module_keys); $j < $k; $j++) {
         $key_value_query = xtc_db_query("SELECT configuration_key,\n                                              configuration_value,\n                                              use_function,\n                                              set_function\n                                         FROM " . TABLE_CONFIGURATION . "\n                                        WHERE configuration_key = '" . $module_keys[$j] . "'");
         $key_value = xtc_db_fetch_array($key_value_query);
         if ($key_value['configuration_key'] != '') {
             $keys_extra[$module_keys[$j]]['title'] = constant(strtoupper($key_value['configuration_key'] . '_TITLE'));
         }
         $keys_extra[$module_keys[$j]]['value'] = $key_value['configuration_value'];
         if ($key_value['configuration_key'] != '') {
             $keys_extra[$module_keys[$j]]['description'] = constant(strtoupper($key_value['configuration_key'] . '_DESC'));
         }
         $keys_extra[$module_keys[$j]]['use_function'] = $key_value['use_function'];
         $keys_extra[$module_keys[$j]]['set_function'] = $key_value['set_function'];
     }
     $module_info['keys'] = $keys_extra;
     while (list($key, $value) = each($module_info['keys'])) {
         $contents .= '<b>' . $value['title'] . '</b><br />' . $value['description'] . '<br />';
         if ($value['set_function']) {
             eval('$contents .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
         } else {
             $contents .= xtc_draw_input_field('configuration[' . $key . ']', $value['value']);
         }
         $contents .= '<br/><br/>';
     }
     $contents .= '<br/>' . xtc_button(BUTTON_SAVE);
     $contents .= '<hr />' . xtc_button_link(MODULE_EM_UNINSTALL_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=check_uninstall'));
     return $contents;
 }
            echo $values_values["products_options_values_id"];
            ?>
&nbsp;</td>
                    <td align="center" class="smallText">&nbsp;<?php 
            echo $options_name;
            ?>
&nbsp;</td>
                    <td class="smallText">&nbsp;<?php 
            echo $values_name;
            ?>
&nbsp;</td>
                    <td align="center" class="smallText">
                      <?php 
            echo xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=update_option_value&value_id=' . $values_values['products_options_values_id'] . '&value_page=' . $_GET['value_page'] . $option_id, 'NONSSL'));
            //BOF - webkiste - auf der selben Seite bleiben
            echo xtc_button_link(BUTTON_DELETE, xtc_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=delete_option_value&value_id=' . $values_values['products_options_values_id'] . '&value_page=' . $_GET['value_page'], 'NONSSL'));
            //EOF - webkiste - auf der selben Seite bleiben
            ?>
                    </td>
                  </tr>
<?php 
            // ############ EOF LISTE ##############//
        }
    }
    ?>
     </table>
</div>
<?php 
    // ############ EOF DEFAULT ############ //
}
?>
 function display()
 {
     $customers_statuses_array = xtc_get_customers_statuses();
     // build Currency Select
     $curr = '';
     $currencies = xtc_db_query("SELECT code FROM " . TABLE_CURRENCIES);
     while ($currencies_data = xtc_db_fetch_array($currencies)) {
         $curr .= xtc_draw_radio_field('currencies', $currencies_data['code'], true) . $currencies_data['code'] . '<br />';
     }
     return array('text' => EXPORT_STATUS_TYPE . '<br />' . EXPORT_STATUS . '<br />' . xtc_draw_pull_down_menu('status', $customers_statuses_array, '1') . '<br />' . CURRENCY . '<br />' . CURRENCY_DESC . '<br />' . $curr . EXPORT_TYPE . '<br />' . EXPORT . '<br />' . xtc_draw_radio_field('export', 'no', false) . EXPORT_NO . '<br />' . xtc_draw_radio_field('export', 'yes', true) . EXPORT_YES . '<br />' . '<br>' . xtc_button(BUTTON_EXPORT) . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=preisroboter')));
     //EOF - Tomcraft - 2009-07-21 - Exclude xtc_image_submit.inc.php as it is allready declared in /admin/includes/functions/general.php
 }
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_CAMPAIGN . '</b>');
        $contents = array('form' => xtc_draw_form('campaigns', FILENAME_CAMPAIGNS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->campaigns_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $cInfo->campaigns_name . '</b>');
        if ($cInfo->refferers_count > 0) {
            $contents[] = array('text' => '<br />' . xtc_draw_checkbox_field('delete_refferers') . ' ' . TEXT_DELETE_REFFERERS);
            $contents[] = array('text' => '<br />' . sprintf(TEXT_DELETE_WARNING_REFFERERS, $cInfo->refferers_count));
        }
        $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_button(BUTTON_DELETE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_CAMPAIGNS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->campaigns_id)));
        break;
    default:
        if (is_object($cInfo)) {
            $heading[] = array('text' => '<b>' . $cInfo->campaigns_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_CAMPAIGNS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->campaigns_id . '&action=edit')) . '&nbsp;' . xtc_button_link(BUTTON_DELETE, xtc_href_link(FILENAME_CAMPAIGNS, 'page=' . $_GET['page'] . '&cID=' . $cInfo->campaigns_id . '&action=delete')));
            $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . xtc_date_short($cInfo->date_added));
            if (xtc_not_null($cInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . xtc_date_short($cInfo->last_modified));
            }
            $contents[] = array('text' => TEXT_REFERER . '?refID=' . $cInfo->campaigns_refID);
        }
        break;
}
if (xtc_not_null($heading) && xtc_not_null($contents)) {
    echo '            <div class="col-md-4 col-sm-12 col-xs-12 pull-right">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </div>' . "\n";
    ?>
        <script>
                        echo '&nbsp;&nbsp;&nbsp;' . DL_COUNT . ' <input type="text" name="' . $current_value_id . '_download_count" value="' . (isset($attr_dl_array['products_attributes_maxcount']) ? $attr_dl_array['products_attributes_maxcount'] : '') . '" size="6">' . PHP_EOL;
                        echo '&nbsp;&nbsp;&nbsp;' . DL_EXPIRE . ' <input type="text" name="' . $current_value_id . '_download_expire" value="' . (isset($attr_dl_array['products_attributes_maxdays']) ? $attr_dl_array['products_attributes_maxdays'] : '') . '" size="6"></td>' . PHP_EOL;
                        echo '</tr>' . PHP_EOL;
                    }
                    // Download function end
                    echo '<tr class="' . $rowClass . ' hidden-lg hidden-md">' . PHP_EOL;
                    #hidden-lg hidden-md
                    echo '<td colspan="2" class="main" style="width:150px"><hr></td>' . PHP_EOL;
                    echo '</tr>';
                }
                if ($i == $matches2) {
                    $i = 0;
                }
            }
        } else {
            echo '<tr>' . PHP_EOL;
            echo '<td class="main"><small>No values under this option.</small></td>' . PHP_EOL;
            echo '</tr>' . PHP_EOL;
        }
    }
}
echo "</table></div>";
?>
    <div class="col-xs-12">
      <?php 
echo xtc_button(BUTTON_SAVE) . '&nbsp;';
echo xtc_button_link(BUTTON_BACK, xtc_href_link(FILENAME_NEW_ATTRIBUTES, $param));
?>
    </div>
</form>
</div>
 function display()
 {
     return array('text' => '<br/>' . xtc_button(BUTTON_REVIEW_APPROVE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=easybill')));
 }
        $contents[] = array('text' => '<br />' . TEXT_WHOLESALERS_NAME . '<br />' . xtc_draw_input_field('wholesaler_name', $mInfo->wholesaler_name));
        $contents[] = array('text' => '<br />' . TEXT_WHOLESALERS_EMAIL . '<br />' . xtc_draw_input_field('wholesaler_email', $mInfo->wholesaler_email));
        $contents[] = array('text' => '<br />' . TEXT_WHOLESALERS_FILE . '<br />' . xtc_draw_input_field('wholesaler_email_template', $mInfo->wholesaler_email_template));
        $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_button(BUTTON_SAVE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_WHOLESALERS, 'page=' . $_GET['page'] . '&wID=' . $mInfo->wholesaler_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_WHOLESALER . '</b>');
        $contents = array('form' => xtc_draw_form('wholesalers', FILENAME_WHOLESALERS, 'page=' . $_GET['page'] . '&wID=' . $mInfo->wholesaler_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $mInfo->wholesaler_name . '</b>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_button(BUTTON_DELETE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_WHOLESALERS, 'page=' . $_GET['page'] . '&wID=' . $mInfo->wholesaler_id)));
        break;
    default:
        if (is_object($mInfo)) {
            $heading[] = array('text' => '<b>' . $mInfo->wholesaler_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_WHOLESALERS, 'page=' . $_GET['page'] . '&wID=' . $mInfo->wholesaler_id . '&action=edit#edit-box')) . '&nbsp;' . xtc_button_link(BUTTON_DELETE, xtc_href_link(FILENAME_WHOLESALERS, 'page=' . $_GET['page'] . '&wID=' . $mInfo->wholesaler_id . '&action=delete#edit-box')));
        }
        break;
}
if (xtc_not_null($heading) && xtc_not_null($contents)) {
    echo '            <div class="col-md-3 col-sm-12 col-xs-12 pull-right edit-box-class" >' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </div>' . "\n";
    ?>
    <script>
        //responsive_table
        $('#responsive_table').addClass('col-md-9');
    </script>               
    <?php 
}
 function display()
 {
     $interval_array = array(array('id' => '86400', 'text' => '24 Stunden'), array('id' => '43200', 'text' => '12 Stunden'), array('id' => '21600', 'text' => '6 Stunden'), array('id' => '10800', 'text' => '3 Stunden'), array('id' => '3600', 'text' => '1 Stunden'));
     return array('text' => '<br/><b>' . MODULE_JANOLAW_UPDATE_INTERVAL_TITLE . '</b>
                         <br/>' . MODULE_JANOLAW_UPDATE_INTERVAL_DESC . '<br/>' . xtc_draw_pull_down_menu('configuration[MODULE_JANOLAW_UPDATE_INTERVAL]', $interval_array, MODULE_JANOLAW_UPDATE_INTERVAL) . '<br />' . '<br /><div align="center">' . xtc_button('OK') . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=janolaw')) . "</div>");
 }
 function display()
 {
     return array('text' => IMAGE_EXPORT_TYPE . '<br>' . IMAGE_EXPORT . '<br>' . '<br>' . xtc_button(BUTTON_REVIEW_APPROVE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=image_processing_category')));
 }
 function display()
 {
     return array('text' => '<br />' . '<br />' . xtc_button(BUTTON_SAVE) . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=it_recht_kanzlei')));
 }
 public function display()
 {
     $tools = new tools();
     $missing_config_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_MISSING_CONFIG' LIMIT 1");
     $missing_config_db = xtc_db_fetch_array($missing_config_query);
     $missing_config_db = $missing_config_db['configuration_value'];
     $missing_config_user = '';
     $missing_config_url_input = '';
     $missing_config_shop_id_input = '';
     $missing_config_password_input = '';
     $missing_config_pagesize_input = '';
     $missing_config_shipping = '';
     $missing_config_payment = '';
     $missing_config_costs_idealo_DE_active = '';
     $missing_config_costs_idealo_DE_active = '';
     if ($missing_config_db != '') {
         if (strpos($missing_config_db, "user") !== false) {
             $missing_config_user = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "url_input") !== false) {
             $missing_config_url_input = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "shop_id_input") !== false) {
             $missing_config_shop_id_input = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "password_input") !== false) {
             $missing_config_password_input = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "pagesize_input") !== false) {
             $missing_config_page_size_input = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "shipping") !== false && strpos($missing_config_db, "shippingDE") === false) {
             $missing_config_shipping = IDEALO_TEXT_MISSING_SHIPPING;
         }
         if (strpos($missing_config_db, "payment") !== false) {
             $missing_config_payment = IDEALO_TEXT_MISSING_PAYMENT;
         }
         if (strpos($missing_config_db, "idealo_DE_active") !== false) {
             $missing_config_costs_idealo_DE_active = IDEALO_TEXT_MISSING_COSTS_IDEALO_DE;
         }
         if (strpos($missing_config_db, "idealo_AT_active") !== false) {
             $missing_config_costs_idealo_AT_active = IDEALO_TEXT_MISSING_COSTS_IDEALO_DE;
         }
         if (strpos($missing_config_db, "shippingDElenght") !== false || strpos($missing_config_db, "shippingDEone") !== false) {
             $missing_config_format_idealo_DE_shipping = '<font color="#FF0000"><b>* ' . IDEALO_TEXT_WRONG_COSTS_FORMAT_DE . '</b></font>';
         }
         if (strpos($missing_config_db, "shippingATlenght") !== false || strpos($missing_config_db, "shippingATone") !== false) {
             $missing_config_format_idealo_AT_shipping = '<font color="#FF0000"><b>* ' . IDEALO_TEXT_WRONG_COSTS_FORMAT_AT . '</b></font>';
         }
     }
     $realtime_link = $path = HTTP_CATALOG_SERVER . DIR_WS_CATALOG . IDEALO_REALTIME_LINK;
     $shipping_input_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_SHIPPINGCOMMENT' LIMIT 1");
     $shipping_comment_db = xtc_db_fetch_array($shipping_input_query);
     $shipping_comment_text = $shipping_comment_db !== false ? $shipping_comment_db['configuration_value'] : '';
     $shop_id_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_SHOP_ID' LIMIT 1");
     $shop_id_db = xtc_db_fetch_array($shop_id_query);
     $shop_id = $shop_id_db['configuration_value'];
     $password_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_PASSWORD' LIMIT 1");
     $password_db = xtc_db_fetch_array($password_query);
     $password = $password_db['configuration_value'];
     $pagesize_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_PAGESIZE' LIMIT 1");
     $pagesize_db = xtc_db_fetch_array($pagesize_query);
     $pagesize = $pagesize_db['configuration_value'];
     $customers_statuses_array = xtc_get_customers_statuses();
     $campaign_array[] = array('id' => '0', 'text' => 'no');
     $campaign_array[] = array('id' => 'refID=' . CAMPAIGN . '&', 'text' => '94511215 (idealo)');
     $campaign_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_CAMPAIGN' LIMIT 1");
     $campaign_db = xtc_db_fetch_array($campaign_query);
     $campaign = $campaign_db['configuration_value'];
     $ship_text = '';
     $tools->getShipping();
     $this->shipping = $tools->shipping;
     foreach ($this->shipping as $ship) {
         if ($ship['country'] == 'DE') {
             $ship_text .= $this->getDisplayShip($ship, $missing_config_costs_idealo_DE_active, $missing_config_format_idealo_DE_shipping);
         }
         if ($ship['country'] == 'AT') {
             $ship_text .= $this->getDisplayShip($ship, $missing_config_costs_idealo_AT_active, $missing_config_format_idealo_AT_shipping);
         }
     }
     $payment_text = '';
     $tools->getPayment();
     $this->payment = $tools->payment;
     foreach ($this->payment as $payment) {
         $payment_text .= $this->getDisplayPayment($payment);
     }
     $testmode_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_TESTMODE' LIMIT 1");
     $testmode_db = xtc_db_fetch_array($testmode_query);
     $testmode_db = $testmode_db['configuration_value'];
     $textfile_array[] = array('id' => 'yes', 'text' => 'ja');
     $textfile_array[] = array('id' => 'no', 'text' => 'nein');
     $certificate_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_CERTIFICATE' LIMIT 1");
     $certificate_db = xtc_db_fetch_array($certificate_query);
     $certificate_db = $certificate_db['configuration_value'];
     $certificate_array[] = array('id' => '1', 'text' => 'ja');
     $certificate_array[] = array('id' => '0', 'text' => 'nein');
     $testmode = IDEALO_REALTIME_TESTMODE_ACTIVE . '<br>' . xtc_draw_pull_down_menu('testmode', $textfile_array, $testmode_db) . '<br>';
     $article_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $article_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $article_filter_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_ARTICLE_FILTER' LIMIT 1");
     $article_filter_db = xtc_db_fetch_array($article_filter_query);
     $article_value = $article_filter_db['configuration_value'];
     $article_filter_value_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_ARTICLE_FILTER_VALUE' LIMIT 1");
     $article_filter_value_db = xtc_db_fetch_array($article_filter_value_query);
     $article_filter_value = $article_filter_value_db['configuration_value'];
     $article_filter = IDEALO_REALTIME_ARTICLE_FILTER . '<br>' . IDEALO_REALTIME_ARTICLE_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('article_filter', $article_filter_array, $article_value) . '<br><br>' . IDEALO_REALTIME_ARTICLE_FILTER_TEXT . '<br>' . xtc_draw_input_field('article_filter_value', $article_filter_value) . '<br><br>';
     $brand_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $brand_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $brand_filter_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_BRAND_FILTER' LIMIT 1");
     $brand_filter_db = xtc_db_fetch_array($brand_filter_query);
     $brand_value = $brand_filter_db['configuration_value'];
     $brand_filter_value_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_BRAND_FILTER_VALUE' LIMIT 1");
     $brand_filter_value_db = xtc_db_fetch_array($brand_filter_value_query);
     $brand_filter_value = $brand_filter_value_db['configuration_value'];
     $brand_filter = IDEALO_REALTIME_BRAND_FILTER . '<br>' . IDEALO_REALTIME_BRAND_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('brand_filter', $brand_filter_array, $brand_value) . '<br><br>' . IDEALO_REALTIME_BRAND_FILTER_TEXT . '<br>' . xtc_draw_input_field('brand_filter_value', $brand_filter_value) . '<br><br>';
     $cat_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $cat_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $cat_filter_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_CAT_FILTER' LIMIT 1");
     $cat_filter_db = xtc_db_fetch_array($cat_filter_query);
     $cat_value = $cat_filter_db['configuration_value'];
     $cat_filter_value_query = xtc_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_IDEALO_REALTIME_CAT_FILTER_VALUE' LIMIT 1");
     $cat_filter_value_db = xtc_db_fetch_array($cat_filter_value_query);
     $cat_filter_value = $cat_filter_value_db['configuration_value'];
     $cat_filter = IDEALO_REALTIME_CAT_FILTER . '<br>' . IDEALO_REALTIME_CAT_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('cat_filter', $cat_filter_array, $cat_value) . '<br><br>' . IDEALO_REALTIME_CAT_FILTER_TEXT . '<br>' . xtc_draw_input_field('cat_filter_value', $cat_filter_value) . '<br><br>';
     $tools->getMinorderValues();
     $minOrderDisplay = IDEALO_REALTIME_MIN_ORDER_TITLE . '<br><br>' . IDEALO_REALTIME_MIN_ORDER_VALUE . '<br>' . xtc_draw_input_field('idealo_realtime_minOrder_input', $tools->minOrder) . '<br>' . IDEALO_REALTIME_MIN_ORDER_TEXT . '<br><br>' . IDEALO_REALTIME_MIN_EXTRA_COSTS . '<br>' . xtc_draw_input_field('idealo_realtime_minOrderPrice_input', $tools->minOrderPrice) . '<br>' . IDEALO_REALTIME_MIN_ORDER_BORDER_TEXT . '<br>' . IDEALO_REALTIME_MIN_ORDER_BORDER_VALUE . '<br>' . xtc_draw_input_field('idealo_realtime_minOrderBorder_input', $tools->idealoMinorderBorder) . '<br>' . IDEALO_REALTIME_MIN_ORDER_PRICE_TEXT;
     return array('text' => $missing_config_user . '<br><br>' . $testmode . '<br>' . SHOP_ID . '<br>' . SHOP_ID_HINT . '<br>' . xtc_draw_input_field('shop_id_input', $shop_id) . '<br>' . $missing_config_shop_id_input . '<br><br>' . PASSWORT . '<br>' . PASSWORT_HINT . '<br>' . xtc_draw_password_field('password_input', $password) . '<br>' . $missing_config_password_input . '<br><br>' . PAGESIZE . '<br>' . PAGESIZE_HINT . '<br>' . xtc_draw_input_field('pagesize_input', $pagesize) . '<br>' . $missing_config_page_size_input . '<br><br>' . CERTIFICATE_TEXT . '<br>' . CERTIFICATE_TEXT_DESCRIPTION . '<br>' . xtc_draw_pull_down_menu('certificate', $certificate_array, $certificate_db) . '<br>' . SHIPPING . '<br>' . $missing_config_shipping . '<br><br>' . $ship_text . PAYMENT . '<br>' . $missing_config_payment . '<br><br>' . $payment_text . SHIPPINGCOMMENT . '<br>' . SHIPPINGCOMMENT_HINT . '<br>' . xtc_draw_input_field('shippingcomment_input', $shipping_comment_text) . '<br><br>' . CAMPAIGNS . '<br>' . CAMPAIGNS_DESC . '<br>' . xtc_draw_pull_down_menu('campaign', $campaign_array, $campaign) . '<br><br>' . $article_filter . $brand_filter . $cat_filter . $minOrderDisplay . $this->displayExportKonfigs() . IDEALO_REALTIME_EXPORT_TEXT . '<br>' . REAL_TEXT . '<br><br>' . $realtime_link . '<br><br>' . xtc_draw_checkbox_field('hardReset', '', $checked = false) . IDEALO_TEXT_HARD_RESET_BUTTON_TEXT . '<br>' . IDEALO_TEXT_HARD_RESET_TEXT . '<br>' . xtc_button(IDEALO_TEXT_SOFT_RESET_BUTTON_TEXT) . '<font size="+1">*</font> ' . '<br>' . IDEALO_TEXT_SOFT_RESET_TEXT . '<br><br>' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=idealo_real')) . '<input id ="come_from" type="hidden" name="come_from" value="' . $_SERVER['HTTP_REFERER'] . '"> <br><br>' . EXPORT . '<br><br>' . TEXT_WARANTY_IDEALO_REALTIME);
 }
 function display()
 {
     global $UseGoogle;
     $campaign_array = array(array('id' => '', 'text' => TEXT_NONE));
     $campaign_query = xtc_db_query("select campaigns_name, campaigns_refID from " . TABLE_CAMPAIGNS . " order by campaigns_id");
     $PSMFound = false;
     while ($campaign = xtc_db_fetch_array($campaign_query)) {
         $campaign_array[] = array('id' => 'refID=' . $campaign['campaigns_refID'] . '&', 'text' => $campaign['campaigns_name']);
         $PSMFound |= $campaign['campaigns_refID'] == "psm";
     }
     if (!$PSMFound) {
         xtc_db_query("INSERT INTO " . TABLE_CAMPAIGNS . " VALUES (NULL, 'Preissuchmaschine (automatisch)', 'psm', '0', NOW(), NOW())");
         $campaign_array[] = array('id' => 'refID=psm&', 'text' => "Preissuchmaschine (automatisch)");
     }
     return array('text' => '<br>' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . MODULE_PREISSUCHMASCHINE_EXPORT_LINK . MODULE_PREISSUCHMASCHINE_FILE . '<br><br>' . MODULE_PREISSUCHMASCHINE_EXPORT_LINK_SEND . MODULE_PREISSUCHMASCHINE_CAMPAIGNS . '<br>' . MODULE_PREISSUCHMASCHINE_CAMPAIGNS_DESC . xtc_draw_pull_down_menu('campaign', $campaign_array, 'refID=psm&') . '<br>' . MODULE_PREISSUCHMASCHINE_psmgoogleHeader . '<br>' . MODULE_PREISSUCHMASCHINE_psmgoogle_DESC . '<br>' . xtc_draw_radio_field('psmgoogle', 'no', !$UseGoogle) . MODULE_PREISSUCHMASCHINE_psmgoogle_NO . '<br>' . xtc_draw_radio_field('psmgoogle', 'yes', $UseGoogle) . MODULE_PREISSUCHMASCHINE_psmgoogle_YES . '<br><br>' . MODULE_PREISSUCHMASCHINE_EXPORT_TYPE . '<br>' . MODULE_PREISSUCHMASCHINE_EXPORT . '<br>' . xtc_draw_radio_field('export', 'no', true) . MODULE_PREISSUCHMASCHINE_EXPORT_NO . '<br>' . xtc_draw_radio_field('export', 'yes', false) . MODULE_PREISSUCHMASCHINE_EXPORT_YES . '<br><br>' . str_replace("Exportieren", "Produkte aktualisieren", xtc_button(BUTTON_EXPORT)) . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=preissuchmaschine')));
 }
示例#13
0
 function display()
 {
     /* Auswahl Kundengruppe vorbeiten */
     $customers_statuses_array = xtc_get_customers_statuses();
     /* Auswahl Währung vorbereiten */
     $curr = '';
     $currencies = xtc_db_query("SELECT code FROM " . TABLE_CURRENCIES . " ORDER BY currencies_id DESC");
     while ($currencies_data = xtc_db_fetch_array($currencies)) {
         $curr .= xtc_draw_radio_field('currencies', $currencies_data['code'], true) . $currencies_data['code'] . '<br>';
     }
     /* Auswahl Sprachen vorbereiten (ich)*/
     $lang = '';
     $languages = xtc_db_query("SELECT languages_id, name FROM " . TABLE_LANGUAGES . " ORDER BY sort_order ASC");
     while ($languages_data = xtc_db_fetch_array($languages)) {
         $lang .= xtc_draw_radio_field('languages_id', $languages_data['languages_id'], true) . $languages_data['name'] . '<br>';
     }
     /* Auswahl Kampagnen vorbereiten */
     $campaign_array = array(array('id' => '', 'text' => TEXT_NONE));
     $campaign_query = xtc_db_query("select campaigns_name, campaigns_refID from " . TABLE_CAMPAIGNS . " order by campaigns_id");
     while ($campaign = xtc_db_fetch_array($campaign_query)) {
         $campaign_array[] = array('id' => 'refID=' . $campaign['campaigns_refID'] . '&', 'text' => $campaign['campaigns_name']);
     }
     /* Ausgabe */
     return array('text' => EXPORT_STATUS_TYPE . '<br>' . EXPORT_STATUS . '<br>' . xtc_draw_pull_down_menu('status', $customers_statuses_array, '1') . '<br>' . LANGUAGE . '<br>' . LANGUAGE_DESC . '<br>' . $lang . CURRENCY . '<br>' . CURRENCY_DESC . '<br>' . $curr . CAMPAIGNS . '<br>' . CAMPAIGNS_DESC . '<br>' . xtc_draw_pull_down_menu('campaign', $campaign_array) . '<br>' . EXPORT_TYPE . '<br>' . EXPORT . '<br>' . xtc_draw_radio_field('export', 'no', false) . EXPORT_NO . '<br>' . xtc_draw_radio_field('export', 'yes', true) . EXPORT_YES . '<br>' . '<br>' . xtc_button(BUTTON_EXPORT) . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=billiger')) . '');
 }
        $manufacturers_description_more_string = '';
        $manufacturers_short_description_string = '';
        for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
            $manufacturers_description_string .= '<table width="600px"><tr><td class="infoBoxContent" width="1%" valign="top">' . xtc_image(DIR_WS_LANGUAGES . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image'], $languages[$i]['name']) . '</td><td>' . xtc_draw_textarea_field('manufacturers_description[' . $languages[$i]['id'] . ']', 'soft', '70', '25', $manufacturers_description[$languages[$i]['id']] ? stripslashes($manufacturers_description[$languages[$i]['id']]) : xtc_get_manufacturers_description($mInfo->manufacturers_id, $languages[$i]['id']), 'style="width: 99%;"') . '</td></tr></table>';
            $manufacturers_description_more_string .= '<table width="600px"><tr><td class="infoBoxContent" width="1%" valign="top">' . xtc_image(DIR_WS_LANGUAGES . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image'], $languages[$i]['name']) . '</td><td>' . xtc_draw_textarea_field('manufacturers_description_more[' . $languages[$i]['id'] . ']', 'soft', '70', '25', $manufacturers_description_more[$languages[$i]['id']] ? stripslashes($manufacturers_description_more[$languages[$i]['id']]) : xtc_get_manufacturers_description_more($mInfo->manufacturers_id, $languages[$i]['id']), 'style="width: 99%;"') . '</td></tr></table>';
            $manufacturers_short_description_string .= '<table width="600px"><tr><td class="infoBoxContent" width="1%" valign="top">' . xtc_image(DIR_WS_LANGUAGES . $languages[$i]['directory'] . '/admin/images/' . $languages[$i]['image'], $languages[$i]['name']) . '</td><td>' . xtc_draw_textarea_field('manufacturers_short_description[' . $languages[$i]['id'] . ']', 'soft', '70', '25', $manufacturers_short_description[$languages[$i]['id']] ? stripslashes($manufacturers_short_description[$languages[$i]['id']]) : xtc_get_manufacturers_short_description($mInfo->manufacturers_id, $languages[$i]['id']), 'style="width: 99%;"') . '</td></tr></table>';
        }
        $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_DESC . $manufacturers_description_string);
        $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_MORE_DESC . $manufacturers_description_more_string);
        $contents[] = array('text' => '<br />' . TEXT_MANUFACTURERS_SHORT_DESC . $manufacturers_short_description_string);
        $contents[] = array('align' => 'center', 'text' => '<br />' . xtc_button(BUTTON_SAVE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id)));
        break;
    default:
        if (is_object($mInfo)) {
            $heading[] = array('text' => '<b>' . $mInfo->manufacturers_name . '</b>');
            $contents[] = array('align' => 'center', 'text' => xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_MANUFACTURERS, 'page=' . $_GET['page'] . '&mID=' . $mInfo->manufacturers_id . '&action=edit#edit-box')));
            $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . xtc_date_short($mInfo->date_added));
            if (xtc_not_null($mInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . xtc_date_short($mInfo->last_modified));
            }
            $contents[] = array('text' => '<br />' . xtc_info_image($mInfo->manufacturers_image, $mInfo->manufacturers_name, 200));
            $contents[] = array('text' => '<br />' . TEXT_PRODUCTS . ' ' . $mInfo->products_count);
        }
        break;
}
if (xtc_not_null($heading) && xtc_not_null($contents)) {
    echo '            <div class="col-md-3 col-sm-12 col-xs-12 pull-right edit-box-class">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </div>' . "\n";
    ?>
 function display()
 {
     //Array für max. Bilder pro Seitenreload
     $max_array = array(array('id' => '5', 'text' => '5'));
     $max_array[] = array('id' => '10', 'text' => '10');
     $max_array[] = array('id' => '15', 'text' => '15');
     $max_array[] = array('id' => '20', 'text' => '20');
     $max_array[] = array('id' => '50', 'text' => '50');
     return array('text' => xtc_draw_hidden_field('process', 'module_processing_do') . xtc_draw_hidden_field('max_images1', '5') . IMAGE_EXPORT_TYPE . '<br />' . IMAGE_EXPORT . '<br />' . '<br />' . xtc_draw_pull_down_menu('max_datasets', $max_array, '5') . ' ' . TEXT_MAX_IMAGES . '<br />' . '<br />' . xtc_draw_checkbox_field('only_missing_images', '1', false) . ' ' . TEXT_ONLY_MISSING_IMAGES . '<br />' . '<br />' . xtc_button(BUTTON_START) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=image_processing_step')));
 }
示例#16
0
 public function display()
 {
     $tools = new idealo_csv_tools();
     $missing_config_db = $tools->getConfigurationValue('MODULE_IDEALO_CSV_MISSING_CONFIG');
     $missing_config_file = '';
     $missing_config_separator = '';
     $missing_config_separator_to_long = '';
     $missing_config_shipping = '';
     $missing_config_payment = '';
     $missing_config_costs_idealo_DE_active = '';
     $missing_config_costs_idealo_DE_active = '';
     $missing_config_format_idealo_AT_shipping = '';
     $missing_config_format_idealo_AT_shipping = '';
     if ($missing_config_db != '') {
         if (strpos($missing_config_db, "file") !== false) {
             $missing_config_file = IDEALO_TEXT_MISSING_CONFIG;
         }
         if (strpos($missing_config_db, "separator") !== false) {
             $missing_config_separator = IDEALO_TEXT_MISSING_SEPARATOR . '<br><br>';
         }
         if (strpos($missing_config_db, "to_long") !== false) {
             $missing_config_separator_to_long = IDEALO_TEXT_MISSING_SEPARATOR_TO_LONG . '<br><br>';
         }
         if (strpos($missing_config_db, "shipping") !== false && strpos($missing_config_db, "shippingDE") === false) {
             $missing_config_shipping = IDEALO_TEXT_MISSING_SHIPPING;
         }
         if (strpos($missing_config_db, "payment") !== false) {
             $missing_config_payment = IDEALO_TEXT_MISSING_PAYMENT;
         }
         if (strpos($missing_config_db, "idealo_DE_active") !== false) {
             $missing_config_costs_idealo_DE_active = IDEALO_TEXT_MISSING_COSTS_IDEALO_DE;
         }
         if (strpos($missing_config_db, "idealo_AT_active") !== false) {
             $missing_config_costs_idealo_AT_active = IDEALO_TEXT_MISSING_COSTS_IDEALO_DE;
         }
         if (strpos($missing_config_db, "shippingDElenght") !== false || strpos($missing_config_db, "shippingDEone") !== false) {
             $missing_config_format_idealo_DE_shipping = '<font color="#FF0000"><b>* ' . IDEALO_TEXT_WRONG_COSTS_FORMAT_DE . '</b></font>';
         }
         if (strpos($missing_config_db, "shippingATlenght") !== false || strpos($missing_config_db, "shippingATone") !== false) {
             $missing_config_format_idealo_AT_shipping = '<font color="#FF0000"><b>* ' . IDEALO_TEXT_WRONG_COSTS_FORMAT_AT . '</b></font>';
         }
     }
     $button_text = 'Exportieren';
     $customers_statuses_array = xtc_get_customers_statuses();
     $ship_text = '';
     $tools->getShipping();
     $this->shipping = $tools->shipping;
     foreach ($this->shipping as $ship) {
         if ($ship['country'] == 'DE') {
             $ship_text .= $this->getDisplayShip($ship, $missing_config_costs_idealo_DE_active, $missing_config_format_idealo_DE_shipping);
         }
         if ($ship['country'] == 'AT') {
             $ship_text .= $this->getDisplayShip($ship, $missing_config_costs_idealo_AT_active, $missing_config_format_idealo_AT_shipping);
         }
     }
     $payment_text = '';
     $tools->getPayment();
     $this->payment = $tools->payment;
     foreach ($this->payment as $payment) {
         $payment_text .= $this->getDisplayPayment($payment);
     }
     $article_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $article_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $article_filter = IDEALO_CSV_ARTICLE_FILTER . '<br>' . IDEALO_CSV_ARTICLE_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('article_filter', $article_filter_array, $tools->getConfigurationValue('MODULE_IDEALO_CSV_ARTICLE_FILTER')) . '<br><br>' . IDEALO_CSV_ARTICLE_FILTER_TEXT . '<br>' . xtc_draw_input_field('article_filter_value', $tools->getConfigurationValue('MODULE_IDEALO_CSV_ARTICLE_FILTER_VALUE')) . '<br><br>';
     $brand_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $brand_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $brand_filter = IDEALO_CSV_BRAND_FILTER . '<br>' . IDEALO_CSV_BRAND_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('brand_filter', $brand_filter_array, $tools->getConfigurationValue('MODULE_IDEALO_CSV_BRAND_FILTER')) . '<br><br>' . IDEALO_CSV_BRAND_FILTER_TEXT . '<br>' . xtc_draw_input_field('brand_filter_value', $tools->getConfigurationValue('MODULE_IDEALO_CSV_BRAND_FILTER_VALUE')) . '<br><br>';
     $cat_filter_array[] = array('id' => 'filter', 'text' => 'filtern');
     $cat_filter_array[] = array('id' => 'export', 'text' => 'exportieren');
     $cat_filter = IDEALO_CSV_CAT_FILTER . '<br>' . IDEALO_CSV_CAT_FILTER_SELECTION . '<br>' . xtc_draw_pull_down_menu('cat_filter', $cat_filter_array, $tools->getConfigurationValue('MODULE_IDEALO_CSV_CAT_FILTER')) . '<br><br>' . IDEALO_CSV_CAT_FILTER_TEXT . '<br>' . xtc_draw_input_field('cat_filter_value', $tools->getConfigurationValue('MODULE_IDEALO_CSV_CAT_FILTER_VALUE')) . '<br><br>';
     $tools->getMinorderValues();
     $minOrderDisplay = IDEALO_CSV_MIN_ORDER_TITLE . '<br><br>' . IDEALO_CSV_MIN_ORDER_VALUE . '<br>' . xtc_draw_input_field('idealo_csv_minOrder_input', $tools->minOrder) . '<br>' . IDEALO_CSV_MIN_ORDER_TEXT . '<br><br>' . IDEALO_CSV_MIN_EXTRA_COSTS . '<br>' . xtc_draw_input_field('idealo_csv_minOrderPrice_input', $tools->minOrderPrice) . '<br>' . IDEALO_CSV_MIN_ORDER_PRICE_TEXT . '<br>' . IDEALO_CSV_MIN_ORDER_BORDER_VALUE . '<br>' . xtc_draw_input_field('idealo_csv_minOrderBorder_input', $tools->minorderBorder) . '<br>' . IDEALO_CSV_MIN_ORDER_BORDER_TEXT;
     return array('text' => $missing_config_file . '<br>' . FIELDSEPARATOR . '<br>' . FIELDSEPARATOR_HINT_IDEALO . '<br>' . xtc_draw_small_input_field('idealo_csv_separator_input', IDEALO_CSV_SEPARATOR) . '<br><br>' . $missing_config_separator . $missing_config_separator_to_long . QUOTING . '<br>' . QUOTING_HINT . '<br><br>' . xtc_draw_small_input_field('idealo_csv_quoting_input', IDEALO_CSV_QUOTECHAR) . '<br><br>' . SHIPPING . '<br>' . $missing_config_shipping . '<br><br>' . $ship_text . SHIPPINGCOMMENT . '<br>' . SHIPPINGCOMMENT_HINT . '<br>' . xtc_draw_input_field('shippingcomment_input', $tools->getConfigurationValue('MODULE_IDEALO_CSV_SHIPPINGCOMMENT')) . '<br><br>' . PAYMENT . '<br>' . $missing_config_payment . '<br><br>' . $payment_text . $article_filter . $brand_filter . $cat_filter . $minOrderDisplay . '<br><br>' . $this->displayExportKonfigs() . IDEALO_CSV_EXPORT_TEXT . xtc_button(BUTTON_EXPORT) . '<font size="+1">*</font> ' . '<input id ="export" type="hidden" name="export" value="yes">' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=idealo')) . EXPORT . '<br><br>' . TEXT_WARANTY_IDEALO_CSV);
 }
示例#17
0
    ?>
            
            </form>
 
        <?php 
} elseif ($_GET['content'] == 'check_uninstall') {
    echo MODULE_EM_UNINSTALL_TEXT . '<br /><br />';
    echo xtc_button_link(MODULE_EM_YES_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=uninstall')) . ' ' . xtc_button_link(MODULE_EM_NO_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=stop_uninstall'));
} elseif ($_GET['content'] == 'check_google_site_verification') {
    echo MODULE_EM_PEFORM_GOOGLE_SITE_VERIFICATION_TEXT . '<br /><br />';
    echo xtc_button_link(MODULE_EM_YES_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=perform_google_site_verification')) . ' ' . xtc_button_link(MODULE_EM_NO_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=overview'));
} else {
    echo '<div style="border:1px solid #ccc; padding:15px;">';
    if ($coo_easymarketing_manager->check() == false) {
        echo MODULE_EM_INSTALL_TEXT;
        echo xtc_button_link(MODULE_EM_INSTALL_BUTTON, xtc_href_link('easymarketing.php', xtc_get_all_get_params(array('content')) . 'content=install'));
    } else {
        echo $coo_easymarketing_manager->displaySettings();
    }
    echo '</div>';
}
?>
     
      </span>
      
      <br />
      
      <small><i>Modul Version v2.0.2</i></small>
    </td>
<!-- body_text_eof //-->
  </tr>
 function display()
 {
     $customers_statuses_array = xtc_get_customers_statuses();
     // build Currency Select
     $curr = '';
     $currencies = xtc_db_query("SELECT code FROM " . TABLE_CURRENCIES);
     while ($currencies_data = xtc_db_fetch_array($currencies)) {
         $curr .= xtc_draw_radio_field('currencies', $currencies_data['code'], true) . $currencies_data['code'] . '<br />';
     }
     $campaign_array = array(array('id' => '', 'text' => TEXT_NONE));
     $campaign_query = xtc_db_query("select campaigns_name, campaigns_refID from " . TABLE_CAMPAIGNS . " order by campaigns_id");
     while ($campaign = xtc_db_fetch_array($campaign_query)) {
         $campaign_array[] = array('id' => 'refID=' . $campaign['campaigns_refID'] . '&', 'text' => $campaign['campaigns_name']);
     }
     return array('text' => EXPORT_STATUS_TYPE . '<br />' . EXPORT_STATUS . '<br />' . xtc_draw_pull_down_menu('status', $customers_statuses_array, '1') . '<br />' . CURRENCY . '<br />' . CURRENCY_DESC . '<br />' . $curr . CAMPAIGNS . '<br />' . CAMPAIGNS_DESC . '<br />' . xtc_draw_pull_down_menu('campaign', $campaign_array) . '<br />' . EXPORT_TYPE . '<br />' . EXPORT . '<br />' . xtc_draw_radio_field('export', 'no', false) . EXPORT_NO . '<br />' . xtc_draw_radio_field('export', 'yes', true) . EXPORT_YES . '<br />' . '<br />' . xtc_button(BUTTON_EXPORT) . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_MODULE_EXPORT, 'set=' . $_GET['set'] . '&module=preisauskunft')));
 }
        }
        $contents[] = array('text' => '<table width="100%"><tr><td class="infoBoxContent" width="100%" valign="top">' . TEXT_IMAGESLIDERS_DESCRIPTION . '</td></tr></table>' . $imageslider_description_string);
        $contents[] = array('align' => 'right', 'text' => '<br />' . xtc_button(BUTTON_SAVE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_IMAGESLIDERS, 'page=' . $_GET['page'] . '&iID=' . $iInfo->imagesliders_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<b>' . TEXT_HEADING_DELETE_IMAGESLIDER . '</b>');
        $contents = array('form' => xtc_draw_form('imagesliders', FILENAME_IMAGESLIDERS, 'page=' . $_GET['page'] . '&iID=' . $iInfo->imagesliders_id . '&action=deleteconfirm'));
        $contents[] = array('text' => TEXT_DELETE_INTRO);
        $contents[] = array('text' => '<br /><b>' . $iInfo->imagesliders_name . '</b>');
        $contents[] = array('text' => '<br />' . xtc_draw_checkbox_field('delete_image', '', true) . ' ' . TEXT_DELETE_IMAGE);
        $contents[] = array('align' => 'left', 'text' => '<br />' . xtc_button(BUTTON_DELETE) . '&nbsp;' . xtc_button_link(BUTTON_CANCEL, xtc_href_link(FILENAME_IMAGESLIDERS, 'page=' . $_GET['page'] . '&iID=' . $iInfo->imagesliders_id)));
        break;
    default:
        if (is_object($iInfo)) {
            $heading[] = array('text' => '<b>' . $iInfo->imagesliders_name . '</b>');
            $contents[] = array('align' => 'left', 'text' => xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_IMAGESLIDERS, 'page=' . $_GET['page'] . '&iID=' . $iInfo->imagesliders_id . '&action=edit')) . '&nbsp;' . xtc_button_link(BUTTON_DELETE, xtc_href_link(FILENAME_IMAGESLIDERS, 'page=' . $_GET['page'] . '&iID=' . $iInfo->imagesliders_id . '&action=delete')));
            $contents[] = array('text' => '<br />' . TEXT_DATE_ADDED . ' ' . xtc_date_short($iInfo->date_added));
            if (xtc_not_null($iInfo->last_modified)) {
                $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . xtc_date_short($iInfo->last_modified));
            }
            $contents[] = array('text' => '<br />' . xtc_get_imageslider_image($iInfo->imagesliders_id, $languages[$i]['id']));
        }
        break;
}
if (xtc_not_null($heading) && xtc_not_null($contents)) {
    //if ($_GET['action'] == 'new' || $_GET['action'] == 'edit') {
    echo '           </tr><tr><td valign="top">' . "\n";
    //} else {
    //  echo '           <td width="25%" valign="top">' . "\n";
    //}
    $box = new box();