<commit_before><!-- INDEX.PHP

FUNCTIES:
- Header, sidebars en footer inladen

-->

<?php include 'inc/db_connect.php';?>

<!DOCTYPE html>
<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>Ricks Interdimensional Shop | RIS</title>

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

    <!-- Custom styles for this template -->
    <link href="css/shop-homepage.css" rel="stylesheet">
	<link href="css/contact.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="#"><img src="img/logo.png" style="display: inline-block; height: 100px; width: 100px;"></a>
		<a class="navbar-brand" href="#">Ricks Interdimensional Shop</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 active">
              <a class="nav-link" href="?page=home">Home
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="?page=over">Over</a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="?page=contact">Contact</a>
            </li>

			<li class="nav-item">
              <a class="nav-link" href="?page=form_register">Registeren</a>
            </li>
<<<<<<< HEAD
            <li class="nav-item">
                    <a class="nav-link" href="?page=form_product_aanpassen">Product aanpassen</a>
                  </li>
                  <li class="nav-item">
                          <a class="nav-link" href="?page=form_product_verwijderen">Product verwijderen</a>
                        </li>
=======
			
			<li class="nav-item">
              <a class="nav-link" href="?page=form_product">Product Toevoegen</a>
            </li>

			
>>>>>>> 57862a0adb3496ac21d42084a462c41079dce7b3
          </ul>
        </div>
      </div>
    </nav>

    <!-- Page Content -->
    <div class="container">
		<div class="row">
			<div class="col-lg-3">
			<?php include 'page/form_login.php' ?>
			  <br><br>
			  <div class="list-group">

				<?php
				$query = 	"SELECT * FROM catogorie";
						$result = mysqli_query($db, $query) or die("FOUT : " . mysqli_error());

						while($row = mysqli_fetch_assoc($result)){
				?>
				<a href="?page=home&categorie=<?php echo $row['idcategorie']; ?>" class="list-group-item"><?php echo $row['naam']; ?></a>

				<?php

				}
				?>
			  </div>
			</div>
<<<<<<< HEAD

			<?php
=======
			
			
			
			<?php 
>>>>>>> 57862a0adb3496ac21d42084a462c41079dce7b3
				if(!empty($_GET)){
				$page = $_GET['page'];
				include "page/$page.php";
				}else{
				include "page/home.php";
				}
			?>

		</div>
    </div>
	</div>
    <!-- /.container -->

    <!-- Footer -->
    <footer class="py-5 bg-dark">
      <div class="container">


<<<<<<< HEAD

=======
        <p class="m-0 text-center text-white">Copyright &copy; Ricks Interdimensional Shop 2017</p>
>>>>>>> ff956396ddec1af6efd7ac135e91639a1116e737

      </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><commit_msg>Goede versie<commit_after><!-- INDEX.PHP

FUNCTIES:
- Header, sidebars en footer inladen

-->

<?php include 'inc/db_connect.php';?>

<!DOCTYPE html>
<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>Ricks Interdimensional Shop | RIS</title>

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

    <!-- Custom styles for this template -->
    <link href="css/shop-homepage.css" rel="stylesheet">
	<link href="css/contact.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="#"><img src="img/logo.png" style="display: inline-block; height: 100px; width: 100px;"></a>
		<a class="navbar-brand" href="#">Ricks Interdimensional Shop</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 active">
              <a class="nav-link" href="?page=home">Home
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="?page=over">Over</a>
            </li>

            <li class="nav-item">
              <a class="nav-link" href="?page=contact">Contact</a>
            </li>

			<li class="nav-item">
              <a class="nav-link" href="?page=form_register">Registeren</a>
            </li>

            <li class="nav-item">
                    <a class="nav-link" href="?page=form_product_aanpassen">Product aanpassen</a>
                  </li>
                  <li class="nav-item">
                          <a class="nav-link" href="?page=form_product_verwijderen">Product verwijderen</a>
                        </li>

			
			<li class="nav-item">
              <a class="nav-link" href="?page=form_product">Product Toevoegen</a>
            </li>

			

          </ul>
        </div>
      </div>
    </nav>

    <!-- Page Content -->
    <div class="container">
		<div class="row">
			<div class="col-lg-3">
			<?php include 'page/form_login.php' ?>
			  <br><br>
			  <div class="list-group">

				<?php
				$query = 	"SELECT * FROM catogorie";
						$result = mysqli_query($db, $query) or die("FOUT : " . mysqli_error());

						while($row = mysqli_fetch_assoc($result)){
				?>
				<a href="?page=home&categorie=<?php echo $row['idcategorie']; ?>" class="list-group-item"><?php echo $row['naam']; ?></a>

				<?php

				}
				?>
			  </div>
			</div>


			<?php
		
				if(!empty($_GET)){
				$page = $_GET['page'];
				include "page/$page.php";
				}else{
				include "page/home.php";
				}
			?>

		</div>
    </div>
	</div>
    <!-- /.container -->

    <!-- Footer -->
    <footer class="py-5 bg-dark">
      <div class="container">





        <p class="m-0 text-center text-white">Copyright &copy; Ricks Interdimensional Shop 2017</p>


      </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>
{'fraction_non_alphanumeric': 0.19429110004039316, 'fraction_numerical': 0.01454153763296082, 'mean_word_length': 2.4136029411764706, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 224, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1480933', 'n_tokens_mistral': 2762, 'n_tokens_neox': 2414, 'n_words': 455}