-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Sep 05, 2019 at 10:05 AM
-- Server version: 5.7.27-0ubuntu0.18.04.1
-- PHP Version: 7.2.19-0ubuntu0.18.04.2

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `aspit`
--

-- --------------------------------------------------------

--
-- Table structure for table `attendees`
--

CREATE TABLE `attendees` (
  `id` int(11) NOT NULL,
  `eventid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `attendees`
--

INSERT INTO `attendees` (`id`, `eventid`, `userid`, `time`) VALUES
(25, 20, 2, 1566990318),
(34, 17, 11, 1566990927),
(45, 20, 1, 1566992785),
(47, 20, 11, 1567589289),
(50, 17, 2, 1567670619);

-- --------------------------------------------------------

--
-- Table structure for table `events`
--

CREATE TABLE `events` (
  `id` int(11) NOT NULL,
  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `type` int(11) NOT NULL,
  `description` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `events`
--

INSERT INTO `events` (`id`, `title`, `img`, `type`, `description`, `time`) VALUES
(17, 'Motion for Alle', 'https://aspit.dfine.net/odensetrack/img/uploads/QIMkH.png', 1, '<p>Text to be inserted in this very event. Or longer text to mimic shit that might be inserted here also.</p>', 1571907720),
(18, 'Need for Speed', 'https://aspit.dfine.net/odensetrack/img/uploads/ZR49W.png', 2, '<p>Lorem ipsum dolor sit amet, og en masse andet m&oslash;gtekst der kun er her for at demonstrere en lang eventtekst, og om teksten besk&aelig;res korrekt.</p>', 1579168920),
(19, 'Odense Baneløb', 'https://aspit.dfine.net/odensetrack/img/uploads/0fV6l.png', 2, '<p>d</p>', 1574262000),
(20, 'Odense Marathon Løb', 'https://aspit.dfine.net/odensetrack/img/uploads/R2XeS.png', 1, '<p>dd<img src=\"img/uploads/meL39.png\" alt=\"\" width=\"992\" height=\"328\" /></p>', 1571828400),
(21, 'Trackday', 'https://aspit.dfine.net/odensetrack/img/uploads/el2aP.jpg', 2, '<p>ff</p>', 1571220000),
(23, 'Some Event', 'https://aspit.dfine.net/odensetrack/img/uploads/amoWI.jpg', 2, '<p>Some text in here!</p>', 1582107660);

-- --------------------------------------------------------

--
-- Table structure for table `news`
--

CREATE TABLE `news` (
  `id` int(11) NOT NULL,
  `author` int(11) NOT NULL,
  `time` int(11) NOT NULL,
  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `type` int(11) NOT NULL,
  `content` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `img` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `news`
--

INSERT INTO `news` (`id`, `author`, `time`, `title`, `type`, `content`, `img`) VALUES
(17, 1, 1566383690, 'Newsfizzle for tha pizzle', 2, '<p><img src=\"img/uploads/GREETS-F1-header2.jpg\" alt=\"\" width=\"1320\" height=\"396\" />Lorizzle my shizz dolizzle gangsta amet, daahng dawg adipiscing elit. Pizzle i saw beyonces tizzles and my pizzle went crizzle velizzle, gizzle volutpizzle, suscipit quizzle, gravida vizzle, dang. Cool away bow wow wow. Bow wow wow eros. Own yo\' izzle shizznit dapibizzle turpis tempizzle bizzle. Mauris pellentesque nibh et turpizzle. Vestibulum in mofo. Pellentesque eleifend rhoncizzle bling bling. In hac habitasse platea dictumst. Donec dapibizzle. Fo shizzle my nizzle tellus urna, pretizzle shizzle my nizzle crocodizzle, mattizzle that\'s the shizzle, eleifend ma nizzle, nunc. Check out this check out this. Integizzle semper velit yo dawg.</p>\r\n<p>\"tw\"\'<img style=\"float: right;\" src=\"img/uploads/cbioM.jpg\" alt=\"\" width=\"447\" height=\"134\" /></p>\r\n<p>Vivamus fo shizzle maurizzle fo shizzle nisi pot break it down. Vivamizzle sizzle amet lacus. For sure eu nisl egizzle dope auctor bizzle. Crazy shiznit go to hizzle go to hizzle. Curabitur da bomb arcu. Vestibulizzle enizzle dawg, auctizzle gangsta, congue eu, dignissizzle crackalackin, libero. That\'s the shizzle fizzle fo shizzle yo erizzle posuere sure. Quisque pede tortor, congue pulvinar, auctor a, dizzle funky fresh mah nizzle, shizznit. Shiz izzle dui. Check out this risus shit, fo consectetizzle, that\'s the shizzle pimpin\', consequizzle imperdizzle, funky fresh. Quisque a ipsizzle yippiyo mi rutrum crunk. Curabitizzle accumsan sagittizzle ipsizzle. Pellentesque habitant phat tristique senectus izzle shizzlin dizzle izzle malesuada famizzle izzle yo hizzle. In fo shizzle my nizzle. Curabitur elementum. Ut eros felizzle, yo mamma cool, pimpin\' izzle, check out this pulvinizzle, fo shizzle mah nizzle fo rizzle, mah home g-dizzle. Get down get down fo gravida get down get down.</p>\r\n<p>&nbsp;</p>\r\n<p>Shizznit gangster auctizzle mauris. Phasellus you son of a bizzle pimpin\' ut nibh pretium crazy. Maecenizzle fizzle break it down. Vestibulizzle dawg lacizzle we gonna chung maurizzle elementum brizzle. Nunc izzle boom shackalack sizzle da bomb own yo\' ultricizzle dope. Fo shizzle my nizzle pot tortizzle, you son of a bizzle own yo\', hendrerizzle fo, adipiscing quis, gangsta. Etiam velit fizzle, for sure consequat, pharetra black, dictizzle that\'s the shizzle, mah nizzle. Vivamus get down get down. Funky fresh lorizzle. Proin vitae erizzle dizzle libero cool adipiscing. Fusce izzle augue fo shizzle mammasay mammasa mamma oo sa doggy bow wow wow. Phat fermentizzle sapien nizzle bow wow wow. Shizzle my nizzle crocodizzle lorem leo, fo shizzle my nizzle boofron, owned mah nizzle, commodo nizzle, justo. Donizzle crazy porttitizzle hizzle. Nunc feugizzle, tellus crackalackin shiz tempizzle, sapizzle fo shizzle tincidunt ante, egizzle dawg pede enizzle izzle fizzle. Phasellus quam leo, imperdizzle , pizzle izzle, semper izzle, sapizzle. Ut yo dope ipsum. Sed ante shizzlin dizzle, owned its fo rizzle, vestibulizzle izzle, rutrizzle check out this, velizzle. Mauris a doggy. Sed bizzle magna dizzle amet check out this iaculizzle own yo\'.</p>\r\n<p><img style=\"float: right;\" src=\"img/uploads/JSngC.jpg\" alt=\"\" width=\"560\" height=\"168\" /></p>\r\n<p>Sizzle metizzle get down get down, black izzle, cool izzle, black yippiyo, nulla. Donizzle own yo\', nisi i\'m in the shizzle get down get down malesuada, neque sheezy consequizzle velizzle, mollizzle fringilla libero mah nizzle izzle purus. Class bow wow wow taciti break yo neck, yall ad pimpin\' torquent funky fresh crunk tellivizzle, pizzle inceptos hymenizzle. For sure maurizzle shiz, scelerisque egizzle, iaculis vel, doggy that\'s the shizzle, elit. Tellivizzle shiz. Fusce velizzle fo shizzle my nizzle, accumsizzle fo, feugizzle for sure, hizzle i\'m in the shizzle, hizzle. Curabitizzle hizzle. Aenean nizzle mah nizzle non enim mattis pharetra. Integizzle stuff nizzle, laoreet izzle, mammasay mammasa mamma oo sa quizzle, check out this nizzle, ligula. Maecenas break yo neck, yall pede. I\'m in the shizzle nibh. Nulla enim. Nulla blandizzle. Daahng dawg metizzle shiznit, semper nizzle, lobortis that\'s the shizzle, molestie quizzle, lacus. Morbi mi dang, ghetto dawg, dapibus eu, pretizzle gizzle, velizzle. Morbi fo tellus quizzle fo shizzle tempizzle aliquam.<img src=\"img/uploads/sUCK4.jpg\" alt=\"\" width=\"992\" height=\"328\" /></p>', 'https://aspit.dfine.net/odensetrack/img/uploads/X02k7.jpg'),
(24, 2, 1566981452, 'sdfsdfsfsdf', 1, '<p><img src=\"img/uploads/pbmWn.png\" alt=\"\" width=\"823\" height=\"272\" /></p>\r\n<p>This is the damn news!</p>', 'https://aspit.dfine.net/odensetrack/img/uploads/3DZFm.png');

-- --------------------------------------------------------

--
-- Table structure for table `uploads`
--

CREATE TABLE `uploads` (
  `id` int(11) NOT NULL,
  `filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `date` int(11) NOT NULL,
  `user` int(11) NOT NULL,
  `mime` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `uploads`
--

INSERT INTO `uploads` (`id`, `filename`, `date`, `user`, `mime`) VALUES
(1, 'groovy.jpg', 1238473, 1, ''),
(2, 'bnZia.png', 1566902327, 2, ''),
(3, 'UgrOV.jpg', 1566902423, 2, 'image/jpeg'),
(4, 'AmjxF.rtf', 1566902538, 2, 'application/msword'),
(5, 'U6xKe.jpg', 1566904784, 2, 'image/jpeg'),
(6, 'PFwg0.png', 1566904808, 2, 'image/png'),
(7, 'cbioM.jpg', 1566905804, 2, 'image/jpeg'),
(8, '7gAdn.jpg', 1566979489, 2, 'image/jpeg'),
(9, 'PcE9b.png', 1566980565, 2, 'image/png'),
(10, 'a478N.png', 1566980581, 2, 'image/png'),
(11, 'vTcFr.jpg', 1566980656, 2, 'image/jpeg'),
(12, 'qb0Jb.jpg', 1566981008, 2, 'image/jpeg'),
(13, 'OYwnk.jpg', 1566981343, 2, 'image/jpeg'),
(14, 'X02k7.jpg', 1566981367, 2, 'image/jpeg'),
(15, 'OVrdQ.jpg', 1566981452, 2, 'image/jpeg'),
(16, '3DZFm.png', 1566981512, 2, 'image/png'),
(17, 'pbmWn.png', 1566981558, 2, 'image/png'),
(18, 'QIMkH.png', 1566982941, 2, 'image/png'),
(19, 'ZR49W.png', 1566982977, 2, 'image/png'),
(20, '0fV6l.png', 1566982996, 2, 'image/png'),
(21, 'R2XeS.png', 1566983014, 2, 'image/png'),
(22, 'el2aP.jpg', 1566983033, 2, 'image/jpeg'),
(23, 'xOTU7.png', 1566990990, 1, 'image/png'),
(24, 'meL39.png', 1566992456, 1, 'image/png'),
(25, 'amoWI.jpg', 1567588908, 2, 'image/jpeg'),
(26, 'fxjK2.jpg', 1567589582, 2, 'image/jpeg');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `realname` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `level` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `realname`, `username`, `password`, `email`, `level`) VALUES
(1, 'Kenneth Hedahl', 'Kenneth', '$argon2i$v=19$m=1024,t=2,p=2$Q2M5emhlRi5WWXdGSkpvMA$qwSXN6rCu/87mSUuv0gsOS8ErMOFqp0hTwbVOFwm+Rg', 'mail@dfine.net', 100),
(2, 'Carsten Sørensen', 'admin', '$argon2i$v=19$m=1024,t=2,p=2$aFlCU1ZSVzAwczFnVWNKRg$qvc56gqqHvTXS+4vR91iNPDGQ8ETOYQ0Wzmn429+xAk', 'admin@adminmail.nu', 100),
(3, 'real', 'user', 'pass', 'mail', 25),
(9, 'huehue', 'huehue', '$argon2i$v=19$m=1024,t=2,p=2$b2p2T2FGU3BzSExpejZ4Wg$a2jtHscJ6GF/XUPCiySuKSbQP1JEcMngoUIXFM1Gb9I', 'huehue@hue.heehe', 25),
(10, 'John Mogensen', 'John', '$argon2i$v=19$m=1024,t=2,p=2$Y3RYa0N2ek1RNXRWaHo2Sg$n+InpYwtRuWEopdemE/tbXb/Gx60zdpV3GtCPRPOSjs', 'john@tele.dk', 25),
(11, 'Kenneth Hedahl', 'Kennethz', '$argon2i$v=19$m=1024,t=2,p=2$WEZGMTlTMFIxWnJ0V1ZrVg$BsoH7kLdEcbR4xPoQeiAPtmIC28cwKVudSeag909iOc', 'mail@dfine.net', 25);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `attendees`
--
ALTER TABLE `attendees`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `events`
--
ALTER TABLE `events`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `news`
--
ALTER TABLE `news`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `uploads`
--
ALTER TABLE `uploads`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `attendees`
--
ALTER TABLE `attendees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;

--
-- AUTO_INCREMENT for table `events`
--
ALTER TABLE `events`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `uploads`
--
ALTER TABLE `uploads`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
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 */;
