-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
57 lines (51 loc) · 1.54 KB
/
index.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
<?php
$open = true;
require 'lib/site.inc.php';
$view = new Felis\HomeView();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php echo $view->head(); ?>
</head>
<body>
<div class="mainpage">
<?php echo $view->header(); ?>
<section class="testimonials">
<?php
$view->addTestimonial('Found out that fluffy was fluffing someone else on the side.
Found me a new top cat.', 'Anonymous');
$view->addTestimonial('Thanks for ensuring me that Garfield was only interested in
Lasagna and not chasing after that mangy cat that lives behind the Italian
restaurant.', 'Jon');
$view->addTestimonial('They told me nobody could beat the Hidden Paw, but you
brought Macavity to justice. Thank you so much.', 'Anonymous');
$view->addTestimonial('Thank you so much for finding grandma Grizabella. We thought
we would never see her again.', 'Valerie Eliot');
echo $view->testimonials();
?>
</section>
<form class="request">
<fieldset>
<legend>Request a free case evaluation!</legend>
<p>
<label for="name">Name</label><br>
<input type="text" id="name" name="name" placeholder="Name">
</p>
<p>
<label for="email">E-Mail</label><br>
<input type="email" id="email" name="email" placeholder="Email Address">
</p>
<p>
<label for="message">Message</label><br>
<textarea id="message" name="message" placeholder="Message"></textarea>
</p>
<p>
<input type="submit" value="Send">
</p>
</fieldset>
</form>
<?php echo $view->footer(); ?>
</div>
</body>
</html>