Skip to content

Commit

Permalink
18-12-2020;1:05
Browse files Browse the repository at this point in the history
  • Loading branch information
myahyani committed Dec 18, 2020
1 parent 3856776 commit 3bfeee4
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 46 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions animal.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");

$csv = fopen('csv/animaux.csv', 'rb');
while(! feof($csv)) {
Expand Down Expand Up @@ -60,7 +60,7 @@
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="section-1 section-1-marg">
<div class="section-4">
Expand Down Expand Up @@ -62,7 +62,7 @@
<!-- FOOTER START -->

<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
41 changes: 19 additions & 22 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,35 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="container" style="max-width:100%">
<div class="container text-center" style="max-width:100%;border: 1px solid black;height:800px;margin-top:20px;background-image: url('IMAGE/img1.jpg');background-size: cover;">
<h1 style="margin-top: 300px;color:gold">Vous avez besoin d'un compagnon, <br>Adoptez-moi</h1>
<form action="resultat.php" method="get" class="form-inline md-form mr-9 mb-4">
<input name="rechercher" class="form-control col-lg-4 offset-lg-4 col-md-12" type="text" placeholder="Nom, Type ou Râce" aria-label="Rechercher">
<button class="btn btn-primary aqua-gradient btn-rounded btn-lg-4" type="submit">Rechercher</button>
</form>
</div>

<div class="section-1 section-1-marg" style="margin-top: -150px;">
<h3>Liste des compagnons à adopter</h3>
<?php
foreach($animaux as $animal):
?>
<div class="list-inline">
<label>Nom du compagnon : <?=$animal["nom"]?> </label><br>
<label>Type du compagnon : <?=$animal["type"]?> </label><br>
<a href="animal.php?id=<?=$animal["id"]?>" class="btn btn-primary btn-lg">
Plus details
</a>
</div>
<hr>
<?php
endforeach;
?>
</div>
</div>
<div class="section-1 section-1-marg" style="margin-top: -150px;">
<h3>Liste des compagnons à adopter</h3>
<?php
foreach($animaux as $animal):
?>
<div class="list-inline" style="margin-left: 100px;">
<label>Nom du compagnon : <?=$animal["nom"]?> </label><br>
<label>Type du compagnon : <?=$animal["type"]?> </label><br>
<a href="animal.php?id=<?=$animal["id"]?>" class="btn btn-primary btn-lg">
Plus details
</a>
</div>
<hr>
<?php
endforeach;
?>
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
25 changes: 13 additions & 12 deletions info.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="section-1 section-1-marg">
<div class="section-4" style="margin-left: 8%;margin-bottom: 2%;" id="texteenreg">
<p>
Depuis 2020, Adoptez-moi répond aux nombreux besoins des gens de l'île de Montréal, <br> de la Rive-Sud et de Laval. Le service Adoptez-moi, la qualité et la diversité de nos services sont les principaux éléments de notre
succès.
</p>
<p>
Puisque le seul but de Adoptez-moi est de trouver des abris pour des compagnons, nous mettons tous nos efforts pour que vos n'obtiennent que le meilleur.
</p>
<div class="container">
<div class="section-1 section-1-marg">
<div class="section-4" style="margin-left: 8%;margin-bottom: 2%;" id="texteenreg">
<p>
Depuis 2020, Adoptez-moi répond aux nombreux besoins des gens de l'île de Montréal, <br> de la Rive-Sud et de Laval. Le service Adoptez-moi, la qualité et la diversité de nos services sont les principaux éléments de notre
succès.
</p>
<p>
Puisque le seul but de Adoptez-moi est de trouver des abris pour des compagnons, nous mettons tous nos efforts pour que vos n'obtiennent que le meilleur.
</p>
</div>
</div>
</div>

<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions merci.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="section-0 section-1-marg">
<div class="section-4">
Expand All @@ -22,7 +22,7 @@
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions mise-en-adoption.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>

<div class="container">
Expand Down Expand Up @@ -109,7 +109,7 @@
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>

<script type="text/javascript" src="js/jquery.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions nontrouver.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="section-0 section-1-marg">
<div class="section-4">
Expand All @@ -22,7 +22,7 @@
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions resultat.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<body>
<?php
include("menu.php");
include("_menu.php");
?>
<div class="container" style="margin-top: 120px;margin-bottom:180px">
<h2>Résultats de votre recherche</h2>
Expand All @@ -72,7 +72,7 @@
</div>
<!-- FOOTER START -->
<?php
include("footer.php");
include("_footer.php");
?>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
Expand Down

0 comments on commit 3bfeee4

Please sign in to comment.