%PDF- %GIF98; %PNG;
Server : ApacheSystem : 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 : |
<?php
include "top.php";
?>
<div class="content-wrapper">
<section class="content-header sty-one">
<h1>orders</h1>
<ol class="breadcrumb">
<li><a href="dashboard.php">Home</a></li>
<li><i class="fa fa-angle-right"></i> orders</li>
</ol>
</section>
<section class="content">
<div class="table-responsive">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>ID</th>
<th>BUYER DETAIL</th>
<th>LEAD DETAIL</th>
<th>points</th>
</tr>
</thead>
<tbody>
<?php
$i=1;
$query="select * from orders order by date DESC";
$result=mysqli_query($c,$query);
while($row = mysqli_fetch_array($result))
{
$queryuser="select * from leads where mykey='".$row['lead']."'";
$resultuser=mysqli_query($c,$queryuser);
while($rows = mysqli_fetch_array($resultuser))
{
$id=$rows['id'];
$heading=$rows['heading'];
$name=$rows['name'];
$email=$rows['email'];
$phone=$rows['phone'];
}
?>
<tr>
<td><?php echo $i++;?></td>
<td><?php echo $row['username'];?></td>
<td><a class="extra" href="leadsedit.php?id=<?php echo $id;?>"><?php echo $heading;?></a><br/><?php echo $name;?><br/><?php echo $email;?><br/><?php echo $phone;?><br/></td>
<td><?php echo $row['points'];?></td>
</tr>
<?php
}
?>
</table>
</div>
</section>
<?php
include "footer.php";
?>