-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.php
More file actions
executable file
·67 lines (61 loc) · 1.86 KB
/
services.php
File metadata and controls
executable file
·67 lines (61 loc) · 1.86 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Fish Creek Animal Clinic Services</title>
<meta charset="utf-8">
<link rel="stylesheet" href="fishcreek.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="wrapper">
<header>
<h1>Fish Creek Animal Clinic</h1>
</header>
<nav>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="services.php">Services</a></li>
<li><a href="askvet.html">Ask the Vet</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<main>
<h2>Basic Services</h2>
<?php
$filename = "services.txt";
$services = fopen($filename, "r");
if (!$services) {
die("Unable to open $filename.");
}
while (!feof($services)) {
$line = fgets($services);
$parts = explode(".//", $line);
echo "<p><b>$parts[0]</b> <br>$parts[1] ";
for ($i = 2; $i < count($parts); $i++) {
echo " $parts[$i]";
}
echo "</p>";
}
fclose($services);
?>
<!-- <h2>Basic Services</h2>
<ol>
<li><h3>Medical Services</h3>
We offer state-of-the-art equipment and technology.</li>
<li><h3>Surgical Services</h3>
Full range of surgical procedures including orthopedics and emergency surgeries.</li>
<li><h3>Dental Care</h3>
A dental exam can determine whether your pet needs preventive dental care such as scaling and polishing.</li>
<li><h3>House Calls</h3>
The elderly, physically challenged, and multiple pet households often find our in-home veterinary service helpful and convenient.</li>
<li><h3>Emergencies</h3>
At least one of our doctors is on call every day and night.</li>
</ol> -->
</main>
<footer>
Copyright © 2018 Fish Creek Animal Clinic<br>
<a href="mailto:yourfirstname@yourlastname.com">yourfirstname@yourlastname.com</a>
</footer>
</div>
</body>
</html>