<!-- ============================================================== -->
<!-- Right Part contents-->
<!-- ============================================================== -->
<div class="right-part mail-list bg-white overflow-auto">
	<!-- Action part -->
	<div class="p-4 border-bottom">
		<div class="d-flex align-items-center">
			<div>
				<h4><?php echo $lang['tools-config61'] ?> | <?php echo $lang['left709'] ?></h4>
				<span><i data-feather="chevrons-right" class="feather-sm fill-white me-2"></i> <b><?php echo $lang['tools-config33'] ?></b></span>
			</div>
		</div>
	</div>

	<!-- Button group part -->
	<div class="bg-light p-15">
		<div class="row justify-content-center">
			<div class="col-md-12">
				<div class="row">
					<div class="col-12">
						<div id="loader" style="display:none"></div>
						<div id="resultados_ajax"></div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<?php $zonerow = $core->cdp_getZone(); ?>

	<div class="card-body">
		<form class="form-horizontal form-material" id="save_config" name="save_config" method="post">

			<div class="row">
				<div class="col-md-12 mb-3">
					<div class="form-group">
						<label for="phoneNumber1"><?php echo $lang['tools-config34'] ?></label>

						<select class="select2 form-select" name="timezone" id="timezone" value="<?php echo $core->timezone; ?>" required style="width: 100%;">
							<optgroup label="Select timezone">
								<option><?php echo $core->timezone; ?></option>
								<?php foreach ($zonerow as $row) : ?>
									<option value="<?php echo $row->zone_name; ?>"><?php echo $row->zone_name; ?></option>
								<?php endforeach; ?>
							</optgroup>
						</select>
					</div>
				</div>
				<div class="col-md-12 mb-3">
					<div class="form-group">
						<label for="phoneNumber1"><img src='assets/images/alert/lang.png' width='20' /> <?php echo $lang['tools-config62'] ?></label>
						<select class="select2 form-select" name="language" id="language" style="width: 100%;">
							<optgroup label="Select language">
								<option value="en" <?php if ($core->language == "en") echo " selected=\"selected\""; ?> data-flag="us"> <?php echo $lang['tools-config63'] ?></option>
								<option value="es" <?php if ($core->language == "es") echo " selected=\"selected\""; ?> data-flag="es"> <?php echo $lang['tools-config64'] ?></option>

								<option value="he" <?php if ($core->language == "he") echo " selected=\"selected\""; ?> data-flag="he"> <?php echo $lang['tools-config66'] ?></option>
							</optgroup>
						</select>
					</div>
				</div>
			</div>

			<div class="row">
				<div class="col-md-12 mb-3">
					<div class="form-group">
						<label for="phoneNumber1"><?php echo $lang['tools-config52'] ?></label>
						<select class="select2 form-select" id="currency" name="currency" required style="width: 100%;">
							<optgroup label="Select Currency">
								<option label="AED" value="AED" <?php if ($core->currency == "AED") echo " selected=\"selected\""; ?>>AED</option>
								<option label="ARS" value="ARS" <?php if ($core->currency == "ARS") echo " selected=\"selected\""; ?>>ARS</option>
								<option label="AUD" value="AUD" <?php if ($core->currency == "AUD") echo " selected=\"selected\""; ?>>AUD</option>
								<option label="BGN" value="BGN" <?php if ($core->currency == "BGN") echo " selected=\"selected\""; ?>>BGN</option>
								<option label="BND" value="BND" <?php if ($core->currency == "BND") echo " selected=\"selected\""; ?>>BND</option>
								<option label="BOB" value="BOB" <?php if ($core->currency == "BOB") echo " selected=\"selected\""; ?>>BOB</option>
								<option label="BRL" value="BRL" <?php if ($core->currency == "BRL") echo " selected=\"selected\""; ?>>BRL</option>
								<option label="CAD" value="CAD" <?php if ($core->currency == "CAD") echo " selected=\"selected\""; ?>>CAD</option>
								<option label="CHF" value="CHF" <?php if ($core->currency == "CHF") echo " selected=\"selected\""; ?>>CHF</option>
								<option label="CLP" value="CLP" <?php if ($core->currency == "CLP") echo " selected=\"selected\""; ?>>CLP</option>
								<option label="CNY" value="CNY" <?php if ($core->currency == "CNY") echo " selected=\"selected\""; ?>>CNY</option>
								<option label="COP" value="COP" <?php if ($core->currency == "COP") echo " selected=\"selected\""; ?>>COP</option>
								<option label="CZK" value="CZK" <?php if ($core->currency == "CZK") echo " selected=\"selected\""; ?>>CZK</option>
								<option label="DKK" value="DKK" <?php if ($core->currency == "DKK") echo " selected=\"selected\""; ?>>DKK</option>
								<option label="EGP" value="EGP" <?php if ($core->currency == "EGP") echo " selected=\"selected\""; ?>>EGP</option>
								<option label="EUR" value="EUR" <?php if ($core->currency == "EUR") echo " selected=\"selected\""; ?>>EUR</option>
								<option label="FJD" value="FJD" <?php if ($core->currency == "FJD") echo " selected=\"selected\""; ?>>FJD</option>
								<option label="GBP" value="GBP" <?php if ($core->currency == "GBP") echo " selected=\"selected\""; ?>>GBP</option>
								<option label="HKD" value="HKD" <?php if ($core->currency == "HKD") echo " selected=\"selected\""; ?>>HKD</option>
								<option label="HRK" value="HRK" <?php if ($core->currency == "HRK") echo " selected=\"selected\""; ?>>HRK</option>
								<option label="HUF" value="HUF" <?php if ($core->currency == "HUF") echo " selected=\"selected\""; ?>>HUF</option>
								<option label="IDR" value="IDR" <?php if ($core->currency == "IDR") echo " selected=\"selected\""; ?>>IDR</option>
								<option label="ILS" value="ILS" <?php if ($core->currency == "ILS") echo " selected=\"selected\""; ?>>ILS</option>
								<option label="INR" value="INR" <?php if ($core->currency == "INR") echo " selected=\"selected\""; ?>>INR</option>
								<option label="JPY" value="JPY" <?php if ($core->currency == "JPY") echo " selected=\"selected\""; ?>>JPY</option>
								<option label="KES" value="KES" <?php if ($core->currency == "KES") echo " selected=\"selected\""; ?>>KES</option>
								<option label="KRW" value="KRW" <?php if ($core->currency == "KRW") echo " selected=\"selected\""; ?>>KRW</option>
								<option label="LTL" value="LTL" <?php if ($core->currency == "LTL") echo " selected=\"selected\""; ?>>LTL</option>
								<option label="MAD" value="MAD" <?php if ($core->currency == "MAD") echo " selected=\"selected\""; ?>>MAD</option>
								<option label="MXN" value="MXN" <?php if ($core->currency == "MXN") echo " selected=\"selected\""; ?>>MXN</option>
								<option label="MYR" value="MYR" <?php if ($core->currency == "MYR") echo " selected=\"selected\""; ?>>MYR</option>
								<option label="NGN" value="NGN" <?php if ($core->currency == "NGN") echo " selected=\"selected\""; ?>>NGN</option>
								<option label="NOK" value="NOK" <?php if ($core->currency == "NOK") echo " selected=\"selected\""; ?>>NOK</option>
								<option label="NZD" value="NZD" <?php if ($core->currency == "NZD") echo " selected=\"selected\""; ?>>NZD</option>
								<option label="PEN" value="PEN" <?php if ($core->currency == "PEN") echo " selected=\"selected\""; ?>>PEN</option>
								<option label="PHP" value="PHP" <?php if ($core->currency == "PHP") echo " selected=\"selected\""; ?>>PHP</option>
								<option label="PKR" value="PKR" <?php if ($core->currency == "PKR") echo " selected=\"selected\""; ?>>PKR</option>
								<option label="PLN" value="PLN" <?php if ($core->currency == "PLN") echo " selected=\"selected\""; ?>>PLN</option>
								<option label="RON" value="RON" <?php if ($core->currency == "RON") echo " selected=\"selected\""; ?>>RON</option>
								<option label="RSD" value="RSD" <?php if ($core->currency == "RSD") echo " selected=\"selected\""; ?>>RSD</option>
								<option label="RUB" value="RUB" <?php if ($core->currency == "RUB") echo " selected=\"selected\""; ?>>RUB</option>
								<option label="SAR" value="SAR" <?php if ($core->currency == "SAR") echo " selected=\"selected\""; ?>>SAR</option>
								<option label="SEK" value="SEK" <?php if ($core->currency == "SEK") echo " selected=\"selected\""; ?>>SEK</option>
								<option label="SGD" value="SGD" <?php if ($core->currency == "SGD") echo " selected=\"selected\""; ?>>SGD</option>
								<option label="THB" value="THB" <?php if ($core->currency == "THB") echo " selected=\"selected\""; ?>>THB</option>
								<option label="TRY" value="TRY" <?php if ($core->currency == "TRY") echo " selected=\"selected\""; ?>>TRY</option>
								<option label="TWD" value="TWD" <?php if ($core->currency == "TWD") echo " selected=\"selected\""; ?>>TWD</option>
								<option label="UAH" value="UAH" <?php if ($core->currency == "UAH") echo " selected=\"selected\""; ?>>UAH</option>
								<option label="USD" value="USD" <?php if ($core->currency == "USD") echo " selected=\"selected\""; ?>>USD</option>
								<option label="VEF" value="VEF" <?php if ($core->currency == "VEF") echo " selected=\"selected\""; ?>>VEF</option>
								<option label="VND" value="VND" <?php if ($core->currency == "VND") echo " selected=\"selected\""; ?>>VND</option>
								<option label="ZAR" value="ZAR" <?php if ($core->currency == "ZAR") echo " selected=\"selected\""; ?>>ZAR</option>
								<option label="TJS" value="TJS" <?php if ($core->currency == "TJS") echo " selected=\"selected\""; ?>>Somoni tayiko</option>
							</optgroup>
						</select>
					</div>
				</div>
			</div>

			<div class="button-group text-end mb-3">
				<button type="submit" class="btn btn-success mt-3" name="dosubmit"><i data-feather="send" class="feather-sm fill-white"></i> <?php echo $lang['tools-config56'] ?></button>
				<button type="submit" class="btn btn-dark mt-3">Discard</button>
			</div>

		</form>
	</div>
</div>