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

                <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-vraag-experts"><?php esc_html_e('Ask our experts', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-vraag-experts"
                    name="eurostocks[txt_experts]" value="<?php echo esc_html($txt_experts); ?>" />

                  <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-vraag-experts"><?php esc_html_e('Ask our experts', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-vraag-experts"
                      name="eurostocks[<?php echo esc_html($lang); ?>][txt_experts]" value="<?php echo esc_html($txt_experts_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-html_experts"><?php esc_html_e('Experts (HTML)', 'eurostocks'); ?></label>
                  <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-html_experts"
                    name="eurostocks[html_experts]"><?php echo wp_kses_post($html_experts, array('a', 'span', 'div')); ?></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-html_experts"><?php esc_html_e('Experts (HTML)', 'eurostocks'); ?></label>
                    <textarea rows="4" class="regular-text input textinput" type="text" id="eurostocks-html_experts"
                      name="eurostocks[<?php echo esc_html($lang); ?>][html_experts]"><?php echo wp_kses_post($html_experts_e[esc_html($lang)], array('a', 'span', 'div')); ?></textarea>

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

                <h3><?php esc_html_e('Expert 1', '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-experts_one_img"><?php esc_html_e('Image', 'eurostocks'); ?></label>
                  <?php if ($experts_one_img = wp_get_attachment_image_url($experts_one_img_id, 'medium')): ?>
                    <a href="#" class="experts_one_img-media-upload">
                      <img src="<?php echo esc_url($experts_one_img) ?>" />
                    </a>


                    <a href="#"
                      class="eurostocks-media-remove"><?php esc_html_e('Delete expert image 1', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[experts_one_img]"
                      value="<?php echo esc_html(absint($experts_one_img_id)) ?>">
                  <?php else: ?>
                    <a href="#"
                      class="button experts_one_img-media-upload"><?php esc_html_e('Upload expert image 1', 'eurostocks'); ?></a>
                    <a href="#" class="eurostocks-media-remove"
                      style="display:none"><?php esc_html_e('Delete image', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[experts_one_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-expert-one-name"><?php esc_html_e('Name', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-name"
                    name="eurostocks[experts_one_name]" value="<?php echo esc_html($experts_one_name); ?>" />

                  <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-expert-one-name"><?php esc_html_e('Name', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-name"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_one_name]" value="<?php echo esc_html($experts_one_name_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-expert-one-function"><?php esc_html_e('Job title', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-function"
                    name="eurostocks[experts_one_function]" value="<?php echo esc_html($experts_one_function); ?>" />

                  <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-expert-one-function"><?php esc_html_e('Job title', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-function"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_one_function]" value="<?php echo esc_html($experts_one_function_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-expert-one-tel"><?php esc_html_e('Tel', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-tel"
                    name="eurostocks[experts_one_tel]" value="<?php echo esc_html($experts_one_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-expert-one-tel"><?php esc_html_e('Tel', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-tel"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_one_tel]" value="<?php echo esc_html($experts_one_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-expert-one-mail"><?php esc_html_e('Mail', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-tel"
                    name="eurostocks[experts_one_mail]" value="<?php echo esc_html($experts_one_mail); ?>" />

                  <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-expert-one-mail"><?php esc_html_e('Mail', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-one-mail"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_one_mail]" value="<?php echo esc_html($experts_one_mail_e[esc_html($lang)]); ?>" />

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

                <h3>Expert 2</h3>
                <p>
                  <label for="eurostocks-experts_two_img"><?php esc_html_e('Image', 'eurostocks'); ?></label>
                  <?php if ($experts_two_img = wp_get_attachment_image_url($experts_two_img_id, 'medium')): ?>
                    <a href="#" class="experts_two_img-media-upload">
                      <img src="<?php echo esc_url($experts_two_img) ?>" />
                    </a>

                    <a href="#"
                      class="eurostocks-media-remove"><?php esc_html_e('Delete image', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[experts_two_img]"
                      value="<?php echo esc_html(absint($experts_two_img_id)) ?>">
                  <?php else: ?>
                    <a href="#"
                      class="button experts_two_img-media-upload"><?php esc_html_e('Upload expert image 2', 'eurostocks'); ?></a>
                    <a href="#" class="eurostocks-media-remove"
                      style="display:none"><?php esc_html_e('Delete image', 'eurostocks'); ?></a>
                    <input type="hidden" name="eurostocks[experts_two_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-expert-two-name"><?php esc_html_e('Name', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-name"
                    name="eurostocks[experts_two_name]" value="<?php echo esc_html($experts_two_name); ?>" />

                  <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-expert-two-name"><?php esc_html_e('Name', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-name"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_two_name]" value="<?php echo esc_html($experts_two_name_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-expert-two-function"><?php esc_html_e('Job title', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-function"
                    name="eurostocks[experts_two_function]" value="<?php echo esc_html($experts_two_function); ?>" />

                  <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-expert-two-function"><?php esc_html_e('Job title', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-function"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_two_function]" value="<?php echo esc_html($experts_two_function_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-expert-two-tel"><?php esc_html_e('Tel', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-tel"
                    name="eurostocks[experts_two_tel]" value="<?php echo esc_html($experts_two_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-expert-two-tel"><?php esc_html_e('Tel', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-tel"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_two_tel]" value="<?php echo esc_html($experts_two_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-expert-two-mail"><?php esc_html_e('Mail', 'eurostocks'); ?></label>
                  <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-tel"
                    name="eurostocks[experts_two_mail]" value="<?php echo esc_html($experts_two_mail); ?>" />

                  <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-expert-two-mail"><?php esc_html_e('Mail', 'eurostocks'); ?></label>
                    <input class="regular-text input textinput" type="text" id="eurostocks-expert-two-mail"
                      name="eurostocks[<?php echo esc_html($lang); ?>][experts_two_mail]" value="<?php echo esc_html($experts_two_mail_e[esc_html($lang)]); ?>" />

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

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