Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet_nf17_p19_tdg1_groupe2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
553ef95c
Commit
553ef95c
authored
Jun 19, 2019
by
Gaetan Carabetta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update affichage
parent
088a7427
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
97 deletions
+40
-97
application/animaux.php
application/animaux.php
+2
-1
application/assistants.php
application/assistants.php
+10
-13
application/classes.php
application/classes.php
+4
-19
application/especes.php
application/especes.php
+4
-17
application/index.php
application/index.php
+1
-1
application/medicaments.php
application/medicaments.php
+5
-18
application/traitements.php
application/traitements.php
+5
-16
application/veterinaires.php
application/veterinaires.php
+9
-12
No files found.
application/animaux.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
...
...
@@ -29,6 +29,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from animal"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
application/assistants.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
</head>
<body>
<h1>
Information des a
nimaux
</h1>
<h1>
Information des a
ssitants
</h1>
<table
border=
"1"
>
<tr>
<th>
idA
nimal
</th>
<th>
idA
ssistant
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
<th>
Prenom
</th>
<th>
Date de naissance
</th>
<th>
Adresse
</th>
<th>
Numéro
</th>
<th>
Spécialité
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +27,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from assistant"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -43,8 +42,6 @@
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
application/classes.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
<body>
<h1>
Information des
animaux
</h1>
<h1>
Information des
classes
</h1>
<table
border=
"1"
>
<tr>
<th>
idAnimal
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
<th>
Nom Classe
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +21,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from ClasseEspece"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -37,14 +30,6 @@
while
(
$vResult
=
$vSt
->
fetch
(
PDO
::
FETCH_BOTH
))
{
echo
'<tr>'
;
echo
"<td>
$vResult[0]
</td>"
;
echo
"<td>
$vResult[1]
</td>"
;
echo
"<td>
$vResult[2]
</td>"
;
echo
"<td>
$vResult[3]
</td>"
;
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
application/especes.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
<body>
<h1>
Information des
animaux
</h1>
<h1>
Information des
especes
</h1>
<table
border=
"1"
>
<tr>
<th>
idAnimal
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Classe
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +22,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from espece"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -38,13 +32,6 @@
echo
'<tr>'
;
echo
"<td>
$vResult[0]
</td>"
;
echo
"<td>
$vResult[1]
</td>"
;
echo
"<td>
$vResult[2]
</td>"
;
echo
"<td>
$vResult[3]
</td>"
;
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
application/index.php
View file @
553ef95c
<html>
<head>
<title>
Clinique V
ete
rinaire
</title>
<title>
Clinique V
été
rinaire
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
</head>
<body>
...
...
application/medicaments.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
<body>
<h1>
Information des
animaux
</h1>
<h1>
Information des
médicaments
</h1>
<table
border=
"1"
>
<tr>
<th>
idAnimal
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
<th>
Nom médicament
</th>
<th>
Description
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +22,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from medicament"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -38,13 +32,6 @@
echo
'<tr>'
;
echo
"<td>
$vResult[0]
</td>"
;
echo
"<td>
$vResult[1]
</td>"
;
echo
"<td>
$vResult[2]
</td>"
;
echo
"<td>
$vResult[3]
</td>"
;
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
application/traitements.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
<body>
<h1>
Information des
animaux
</h1>
<h1>
Information des
traitements
</h1>
<table
border=
"1"
>
<tr>
<th>
idTraitement
</th>
<th>
idAnimal
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
<th>
idVeterinaire
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +23,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from traitement"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -39,12 +34,6 @@
echo
"<td>
$vResult[0]
</td>"
;
echo
"<td>
$vResult[1]
</td>"
;
echo
"<td>
$vResult[2]
</td>"
;
echo
"<td>
$vResult[3]
</td>"
;
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
application/veterinaires.php
View file @
553ef95c
<html>
<head>
<title>
Exercic
e
</title>
<title>
Clinique Vétérinair
e
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
</head>
<body>
<h1>
Information des
animaux
</h1>
<h1>
Information des
vétérinaires
</h1>
<table
border=
"1"
>
<tr>
<th>
id
Animal
</th>
<th>
id
Veterinaire
</th>
<th>
Nom
</th>
<th>
Poids
</th>
<th>
Taille
</th>
<th>
Naissance
</th>
<th>
idClient
</th>
<th>
Espece
</th>
<th>
Statistiques
</th>
<th>
Supprimer
</th>
<th>
Prenom
</th>
<th>
Date de naissance
</th>
<th>
Adresse
</th>
<th>
Numéro
</th>
<th>
Spécialité
</th>
</tr>
<?php
// Connexion à la base de données
...
...
@@ -29,6 +27,7 @@
}
// Affichage du tableau de données
$vSql
=
"select * from veterinaire"
;
try
{
$vSt
=
$vConn
->
prepare
(
$vSql
);
$vSt
->
execute
();
...
...
@@ -43,8 +42,6 @@
echo
"<td>
$vResult[4]
</td>"
;
echo
"<td>
$vResult[5]
</td>"
;
echo
"<td>
$vResult[6]
</td>"
;
echo
"<td><form action='statAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input type='submit' value='Statistiques'> </form></td>"
;
echo
"<td><form action='remAnimal.php' method='post'> <input type='text' name='idAnimal' value=
$vResult[0]
hidden/> <input id='btnRemove' type='submit' value='X'> </form></td>"
;
echo
'</tr>'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment