| Server IP : 92.204.40.98 / Your IP : 216.73.216.201 Web Server : LiteSpeed System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : tmksyste ( 2190) PHP Version : 8.3.31 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/tmksyste/domains/tmksystems.in/private_html/NS/d2/TMAdmin/ |
Upload File : |
<?php include"header.php";?>
<?php include"sidebar.php";?>
<!-- ============================================================== -->
<!-- Start right Content here -->
<!-- ============================================================== -->
<div class="main-content">
<div class="page-content">
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
<h4 class="mb-sm-0">Products</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">All</a></li>
<li class="breadcrumb-item active">Products</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Product List</h5>
</div>
<div class="card-body">
<table id="example" class="table table-bordered dt-responsive nowrap table-striped align-middle" style="width:100%">
<thead>
<tr>
<th data-ordering="false">Product Title</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$q="SELECT `id`, `blog_title`, `blog_detail`, `ufile`, `updated_at` FROM `blog` ORDER BY `id` ASC";
$r123 = mysqli_query($con,$q);
while($ro = mysqli_fetch_array($r123))
{
$id="$ro[id]";
$service_title="$ro[blog_title]";
print "<tr>
<td>
$service_title
</td>
<td>
<div class='dropdown d-inline-block'>
<button class='btn btn-soft-secondary btn-sm dropdown' type='button' data-bs-toggle='dropdown' aria-expanded='false'>
<i class='ri-more-fill align-middle'></i>
</button>
<ul class='dropdown-menu dropdown-menu-end'>
<li><a href='blogs_edit.php?id=$id' class='dropdown-item edit-item-btn'><i class='ri-pencil-fill align-bottom me-2 text-muted'></i> Edit</a></li>
<li>
<a href='blogs_delete.php?id=$id' class='dropdown-item remove-item-btn'>
<i class='ri-delete-bin-fill align-bottom me-2 text-muted'></i> Delete
</a>
</li>
</ul>
</div>
</td>
</tr>";
}
?>
</tbody>
</table>
</div>
</div>
</div><!--end col-->
</div><!--end row-->
</div>
<!-- container-fluid -->
</div>
<!-- End Page-content -->
<?php include"footer.php";?>