</div> <input type="hidden" name="shortcode" value="<?php echo $short_code; ?> " /> <div> <fieldset style="padding:5px"> <legend style="border:1px solid #333;border-radius:5px;padding:2px 5px;font-weight:bold;color:#333"> Filter by country </legend> <span style="color:#FF1C1C;font-size:12px">*Only selected country can access this link</span> <div style="display:block;width:400px;margin:5px;z-index:10"> <select name="filter_country[]" data-placeholder="Choose a Country..." class="chosen-select" multiple style="width:350px;" > <option value=""></option> <?php $country_list = $Details->getCountryList(); foreach ($country_list as $country) { if (in_array($country[0], explode(',', $Link->Except_country_list()))) { echo "<option value=" . $country[0] . " selected=\"selected\">" . $country[1] . "</option>"; } else { echo "<option value=" . $country[0] . ">" . $country[1] . "</option>"; } } ?> </select> </div> <div> <span style="color:#0000FF;font-size:12px;display:block;">*Redirect url if country not on list</span> <input name="country_not_on_list" type="text" value="<?php echo $Link->getConRedirectUrl(); ?>