Esempio n. 1
0
								<input placeholder="Enter contact detail" name="txtContact" id="txtContact" class="form-control" value="<?php 
echo $data['contact'];
?>
" required>
								<input type="hidden" value="<?php 
echo $hdnContact;
?>
" id = "hdnContact"  name="hdnContact" />
								<span class='error-contact'></span>
							</div>
							<div class="form-group">
								<label>Country</label>
								<select class="form-control ddlCountry" name="ddlCountry" id="ddlCountry" required>
								<option value="">-select-</option>
									<?php 
$dataCountries = $adminController->getLocationData("countries");
if (!empty($dataCountries)) {
    $cnt = 1;
    $country_id = '';
    while ($row = mysql_fetch_array($dataCountries)) {
        ?>
												<option value="<?php 
        echo $row['id'];
        ?>
" <?php 
        if ($data['country_id'] == $row['id']) {
            $country_id = $data['country_id'];
            echo 'selected';
        }
        ?>
 >
Esempio n. 2
0
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover" id="dataTables-example">
						<thead>
							<tr>
								<th>Sl No.</th>
								<th>Name</th>
								<th>City</th>
								<th>State</th>
								<th>Country</th>
								<th>Action</th>
							</tr>
						</thead>
						<tbody>
						<?php 
$adminController = new AdminController();
$data = $adminController->getLocationData("districts");
if (!empty($data)) {
    $cnt = 1;
    while ($row = mysql_fetch_array($data)) {
        ?>
									<tr>
										<td><?php 
        echo $cnt;
        ?>
</td>
										<td><?php 
        echo $row['name'];
        ?>
</td>
										<td><?php 
        echo $row['city_name'];
Esempio n. 3
0
?>
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover" id="dataTables-example">
						<thead>
							<tr>
								<th>Sl No.</th>
								<th>Name</th>
								<th>State</th>
								<th>Country</th>
								<th>Action</th>
							</tr>
						</thead>
						<tbody>
						<?php 
$adminController = new AdminController();
$data = $adminController->getLocationData("cities");
if (!empty($data)) {
    $cnt = 1;
    while ($row = mysql_fetch_array($data)) {
        ?>
									<tr>
										<td><?php 
        echo $cnt;
        ?>
</td>
										<td><?php 
        echo $row['name'];
        ?>
</td>
										<td><?php 
        echo $row['states'];
Esempio n. 4
0
echo $msg ? '<div class="alert alert-' . $class . '">' . $msg . '</div>' : '';
?>
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover" id="dataTables-example">
						<thead>
							<tr>
								<th>Sl No.</th>
								<th>Name</th>
								<th>Country</th>
								<th>Action</th>
							</tr>
						</thead>
						<tbody>
						<?php 
$adminController = new AdminController();
$data = $adminController->getLocationData("states");
if (!empty($data)) {
    $cnt = 1;
    while ($row = mysql_fetch_array($data)) {
        ?>
									<tr>
										<td><?php 
        echo $cnt;
        ?>
</td>
										<td><?php 
        echo $row['name'];
        ?>
</td>
										<td><?php 
        echo $row['country'];