From 1a9d0a0dbad8d0b3b26f0f988f7b67af8bd8e57e Mon Sep 17 00:00:00 2001 From: NSeroux Date: Mon, 21 Jan 2019 22:34:29 +0100 Subject: [PATCH] Deleted old subjects page --- subjects.php | 150 --------------------------------------------------- 1 file changed, 150 deletions(-) delete mode 100644 subjects.php diff --git a/subjects.php b/subjects.php deleted file mode 100644 index 91427a7..0000000 --- a/subjects.php +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - Opera Omnia - Subjects - - - - - - - -
-

Papers :

-
-
-
- Search a paper : - - - /> -
-

Only show papers and books about:

- >Physics
- >Mathematics
- >Computer Science
-
-
- Sort by: - -
- checked>Ascending
- >Descending
-
-
-
-
- -
-
- - - - - - - - setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); - } - catch(Exception $e) - { - die('Erreur : '.$e->getMessage()); - } - $query="SELECT * FROM papers"; - if(!empty($_POST['title']) && isset($_POST['title'])) - { - $title = htmlspecialchars($_POST['title']); - $query .=' WHERE Title LIKE \'%'.$title.'%\' '; - } - if(isset($_POST['field'])) - { - $field = $_POST['field']; - if(!empty($_POST['title']) && isset($_POST['title'])) - { - $query .='AND Field IN(\''; - foreach($field as $individualField) - { - $query .= $individualField."','"; - } - $query .="placeholder')"; - } - else - { - $query .=' WHERE Field IN(\''; - foreach($field as $individualField) - { - $query .= $individualField."','"; - } - $query .="placeholder')"; - } - } - if (isset($_POST['order'])) - { - $order = $_POST['order']; - } - $query.=" ORDER BY ". $chosenMethod ." ". $order; - - - $reponse=$bdd->query($query); - $nResults=0; - while ($data = $reponse->fetch()) - { - $nResults=$nResults+1; - ?> - '> - query($query2); - $dataAuthor=$reponse1->fetch(); - $authName=$dataAuthor['FirstName']." ".$dataAuthor['LastName']."";?> - - - - - - - - - - closeCursor(); - ?> -
AuthorTitleYearField
There were no results for the title "". You could check the spelling, or try this name in other fields.
-
-
- - - -