-
Notifications
You must be signed in to change notification settings - Fork 1
/
swimming.php
87 lines (79 loc) · 3.79 KB
/
swimming.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
require_once __DIR__ . "/sportsData.php";
$sport = "swimming";
$participants = findBySport($sport);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Swimming</title>
<link rel="stylesheet" type="text/css" href="./public/css/sports.css" />
</head>
<body>
<div class="head">
<img src="./public/images/swimming.jpg" class="coverimg" alt="swimming" />
<form action='register_sport.php' method='POST'>
<input type='hidden' name='sport' value='swimming' />
<input type='submit' value='REGISTER'>
</form>
</div>
<div class="navdivs">
<button class="navs selected" onclick="currentdisp(1)">About</button>
<button class="navs" onclick="currentdisp(2)">Rules & Regulations</button>
<button class="navs" onclick="currentdisp(3)">Participants</button>
</div>
<div class="items active">
<div class="content">
<p style="text-align: justify; padding:80px;">
Swimming is an individual or team racing sport that requires the use of one's entire
body to move through water. The sport takes place in pools or open water.Competitive
swimming is one of the most popular Olympic sports,with varied distance events
in butterfly, backstroke, breaststroke, freestyle, and individual medley. In addition
to these individual events, four swimmers can take part in either a freestyle or medley
relay. A medley relay consists of four swimmers who will each swim a different stroke,
ordered as backstroke, breaststroke, butterfly and freestyle.Swimming each stroke
requires a set of specific techniques; in competition, there are distinct regulations
concerning the acceptable form for each individual stroke. There are also regulations
on what types of swimsuits, caps, jewelry and injury tape that are allowed at competitions.
Although it is possible for competitive swimmers to incur several injuries from the sport,
such as tendinitis in the shoulders or knees, there are also multiple health benefits associated
with the sport.
</p>
</div>
</div>
<div class="items">
<div class="content">
<p style="text-align: justify; padding:80px;">
1.Freestyle swimmers use an alternating arm action, an alternating leg action,
and breath to the side.<br><br>
2.Freestyle swimmers use a forward start off of a starting block. They might do a
few dolphin kicks or fish-kicks off the start before they surface and begin to swim.<br><br>
3.Freestylers do a flip turn at each wall. They might do a few dolphin kicks or fish-kicks
off of each wall before they surface and begin to swim.<br><br>
4.Freestylers finish the race by touching the wall with some part of their body, usually one
hand.<br><br>
5.During a freestyle swim, the swimmer's head must break the surface of the water at or before
15-meters from the start and from each turn.<br><br>
</p>
</div>
</div>
<div class="items">
<div class="content">
<table id="t01">
<tr>
<th>Email of Participant</th>
</tr>
<?php
foreach ($participants as $x) {
echo "<tr><td>" . htmlentities($x["user"]) . "</td></tr>";
}
?>
</table>
</div>
</div>
<div class="footer"></div>
<script type="text/javascript" src="./public/javascript/sports.js"></script>
</body>
</html>