-
Notifications
You must be signed in to change notification settings - Fork 0
/
care.php
71 lines (66 loc) · 2.4 KB
/
care.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
include 'page_components/plant_selection_cookie.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Plant Care - Amper Garden Planner</title>
<?php
/*insert html head info that is standard for all pages*/
require_once 'page_components/html_head_info.php';
?>
<meta name="description" content="Your personal plant care guide.">
</head>
<body>
<div class="container">
<?php
/*Insert header*/
require_once 'page_components/header.php';
?>
<main>
<h1 class="page_name">
Plant care guide
</h1>
<p class="subheader">
You won't be-leaf how well these plants are growing.
</p>
<?php
/*Insert plant selection aside*/
require_once 'page_components/plant_selection.php';
?>
<!-- This is where the main content of the page starts-->
<div>
<article class="plant_info care">
<h2>Fertilization needs</h2>
<?php
$fertilization_text = new Content_Query();
$fertilization_text->print_care('fertilization');
?>
</article>
<article class="plant_info care">
<h2>Pruning guide</h2>
<?php
$pruning_text = new Content_Query();
$pruning_text->print_care('pruning');
?>
</article>
<article class="plant_info care">
<h2>Common pests and diseases</h2>
<p class="subheader">
Tell the aphids to bug off.
<?php
$pest_text = new Content_Query();
$pest_text->print_pests();
?>
</p>
</article>
</div>
</main>
<?php
/*Insert footer*/
require_once 'page_components/footer.php';
?>
</div><!--closing tag container-->
<script src="script/js.js"></script>
</body>
</html>