-- phpMyAdmin SQL Dump
-- version 2.6.0-beta2
-- http://www.phpmyadmin.net
-- 
-- Hostiteľ: localhost
-- Vygenerované:: 04.Máj, 2009 - 23:56
-- Verzia serveru: 4.0.20
-- Verzia PHP: 5.0.0
-- 
-- Databáza: `e_learning`
-- 
CREATE DATABASE `e_learning`;
USE e_learning;

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

-- 
-- Štruktúra tabuľky pre tabuľku `articles`
-- 

CREATE TABLE `articles` (
  `id` int(11) NOT NULL auto_increment,
  `id_root` int(11) NOT NULL default '0',
  `id_category` int(11) NOT NULL default '0',
  `id_branch` int(11) NOT NULL default '0',
  `add_by` int(11) NOT NULL default '0',
  `remake_of` int(11) NOT NULL default '0',
  `nadpis` varchar(255) NOT NULL default '',
  `popis` text NOT NULL,
  `attach` text NOT NULL,
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `show_web` int(11) NOT NULL default '0',
  `rate` int(11) NOT NULL default '0',
  `rated` int(11) NOT NULL default '0',
  `utime` int(11) NOT NULL default '0',
  `del_id` int(11) NOT NULL default '0',
  `del_time` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=63 ;

-- 
-- Sťahujem dáta pre tabuľku `articles`
-- 

INSERT INTO `articles` VALUES (1, 1, 4, 6, 1, 1, 'Prednaska 01', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque libero et tellus. Curabitur congue convallis augue. In eu orci et massa congue accumsan. Praesent blandit nunc quis eros. Fusce egestas porta ipsum. Nam sed orci. Nulla facilisi. Nunc est. Nulla facilisi. Nam tincidunt dui at diam porta auctor. ', '', '0000-00-00 00:00:00', 1, 18, 7, 0, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (2, 1, 4, 6, 1, 2, 'Prednaska 02', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque libero et tellus. Curabitur congue convallis augue. In eu orci et massa congue accumsan. Praesent blandit nunc quis eros. Fusce egestas porta ipsum. Nam sed orci. Nulla facilisi. Nunc est. Nulla facilisi. Nam tincidunt dui at diam porta auctor. ', '', '0000-00-00 00:00:00', 1, 6, 2, 0, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (3, 1, 5, 6, 1, 3, 'Prednaska 01', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque libero et tellus. Curabitur congue convallis augue. In eu orci et massa congue accumsan. Praesent blandit nunc quis eros. Fusce egestas porta ipsum. Nam sed orci. Nulla facilisi. Nunc est. Nulla facilisi. Nam tincidunt dui at diam porta auctor. ', '', '0000-00-00 00:00:00', 1, 0, 0, 0, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (4, 1, 4, 6, 1, 4, 'aaa', '<h2><font face="trebuchet ms">Nadpis</font></h2><font face="trebuchet ms"><i>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus\r\nsapien. Cum sociis natoque penatibus et magnis dis parturient montes,\r\nnascetur ridiculus mus. Curabitur augue pede, consequat sit amet,\r\nfringilla eu, pellentesque et, nulla. </i><br /><br />Ut ligula augue, accumsan et,\r\nviverra eget, dignissim ut, lectus. Fusce sollicitudin, sapien ut\r\nimperdiet commodo, sem arcu mollis massa, id dapibus purus mauris sit\r\namet nisi. Ut vitae felis nec nisl fringilla porta. Nullam nec nibh at\r\nest semper mattis. Sed non nisl. Aliquam luctus sodales odio. Nunc\r\nultrices, orci pharetra pharetra consequat, turpis odio vulputate erat,\r\nquis convallis enim sem eu elit. Donec convallis porta lectus. In hac\r\nhabitasse platea dictumst. Morbi vehicula quam et sem. Sed aliquet nunc\r\nin mi. Proin ac nulla in ante sagittis suscipit. Sed euismod augue.\r\n</font>\r\n<p><font face="trebuchet ms">Cras ultrices, nibh sed dictum vestibulum, ligula enim imperdiet\r\ntellus, et pharetra urna elit eget leo. In felis felis, rhoncus\r\nfaucibus, rhoncus eget, tincidunt et, eros. Nullam consectetur congue\r\ntortor. Quisque dolor metus, imperdiet nec, tempus in, porta non, nibh.\r\nAenean ut nunc ac sapien dictum scelerisque. Donec blandit accumsan\r\nligula. Suspendisse vel lacus. Pellentesque habitant morbi tristique\r\nsenectus et netus et malesuada fames ac turpis egestas. Class aptent\r\ntaciti sociosqu ad litora torquent per conubia nostra, per inceptos\r\nhimenaeos. <br /></font></p>\r\n<p><b><font face="trebuchet ms">Cras feugiat tempus lacus. Quisque a quam sed dui sodales\r\ntincidunt. Praesent orci ipsum, pharetra et, dignissim sed, egestas ut,\r\npurus. Sed nisi.\r\n</font></b></p>\r\n<font face="trebuchet ms"><br /></font>', '', '2009-01-31 20:25:01', 1, 10, 2, 1233429901, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (5, 1, 4, 6, 1, 5, 'Heading', '<p><font face="trebuchet ms">\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque\r\ncursus iaculis mi. Nulla facilisi. Aliquam accumsan venenatis dui. Nunc\r\neuismod. Pellentesque dolor sapien, imperdiet a, porttitor ut, molestie\r\nid, enim. Fusce sed mauris. Nam pretium, nisl at tempor tristique,\r\nlectus ipsum hendrerit enim, et condimentum urna arcu vel lorem.\r\nPhasellus dictum, turpis lacinia egestas mattis, ligula neque dictum\r\nvelit, vitae pharetra risus dolor vel orci. Duis laoreet urna eget\r\nquam. Duis sapien.\r\n</font></p>\r\n<p><font face="trebuchet ms">Etiam vestibulum tortor nec est. Quisque nec leo. Nunc porttitor\r\nnunc nec lacus. Vivamus placerat luctus elit. Duis ut est luctus nibh\r\ntempor imperdiet. Sed eu nisi eu magna tempor tincidunt. Donec in urna.\r\nProin vehicula, dui a semper ultricies, eros nunc accumsan ipsum, ut\r\nvehicula lorem turpis id dui. Suspendisse potenti. Nulla facilisi.\r\nPraesent quis orci.\r\n</font></p>\r\n<p><font face="trebuchet ms">Vestibulum porta nibh et pede. Nullam vel lectus. Sed fermentum.\r\nAenean ac metus. Nam tempus erat vitae metus. Quisque lacinia laoreet\r\nmassa. Nullam vel metus. Nam at nunc. Nullam sollicitudin rutrum mi.\r\nMaecenas non dui at quam lobortis imperdiet. Cras et odio et risus\r\nadipiscing posuere. Suspendisse mattis sollicitudin diam.\r\n</font></p>', '', '2009-01-31 20:48:49', 1, 0, 0, 1233431329, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (6, 1, 4, 6, 1, 6, 'nadpis s obrazok', '<p><font face="trebuchet ms">\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur\r\nrutrum tortor et augue. Etiam sit amet nisi sed ipsum consectetur\r\ntempor. Pellentesque tempus, nulla ut iaculis gravida, nulla pede\r\npulvinar orci, vel consectetur lacus neque vel eros. Mauris neque\r\ndolor, egestas eu, varius et, imperdiet non, massa. Vivamus eu nisi.\r\nSed ac quam ut massa aliquet scelerisque. Nullam lacus eros, egestas\r\nid, aliquet in, malesuada ac, ante. Cras nulla mi, vestibulum sed,\r\npulvinar id, malesuada sed, tellus. Quisque fermentum scelerisque orci.\r\nSed et dolor eleifend justo facilisis iaculis. <br /></font></p>\r\n<p><img src="images/uploaded/100004.jpg" alt="description" title="description" border="0" /></p>\r\n<p><font face="trebuchet ms">Nullam ipsum. Aenean ultrices diam nec enim gravida egestas. Cras\r\ntempus tempor dui. Lorem ipsum dolor sit amet, consectetur adipiscing\r\nelit. Ut libero nibh, suscipit non, semper vitae, porta condimentum,\r\npede. In arcu tellus, dignissim ac, vehicula at, malesuada ut, enim.\r\nFusce sagittis commodo libero. Cras tempus, odio ac faucibus rhoncus,\r\nlorem lorem vehicula eros, et euismod odio dolor sed velit. Proin est\r\ntellus, tincidunt sed, commodo a, ultricies tempor, libero. Suspendisse\r\nfacilisis ligula laoreet lorem. Pellentesque placerat metus. Quisque\r\nnon nulla. Donec leo neque, iaculis ut, bibendum nec, tincidunt luctus,\r\nquam. Duis at nisi. Sed sodales. Nulla tincidunt, enim ullamcorper\r\ncommodo ultrices, felis metus ullamcorper felis, vitae faucibus nisl\r\nleo sit amet felis. Pellentesque felis.\r\n</font></p>', '', '2009-01-31 21:16:14', 1, 0, 0, 1233432974, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (7, 1, 4, 6, 1, 7, 'head', '<h3 style="text-align: center; color: rgb(255, 0, 0);">Pozor pokial chcete<img src="images/uploaded/100016.jpg" border="0" /> pridat obrazok musite ho uploadovat pred pridanim clanku</h3>\r\n		\r\n<h4>Adresa vami uploadnutych obrazkov:<img src="images/uploaded/100017.jpg" border="0" /></h4>', '', '2009-01-31 21:29:01', 1, 0, 0, 1233433741, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (8, 1, 5, 6, 1, 8, 'Táto sekcia je venovaná poznámkam rôznych predmetov.', '<p><font face="trebuchet ms">\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tempor,\r\naugue nec pulvinar dictum, mi arcu aliquet massa, a auctor elit nisi eu\r\nligula. Cras eget quam nec tortor vehicula luctus. Cum sociis natoque\r\npenatibus et magnis dis parturient montes, nascetur ridiculus mus.\r\nFusce consectetur dolor sit amet sapien. Vestibulum id sapien. Nullam\r\ntellus. Phasellus laoreet erat fringilla turpis. In hac habitasse\r\nplatea dictumst. Sed vitae urna. Nulla blandit leo in justo. Duis\r\nmollis semper risus. Donec eros enim, suscipit vitae, vestibulum nec,\r\nvehicula sit amet, justo. Nunc tincidunt pharetra elit. Etiam faucibus,\r\nodio vel pretium posuere, elit mi molestie velit, sed condimentum magna\r\nsem in metus. Vestibulum tincidunt nisi vitae ligula vestibulum\r\naliquet. Maecenas ornare iaculis nulla. Nullam consectetur purus varius\r\nnisl. Donec a neque quis nisi cursus tempus. Cras venenatis. Sed non\r\nlectus. <br />\r\n</font></p>\r\n<p><img src="images/uploaded/100019.jpg" border="0" /></p>\r\n\r\n\r\n<p><font face="trebuchet ms">Vivamus quis nulla sed mauris tempor dignissim. Aliquam mollis sem\r\nid metus. Cras in turpis. Sed metus purus, facilisis id, pellentesque\r\nnon, tristique malesuada, turpis. Praesent pharetra, lorem id ornare\r\nhendrerit, justo nisi mollis libero, eu commodo ligula erat non ante.\r\nPhasellus in elit nec erat viverra aliquet. Suspendisse eget augue. Nam\r\nlobortis, lorem eu vestibulum laoreet, velit nisl tincidunt lectus, sed\r\nsagittis odio dui a quam. Nunc quis libero. Vestibulum ante ipsum\r\nprimis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed\r\nsapien. Phasellus viverra, ligula at mollis lacinia, metus mauris\r\nposuere libero, et facilisis massa magna at diam. Etiam eget neque eget\r\nmetus auctor ultricies. Vestibulum vulputate, libero eget dictum\r\ntincidunt, nulla ligula congue elit, a ullamcorper nunc diam vel urna.\r\nEtiam pharetra libero sed nibh. Donec elementum. In hac habitasse\r\nplatea dictumst. <br />\r\n</font></p>\r\n<p><img src="images/uploaded/100020.jpg" border="0" /></p>\r\n\r\n\r\n<p><font face="trebuchet ms">Phasellus nec neque. Maecenas diam mi, molestie quis, lacinia quis,\r\ntempus nec, odio. Sed lacus leo, volutpat vitae, scelerisque ut,\r\nvestibulum id, quam. Integer eget leo id ligula laoreet condimentum. In\r\neros elit, sagittis at, adipiscing et, porttitor eget, ipsum. Nam\r\ntincidunt malesuada quam. Sed sit amet velit. Curabitur sollicitudin\r\ntristique ipsum. Vestibulum eget nulla. Praesent viverra justo nec\r\nlectus. Vivamus elementum. In consectetur quam id elit. Curabitur\r\nfermentum laoreet dui. Proin lectus lacus, lobortis at, feugiat a,\r\nvenenatis et, sapien.\r\n</font></p>', '', '2009-01-31 21:31:46', 1, 0, 0, 1233433906, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (9, 1, 5, 6, 1, 9, 'aaa', 'aaa', '', '2009-01-31 23:08:23', 1, 0, 0, 1233439703, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (11, 1, 5, 7, 1, 11, 'nadpis nieco 5,7', 'popis', '', '0000-00-00 00:00:00', 1, 0, 0, 0, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (13, 2, 11, 8, 1, 13, 'aaa', 'eee', '', '2009-02-01 17:44:44', 1, 0, 0, 1233506684, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (14, 2, 10, 8, 1, 14, 'aaa', 'aaa', '', '2009-02-01 17:53:17', 1, 0, 0, 1233507197, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (15, 1, 4, 6, 1, 1, 'Prednaska 01 remake', 'Lorem ipsum dolor sit amet, consectetur adipiscing...', '', '2009-03-21 15:13:00', 1, 18, 6, 1237648380, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (16, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest', 'Lorem ipsum dolor sit amet, consectetur adipiscing... blablabla', '', '2009-03-21 15:20:00', 1, 129, 42, 1237648800, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (17, 1, 5, 6, 1, 17, 'aaa', 'aaa', '', '2009-04-25 09:59:37', 1, 0, 0, 1240646377, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (18, 1, 4, 6, 1, 18, 'qqq', 'qqq', '', '2009-04-25 10:00:04', 1, 0, 0, 1240646404, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (19, 1, 5, 6, 1, 19, 'brekeke', 'brekeke text<br />', '', '2009-04-25 12:13:42', 1, 0, 0, 1240654422, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (20, 1, 4, 6, 1, 20, 'nieco nove', 'skusam funkciu vracajucu auto_increment<br /><img style="width: 100px;" src="./images/uploaded/100056.jpg" border="0" /><br />aj obrazok<br />', '', '2009-04-25 13:05:53', 1, 5, 1, 1240657553, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (27, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest4', 'Lorem ipsum dolor sit amet, consectetur adipiscing... blablablazxxxx', '', '2009-04-25 14:45:56', 1, 5, 1, 1240663556, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (26, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest3', 'Lorem ipsum dolor sit amet, consectetur adipiscing... blablabla', '', '2009-04-25 14:45:29', 1, 0, 0, 1240663529, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (25, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest2', 'Lorem ipsum dolor sit amet, consectetur adipiscing... blablabla', '', '2009-04-25 14:42:31', 1, 5, 1, 1240663351, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (28, 1, 5, 6, 1, 28, 'novy clanok', '<img src="./images/uploaded/100057.jpg" border="0" /> text noveho clanku<br />', '', '2009-04-25 20:59:12', 1, 0, 0, 1240685952, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (29, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest5', 'Lorem ipsum dolor sit amet, consectetur adipiscing... blablablazxxxxaaa', '', '2009-04-25 23:09:31', 1, 1, 1, 1240693771, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (37, 1, 5, 6, 1, 1, 'Prednaska 01 remake newest5', '<img style=\\"width: 100px;\\" src=\\"./images/uploaded/100117.jpg\\" border=\\"0\\" />Lorem ipsum dolor sit amet, consectetur adipiscing... blablablazxxxxaaa', '', '2009-04-26 12:39:04', 1, 4, 1, 1240742344, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (36, 1, 4, 6, 1, 36, 'qwerty', 'qwerty <img style="width: 200px;" src="./images/uploaded/100113.jpg" border="0" />', '', '2009-04-26 00:09:59', 1, 0, 0, 1240697399, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (38, 1, 4, 6, 1, 38, 'ggg', 'ggg <img style="width: 100px;" src="./images/uploaded/100123.jpg" border="0" />', '', '2009-04-26 20:11:31', 1, 3, 1, 1240769491, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (39, 1, 5, 6, 1, 39, 'ttt', 'ttt', '', '2009-04-26 22:05:21', 1, 0, 0, 1240776321, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (40, 1, 5, 6, 1, 40, 'iii', 'iii', '', '2009-04-26 22:06:45', 1, 0, 0, 1240776405, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (41, 1, 5, 6, 1, 41, 'lll', 'lll', '', '2009-04-26 22:09:33', 1, 0, 0, 1240776573, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (42, 1, 5, 6, 1, 42, 'bbb', 'bbb', '', '2009-04-26 22:12:30', 1, 0, 0, 1240776750, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (43, 1, 5, 6, 1, 43, 'vvv', 'vvv', '', '2009-04-26 22:14:07', 1, 0, 0, 1240776847, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (44, 1, 5, 6, 1, 44, 'ccccc', 'ccccc <img style="width: 300px;" src="./images/uploaded/100124.jpg" border="0" />', '', '2009-04-27 11:26:12', 1, 0, 0, 1240824372, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (45, 1, 5, 6, 1, 44, 'ccccc', 'ccccc <img style=\\"width: 300px;\\" src=\\"./images/uploaded/100124.jpg\\" border=\\"0\\" />', '', '2009-04-27 11:27:31', 1, 0, 0, 1240824451, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (46, 1, 4, 6, 1, 46, 'rrr', 'rrr', '', '2009-04-27 11:29:33', 1, 0, 0, 1240824573, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (47, 1, 4, 6, 1, 47, 'rrr', 'rrr', '', '2009-04-27 11:30:28', 1, 0, 0, 1240824628, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (48, 1, 4, 6, 1, 48, 'ggg', 'ggg', '', '2009-04-27 11:40:35', 1, 0, 0, 1240825235, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (49, 1, 4, 6, 1, 49, 'rrr', 'rrr', '', '2009-04-27 11:41:34', 1, 0, 0, 1240825294, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (50, 1, 4, 6, 1, 50, 'rrr nove', 'rrr', '', '2009-04-27 11:44:21', 1, 0, 0, 1240825461, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (51, 1, 4, 6, 1, 51, 'skuska celeho uploadu prispevku', '<img src="./images/uploaded/100125.jpg" border="0" /><br />nejaky text...<br />', '', '2009-04-27 11:47:37', 1, 0, 0, 1240825657, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (52, 1, 4, 6, 1, 51, 'skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 11:49:03', 1, 0, 0, 1240825743, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (53, 1, 4, 6, 1, 51, 'dalsia skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 12:01:29', 1, 0, 0, 1240826489, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (54, 1, 4, 6, 1, 51, 'dalsia skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 12:05:06', 1, 0, 0, 1240826706, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (55, 1, 4, 6, 1, 51, 'dalsia skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 12:05:47', 1, 3, 1, 1240826747, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (56, 1, 4, 6, 1, 51, 'dalsia skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 16:17:01', 1, 0, 0, 1240841821, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (57, 1, 4, 6, 1, 51, 'dalsia skuska prerabky celeho uploadu prispevku', '<img src=\\"./images/uploaded/100125.jpg\\" border=\\"0\\" /><br />nejaky text...<br />', '', '2009-04-27 16:21:08', 1, 6, 1, 1240842068, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (59, 2, 10, 8, 1, 59, 'novy nazov', 'text noveho nazvu<br /><img src="./images/uploaded/100127.jpg" border="0" /><br />', '', '2009-04-27 17:12:51', 1, 0, 0, 1240845171, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (60, 2, 10, 8, 1, 59, 'novy nazov', 'text noveho nazvu<br /><img src=\\"./images/uploaded/100127.jpg\\" border=\\"0\\" /><br />', '', '2009-04-27 17:13:07', 1, 0, 0, 1240845187, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (61, 1, 13, 7, 1, 61, 'inf- matematika', 'text', '', '2009-04-27 18:03:44', 1, 0, 0, 1240848224, 0, '0000-00-00 00:00:00');
INSERT INTO `articles` VALUES (62, 14, 17, 15, 1, 62, 'programovanie prvy prispevok', 'asi tu mam niekde bug:<br /><br /><img src="./images/uploaded/100129.jpg" border="0" /><br />', '', '2009-04-27 18:15:36', 1, 0, 0, 1240848936, 0, '0000-00-00 00:00:00');

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

-- 
-- Štruktúra tabuľky pre tabuľku `articles_attach`
-- 

CREATE TABLE `articles_attach` (
  `id` int(11) NOT NULL auto_increment,
  `id_article` int(11) NOT NULL default '0',
  `path` varchar(255) NOT NULL default '',
  `count` int(11) NOT NULL default '0',
  `show_web` tinyint(4) NOT NULL default '1',
  `del_id` int(11) NOT NULL default '0',
  `del_time` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=52 ;

-- 
-- Sťahujem dáta pre tabuľku `articles_attach`
-- 

INSERT INTO `articles_attach` VALUES (1, 44, 'attach/44/samuelmorse09.gif', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (2, 45, 'attach/44/samuelmorse09.gif', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (3, 51, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (4, 51, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (6, 51, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (7, 51, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (8, 52, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (9, 52, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (11, 52, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (12, 52, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (13, 53, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (14, 53, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (16, 53, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (17, 53, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (18, 54, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (19, 54, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (21, 54, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (22, 54, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (23, 54, 'attach/54/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (24, 55, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (25, 55, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (27, 55, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (28, 55, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (29, 55, 'attach/54/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (30, 55, 'attach/55/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (31, 56, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (32, 56, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (51, 62, 'attach/62/bakalarka.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (34, 56, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (35, 56, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (36, 56, 'attach/54/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (37, 56, 'attach/55/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (49, 60, 'attach/60/02.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (39, 57, 'attach/51/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (40, 57, 'attach/51/ja.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (50, 61, 'attach/61/02.jpg', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (42, 57, 'attach/51/archiv2.tar.gz', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (43, 57, 'attach/51/subor.txt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (44, 57, 'attach/54/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (45, 57, 'attach/55/02.ppt', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (48, 58, 'attach/58/inf_masarik.pdf', 0, 1, 0, '0000-00-00 00:00:00');
INSERT INTO `articles_attach` VALUES (47, 57, 'attach/57/Odovzdavanie parametrov.html', 0, 1, 0, '0000-00-00 00:00:00');

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

-- 
-- Štruktúra tabuľky pre tabuľku `articles_attach_icon`
-- 

CREATE TABLE `articles_attach_icon` (
  `id` smallint(6) NOT NULL auto_increment,
  `koncovka` varchar(5) NOT NULL default '',
  `path` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=17 ;

-- 
-- Sťahujem dáta pre tabuľku `articles_attach_icon`
-- 

INSERT INTO `articles_attach_icon` VALUES (1, '7z', 'attach/icons/7z.jpg');
INSERT INTO `articles_attach_icon` VALUES (2, 'doc', 'attach/icons/doc.jpg');
INSERT INTO `articles_attach_icon` VALUES (3, 'gif', 'attach/icons/gif.jpg');
INSERT INTO `articles_attach_icon` VALUES (4, 'jpeg', 'attach/icons/jpeg.jpg');
INSERT INTO `articles_attach_icon` VALUES (5, 'jpg', 'attach/icons/jpg.jpg');
INSERT INTO `articles_attach_icon` VALUES (6, 'mp3', 'attach/icons/mp3.jpg');
INSERT INTO `articles_attach_icon` VALUES (7, 'odp', 'attach/icons/odp.jpg');
INSERT INTO `articles_attach_icon` VALUES (8, 'ods', 'attach/icons/ods.jpg');
INSERT INTO `articles_attach_icon` VALUES (9, 'odt', 'attach/icons/odt.jpg');
INSERT INTO `articles_attach_icon` VALUES (10, 'pdf', 'attach/icons/pdf.jpg');
INSERT INTO `articles_attach_icon` VALUES (11, 'png', 'attach/icons/png.jpg');
INSERT INTO `articles_attach_icon` VALUES (12, 'rar', 'attach/icons/rar.jpg');
INSERT INTO `articles_attach_icon` VALUES (13, 'txt', 'attach/icons/txt.jpg');
INSERT INTO `articles_attach_icon` VALUES (14, 'wav', 'attach/icons/wav.jpg');
INSERT INTO `articles_attach_icon` VALUES (15, 'xls', 'attach/icons/xls.jpg');
INSERT INTO `articles_attach_icon` VALUES (16, 'zip', 'attach/icons/zip.jpg');

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

-- 
-- Štruktúra tabuľky pre tabuľku `categories`
-- 

CREATE TABLE `categories` (
  `id_category` int(11) NOT NULL auto_increment,
  `id_parent` int(11) NOT NULL default '0',
  `category` varchar(255) NOT NULL default '',
  `category_alt` varchar(255) NOT NULL default '',
  `include` varchar(255) NOT NULL default '',
  `show_web` int(11) NOT NULL default '0',
  `rank` int(11) NOT NULL default '0',
  `cat_type` tinyint(4) NOT NULL default '0',
  `group_rights` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`id_category`)
) TYPE=MyISAM COMMENT='group- 0 ziak, 1- ucitel, 2-admin' AUTO_INCREMENT=20 ;

-- 
-- Sťahujem dáta pre tabuľku `categories`
-- 

INSERT INTO `categories` VALUES (1, 0, 'Poznámky', 'Poznámky', 'pages/poznamky.php', 1, 1, 0, 0);
INSERT INTO `categories` VALUES (2, 0, 'Písomky-skúšky', 'Písomky-skúšky', 'pages/poznamky.php', 1, 2, 0, 0);
INSERT INTO `categories` VALUES (3, 0, 'Registrácia', 'Registrácia', 'pages/registration.php', 1, 10, 0, 0);
INSERT INTO `categories` VALUES (4, 6, 'Mat', 'Matematika', '', 1, 3, 0, 0);
INSERT INTO `categories` VALUES (5, 6, 'DMat', 'Diskrétna matematika', '', 1, 4, 0, 0);
INSERT INTO `categories` VALUES (6, 1, 'AIN', 'Aplikovaná informatika', '', 1, 1, 1, 0);
INSERT INTO `categories` VALUES (7, 1, 'INF', 'Informatika', '', 1, 2, 1, 0);
INSERT INTO `categories` VALUES (8, 2, 'AIN', 'Aplikovaná informatika', '', 1, 1, 1, 0);
INSERT INTO `categories` VALUES (9, 2, 'INF', 'Informatika', '', 1, 2, 1, 0);
INSERT INTO `categories` VALUES (10, 8, 'Mat', 'Matematika', '', 1, 3, 0, 0);
INSERT INTO `categories` VALUES (11, 8, 'DMat', 'Diskrétna matematika', '', 1, 4, 0, 0);
INSERT INTO `categories` VALUES (12, 0, 'Fórum', 'Fórum', 'pages/forum.php', 1, 4, 0, 0);
INSERT INTO `categories` VALUES (13, 7, 'Mat', 'Matematika', '', 1, 5, 0, 0);
INSERT INTO `categories` VALUES (14, 0, 'Oficiálne podklady', 'Oficiálne podklady k predmetom', 'pages/poznamky.php', 1, 3, 0, 1);
INSERT INTO `categories` VALUES (15, 14, 'INF', 'Informatika', '', 1, 1, 1, 0);
INSERT INTO `categories` VALUES (16, 15, 'Programovanie I.', 'Programovanie I. A. Blaho', '', 1, 1, 0, 0);
INSERT INTO `categories` VALUES (17, 15, 'Programovanie II.', 'Programovanie II. A. Blaho', '', 1, 2, 0, 0);
INSERT INTO `categories` VALUES (18, 0, 'Administrácia', 'Administrácia', 'pages/admin.php', 1, 20, 0, 2);
INSERT INTO `categories` VALUES (19, 0, 'uzivatelska prirucka', 'uzivatelska prirucka', 'pages/user_guide.php', 0, 0, 0, 0);

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

-- 
-- Štruktúra tabuľky pre tabuľku `forum`
-- 

CREATE TABLE `forum` (
  `id` int(11) NOT NULL auto_increment,
  `id_parent` int(11) NOT NULL default '0',
  `id_tema` int(11) NOT NULL default '0',
  `add_by` int(11) NOT NULL default '0',
  `user_name` varchar(255) NOT NULL default '',
  `text` text NOT NULL,
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `utime` int(11) default NULL,
  `show_web` tinyint(4) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=25 ;

-- 
-- Sťahujem dáta pre tabuľku `forum`
-- 

INSERT INTO `forum` VALUES (1, 0, 1, 1, 'ja', 'text id 1', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (2, 0, 1, 1, 'ja', 'text id 2', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (3, 2, 1, 1, 'ja', 'text id 3', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (4, 2, 1, 1, 'ja', 'text id 4', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (5, 4, 1, 1, 'ja', 'text id 5', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (6, 3, 1, 1, 'ja', 'text id 6', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (7, 0, 1, 1, 'ja', 'text id 7', '0000-00-00 00:00:00', 22, 1);
INSERT INTO `forum` VALUES (10, 6, 1, 1, 'ja', 'aaa', '2009-02-01 23:16:52', 1233526612, 1);
INSERT INTO `forum` VALUES (11, 0, 1, 1, 'ja', 'prispevok', '2009-02-01 23:35:16', 1233527716, 1);
INSERT INTO `forum` VALUES (13, 1, 1, 1, 'ja', 'react na<br />\r\n  -> text id 1', '2009-04-27 22:32:30', 1240864350, 1);
INSERT INTO `forum` VALUES (14, 13, 1, 1, 'ja', 'react na<br />\r\n-> text id 1<br />\r\n  react na<br />\r\n    -> text id 1', '2009-04-27 22:34:25', 1240864465, 1);
INSERT INTO `forum` VALUES (15, 0, 1, 1, 'ja', 'dalsi prispevok', '2009-04-27 22:35:31', 1240864531, 1);
INSERT INTO `forum` VALUES (16, 15, 1, 1, 'ja', 'reakcia dalsi prispevok', '2009-04-27 23:02:28', 1240866148, 1);
INSERT INTO `forum` VALUES (17, 6, 1, 1, 'ja', 'aaa', '2009-04-27 23:06:22', 1240866382, 1);
INSERT INTO `forum` VALUES (18, 0, 5, 1, 'ja', 'prvy prispevok najnovsej temy', '2009-04-27 23:19:30', 1240867170, 1);
INSERT INTO `forum` VALUES (19, 0, 5, 1, 'ja', 'prvy prispevok najnovsej temy', '2009-04-27 23:19:38', 1240867178, 1);
INSERT INTO `forum` VALUES (20, 18, 5, 1, 'ja', 'prva reakcia', '2009-04-27 23:19:49', 1240867189, 1);
INSERT INTO `forum` VALUES (21, 0, 5, 1, 'ja', 'dalsi prispevok', '2009-04-27 23:20:19', 1240867219, 1);
INSERT INTO `forum` VALUES (22, 0, 1, 1, 'ja', 'ewww', '2009-04-28 17:01:47', 1240930907, 1);
INSERT INTO `forum` VALUES (23, 13, 1, 1, 'ja', 'aaa', '2009-04-28 17:02:15', 1240930935, 1);
INSERT INTO `forum` VALUES (24, 1, 1, 1, 'ja', 'klobasa', '2009-04-29 13:50:59', 1241005859, 1);

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

-- 
-- Štruktúra tabuľky pre tabuľku `forum_temy`
-- 

CREATE TABLE `forum_temy` (
  `id` int(11) NOT NULL auto_increment,
  `nazov` varchar(255) NOT NULL default '',
  `id_user` int(11) NOT NULL default '0',
  `user_name` varchar(255) NOT NULL default '',
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `show_web` tinyint(4) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=7 ;

-- 
-- Sťahujem dáta pre tabuľku `forum_temy`
-- 

INSERT INTO `forum_temy` VALUES (1, 'tema_1', 1, 'ja', '2009-04-20 00:00:00', 1);
INSERT INTO `forum_temy` VALUES (2, 'tema_2', 1, 'ja', '2009-04-27 00:00:00', 1);
INSERT INTO `forum_temy` VALUES (3, 'nazov nejakej dalsej temy', 1, 'ja', '2009-04-26 00:00:00', 1);
INSERT INTO `forum_temy` VALUES (4, 'ina tema', 1, 'ja', '2009-04-19 00:00:00', 1);
INSERT INTO `forum_temy` VALUES (5, 'najnovsia tema', 1, 'ja', '2009-04-27 23:19:12', 1);
INSERT INTO `forum_temy` VALUES (6, 'qwerty', 1, 'ja', '2009-04-28 09:14:54', 1);

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

-- 
-- Štruktúra tabuľky pre tabuľku `foto_inc`
-- 

CREATE TABLE `foto_inc` (
  `kolko` int(11) NOT NULL default '0'
) TYPE=MyISAM;

-- 
-- Sťahujem dáta pre tabuľku `foto_inc`
-- 

INSERT INTO `foto_inc` VALUES (130);

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

-- 
-- Štruktúra tabuľky pre tabuľku `reported_content`
-- 

CREATE TABLE `reported_content` (
  `id` int(11) NOT NULL auto_increment,
  `id_user` int(11) NOT NULL default '0',
  `main_section` int(11) NOT NULL default '0',
  `root_post` int(11) NOT NULL default '0',
  `version` int(11) NOT NULL default '0',
  `dovod` text NOT NULL,
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `stav` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=13 ;

-- 
-- Sťahujem dáta pre tabuľku `reported_content`
-- 

INSERT INTO `reported_content` VALUES (2, 1, 2, 59, 60, 'moc modry obrazok by som povedal', '2009-05-08 00:00:00', 1);
INSERT INTO `reported_content` VALUES (3, 1, 1, 61, 61, 'aaa', '2009-04-02 00:00:00', 0);
INSERT INTO `reported_content` VALUES (4, 1, 1, 50, 50, 'bbb', '2009-03-01 00:00:00', 0);
INSERT INTO `reported_content` VALUES (5, 1, 1, 36, 36, 'nnn', '2009-04-26 00:00:00', 0);
INSERT INTO `reported_content` VALUES (6, 1, 1, 42, 42, 'rrr', '2009-04-30 14:42:42', 0);
INSERT INTO `reported_content` VALUES (7, 1, 2, 59, 60, 'ppp', '2009-04-30 14:43:25', 1);
INSERT INTO `reported_content` VALUES (9, 1, 1, 1, 37, 'foto', '2009-04-30 14:44:02', 0);
INSERT INTO `reported_content` VALUES (10, 1, 1, 28, 28, 'krizik', '2009-04-30 14:44:12', 0);
INSERT INTO `reported_content` VALUES (11, 1, 1, 18, 18, 'hhh', '2009-04-30 14:44:25', 0);

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

-- 
-- Štruktúra tabuľky pre tabuľku `user1`
-- 

CREATE TABLE `user1` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '',
  `mail` varchar(255) NOT NULL default '',
  `nieco` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=7 ;

-- 
-- Sťahujem dáta pre tabuľku `user1`
-- 

INSERT INTO `user1` VALUES (1, 'meno1', 'mail1', 'nieco1');
INSERT INTO `user1` VALUES (2, 'meno2', 'mail2', 'nieco2');
INSERT INTO `user1` VALUES (3, 'meno3', 'mail3', 'nieco3');
INSERT INTO `user1` VALUES (4, 'meno4', 'mail4', 'nieco4');
INSERT INTO `user1` VALUES (5, 'meno5', 'mail5', 'nieco5');
INSERT INTO `user1` VALUES (6, 'meno6', 'mail6', 'nieco6');

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

-- 
-- Štruktúra tabuľky pre tabuľku `user2`
-- 

CREATE TABLE `user2` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '',
  `mail` varchar(255) NOT NULL default '',
  `something1` varchar(255) NOT NULL default '',
  `something2` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=5 ;

-- 
-- Sťahujem dáta pre tabuľku `user2`
-- 

INSERT INTO `user2` VALUES (1, 'meno1', 'mail1', 'something1', 'something2');
INSERT INTO `user2` VALUES (2, 'meno7', 'mail7', 'something3', 'something4');
INSERT INTO `user2` VALUES (3, 'meno2', 'mail2', 'something5', 'something6');
INSERT INTO `user2` VALUES (4, 'meno8', 'mail8', 'something7', 'something8');
-- 
-- Databáza: `login`
-- 
CREATE DATABASE `login`;
USE login;

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

-- 
-- Štruktúra tabuľky pre tabuľku `logged_users`
-- 

CREATE TABLE `logged_users` (
  `id` int(11) NOT NULL auto_increment,
  `id_user` int(11) NOT NULL default '0',
  `timestamp` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=197 ;

-- 
-- Sťahujem dáta pre tabuľku `logged_users`
-- 

INSERT INTO `logged_users` VALUES (196, 1, 1241474086);

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

-- 
-- Štruktúra tabuľky pre tabuľku `users`
-- 

CREATE TABLE `users` (
  `id_user` int(11) NOT NULL auto_increment,
  `group_rights` tinyint(4) NOT NULL default '0',
  `nick` varchar(255) NOT NULL default '',
  `pass` varchar(255) NOT NULL default '',
  `first_name` varchar(20) NOT NULL default '',
  `last_name` varchar(20) NOT NULL default '',
  `mail` varchar(255) NOT NULL default '',
  `department` varchar(20) NOT NULL default '',
  `rated_id` text NOT NULL,
  `add_rights` tinyint(4) NOT NULL default '1',
  PRIMARY KEY  (`id_user`)
) TYPE=MyISAM AUTO_INCREMENT=15 ;

-- 
-- Sťahujem dáta pre tabuľku `users`
-- 

INSERT INTO `users` VALUES (1, 2, 'ja', 'b59c67bf196a4758191e42f76670ceba', 'Matej', 'Moravcik', '', 'AIN', ',2,16,4,20,27,1,25,29,37,38,55,57,58', 1);
INSERT INTO `users` VALUES (9, 0, 'madchen265', 'aaa', 'aaa', 'aaa', 'aaa', '', '', 2);
INSERT INTO `users` VALUES (11, 0, 'aaaa', 'aaaa', 'aaaa', 'aaaa', 'aaaa', '', '', 1);
INSERT INTO `users` VALUES (14, 0, 'jaa', '1111', 'matej', 'morka', 'madchen265@gmail.com', 'AIN', '', 1);
