<?php
session_start();
include "includes/database.php";
include "includes/security.php";
$email=$_SESSION["pengguna"];
$dataPengguna=mysqli_query($newcon,"SELECT * from tbl_user where email='$email'");
$showData=mysqli_num_rows($dataPengguna);
?>


<html lang="en">

  <head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>MyUniversity MarketPlace</title>

    <!-- Bootstrap core CSS -->
    <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="css/half-slider.css" rel="stylesheet">
    <link href="css/skill.css" rel="stylesheet">

  </head>

  <body>

    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
      <div class="container">
        <a class="navbar-brand" href="#">MyUniversity MarketPlace</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarResponsive">
          <ul class="navbar-nav ml-auto">
            <li class="nav-item">
              <a class="nav-link" href="index.php">HOME
                <span class="sr-only">(current)</span>
              </a>
            </li>
            <li class="nav-item active">
              <a class="nav-link" href="about.php">ABOUT</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="shop.php">SHOP</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="viewcart.php">CART</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="review.php">REVIEW</a>
            </li>
            
<?php
if (!(isset($_SESSION["pengguna"])))
{
  ?>


            <li class="nav-item">
              <a class="nav-link active" href="log.php">LOGIN</a>
            </li>
<?php
}
else
{

?>
            <li class="nav-item">
              <a class="nav-link active" href="logout.php">LOGOUT</a>
            </li>


<?php
}
?>                



          </ul>
        </div>
      </div>
    </nav>
 <br>
<br>
<div class="container">

      <div class="row">
        <div class="col-sm-8">
          <h2 class="mt-4"><center>Privacy policy</h2></center>
          <br>
          
<h3><b><font color="blue"> General information<br></b></h3></font>
 At MyUniversity MarketPlace, we take your privacy seriously. We are committed to complying with all data protection laws as are applicable to us.
In the course of providing you with our Services or access to the Platform (as defined in the Terms of Use), we will be collecting data, including your personal data.
This Privacy Policy exists to keep you in the know about how use, process and handle the data we collect and receive during the course of providing the Services or access to the Platform to you, our customer. We will only collect, use and disclose your personal data in accordance with this Privacy Policy.
It is important that you read this Privacy Policy together with any other applicable notices we may provide on specific occasions when we are collecting or processing personal data about you, so that you are fully aware of how and why we are using your personal data.
<p><b><h3><font color="blue">Right to access, correct and delete data and to object to data processing </h3></b></font>
Our customers have the right to access, correct and delete personal data relating to them, and to object to the processing of such data, by addressing a written request, at any time. The Company makes every effort to put in place suitable precautions to safeguard the security and privacy of personal data, and to prevent it from being altered, corrupted, destroyed or accessed by unauthorized third parties. However, the Company does not control each and every risk related to the use of the Internet, and therefore warns the Site users of the potential risks involved in the functioning and use of the Internet. The Site may include links to other web sites or other internet sources. As the Company cannot control these web sites and external sources, the Company cannot be held responsible for the provision or display of these web sites and external sources, and may not be held liable for the content, advertising, products, services or any other material available on or from these web sites or external sources. </p>
<p><b><h3><font color="blue">Management of personal data</h3> </b></font>
You can view or edit your personal data online for many of our services. You can also make choices about our collection and use of your data. How you can access or control your personal data will depend on which services you use. You can choose whether you wish to receive promotional communications from our web site by email, SMS, physical mail, and telephone. If you receive promotional email or SMS messages from us and would like to opt out, you can do so by following the directions in that message. You can also make choices about the receipt of promotional email, telephone calls, and postal mail by visiting and signing into Company Promotional Communications Manager, which allows you to update contact information, manage contact preferences, opt out of email subscriptions, and choose whether to share your contact information with our partners. These choices do not apply to mandatory service communications that are part of certain web site services. </p>
<p><b><h3><font color="blue">How We Use Your Information </b><br></font></h3>
Our web site uses the data we collect for three basic purposes: to operate our business and provide (including improving and personalizing) the services we offer, to send communications, including promotional communications, and to display advertising. In carrying out these purposes, we combine data we collect through the various web site services you use to give you a more seamless, consistent and personalized experience. However, to enhance privacy, we have built in technological and procedural safeguards designed to prevent certain data combinations. For example, we store data we collect from you when you are unauthenticated (not signed in) separately from any account information that directly identifies you, such as your name, email address or phone number.</p> 

</font>
          
        </div>
        <div class="col-sm-4">
          <h2 class="mt-4"><center>LOGO</h2></center>
             <img width="300px" height="267px" src="images/logo.png">
             </div>
      </div>
      </div>
<hr>


    <!-- Footer -->
    <footer class="py-5 bg-dark">
      <div class="container">
       <center> <table width="800" align="center">
        <tr>
        <td><a href="index2.php"><li><font color="white">Home</font></li></a></td>
        <td><a href="about.php"><li><font color="white">About</font></li></a></td>
        <td><a href="shop.php"><li><font color="white">Shop</font></li></a></td>
        </tr>
       
       <tr>
        <td><a href="viewcart.php"><li><font color="white">Cart</font></li></a></td>
        <td><a href="review.php"><li><font color="white">Review</font></li></a></td>
        <td><a href="log.php"><li><font color="white">Login</font></li></a></td>
        </tr>

       <tr>
        <td><a href="term.php"><li><font color="white">Term and Condition</font></li></a></td>
        <td><a href="register.php"><li><font color="white">Register New User</font></li></a></td>
        <td><a href="register2.php"><li><font color="white">Register New Shop</font></li></a></td>
        </tr>

        </table></center>
        <br>
        <br>
          <p class="m-0 text-center text-white">Copyright &copy; MyUniversity MarketPlace 2018</p><br>
      </div>

      <!-- /.container -->
    </footer>
    <!-- Bootstrap core JavaScript -->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  </body>

</html>