Current File : /home/giriqfky/public_html/Barga/application/modules/users/views//user_lists.php
<style>/* Responsive Code */
@media screen and (min-width: 1220px) {
.data_list{
margin-left: -266px;
/* background-color: red; */
width: 140%;
}
}
@media screen and (min-width: 1490px) {
.data_list{
margin-left: -331px;
width: 213%;
/* background-color: yellow; */
}
.box {
width: 100%;
}}
</style>
<section id="main-content">
<div class="col-md-12">
<ol class="breadcrumb breadcrumb-arrow">
<li><a href="<?php echo site_url('dashboard');?>">Dashboard</a> </li>
<li class="active"><span><?php echo $title?></span></li>
</ol>
<?php if($this->session->flashdata('msg_success')){?>
<div class="alert alert-success"><small class="text-danger"><?php echo $this->session->flashdata('msg_success');?></small></div>
<?php }?>
</div>
<div class="box">
<!-- Left side content -->
<!-- right side content -->
<div class="right-box">
<div class="logos">
<div> <img src="<?php echo base_url("assets/img/Screenshot%202024-05-21%20105520.png") ?>"/>
</div>
<!-- <div><img src="<?php echo base_url("assets/img/Screenshot%202024-05-06%20174349.png") ?>" class="logo-2"/>
</div> -->
<div>
<h1 class="heading"><?php echo RESTAURANTS_NAME ?></h1>
<h3 class="sub-heading">software version :1.0 | Last Update 1/05/2024</h3>
<div id="current-time-2" style="font-size: 30px;"></div>
<!-- <div class="daytime">
<div class="date">
<span id="dayname">May</span>
<span id="month">13</span>
<span id="year">2024</span>
</div>
<div class="time">
<span id="hour">03:</span>
<span id="mintues">35</span>
<span id="seconds">00</span> -->
<!-- <span id="period">PM</span>
</div>
</div> -->
</div>
<div><img src="<?php echo base_url("assets/img/Nidhiban2%20%281%29.png") ?>" class="image"/>
</div>
</div>
<section class="content">
<div class="row">
<!-- left column -->
<div class="col-md-12">
<!-- general form elements -->
<div class="box">
<section id="unseen">
<div class="data_list">
<table id="example2" class="table table-bordered table-hover">
<thead style="background-color:#f5f5f5">
<tr>
<th>#</th>
<th> Users Role</th>
<th> Users Name</th>
<th> Users Email</th>
<th> Users Profile Name</th>
<th>Status</th>
<th>Signup Date </th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php if(count($user_list) > 0){?>
<?php $i=1;foreach($user_list as $users){?>
<tr>
<td><?php echo $i;?></td>
<td><?php echo $users->user_role_name;?></td>
<td><?php echo $users->user_name;?></td>
<td><?php echo $users->user_email;?></td>
<td><?php echo $users->user_profile_name;?></td>
<?php if($users->user_status == 1){?><td><a class="btn btn-success btn-sm" href="<?php echo site_url('users/changeStatus/'.$users->user_id.'/0');?>">Active</a></td><?php }?>
<?php if($users->user_status == 0){?><td><a class="btn btn-danger btn-sm" href="<?php echo site_url('users/changeStatus/'.$users->user_id.'/1');?>">Inactive</a></td><?php }?>
<td><?php echo showDate($users->doc, 0);?></td>
<td>
<a class="btn btn-danger tooltips btn-sm" href="javascript:void(0);" title="Reset Password" onclick="getUserPasswordResetModal(<?php echo $users->user_id;?>);"><i class="fa fa-key"></i> </a>
<?php if(checkModuleAccessByUser(userInfo('user_role_id'), 4, "module_edit") > 0){?>
<a target="_blank" class="btn btn-info tooltips btn-sm" href="<?php echo site_url('users/userForm/'.$users->user_id);?>" title="Edit"><i class="fa fa-edit"></i> </a>
<?php }?>
</td>
</tr>
<?php $i++;}?>
<?php }else{?>
<tr><td colspan="9"><?php echo getMessage("record_not_found", 3);?></td></tr>
<?php }?>
</tbody>
</table>
</div>
</section>
</div>
</div>
</div>
<?php if(checkModuleAccessByUser(userInfo('user_role_id'), 1, "module_add") > 0){?>
<a href="<?php echo site_url('users/userForm/0') ?>"><div class="floating-menu"><i class="fa fa-plus"></i></div></a>
<?php }?>
</section>
</section>
<!-- /.content -->
<?php echo $modal_user_reset_password;?>