/home3/vehiclea/public_html/admin-yashuenterprises-in/emergencyEdit.php
<?php
$_SESSION['active'] = 'homeEmergency';
include 'header.php';
include 'sidelinks.php';
include ('include/functions.php');
if(!empty($_GET['editId'])){
$emergency_edit = emergency_edit($_GET['editId']);
$row = mysqli_fetch_array($emergency_edit);
}
if(!empty($_POST['submit'])){
emergency_edit_data();
}
?>
<div class="pcoded-content">
<div class="page-header card">
<div class="row align-items-end">
<div class="col-lg-8">
<div class="page-header-title">
<i class="feather icon-clipboard bg-c-blue"></i>
<div class="d-inline">
<h5>Emergency Form Inputs</h5>
<span>To Change Emergency Heading,Content and Number Here</span>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="page-header-breadcrumb">
<ul class=" breadcrumb breadcrumb-title">
<li class="breadcrumb-item">
<a href="#"><i class="feather icon-home"></i></a>
</li>
<li class="breadcrumb-item"><a href="#">Form Components</a>
</li>
<li class="breadcrumb-item">
<a href="#">Emergency Form Inputs</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="pcoded-inner-content">
<div class="main-body">
<div class="page-wrapper">
<div class="page-body">
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
<h5>Emergency Form Inputs</h5>
<span>Add class of <code>.form-control</code> with <code><input></code> tag</span>
</div>
<div class="card-block">
<h4 class="sub-title">Emergency Inputs</h4>
<form method="post">
<div class="form-group row">
<label class="col-sm-2 col-form-label">Heading</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="heading" value="<?= $row['heading']?>">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Content</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="content" value="<?= $row['content']?>">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Number</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="mobile" maxlength="10" value="<?= $row['mobile']?>">
</div>
</div>
<div class="form-group row">
<div class="col-sm-3"> </div>
<input type="hidden" name="edit_data" id="edit_data" value="<?= $row['id']?>">
<div class="col-sm-6">
<p style="text-align: center;">
<input type="submit" name="submit" value="Update" class="btn waves-effect waves-light btn-grd-success">
</p>
</div>
<div class="col-sm-3"> </div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="styleSelector">
</div>
</div>
</div>
<?php
include 'footer.php';
?>
@LwBee Strong Bypass
Upload File
Create New File