| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/application/views/scripts/region/ |
Upload File : |
<?php
$customers = $this->customerList;
?>
<!--Page main section start-->
<section id="min-wrapper" class="active">
<div id="main-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<!--Top header start-->
<h3 class="ls-top-header">Activities</h3>
<!--Top header end -->
<!--Top breadcrumb start -->
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i></a></li>
<li class="active">Settting</li><li class="active">Region</li>
</ol>
<!--Top breadcrumb start -->
</div>
</div>
<!-- Main Content Element Start-->
<div class="row">
<div class="col-md-12">
<?php if (count($this->messages)) { ?>
<div class="alert alert-success" >
<button data-dismiss="alert" class="close" type="button">x</button>
<?php foreach ($this->messages as $message) { ?>
<?php echo $this->escape($message); ?>
<?php } ?>
</div>
<?php } ?>
</div>
<div class="col-md-12">
<div class="leadeBorder">
<div class="panel-body">
<div class="form-group form-group1 text-right"><a href="<?php echo $this->baseUrl('region/add'); ?>" class="btn btn-success btn-sm"><i class="fa fa-fw fa-arrows"></i> Add</a>
</div>
<div class="form-group form-group1 alert alert-info">
<form class="ls_form" name="roomtype_search" id="roomtype_search" role="form" method="post" action="<?php echo $this->baseUrl('region'); ?>">
<div class="col-md-12 no-padding">
<div class="col-md-3">
<div class="form-group">
<label><strong>Region</strong></label>
<input name="Title" id="Title" class="form-control" type="text" placeholder="Region ">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<div class="control-group">
<label><strong>Filter</strong></label>
<select id="filter1" name="filter1" class="demo-default select-country">
<option value="All">All</option>
<option value="1">Active</option>
<option value="0">De-active</option>
<!--<option value="3">In SIte Map</option>
<option value="4">Not In SIte Map </option>
<option value="5">City With No Pkgs</option> -->
</select>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="ls-button-group">
<button type="submit" href="#" class="btn btn btn-danger btn-sm">
<i class="fa fa-search" aria-hidden="true"></i>
<span class="ladda-label"> Search </span>
</button>
<button type="reset" class="btn btn-warning">Cancel</button>
</div>
</div>
<div class="clearfix"></div>
</div>
</form>
<div class="table-responsive ls-table">
<table class="table table-bordered table-striped table-bottomless small" id="ls-editable-table" >
<thead>
<tr>
<th style="font-size:12px;">Region</th>
<th style="font-size:12px;" class="text-center">Status</th>
<th style="width:8%; font-size:12px;">Action</th>
</tr>
</thead>
<tbody>
<?php
if(!empty($this->paginator)) {
foreach($this->paginator as $v){ ?>
<tr>
<td><?php echo $v['Title']; ?></td>
<td class="text-center"><a href="<?php echo $this->baseUrl('region/filter-status/filter/filter1/val/'.$v['IsActive'].'/id/'.base64_encode($v['RegId']).'/page/'.$this->currentPage); ?>"><?php echo ($v['IsActive']==0)? '<i class="fa fa-dot-circle-o red" aria-hidden="true"></i>' : '<i class="fa fa-dot-circle-o green" aria-hidden="true"></i>'; ?></a></td>
<td class="text-center">
<a href="<?php echo $this->baseUrl('region/edit/id/'.base64_encode($v['RegId']).'/page/'.$this->currentPage); ?>"><button class="btn btn-xs btn-warning tooltipLink" data-toggle="tooltip" data-placement="top" title="Edit"><i class="fa fa-pencil-square-o"></i></button></a>
<a href="<?php echo $this->baseUrl('region/delete-region/id/'.base64_encode($v['RegId']).'/page/'.$this->currentPage); ?>" onclick="return confirm('Are you sure you want to delete the selected record?');"><button class="btn btn-xs btn-danger tooltipLink" data-toggle="tooltip" data-placement="top" title="Delete"><i class="fa fa-angle-up large"></i></button></a>
</td>
</tr>
<?php }
}
else {
?>
<td colspan="7"><b>No Record Found.</b></td>
<?php
}?>
</tbody>
</table>
</div>
<!--Table Wrapper Finish-->
<!--Pagingnation Start-->
<?php
// get array for pagination filter
$filter = array();
foreach($this->searchArr as $key=>$val)
{
if($val!=''){
$filter['filterVariable'][$key]=$val;
}
}
$totalrec = $this->totalrec;
if($totalrec > $this->perPage)
{
echo $this->paginationControl($this->paginator, 'Sliding', 'common_pagination.phtml',$filter);
}
?>
<!--Pagingnation End-->
</div>
</div>
</div>
</div>
</div>
<!-- Main Content Element End-->
</div>
</div>
<?php echo $this->render('copyrightfooter.phtml'); ?>
</section>
<?php
include_once 'application/views/scripts/newfooter.phtml';?>
<!--Page main section end -->