<!-- Main Content -->
<div class="main-content">
	<div class="card-body">
		<div class="container-fluid">
			<div class="row">
				<div class="col-lg-12">
					<form id="updateForms" role="form" method="post" class="form-horizontal" enctype="multipart/form-data" autocomplete="off">
						<?php
						$load = new load;
						$data = $load->GetAdminSetting();
						foreach($data as $val):
						?>
						<div class="row">
							<div class="col-md-12">
								<div class="form-group">
									<label>Nom</label>
									<div class="colsm">
									<input type="text" name="name" value="<?=$val['name']?>" class="form-control">
									</div>
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label>Nom d'utilisateur</label>
									<div class="colsm">
									<input type="email" name="username" value="<?=$val['username']?>" class="form-control">
									</div>
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label>Mot de passe</label>
									<div class="colsm">
									<input type="password" name="pass" value="" class="form-control" placeholder="************">
									</div>
									
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label>Confirmez le mot de passe</label>
									<div class="colsm">
									<input type="password" name="cpass" value="" class="form-control" placeholder="************">
									</div>
								</div>
							</div>
						</div>
						<input type="hidden" name="id" value="<?=$val['id']?>">
						<?php endforeach; ?>
						<div class="row">
							<div class="col-lg-6">
								<div class="form-group">
									<button type="submit" onclick="updatepass('account','<?=siteUrl?>');" class="btn btn-info" name="signup" value="Sign up" style="width: 100%;">METTRE À JOUR LE COMPTE </button>
								</div>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
	
	