Skip to content

Commit 337277b

Browse files
authored
Merge pull request #4 from paoli7612/bootstrap
Bootstrap
2 parents c2c3b32 + 6eb23f2 commit 337277b

File tree

1,786 files changed

+110485
-3302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,786 files changed

+110485
-3302
lines changed

database/create2.sql

+19-18
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CREATE TABLE `istituti` (
77
`id` int(15) NOT NULL AUTO_INCREMENT,
88
`nome` varchar(50),
99
PRIMARY KEY (`id`)
10-
) ENGINE=InnoDB;
10+
) ENGINE=InnoDB;
1111

1212
CREATE TABLE `etichette` (
1313
`id` int(15) NOT NULL AUTO_INCREMENT,
@@ -76,7 +76,8 @@ CREATE TABLE `materiali` (
7676
`id` int(15) NOT NULL AUTO_INCREMENT,
7777
`indirizzo` varchar(150) NOT NULL,
7878
`titolo` varchar(100) NOT NULL,
79-
`tipo` varchar(10) NOT NULL,
79+
`esetensione` varchar(10) NOT NULL,
80+
`tipo` varchar(30) NOT NULL,
8081
PRIMARY KEY (`id`),
8182
UNIQUE (`titolo`),
8283
UNIQUE KEY (`indirizzo`)
@@ -148,8 +149,8 @@ INSERT INTO `istitutidiutenti` (`idUtente`, `idIstituto`)
148149
VALUES (1, 1);
149150

150151
INSERT INTO `materiali` (`id`, `indirizzo`, `titolo`, `tipo`) VALUES
151-
(1, "asdgewr","Italiano","video"),
152-
(2, "asdgewrgg","Storia",NULL),
152+
(1, "asdgewr","Italiano","video"),
153+
(2, "asdgewrgg","Storia",NULL),
153154
(3, "asdgewjhgr","Matematica","pdf"),
154155
(4, "asdgewjh3gr","Informatica","pdf"),
155156
(5, "asdgewj4hgr","Inglese","pdf"),
@@ -198,18 +199,18 @@ INSERT INTO `materie` (`id`,`titolo`) VALUES
198199

199200
INSERT INTO `materialidilezioni` (`idLezione`, `idMateriale`)
200201
VALUES
201-
(1,1), (1,2),
202+
(1,1), (1,2),
202203
(2,2),
203204
(3,3),
204205
(4,4),
205-
(5,4),
206+
(5,4),
206207
(6,3), (6,8), (6,9), (6,11),
207-
(7,1),
208-
(8,1),
208+
(7,1),
209+
(8,1),
209210
(9,1), (9,5),
210-
(10,6), (10,7), (10,12),
211-
(11,1),
212-
(12,3),
211+
(10,6), (10,7), (10,12),
212+
(11,1),
213+
(12,3),
213214
(13,13), (13,14),
214215
(14,13), (14,14),
215216
(15,4),
@@ -253,17 +254,17 @@ INSERT INTO `etichette` (`id`, `nome`) VALUES
253254
(34, 'database');
254255

255256
INSERT INTO `materiedilezioni` (`idLezione`, `idMateria`) VALUES
256-
(1,1), (1,2),
257+
(1,1), (1,2),
257258
(2,2),
258259
(3,3),
259-
(4,4), (4,12),
260-
(5,4), (5,12),
261-
(6,8), (6,9),
260+
(4,4), (4,12),
261+
(5,4), (5,12),
262+
(6,8), (6,9),
262263
(7,1),
263264
(8,1),
264-
(9,5), (9,1),
265-
(10,6), (10,7),
266-
(11,1), (11,5),
265+
(9,5), (9,1),
266+
(10,6), (10,7),
267+
(11,1), (11,5),
267268
(12,3),
268269
(13,10),
269270
(14,10),

src/__img/logo.png

-4.49 KB
Binary file not shown.

src/__img/mc.png

-2.56 KB
Binary file not shown.

src/__img/sfondo.png

-112 KB
Binary file not shown.

src/_classes/etichetta.php

-20
This file was deleted.

src/_classes/lezione.php

-34
This file was deleted.

src/_classes/materia.php

-25
This file was deleted.

src/_classes/materiale.php

-16
This file was deleted.

src/_classes/tema.php

-12
This file was deleted.

src/_classes/utente.php

-25
This file was deleted.

src/_database/connection.php

-70
This file was deleted.

src/_database/delete.php

-10
This file was deleted.

src/_database/insert.php

-55
This file was deleted.

0 commit comments

Comments
 (0)