|
Server IP : 128.199.20.84 / Your IP : 172.69.214.99 Web Server : Apache/2.4.41 (Ubuntu) System : Linux competent-maruti 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.0.20 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0775) : /var/lib/python/../python/../python/../python/../systemd/../../www/html/admin_panel/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include('header.php');
include('left_sidebar.php');
?>
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
<div class="container-fluid">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="row page-titles">
<div class="col-md-5 col-8 align-self-center">
<h3 class="text-themecolor">Testimonial List</h3>
</div>
<div class="col-md-7 col-4 align-self-center">
<div class="d-flex m-t-10 justify-content-end">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
<li class="breadcrumb-item active">Testimonial List</li>
</ol>
<div class="">
<button class="right-side-toggle waves-effect waves-light btn-success btn btn-circle btn-sm pull-right m-l-10"><i class="ti-settings text-white"></i></button>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Testimonial List<div style="float:right;" class="dt-buttons"><a class="dt-button buttons-html5" tabindex="0" href="add_testi.php"><span>ADD NEW</span></a></div></h4>
<div class="table-responsive m-t-10">
<table id="example23" class="display nowrap table table-hover table-striped table-bordered" cellspacing="0" width="100%">
<thead style="background: darkgray;color: white;">
<tr>
<th>S.No.</th>
<th>Name</th>
<th>Testimonial</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<?php
$query = mysqli_query($con,"SELECT * FROM tp_testi order by id desc");
$cn=1;
while($CatRow = mysqli_fetch_array($query)){
?>
<tr <?php if($CatRow["status"]==0){ ?> class="table-danger" <?php } ?>>
<td><?php echo $cn++;?></td>
<td><?=$CatRow["name"];?></td>
<td><?=$CatRow["description"];?></td>
<td><a href="add_testi.php?objID=<?=$CatRow["id"];?>&mode=edit" class="btn btn-primary btn-circle"><i class="ti-settings"></i> </a></td>
<td><a href="delete_testi.php?id=<?=$CatRow["id"];?>" class="btn btn-primary btn-circle"><i class="ti-trash"></i> </a></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- Row -->
<!-- ============================================================== -->
<!-- End PAge Content -->
<!-- ============================================================== -->
<?php include('footer.php');?>