mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-10-19 04:53:51 +02:00
✨ Added visuals for charts (massive commit)
This commit is contained in:
1 parent
beb5382369
commit
6a9a63d7a0
8 files changed
+312
-22
No files matched your search
@@ -231,7 +231,7 @@ class dump {
|
||||
OR soutenance_establishment LIKE :search
|
||||
GROUP BY Discipline
|
||||
ORDER BY `Number` DESC
|
||||
LIMIT 10
|
||||
LIMIT 10;
|
||||
"),
|
||||
'author' => $pdo->prepare("SELECT discipline AS Discipline, COUNT(discipline) AS Number FROM theses WHERE author LIKE :search GROUP BY Discipline ORDER BY `Number` DESC LIMIT 10;"),
|
||||
'title' => $pdo->prepare("SELECT discipline AS Discipline, COUNT(discipline) AS Number FROM theses WHERE title LIKE :search GROUP BY Discipline ORDER BY `Number` DESC LIMIT 10;"),
|
||||
@@ -276,7 +276,8 @@ class dump {
|
||||
"),
|
||||
'author' => $pdo->prepare("SELECT soutenance_establishment AS Establishment, COUNT(soutenance_establishment) AS Number FROM theses WHERE author LIKE :search GROUP BY Establishment ORDER BY `Number` DESC LIMIT 10;"),
|
||||
'title' => $pdo->prepare("SELECT soutenance_establishment AS Establishment, COUNT(soutenance_establishment) AS Number FROM theses WHERE title LIKE :search GROUP BY Establishment ORDER BY `Number` DESC LIMIT 10;"),
|
||||
'director' => $pdo->prepare("SELECT soutenance_establishment AS Establishment, COUNT(soutenance_establishment) AS Number FROM theses WHERE theses.these_director LIKE :search GROUP BY Establishment ORDER BY `Number` DESC LIMIT 10;"),
|
||||
'director' => $pdo->prepare("SELECT soutenance_establishment AS Establishment, COUNT(soutenance_establishment) AS Number FROM theses WHERE these_director LIKE :search GROUP BY Establishment ORDER BY `Number` DESC LIMIT 10;"),
|
||||
'establishment' => $pdo->prepare("SELECT soutenance_establishment AS Establishment, COUNT(soutenance_establishment) AS Number FROM theses WHERE soutenance_establishment LIKE :search GROUP BY Establishment ORDER BY `Number` DESC LIMIT 10;"),
|
||||
default => "",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user