<ul class="nav nav-tabs main_tabs">
    <li class="active"><a href="#tab-general<?php echo $store['store_id']; ?>" data-toggle="tab">General</a></li>
    <li><a href="#tab-productlabels<?php echo $store['store_id']; ?>" data-toggle="tab">Product labels</a></li>
    <li><a href="#tab-social<?php echo $store['store_id']; ?>" data-toggle="tab">Social accounts</a></li>
</ul>
<div class="tab-content">
<!-------------------------------------tab General---------------------------------->
<div class="tab-pane active" id="tab-general<?php echo $store['store_id']; ?>">
    <div class="form-group">
        <label class="col-sm-3 control-label">Copyright text in Footer:</label>
        <div class="col-sm-9">
            <ul class="nav nav-tabs" id="language-footer_copyright">
                <?php foreach ($languages as $language) : ?>
                <li class="<?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>"><a href="#language-footer_copyright<?php echo $language['language_id']; ?>" data-toggle="tab"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a></li>
                <?php endforeach; ?>
            </ul>
            <div class="tab-content">
                <?php foreach ($languages as $language) : ?>
                <div class="tab-pane <?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>" id="language-footer_copyright<?php echo $language['language_id']; ?>">
                    <input type="text" name="buyshop_general[<?php echo $language['language_id']; ?>][footer_copyright][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_general[$language['language_id']]['footer_copyright'][$store['store_id']]) ? $buyshop_general[$language['language_id']]['footer_copyright'][$store['store_id']] : ''); ?>" placeholder="Copyright:" id="footer_copyright" class="form-control" />
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-3 control-label" for="input-description-customblock<?php echo $language['language_id']; ?>-<?php echo $store['store_id']; ?>">
            Contact info in dropdown Footer:
        </label>
        <div class="col-sm-9">
            <ul class="nav nav-tabs" id="language-customblock">
                <?php foreach ($languages as $language) : ?>
                <li class="<?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>"><a href="#language-customblock<?php echo $language['language_id']; ?>-<?php echo $store['store_id']; ?>" data-toggle="tab"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a></li>
                <?php endforeach; ?>
            </ul>
            <div class="tab-content">
                <?php foreach ($languages as $language) : ?>
                <div class="tab-pane <?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>" id="language-customblock<?php echo $language['language_id']; ?>-<?php echo $store['store_id']; ?>">
                    <textarea name="buyshop_general[<?php echo $language['language_id']; ?>][customblock_html][<?php echo $store["store_id"]; ?>]" placeholder="Custom footer block content" id="input-description-customblock<?php echo $language['language_id']; ?>-<?php echo $store['store_id']; ?>"><?php echo isset($buyshop_general[$language['language_id']]['customblock_html'][$store['store_id']]) ? $buyshop_general[$language['language_id']]['customblock_html'][$store['store_id']] : ''; ?></textarea>
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>


    <div class="form-group">
            <label class="col-sm-3 control-label">
                Font:<div class="help">Select font which will be used for headings, buttons, block titles etc. Theme use Google font's library. Find out more here - <a target="_blank" href="//www.google.com/fonts/">Google web fonts free library</a></div>
            </label>
            <div class="col-sm-9">
                <select class="form-control width_auto" id="buyshop_general_font<?php echo $store["store_id"]; ?>" name="buyshop_general[font][<?php echo $store["store_id"]; ?>]" data-active="<?php echo (isset($buyshop_general['font'][$store['store_id']]) ? $buyshop_general['font'][$store['store_id']] : ''); ?>">
                    <option value="-">Select</option>
                    <option value="Open Sans">Open Sans</option>
                    <option value="Oswald">Oswald</option>
                    <option value="Aclonica">Aclonica</option>
                    <option value="Allan">Allan</option>
                    <option value="Allerta">Allerta</option>
                    <option value="Amaranth">Amaranth</option>
                    <option value="Anton">Anton</option>
                    <option value="Arimo">Arimo</option>
                    <option value="Artifika">Artifika</option>
                    <option value="Arvo">Arvo</option>
                    <option value="Asset">Asset</option>
                    <option value="Astloch">Astloch</option>
                    <option value="Bangers">Bangers</option>
                    <option value="Bentham">Bentham</option>
                    <option value="Bevan">Bevan</option>
                    <option value="Cabin">Cabin</option>
                    <option value="Calligraffitti">Calligraffitti</option>
                    <option value="Candal">Candal</option>
                    <option value="Cantarell">Cantarell</option>
                    <option value="Cardo">Cardo</option>
                    <option value="Coda">Coda</option>
                    <option value="Crushed">Crushed</option>
                    <option value="Cuprum">Cuprum</option>
                    <option value="Damion">Damion</option>
                    <option value="Forum">Forum</option>
                    <option value="Geo">Geo</option>
                    <option value="Gruppo">Gruppo</option>
                    <option value="Inconsolata">Inconsolata</option>
                    <option value="Judson">Judson</option>
                    <option value="Jura">Jura</option>
                    <option value="Kameron">Kameron</option>
                    <option value="Kenia">Kenia</option>
                    <option value="Kranky">Kranky</option>
                    <option value="Kreon">Kreon</option>
                    <option value="Kristi">Kristi</option>
                    <option value="Lekton">Lekton</option>
                    <option value="Limelight">Limelight</option>
                    <option value="Lobster">Lobster</option>
                    <option value="Lora">Lora</option>
                    <option value="Mako">Mako</option>
                    <option value="MedievalSharp">MedievalSharp</option>
                    <option value="Megrim">Megrim</option>
                    <option value="Merriweather">Merriweather</option>
                    <option value="Metrophobic">Metrophobic</option>
                    <option value="Michroma">Michroma</option>
                    <option value="Monofett">Monofett</option>
                    <option value="Neucha">Neucha</option>
                    <option value="Neuton">Neuton</option>
                    <option value="Orbitron">Orbitron</option>
                    <option value="Pacifico">Pacifico</option>
                    <option value="Philosopher">Philosopher</option>
                    <option value="Play">Play</option>
                    <option value="Puritan">Puritan</option>
                    <option value="Quattrocento">Quattrocento</option>
                    <option value="Radley">Radley</option>
                    <option value="Rokkitt">Rokkitt</option>
                    <option value="Schoolbell">Schoolbell</option>
                    <option value="Slackey">Slackey</option>
                    <option value="Smythe">Smythe</option>
                    <option value="Sunshiney">Sunshiney</option>
                    <option value="Syncopate">Syncopate</option>
                    <option value="Tangerine">Tangerine</option>
                    <option value="Ubuntu">Ubuntu</option>
                    <option value="Ultra">Ultra</option>
                    <option value="Varela">Varela</option>
                    <option value="Vibur">Vibur</option>
                    <option value="Wallpoet">Wallpoet</option>
                    <option value="Zeyada">Zeyada</option>
                </select>
                <span id="buyshop_general_font_preview<?php echo $store["store_id"]; ?>" style="font-size:30px;line-height: 30px; display:block;padding:8px 0 0 0">Lorem Ipsum Dolor</span>
            </div>
        </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            BG Pattern:<div class="help">Here you can choose or disable background pattern</div>
        </label>
        <div class="col-sm-9">
            <div id="buyshop_general_bgpattern_container<?php echo $store["store_id"]; ?>">
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_01.png" id="buyshop_general_bgpattern1<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern1[<?php echo $store["store_id"]; ?>]">
                    Pattern 1
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_01.png)">&nbsp;</div>
                </label>

                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_02.png" id="buyshop_general_bgpattern2<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern2[<?php echo $store["store_id"]; ?>]">
                    Pattern 2
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_02.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_03.png" id="buyshop_general_bgpattern3<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern3[<?php echo $store["store_id"]; ?>]">
                    Pattern 3
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_03.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_04.png" id="buyshop_buyshop_general_bgpattern4<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern4[<?php echo $store["store_id"]; ?>]">
                    Pattern 4
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_04.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_05.png" id="buyshop_general_bgpattern5<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern5[<?php echo $store["store_id"]; ?>]">
                    Pattern 5
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_05.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_06.png" id="buyshop_general_bgpattern6<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern6[<?php echo $store["store_id"]; ?>]">
                    Pattern 6
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_06.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_07.png" id="buyshop_general_bgpattern7<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern7[<?php echo $store["store_id"]; ?>]">
                    Pattern 7
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_07.png)">&nbsp;</div>
                </label>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="bg_pattern_08.png" id="buyshop_general_bgpattern8<?php echo $store["store_id"]; ?>">
                <label for="buyshop_general_bgpattern8[<?php echo $store["store_id"]; ?>]">
                    Pattern 8
                    <div style="height:50px;background:url(<?php echo $config_url; ?>catalog/view/bs-images/bg_pattern_08.png)">&nbsp;</div>
                </label>
                <br>
                <input type="radio" name="buyshop_general[bgpattern][<?php echo $store["store_id"]; ?>]" value="0" id="buyshop_general_bgpattern0<?php echo $store["store_id"]; ?>"><label for="buyshop_general_bgpattern0[<?php echo $store["store_id"]; ?>]">Without pattern</label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label" for="buyshop_general_themecolor<?php echo $store["store_id"]; ?>">
            <span data-toggle="tooltip" title="This color will be used for buttons and backgrounds.">Theme color:</span>
        </label>
        <div class="col-sm-9">
            <input class="form-control width_auto" id="buyshop_general_themecolor<?php echo $store["store_id"]; ?>" style="background-color:<?php echo $buyshop_general['themecolor'][$store['store_id']]; ?>;color:white" type="text" name="buyshop_general[themecolor][<?php echo $store["store_id"]; ?>]" value="<?php echo $buyshop_general['themecolor'][$store['store_id']]; ?>" placeholder="Theme color:" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label" for="buyshop_general_contentbgcolor<?php echo $store["store_id"]; ?>">
            <span data-toggle="tooltip" title="Content background color.">Content bg Color:</span>
        </label>
        <div class="col-sm-9">
            <input class="form-control width_auto" id="buyshop_general_contentbgcolor<?php echo $store["store_id"]; ?>" style="background-color:<?php echo $buyshop_general['contentbgcolor'][$store['store_id']]; ?>;color:white" type="text" name="buyshop_general[contentbgcolor][<?php echo $store["store_id"]; ?>]" value="<?php echo $buyshop_general['contentbgcolor'][$store['store_id']]; ?>" placeholder="Content bg Color:" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label" for="buyshop_general_fontcolor<?php echo $store["store_id"]; ?>">
            <span data-toggle="tooltip" title="This color will be used for content font color.">Font Color:</span>
        </label>
        <div class="col-sm-9">
            <input class="form-control width_auto" id="buyshop_general_fontcolor<?php echo $store["store_id"]; ?>" style="background-color:<?php echo $buyshop_general['fontcolor'][$store['store_id']]; ?>;color:white" type="text" name="buyshop_general[fontcolor][<?php echo $store["store_id"]; ?>]" value="<?php echo $buyshop_general['fontcolor'][$store['store_id']]; ?>" placeholder="Font Color:" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <span data-toggle="tooltip" title="Show second uploaded image preview on mouseover in product listing.">Image change onMouseOver in product listing:</span>
        </label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_general['productrollover'][$store['store_id']]) && $buyshop_general["productrollover"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[productrollover][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[productrollover][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_general['productrollover'][$store['store_id']]) && !$buyshop_general["productrollover"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[productrollover][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[productrollover][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <span data-toggle="tooltip" title="Allow add to cart "flying".">Add to cart "flying" visualization:</span>
        </label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_general['ajaxcart'][$store['store_id']]) && $buyshop_general["ajaxcart"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[ajaxcart][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[ajaxcart][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_general['ajaxcart'][$store['store_id']]) && !$buyshop_general["ajaxcart"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[ajaxcart][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[ajaxcart][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <span data-toggle="tooltip" title="If 'yes' site is responsible.">Responsible site:</span>
        </label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_general['response'][$store['store_id']]) && $buyshop_general["response"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[response][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[response][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_general['response'][$store['store_id']]) && !$buyshop_general["response"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[response][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[response][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <span data-toggle="tooltip" title="Allow to turn off/on link.">Link Blog in Top menu:</span>
        </label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_general['blog_link'][$store['store_id']]) && $buyshop_general["blog_link"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[blog_link][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[blog_link][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_general['blog_link'][$store['store_id']]) && !$buyshop_general["blog_link"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_general[blog_link][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_general[blog_link][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
</div>
<!-------------------------------------end tab General---------------------------------->

<!-------------------------------------tab product labels-->
<div class="tab-pane" id="tab-productlabels<?php echo $store['store_id']; ?>">
    <div class="form-group">
        <label class="col-sm-3 control-label">Show "Sale" label:Show "Sale" label:</label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_productlabels['sale'][$store['store_id']]) && $buyshop_productlabels["sale"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_productlabels[sale][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_productlabels[sale][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_productlabels['sale'][$store['store_id']]) && !$buyshop_productlabels["sale"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_productlabels[sale][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_productlabels[sale][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">"Sale" label position:</label>
        <div class="col-sm-9">
            <select name="buyshop_productlabels[saleposition][<?php echo $store["store_id"]; ?>]" id="buyshop_productlabels<?php echo $store["store_id"]; ?>" class="form-control">
                <option <?php if (isset($buyshop_productlabels['saleposition'][$store['store_id']]) && $buyshop_productlabels['saleposition'][$store['store_id']] == 'top_left') : ?> selected="selected" <?php endif; ?> value="top_left">Top Left</option>
                <option <?php if (isset($buyshop_productlabels['saleposition'][$store['store_id']]) && $buyshop_productlabels['saleposition'][$store['store_id']] == 'top_right') : ?> selected="selected" <?php endif; ?> value="top_right">Top Right</option>
                <option <?php if (isset($buyshop_productlabels['saleposition'][$store['store_id']]) && $buyshop_productlabels['saleposition'][$store['store_id']] == 'bottom_left') : ?> selected="selected" <?php endif; ?> value="bottom_left">Bottom Left</option>
                <option <?php if (isset($buyshop_productlabels['saleposition'][$store['store_id']]) && $buyshop_productlabels['saleposition'][$store['store_id']] == 'bottom_right') : ?> selected="selected" <?php endif; ?> value="bottom_right">Bottom Right</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">Show "Video" label:</label>
        <div class="col-sm-9">
            <label class="radio-inline">
                <?php if (isset($buyshop_productlabels['video'][$store['store_id']]) && $buyshop_productlabels["video"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_productlabels[video][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                <?php echo $text_yes; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_productlabels[video][<?php echo $store["store_id"]; ?>]" value="1" />
                <?php echo $text_yes; ?>
                <?php } ?>
            </label>
            <label class="radio-inline">
                <?php if (isset($buyshop_productlabels['video'][$store['store_id']]) && !$buyshop_productlabels["video"][$store['store_id']]) { ?>
                <input type="radio" name="buyshop_productlabels[video][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                <?php echo $text_no; ?>
                <?php } else { ?>
                <input type="radio" name="buyshop_productlabels[video][<?php echo $store["store_id"]; ?>]" value="0" />
                <?php echo $text_no; ?>
                <?php } ?>
            </label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">"Video" label position:</label>
        <div class="col-sm-9">
            <select name="buyshop_productlabels[videoposition][<?php echo $store["store_id"]; ?>]" id="buyshop_productlabels<?php echo $store["store_id"]; ?>" class="form-control">
                <option <?php if (isset($buyshop_productlabels['videoposition'][$store['store_id']]) && $buyshop_productlabels['videoposition'][$store['store_id']] == 'top_left') : ?> selected="selected" <?php endif; ?> value="top_left">Top Left</option>
                <option <?php if (isset($buyshop_productlabels['videoposition'][$store['store_id']]) && $buyshop_productlabels['videoposition'][$store['store_id']] == 'top_right') : ?> selected="selected" <?php endif; ?> value="top_right">Top Right</option>
                <option <?php if (isset($buyshop_productlabels['videoposition'][$store['store_id']]) && $buyshop_productlabels['videoposition'][$store['store_id']] == 'bottom_left') : ?> selected="selected" <?php endif; ?> value="bottom_left">Bottom Left</option>
                <option <?php if (isset($buyshop_productlabels['videoposition'][$store['store_id']]) && $buyshop_productlabels['videoposition'][$store['store_id']] == 'bottom_right') : ?> selected="selected" <?php endif; ?> value="bottom_right">Bottom Right</option>
            </select>
        </div>
    </div>


</div>
<!-------------------------------------end tab product labels-->

<!-------------------------------------tab social-->
<div class="tab-pane" id="tab-social<?php echo $store['store_id']; ?>">
    <fieldset>
        <legend>NEWSLETTER SIGHUP block</legend>
        <div class="form-group">
            <label class="col-sm-3 control-label" for="apikey<?php echo $store["store_id"]; ?>">
                API keys:<br>
                   <span class="help" data-toggle="tooltip" title="Enter your API keys to your Mailchimp account">
                        <a href="http://kb.mailchimp.com/accounts/management/about-api-keys" target="_blank">Read here</a>
                   </span>
            </label>
            <div class="col-sm-9">
                <input type="text" name="buyshop_social[apikey][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social['apikey'][$store['store_id']]) ? $buyshop_social['apikey'][$store['store_id']] : ''); ?>" placeholder="API keys:" id="apikey<?php echo $store["store_id"]; ?>" class="form-control" />
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label" for="list_unique_id<?php echo $store["store_id"]; ?>">
                List ID:<br>
                        <span class="help" data-toggle="tooltip" title="Enter your list ID to your Mailchimp account">
                            <a href="http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id" target="_blank">Read here</a>
                        </span>
            </label>
            <div class="col-sm-9">
                <input type="text" name="buyshop_social[list_unique_id][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social['list_unique_id'][$store['store_id']]) ? $buyshop_social['list_unique_id'][$store['store_id']] : ''); ?>" placeholder="List ID:" id="list_unique_id<?php echo $store["store_id"]; ?>" class="form-control" />
            </div>
        </div>

        <!--newsletter texts-->
        <div class="form-group">
            <label class="col-sm-3 control-label" for="name-newsletter_placeholder<?php echo $language['language_id']; ?><?php echo $store["store_id"]; ?>">Placeholder in text field for Newsletter block:</label>
            <div class="col-sm-9">
                <ul class="nav nav-tabs" id="language-newsletter_placeholder">
                    <?php foreach ($languages as $language) : ?>
                    <li class="<?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>"><a href="#language-newsletter_placeholder<?php echo $language['language_id']; ?>" data-toggle="tab"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a></li>
                    <?php endforeach; ?>
                </ul>
                <div class="tab-content">
                    <?php foreach ($languages as $language) : ?>
                    <div class="tab-pane <?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>" id="language-newsletter_placeholder<?php echo $language['language_id']; ?>">
                        <input type="text" name="buyshop_social[<?php echo $language['language_id']; ?>][newsletter_placeholder][<?php echo $store["store_id"]; ?>]" value="<?php echo isset($buyshop_social[$language['language_id']]['newsletter_placeholder'][$store['store_id']]) ? $buyshop_social[$language['language_id']]['newsletter_placeholder'][$store['store_id']] : ''; ?>" placeholder="Newsletter text field placeholder:" id="name-newsletter_placeholder<?php echo $language['language_id']; ?><?php echo $store["store_id"]; ?>" class="form-control" />
                    </div>
                    <?php endforeach; ?>
                </div>
            </div>
        </div>

        <!--end newsletter texts-->

        <div class="form-group">
            <label class="col-sm-3 control-label">
                        <span data-toggle="tooltip" title="Here you can enable / disable Newsletter subscribe block in bottom">
                             Newsletter subscribe block visibility:
                        </span>
            </label>
            <div class="col-sm-9">
                <label class="radio-inline">
                    <?php if (isset($buyshop_social["newsletter_status"][$store['store_id']]) && $buyshop_social["newsletter_status"][$store['store_id']]) { ?>
                    <input type="radio" name="buyshop_social[newsletter_status][<?php echo $store["store_id"]; ?>]" value="1" checked="checked" />
                    <?php echo $text_yes; ?>
                    <?php } else { ?>
                    <input type="radio" name="buyshop_social[newsletter_status][<?php echo $store["store_id"]; ?>]" value="1" />
                    <?php echo $text_yes; ?>
                    <?php } ?>
                </label>
                <label class="radio-inline">
                    <?php if (isset($buyshop_social["newsletter_status"][$store['store_id']]) && !$buyshop_social["newsletter_status"][$store['store_id']]) { ?>
                    <input type="radio" name="buyshop_social[newsletter_status][<?php echo $store["store_id"]; ?>]" value="0" checked="checked" />
                    <?php echo $text_no; ?>
                    <?php } else { ?>
                    <input type="radio" name="buyshop_social[newsletter_status][<?php echo $store["store_id"]; ?>]" value="0" />
                    <?php echo $text_no; ?>
                    <?php } ?>
                </label>
            </div>
        </div>

    </fieldset>






    <div class="form-group">
        <label class="col-sm-3 control-label">Twitter Title in dropdown Footer:</label>
        <div class="col-sm-9">
            <ul class="nav nav-tabs" id="language-twitter_title">
                <?php foreach ($languages as $language) : ?>
                <li class="<?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>"><a href="#language-twitter_title<?php echo $language['language_id']; ?>" data-toggle="tab"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a></li>
                <?php endforeach; ?>
            </ul>
            <div class="tab-content">
                <?php foreach ($languages as $language) : ?>
                <div class="tab-pane <?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>" id="language-twitter_title<?php echo $language['language_id']; ?>">
                    <input type="text" name="buyshop_social[<?php echo $language['language_id']; ?>][twitter_title][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social[$language['language_id']]['twitter_title'][$store['store_id']]) ? $buyshop_social[$language['language_id']]['twitter_title'][$store['store_id']] : ''); ?>" placeholder="Twitter Title:" id="twitter_title" class="form-control" />
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">Facebook Title in dropdown Footer:</label>
        <div class="col-sm-9">
            <ul class="nav nav-tabs" id="language-facebook_title">
                <?php foreach ($languages as $language) : ?>
                <li class="<?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>"><a href="#language-facebook_title<?php echo $language['language_id']; ?>" data-toggle="tab"><img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" /> <?php echo $language['name']; ?></a></li>
                <?php endforeach; ?>
            </ul>
            <div class="tab-content">
                <?php foreach ($languages as $language) : ?>
                <div class="tab-pane <?php echo ($language['language_id'] == 1 ? 'active' : ''); ?>" id="language-facebook_title<?php echo $language['language_id']; ?>">
                    <input type="text" name="buyshop_social[<?php echo $language['language_id']; ?>][facebook_title][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social[$language['language_id']]['facebook_title'][$store['store_id']]) ? $buyshop_social[$language['language_id']]['facebook_title'][$store['store_id']] : ''); ?>" placeholder="Facebook Title:" id="facebook_title" class="form-control" />
                </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-3 control-label" for="twitter<?php echo $store["store_id"]; ?>">
            <span data-toggle="tooltip" title="For example, themeforest.">Twitter profile name:</span>
        </label>
        <div class="col-sm-9">
            <input type="text" name="buyshop_social[twitter][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social['twitter'][$store['store_id']]) ? $buyshop_social['twitter'][$store['store_id']] : ''); ?>" placeholder="Twitter profile name for Social Widget" id="twitter<?php echo $store["store_id"]; ?>" class="form-control width_auto" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label" for="facebook<?php echo $store["store_id"]; ?>">
            <span data-toggle="tooltip" title="For example, themeforest.">Facebook profile name:</span>
        </label>
        <div class="col-sm-9">
            <input type="text" name="buyshop_social[facebook][<?php echo $store["store_id"]; ?>]" value="<?php echo (isset($buyshop_social['facebook'][$store['store_id']]) ? $buyshop_social['facebook'][$store['store_id']] : ''); ?>" placeholder="facebook profile name for Social Widget" id="facebook<?php echo $store["store_id"]; ?>" class="form-control width_auto" />
        </div>
    </div>

</div>
<!-------------------------------------end tab social-->
</div>
