-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Een grootte fout met een geweldige oplossing
- Loading branch information
1 parent
3aa5d8c
commit 2f5e52a
Showing
13 changed files
with
123 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
-- phpMyAdmin SQL Dump | ||
-- version 5.0.2 | ||
-- https://www.phpmyadmin.net/ | ||
-- | ||
-- Host: localhost | ||
-- Generation Time: Nov 17, 2020 at 03:42 PM | ||
-- Server version: 10.4.14-MariaDB | ||
-- PHP Version: 7.3.22 | ||
|
||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | ||
START TRANSACTION; | ||
SET time_zone = "+00:00"; | ||
|
||
|
||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | ||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | ||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | ||
/*!40101 SET NAMES utf8mb4 */; | ||
|
||
-- | ||
-- Database: `MijnDatabase` | ||
-- | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Table structure for table `video` | ||
-- | ||
|
||
CREATE TABLE `video` ( | ||
`Video_ID` int(11) NOT NULL, | ||
`Naam` varchar(128) NOT NULL, | ||
`File` varchar(256) NOT NULL, | ||
`Thumbnail` varchar(256) NOT NULL, | ||
`CategorieID` int(11) NOT NULL, | ||
`KanaalID` int(11) NOT NULL | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
|
||
-- | ||
-- Dumping data for table `video` | ||
-- | ||
|
||
INSERT INTO `video` (`Video_ID`, `Naam`, `File`, `Thumbnail`, `CategorieID`, `KanaalID`) VALUES | ||
(9, 'titletje', 'videoplayback.mp4', 'Photo on 21-11-2019 at 15.53.jpg', 4, 27); | ||
|
||
-- | ||
-- Indexes for dumped tables | ||
-- | ||
|
||
-- | ||
-- Indexes for table `video` | ||
-- | ||
ALTER TABLE `video` | ||
ADD PRIMARY KEY (`Video_ID`), | ||
ADD KEY `KanaalID` (`KanaalID`), | ||
ADD KEY `CategorieID` (`CategorieID`); | ||
|
||
-- | ||
-- AUTO_INCREMENT for dumped tables | ||
-- | ||
|
||
-- | ||
-- AUTO_INCREMENT for table `video` | ||
-- | ||
ALTER TABLE `video` | ||
MODIFY `Video_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; | ||
|
||
-- | ||
-- Constraints for dumped tables | ||
-- | ||
|
||
-- | ||
-- Constraints for table `video` | ||
-- | ||
ALTER TABLE `video` | ||
ADD CONSTRAINT `video_ibfk_1` FOREIGN KEY (`KanaalID`) REFERENCES `kanaal` (`Kanaal_ID`), | ||
ADD CONSTRAINT `video_ibfk_2` FOREIGN KEY (`CategorieID`) REFERENCES `categorie` (`Categorie_ID`); | ||
COMMIT; | ||
|
||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | ||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<?php | ||
session_start(); | ||
require('php/database.php'); | ||
//query om de categorien te vinden in de database | ||
$query = "SELECT * FROM `categorie`"; | ||
|
@@ -23,23 +22,16 @@ | |
<fieldset id="tab011"> | ||
<div class="bg-light"> | ||
<h5 class="text-center mb-4 mt-0 pt-4">Sign in</h5> | ||
<<<<<<< HEAD | ||
<form method="POST" action="php/inlog_verwerk.php"> | ||
======= | ||
<form method="POST" action="php/login_verwerk.php"> | ||
<div class="form-group"> | ||
<label>Email</label> | ||
<input type="mail" name="email" class="form-control" id="email" placeholder="[email protected]"> | ||
</div> | ||
>>>>>>> feature-video-toevoegen | ||
<div class="form-group"> | ||
<label>Username</label> | ||
<input name="username" id="username" class="form-control" placeholder="Peter857" type="text"> | ||
</div> | ||
<<<<<<< HEAD | ||
======= | ||
|
||
>>>>>>> feature-video-toevoegen | ||
<div class="form-group"> | ||
<label>Password</label> | ||
<input name="password" id="password" class="form-control" placeholder="********" type="password"> | ||
|
@@ -104,17 +96,4 @@ | |
</div> | ||
</div> | ||
</div> | ||
<<<<<<< HEAD | ||
<script defer src="js/login.js"></script> | ||
</div> | ||
======= | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php | ||
require('components/scripts.php'); | ||
?> | ||
<script defer src="js/login.js"></script> | ||
</div> | ||
>>>>>>> feature-video-toevoegen | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="bg-twitch rounded" id="sidebar-wrapper"> | ||
<div class="list-group list-group-flush"> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Subscriptions</a> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Channel</a> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Channel</a> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Channel</a> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Channel</a> | ||
<a href="#" class="list-group-item list-group-item-action text-white bg-dark">Channel</a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$("#menu-toggle").click(function(event) { | ||
/*$("#menu-toggle").click(function(event) { | ||
event.preventDefault(); | ||
$("#wrapper").toggleClass("toggled"); | ||
}); | ||
});*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters