<?php






ini_set('session.gc_maxlifetime', 30*60);

session_start();

include '../../includes/config.php';



$D_ID = $_SESSION['D_Log'];




if (!$_SESSION['D_Log'])
echo '<script language="JavaScript">
 document.location="../Drivers-Sign-In.php";
</script>';







$sql3 = mysqli_query($dbConn,"select * from drivers where ID='$D_ID'");
					$row3 = mysqli_fetch_array($sql3);
$Name=$row3['Name'];
$Phone_Number=$row3['Phone_Number'];
$Gender=$row3['Gender'];
$Photo=$row3['Photo'];
$lon=$row3['Longitude'];
$lat=$row3['Latitude'];
$Total_Rates=$row3['Total_Rates'];
$Car_Type=$row3['Car_Type'];
$Car_Color=$row3['Car_Color'];
$Penalty_Balance=$row3['Penalty_Balance'];
$Credit_Balance=$row3['Credit_Balance'];
$Total_Need_Balance=$row3['Total_Need_Balance'];
$Avalability_Status=$row3['Avalability_Status'];





	



?>

<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <!-- FontAwesome -->
    <link rel="stylesheet" href="../../css/fontawesome.css">
    <!-- Main Style -->
    <link rel="stylesheet" href="../../css/styles.css">
    <title>Terms and conditions</title>
	
	    <link rel="shortcut icon" href="../../images/icon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0"/>



	<style>
@font-face {
   font-family: myFirstFont;
   src: url(../../fonts/Arial-Rounded-MT-Bold-Regular.ttf);
   font-size:8px;
}

body {
   font-family: myFirstFont !important;
}


@font-face {
   font-family: myFirstFont2;
   src: url(../../fonts/GE-SS-Two-Bold.otf);
   font-size:8px;
}



</style>







</head>
<body >
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script type="text/javascript">
        function getLocation() {
            if (navigator.geolocation) {
                navigator.geolocation.getCurrentPosition(function(position) {
                    var latitude = position.coords.latitude;
                    var longitude = position.coords.longitude;

                    // Send this to your PHP script via AJAX or other means
                    sendDataToServer(latitude, longitude);
                });
            } else {
                alert("Geolocation is not supported by this browser.");
            }
        }

        function sendDataToServer(latitude, longitude) {
            // Using fetch API to send data to PHP
            fetch('update-my-location-1.php?D_ID=<?php echo $D_ID; ?>	', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                    latitude: latitude,
                    longitude: longitude
                })
            })
            .then(response => response.json())
            .then(data => {
                console.log('Success:', data);
            })
            .catch((error) => {
                console.error('Error:', error);
            });
        }

        // Keep updating every 5 seconds
        setInterval(getLocation, 5000);
    </script>



<!--Loading Container Start-->
<div id="load" class="loading-overlay display-flex flex-column justify-content-center align-items-center">
    <div class="primary-color font-28 fas fa-spinner fa-spin"></div>
</div>
<!--Loading Container End-->


<div class="row h-100">
    <div class="col-xs-12 col-sm-12 remaining-height">

      
		
		
		  <!--Page Title & Icons Start-->
        <div class="header-icons-container text-center">
           
                <span class="float-left menu-open closed">
                    <img src="../../icons/menu.svg" alt="Menu Hamburger Icon">
            </span>
            <span class="title"><br>Terms and conditions</span>
            <a href="#">
<span class="float-right" style="margin-top:-27px !important">
                    <img src="../../images/icon.png" alt="Logo" width="14px" height="20px">
                </span>
            </a>
        </div>
        <!--Page Title & Icons End-->
		
		
		
        <!--Page Title & Icons End-->

       
  
            <div class="margin-top-10 height-auto" id="origin-input-container">
            
		
<p>


1) Contractual relationship:
These Terms of Use (“Terms”) govern the access or use by individuals from any country in the world of the applications, websites, contents and services (“Services”) provided by (Shield), a private limited liability company established in the Hashemite Kingdom of Jordan and registered in the Companies Registry. Limited Liability Company under No. (67401).



• Please read these terms carefully before obtaining or using the Services:

  Your access to and use of the Services constitutes your agreement to be bound by these Terms, which creates a contractual relationship between you and Shield. If you do not agree to these Terms, you may not obtain or use the Services, and these Terms specifically replace any previous agreements or arrangements concluded with you. Shield may terminate these Terms and/or any of the Services that relate to you immediately or generally stop offering the Services or block access to them or any part of them at any time and for any reason whatsoever.


Some supplementary terms may apply to certain services, such as policies for a particular event, activity, or promotional campaign. These supplementary terms will be disclosed to you regarding the services provided. Supplementary terms are added to the terms for the purposes of the services provided and are considered a part of them. The supplementary terms prevail over these terms in Conflict situation regarding the services provided.

Shield may amend the terms related to the services from time to time, and the amendments will take effect when Shield publishes these updated terms on this site or publishes the amended policies or supplementary terms related to the service provided. Your continued access to or use of the services after this publication is considered your agreement to abide by the terms. As amended.

We collect and use personal data in connection with the Services in accordance with what is stipulated in Shield’s privacy policy, which can be viewed from the electronic link ( ), and Shield may provide the necessary information (including your contact information) to companies Claims settlement or insurance companies in the event of a complaint, dispute or dispute which may include an accident occurring between you and an external service provider (including a company driver in the transportation network) where such information or data is necessary to settle the complaint, dispute or dispute.

* Terms and user information:

1) The duration of the process of searching for a nearby car for the user is 3 minutes. If there is no car close to the user, the application allows two trips, that is, dividing the trip so that the user can reach the destination he wants to reach. If there is no flight in both cases, the application provides you with the closest flight available near the destination you want to reach.

2) The request must be canceled 3 minutes before the driver’s arrival time. If the user cancels his order after the period allowed for cancellation, the user is subject to a fine of 50 piasters, 35 piasters are deposited to the driver’s account as compensation, and 15 piasters are credited to the company’s account.

3) When the vehicle approaches the user’s location, the user is alerted that the vehicle is approaching 100 meters before. The countdown begins for the time allowed to board the vehicle, which is two minutes. If the user does not get into the vehicle, the user is exposed to a fine of half a Jordanian dinar (50 piasters), which is deducted from the user’s account on the next trip and goes to the company’s account. The driver is compensated a quarter of a dinar (25 piasters) out of the half Jordanian dinar due from the user.
4) The application allows the user to be notified if there is a car close to him, closer than the car that was requested, and allows him to board it, and the request for the first trip is canceled automatically, but on the condition that the arrival period of the first car does not fall within the period in which the user is not allowed to cancel the request.

5) The application will allow displaying the number of passengers and their gender present with each driver in the car, so that we give the user the freedom to choose the car and in order to maintain privacy between passengers of both genders.
 
6) The application allows the user to know the type, color and number of all cars along with the names of the drivers present in the same trip to be reached for freedom of choice between drivers.

7) If the driver is not registered on the application when he arrives to the user, the user has the right to file a complaint before getting into the vehicle, and the user will have a free ride when it is deducted from the vehicle owner’s account.
The entire car is reserved by the user only if there are no passengers with the driver in exchange for the fare for the number of passengers previously determined by the driver, and the user will be charged according to the number of passengers previously determined by the driver. If the reservation is canceled after exceeding the period of time allowed for canceling the reservation, the user is exposed to a fine estimated at half the number of passengers who were specified by the driver in advance, which is deducted from the user’s account on the next trip and goes to the company’s account. The driver is compensated 50% of the value of the fine due from the user.
  
8) The application will allow the user to choose the type of trip, either Shared or Private, along with specifying the number of passengers to be loaded on the trip. 98) Public transportation lines will have their accounts activated through the Ministry of Labor, by setting scheduled transportation times, and also requiring them to keep their phones connected to the Internet while activating Application during work.


* Conditions and information for the driver:
1) The driver controls the number of people on the trip from 3-4 passengers, specifying the gender of the passenger.
2) Each car will be linked to two numbers, and therefore every phone number is allowed to be linked to two cars.
3) Each driver is charged ten

5) The driver is allowed to cancel a trip once a day, explaining the reason for the cancellation through a list provided to him, during the trip only, and the users on the trip are not held accountable by the driver.
6) If a driver is requested through the user and the driver does not reach the user and pick him up, a fine will be imposed on the driver in advance.




</p>










        
    </div>
</div></div>
 
<?php
include 'menu.php'
?>




</body>
</html>