

<div class="meta-box-holder">
            <div class="euro-postbox">
              <div class="eurostocks-admin-header">
                <h2><?php esc_html_e('Content', 'eurostocks'); ?></h2>
              </div>

              <div class="euro-inside">

                <h3>
                  <p>
                    <?php esc_html_e('Search and filter page', 'eurostocks'); ?>
                </h3>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-srch"><?php esc_html_e('Search text (HTML)', 'eurostocks'); ?></label>
                <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt-srch"
                  name="eurostocks[txt_srch]"><?php echo esc_html($txt_srch); ?></textarea>

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-srch"><?php esc_html_e('Search text (HTML)', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt-srch"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_srch]"><?php echo esc_html($txt_srch_e[esc_html($lang)]); ?></textarea>

                  <br><br>
                <?php
                }
                ?>
                </p>


                <p>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-make"><?php esc_html_e('Make', 'eurostocks'); ?></label>
                <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-make"
                  name="eurostocks[txt_make]" value="<?php echo esc_html($txt_make); ?>">

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-make"><?php esc_html_e('Make', 'eurostocks'); ?></label>
                  <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-make"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_make]" value="<?php echo esc_html($txt_make_e[esc_html($lang)]); ?>">

                  <br><br>
                <?php
                }
                ?>
                </p>

                <p>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-select-make"><?php esc_html_e('Select make', 'eurostocks'); ?></label>
                <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-select-make"
                  name="eurostocks[txt_select_make]" value="<?php echo esc_html($txt_select_make); ?>">

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-select-make"><?php esc_html_e('Select make', 'eurostocks'); ?></label>
                  <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-select-make"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_select_make]" value="<?php echo esc_html($txt_select_make_e[esc_html($lang)]); ?>">

                  <br><br>
                <?php
                }
                ?>
                </p>

                <p>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-model"><?php esc_html_e('Model', 'eurostocks'); ?></label>
                <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-model"
                  name="eurostocks[txt_model]" value="<?php echo esc_html($txt_model); ?>">

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-model"><?php esc_html_e('Model', 'eurostocks'); ?></label>
                  <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-model"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_model]" value="<?php echo esc_html($txt_model_e[esc_html($lang)]); ?>">

                  <br><br>
                <?php
                }
                ?>
                </p>

                <p>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-select-model"><?php esc_html_e('Select model', 'eurostocks'); ?></label>
                <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-select-model"
                  name="eurostocks[txt_select_model]" value="<?php echo esc_html($txt_select_model); ?>"></textarea>

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-select-model"><?php esc_html_e('Select model', 'eurostocks'); ?></label>
                  <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-select-model"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_select_model]" value="<?php echo esc_html($txt_select_model_e[esc_html($lang)]); ?>">

                  <br><br>
                <?php
                }
                ?>
                </p>


                <h3><?php esc_html_e('Search page', 'eurostocks'); ?></h3>

         


                <p><?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-srch-txt-btn"><?php esc_html_e('button search in x cars', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt-srch-btn"
                    name="eurostocks[txt_srch_btn]" value="<?php echo esc_html($txt_srch_btn); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-srch-txt-btn"><?php esc_html_e('button search in x cars', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt-srch-btn"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_srch_btn]" value="<?php echo esc_html($txt_srch_btn_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>

                </p>

                <h3><?php esc_html_e('Filter page', 'eurostocks'); ?></h3>

                <p>
                <?php if ($show_lang) { ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                <?php } ?>
                <label for="eurostocks-txt-priceonrequest"><?php esc_html_e('Price on request', 'eurostocks'); ?></label>
                <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-priceonrequest"
                  name="eurostocks[txt_priceonrequest]" value="<?php echo esc_html($txt_priceonrequest); ?>">

                <br><br>

                <?php

                foreach ($accepted_langs as $lang) {
                ?>
                  <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                    alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt-priceonrequest"><?php esc_html_e('Price on request', 'eurostocks'); ?></label>
                  <input type="text" class="regular-text input textinput" type="text" id="eurostocks-txt-priceonrequest"
                    name="eurostocks[<?php echo esc_html($lang); ?>][txt_priceonrequest]" value="<?php echo esc_html($txt_priceonrequest_e[esc_html($lang)]); ?>">

                  <br><br>
                <?php
                }
                ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-fav-opt-title"><?php esc_html_e('Label title favorite options', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-fav-opt-title"
                    name="eurostocks[fav_opt_title]" value="<?php echo esc_html($fav_opt_title); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-fav-opt-title"><?php esc_html_e('Label title favorite options', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-fav-opt-title"
                      name="eurostocks[<?php echo esc_html($lang); ?>][fav_opt_title]" value="<?php echo esc_html($fav_opt_title_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-nonfav-opt-title"><?php esc_html_e('Label title other options', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-nonfav-opt-title"
                    name="eurostocks[nonfav_opt_title]" value="<?php echo esc_html($nonfav_opt_title); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-nonfav-opt-title"><?php esc_html_e('Label title other options', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-nonfav-opt-title"
                      name="eurostocks[<?php echo esc_html($lang); ?>][nonfav_opt_title]" value="<?php echo esc_html($nonfav_opt_title_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-srch-title"><?php esc_html_e('Search title (Variables: {merk}, {model}, {aantal}', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-srch-title"
                    name="eurostocks[txt_search_title]" value="<?php echo esc_html($txt_search_title); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-srch-title"><?php esc_html_e('Search title (Variables: {merk}, {model}, {aantal}', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-srch-title"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_search_title]" value="<?php echo esc_html($txt_search_title_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_search"><?php esc_html_e('Search description', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_search"
                    name="eurostocks[txt_search]"><?php echo esc_html($txt_search); ?></textarea>


                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_search"><?php esc_html_e('Search description', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_search"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_search]"><?php echo esc_html($txt_search_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>


                <br>
                <span for="eurostocks-txt_search_help_show">
                  <input id="eurostocks-txt_search_help_show" value="1" type="checkbox"
                    name="eurostocks[txt_search_help_show]" <?php checked($txt_search_help_show, 1); ?>> <?php esc_html_e('Show search description info icon', 'eurostocks'); ?>
                </span>
                <br>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_search_help"><?php esc_html_e('info icon tooltip text', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_search_help"
                    name="eurostocks[txt_search_help]"><?php echo esc_html($txt_search_help); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_search_help"><?php esc_html_e('info icon tooltip text', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_search_help"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_search_help]"><?php echo esc_html($txt_search_help_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <br>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-txt-btn"><?php esc_html_e('button request quote text', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt-btn"
                    name="eurostocks[txt_btn]" value="<?php echo esc_html($txt_btn); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-txt-btn"><?php esc_html_e('button request quote text', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt-btn"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_btn]" value="<?php echo esc_html($txt_btn_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <br><br>





                <!-- only if grid view is enabled -->
                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-txt-price-help"><?php esc_html_e('Price info text', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt-price-help"
                    name="eurostocks[txt_price_help]" value="<?php echo esc_html($txt_price_help); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-txt-price-help"><?php esc_html_e('Price info text', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt-price-help"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_price_help]" value="<?php echo esc_html($txt_price_help_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>
                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-txt-price-help2"><?php esc_html_e('Price info text no vat', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt-price-help2"
                    name="eurostocks[txt_price_helpp]" value="<?php echo esc_html($txt_price_helpp); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-txt-price-help2"><?php esc_html_e('Price info text no vat', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt-price-help2"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_price_helpp]" value="<?php echo esc_html($txt_price_helpp_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>
                <!-- END only if grid view is enabled -->

                <br>


                <p>
                  <?php if ($replacement_img = wp_get_attachment_image_url($replacement_img_id, 'medium')): ?>
                    <label><?php esc_html_e('Show an image as the last result on each page with a call-to-action', 'eurostocks'); ?></label>
                    <span>
                      <a href="#" class="eurostocks-media-upload">
                        <img src="<?php echo esc_url($replacement_img) ?>" />
                      </a>
                      <a href="#" class="eurostocks-media-remove">Delete CTA</a>
                      <input type="hidden" name="eurostocks[replacement_img]"
                        value="<?php echo esc_html(absint($replacement_img_id)) ?>">
                    </span>
                  <?php else: ?>
                    <label><?php esc_html_e('Show an image as the last result on each page with a call-to-action', 'eurostocks'); ?></label>
                    <span>
                      <a href="#" class="button eurostocks-media-upload">Upload CTA</a>
                      <a href="#" class="eurostocks-media-remove" style="display:none">Remove image</a>
                      <input type="hidden" name="eurostocks[replacement_img]" value="">
                    </span>
                  <?php endif; ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta-url"><?php esc_html_e('CTA url (leave empty to pop-up contact form modal)', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-cta-url"
                    name="eurostocks[cta_url]" value="<?php echo esc_url($cta_url); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta-url"><?php esc_html_e('CTA url (leave empty to pop-up contact form modal)', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-cta-url"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_url]" value="<?php echo esc_url($cta_url_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>



                <br><br>
                <h3><?php esc_html_e('Detail page', 'eurostocks'); ?></h3>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-details-top-text"><?php esc_html_e('Details top text (variables {brand} and {model})', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-details-top-text"
                    name="eurostocks[details_top_txt]"><?php echo esc_html($details_top_txt); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-details-top-text"><?php esc_html_e('Details top text (variables {brand} and {model})', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-details-top-text"
                      name="eurostocks[<?php echo esc_html($lang); ?>][details_top_txt]"><?php echo esc_html($details_top_txt_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>


                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-txt-btn-product"><?php esc_html_e('button request quote text - detail page', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt-btn-product"
                    name="eurostocks[txt_btn_product]" value="<?php echo esc_html($txt_btn_product); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-txt-btn-product"><?php esc_html_e('button request quote text - detail page', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt-btn-product"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_btn_product]" value="<?php echo esc_html($txt_btn_product_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

              

                <p>
                  <?php if($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta_tel"><?php esc_html_e('CTA Call us', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-cta_tel"
                    name="eurostocks[cta_tel]" value="<?php echo esc_html($cta_tel); ?>" />
                  <br><br>
                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta_tel"><?php esc_html_e('CTA Call us', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-cta_tel"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_tel]" value="<?php echo esc_html($cta_tel_e[esc_html($lang)]); ?>" />
                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta_fav"><?php esc_html_e('CTA Add to favorites', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-cta_fav"
                    name="eurostocks[cta_fav]" value="<?php echo esc_html($cta_fav); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta_fav"><?php esc_html_e('CTA Add to favorites', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-cta_fav"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_fav]" value="<?php echo esc_html($cta_fav_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>
               
                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta_fav_fav"><?php esc_html_e('CTA Add to favorites', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-cta_fav_fav"
                    name="eurostocks[cta_fav_fav]" value="<?php echo esc_html($cta_fav_fav); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta_fav_fav"><?php esc_html_e('CTA Add to favorites', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-cta_fav_fav"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_fav_fav]" value="<?php echo esc_html($cta_fav_fav_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>
               
              

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta_app"><?php esc_html_e('CTA App us', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-cta_app"
                    name="eurostocks[cta_app]" value="<?php echo esc_html($cta_app); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta_app"><?php esc_html_e('CTA App us', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-cta_app"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_app]" value="<?php echo esc_html($cta_app_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-cta_app_app"><?php esc_html_e('Default app textmessage {{url}} wil be replaced with the viewed page.', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-cta_app_app"
                    name="eurostocks[cta_app_app]"><?php echo esc_html($cta_app_app); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-cta_app_app"><?php esc_html_e('Default app textmessage {{url}} wil be replaced with the viewed page.', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-cta_app_app"
                      name="eurostocks[<?php echo esc_html($lang); ?>][cta_app_app]"><?php echo esc_html($cta_app_app_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-offerte_title"><?php esc_html_e('Free quote info modal title', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-offerte_title"
                    name="eurostocks[offerte_title]" value="<?php echo esc_html($offerte_title); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-offerte_title"><?php esc_html_e('Free quote info modal title', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-offerte_title"
                      name="eurostocks[<?php echo esc_html($lang); ?>][offerte_title]" value="<?php echo esc_html($offerte_title_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>


                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label
                    for="eurostocks-offerte_txt"><?php esc_html_e('Free quote info modal (HTML)', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-offerte_txt"
                    name="eurostocks[offerte_txt]"><?php echo esc_html($offerte_txt); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label
                      for="eurostocks-offerte_txt"><?php esc_html_e('Free quote info modal (HTML)', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-offerte_txt"
                      name="eurostocks[<?php echo esc_html($lang); ?>][offerte_txt]"><?php echo esc_html($offerte_txt_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>


                <br>
                <p>
                  <label for="eurostocks-top_footer_img"><?php esc_html_e('Image under the contact button', 'eurostocks'); ?></label>
                  <?php if ($top_footer_img_id = wp_get_attachment_image_url($top_footer_img, 'medium')): ?>
                    <a href="#" class="top_footer_img-media-upload">
                      <img src="<?php echo esc_url($top_footer_img_id) ?>" />
                    </a>

                    <a href="#"
                      class="eurostocks-media-remove"><?php esc_html_e('Delete footer image (reviews)', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[top_footer_img]"
                      value="<?php echo esc_html(absint($top_footer_img)) ?>">
                  <?php else: ?>
                    <a href="#"
                      class="button top_footer_img-media-upload"><?php esc_html_e('Upload Top footer img (reviews)', 'eurostocks'); ?></a>
                    <a href="#" class="eurostocks-media-remove"
                      style="display:none"><?php esc_html_e('Delete image', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[top_footer_img]" value="">
                  <?php endif; ?>
                </p>



                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_voordeel1"><?php esc_html_e('Advantage 1', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel1"
                    name="eurostocks[txt_voordeel1]" value="<?php echo esc_html($txt_voordeel1); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_voordeel1"><?php esc_html_e('Advantage 1', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel1"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_voordeel1]" value="<?php echo esc_html($txt_voordeel1_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_voordeel2"><?php esc_html_e('Advantage 2', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel2"
                    name="eurostocks[txt_voordeel2]" value="<?php echo esc_html($txt_voordeel2); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_voordeel2"><?php esc_html_e('Advantage 2', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel2"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_voordeel2]" value="<?php echo esc_html($txt_voordeel2_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_voordeel3"><?php esc_html_e('Advantage 3', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel3"
                    name="eurostocks[txt_voordeel3]" value="<?php echo esc_html($txt_voordeel3); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_voordeel3"><?php esc_html_e('Advantage 3', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel3"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_voordeel3]" value="<?php echo esc_html($txt_voordeel3_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_voordeel4"><?php esc_html_e('Advantage 4', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel4"
                    name="eurostocks[txt_voordeel4]" value="<?php echo esc_html($txt_voordeel4); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_voordeel4"><?php esc_html_e('Advantage 4', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_voordeel4"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_voordeel4]" value="<?php echo esc_html($txt_voordeel4_e[esc_html($lang)]); ?>" />

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-disclaimer"><?php esc_html_e('Disclaimer text', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-disclaimer"
                    name="eurostocks[txt_disclaimer]"><?php echo esc_html($txt_disclaimer); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-disclaimer"><?php esc_html_e('Disclaimer text', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-disclaimer"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_disclaimer]"><?php echo esc_html($txt_disclaimer_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-co2-disclaimer"><?php esc_html_e('Co2 Disclaimer text', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-co2-disclaimer"
                    name="eurostocks[txt_co2_disclaimer]"><?php echo esc_html($txt_co2_disclaimer); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-co2-disclaimer"><?php esc_html_e('Co2 Disclaimer text', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-co2-disclaimer"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_co2_disclaimer]"><?php echo esc_html($txt_co2_disclaimer_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-co2-disclaimer-fallback"><?php esc_html_e('Co2 Disclaimer text fallback', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-co2-disclaimer-fallback"
                    name="eurostocks[txt_co2_disclaimer_fallback]"><?php echo esc_html($txt_co2_disclaimer_fallback); ?></textarea>

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-co2-disclaimer-fallback"><?php esc_html_e('Co2 Disclaimer text fallback', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-co2-disclaimer-fallback"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_co2_disclaimer_fallback]"><?php echo esc_html($txt_co2_disclaimer_fallback_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                  <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_404_title"><?php esc_html_e('404 title', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_404_title"
                    name="eurostocks[txt_404_title]" value="<?php echo esc_html($txt_404_title); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_404_title"><?php esc_html_e('404 title', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_404_title"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_404_title]" value="<?php echo esc_html($txt_404_title_e[esc_html($lang)]); ?>" />

                    <br><br>
                    <?php
                  }
                  ?>
                  
                </p>

                <p>
                  <?php if ($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_404_btn"><?php esc_html_e('404 button text', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-txt_404_btn"
                    name="eurostocks[txt_404_btn]" value="<?php echo esc_html($txt_404_btn); ?>" />

                  <br><br>

                  <?php
                  foreach ($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>"
                      alt="<?php echo esc_html($lang); ?>" />
                      <label for="eurostocks-txt_404_btn"><?php esc_html_e('404 button text', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-txt_404_btn"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_404_btn]" value="<?php echo esc_html($txt_404_btn_e[esc_html($lang)]); ?>" />

                    <br><br>
                    <?php
                  }
                  ?>
                </p>

                <p>
                  <?php if($show_lang) { ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($default_lang) . '.png'; ?>" alt="<?php echo esc_html($lang); ?>" />
                  <?php } ?>
                  <label for="eurostocks-txt_404_txt"><?php esc_html_e('404 text', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_404_txt" name="eurostocks[txt_404_txt]"><?php echo esc_html($txt_404_txt); ?></textarea>

                  <br><br>

                  <?php
                  foreach($accepted_langs as $lang) {
                  ?>
                    <img style="display: inline;" src="<?php echo esc_url(plugins_url('../assets/', __FILE__)) .  esc_html($lang) . '.png'; ?>" alt="<?php echo esc_html($lang); ?>" />
                    <label for="eurostocks-txt_404_txt"><?php esc_html_e('404 text', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-txt_404_txt" name="eurostocks[<?php echo esc_html($lang); ?>][txt_404_txt]"><?php echo esc_html($txt_404_txt_e[esc_html($lang)]); ?></textarea>

                    <br><br>
                    <?php
                  }
                  ?>
                </p>


                <br>


                <?php submit_button(__('Save settings', 'eurostocks'), 'primary', 'submit', TRUE); ?>
              </div>
            </div>
          </div>
