<?php echo $this->extend('template/admin/main') ?>

	<?php echo $this->section('content') ?>

	<div class="card mb-4">
      	<div class="card-body">

			<form action="<?php echo base_url(route_to('create-footer'))?>" id="footerform" method="post" class="row g-3" accept-charset="utf-8" enctype="multipart/form-data">
								<?php echo $this->include('common/security') ?>

					
				<div class="col-12 col-md-6 col-lg-2">
				<label for="contact" class=""><?php echo lang("Localize.contact_number") ?> </label>	
					<input type="text" id="contact" name ="contact" value="<?php echo esc(old('contact'))  ?>" class="form-control"  placeholder="<?php echo lang("Localize.contact_number") ?>">
				</div>

				<div class="col-12 col-md-6 col-lg-3">
				<label for="email" class=""><?php echo lang("Localize.email") ?></label>	
					<input type="email" id="email" name ="email" value="<?php echo esc(old('email'))  ?>" class="form-control"  placeholder="<?php echo lang("Localize.email") ?>">
				</div>

				<div class="col-12 col-md-6 col-lg-2">
				<label for="value" class=""><?php echo lang("Localize.office_open_time") ?></label>	
					<input type="text" id="opentime" name ="opentime" value="<?php echo esc(old('opentime'))  ?>" class="form-control"  placeholder="<?php echo lang("Localize.office_open_time") ?>" >
				</div>
				<div class="col-12 col-md-6 col-lg-3">
				<label for="address" class=""><?php echo lang("Localize.address") ?></label>	
					<input type="text" id="address" name ="address" value="<?php echo esc(old('address'))  ?>" class="form-control"  placeholder="<?php echo lang("Localize.address") ?>">
				</div>

				<div class="col-12 col-md-6 col-lg-2">
					<br>
				<button type="submit" class="btn btn-success"><?php echo lang("Localize.submit") ?></button>
				</div>

							<div class="text-danger">
                                <?php if (isset($validation)): ?>
                                  <?=$validation->listErrors();?>
                                <?php endif?>
                            </div>

				
			

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

	<?php echo $this->endSection() ?>