Shell File Manager
<?php $support = 'support' ?>
<?php $support2 = 'services' ?>
<?php
include_once('../include/config.php');
$rma_id = $_GET['rma_id'];
?>
<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>CamScan FZCO |Support</title>
<?php
include('../include/header.php');
include('../include/nav.php');
$log_status = $_GET['log_status'];
?>
<!-- ======= Gallery Section ======= -->
<section id="gallery" class="gallery">
<div class="container" data-aos="fade-up">
<div class="section-title ">
<h2>RMA Rquest Details</h2>
</div>
<div style="text-align: left;">
<?php
$count = 0;
$counter = 0;
$query = " SELECT * from services_rma where rma_id='$rma_id' ORDER BY `services_rma`.`rma_id` ASC";
$query_run = mysqli_query($connection, $query);
$query2 = " SELECT * from services_rma_products where rma_id=$rma_id ";
$query_run2 = mysqli_query($connection, $query2);
// print_r( $query);
?>
<p>
<table class="table">
<thead>
</thead>
<tbody>
<?php
if (mysqli_num_rows($query_run) > 0) {
$count++;
while ($row = mysqli_fetch_assoc($query_run)) {
// print_r($count);
?>
<tr>
<td>
<h3> Company / Personal Information </h3>
<strong> Company Name : </strong> <?php echo $row['c_name']; ?><br>
<strong> Contact Person : </strong> <?php echo $row['c_person']; ?><br>
<strong> Email : </strong> <?php echo $row['email']; ?><br>
<strong> Telephone : </strong> <?php echo $row['tele']; ?><br>
<strong> Fax : </strong> <?php echo $row['Fax']; ?><br>
<strong> Address : </strong> <?php echo $row['Address']; ?><br>
<strong> Postal Code : </strong> <?php echo $row['pos_code']; ?><br>
<strong> City : </strong> <?php echo $row['city']; ?><br>
<strong> Country : </strong> <?php echo $row['country']; ?><br>
</td>
</tr>
<br>
<tr>
<td>
<h3> Merchandise Information </h3>
<strong> Invoice date : </strong> <?php echo $row['c_name']; ?><br>
<strong> Invoice Number : </strong> <?php echo $row['c_person']; ?><br>
<strong> Distributor Name : </strong> <?php echo $row['email']; ?><br>
</td>
</tr>
<?php
if (mysqli_num_rows($query_run2) > 0) {
$counter++;
while ($row2 = mysqli_fetch_assoc($query_run2)) {
?>
<tr>
<td>
<h4> Product Description </h4>
<strong>Product : </strong> <?php echo $counter++; ?><br>
<strong> Model Number : </strong> <?php echo $row2['model_number']; ?><br>
<strong> Serial Number : </strong> <?php echo $row2['serial_number']; ?><br>
<strong> Problem : </strong> <?php echo $row2['problem']; ?><br>
</td>
</tr>
<?php
}
}
}
} else {
echo "No Record Found";
}
?>
</tbody>
</table>
</p>
</div>
</div>
</div>
</section><!-- End Gallery Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<?php
include '../include/footer.php';
?>
</body>
<?php
?>
Shell File Manager Version 1.1, Coded By Shell
Email: [email protected]