<div class="topCustomerProfile">
	<h4><?= !empty(lang('customer_panel'))?lang('customer_panel'):"Customer panel"; ?></h4>
</div>
<div class="customer_profile">
	<div class="container">
		<div class="row">
			<div class="col-md-3">
				<?php include APPPATH.'views/customer/leftSidebar.php';  ?>
			</div>
			<div class="col-md-9">
				<div class="serviceRightSide">
					<div class="profleForm">
						<h4 class="header"><?= !empty(lang('personal_info'))?lang('personal_info'):"Personal Info" ;?></h4>
						<form action="<?= base_url('service/update_profile') ;?>" method="post">
							<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>">


							<div class="row">
								<div class="form-group col-md-6">
									<label for=""><?= lang('name'); ?></label>
									<input type="text" name="name" class="form-control" value="<?=  $info['name'];?>">
								</div>
								<div class="form-group col-md-6">
									<label for=""><?= lang('email'); ?></label>
									<input type="text" name="email" class="form-control" value="<?=  $info['email'];?>">
								</div>
								<div class="form-group col-md-6">
									<label for=""><?= !empty(lang('country'))?lang('country'):"Country" ;?></label>
									<select name="country_id" class="form-control">
										<?php foreach ($countries as $key => $country): ?>
											<option value="<?=  $country['id'];?>" <?= $info['country_id']==$country['id']?"selected":"" ;?>><?=  $country['name'];?></option>
										<?php endforeach ?>
									</select>
								</div>

								<div class="form-group col-md-6">
									<label for=""><?= lang('phone'); ?></label>
									<div class="input-group">
										<span class="input-group-addon"><?=  my_currency($info['country_id'],'dial_code');?></span>
										<input type="text" name="phone" class="form-control"  placeholder="<?= !empty(lang('phone'))?lang('phone'):"Phone";?>" value="<?=  $info['phone'];?>">
									</div>
									
								</div>
								<div class="form-group text-center mt-20 mb-0 col-md-12">
									<input type="hidden" name="active_phone" value="<?=  $info['phone'];?>">
									<button class="btn btn-primary"><?= lang('submit'); ?></button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>