-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.php
78 lines (66 loc) · 2.91 KB
/
form.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
<?php
session_start();
if (!isset($_SESSION[username])) {
header("location: formlogin.php");
exit();
}
?>
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="view.js"></script>
<link rel="stylesheet" type="text/css" href="css.css" media="all">
<script type="text/javascript" src="calendar.js"></script>
<br>
<title>Form</title>
<meta charset="utf8">
</head>
<body>
<h2><strong>Φόρμα Εγγραφής Αθλητή</strong></h2>
<form action="submit.php" method="post">
<table border="0" align="center">
<tr><td><strong>Επίθετο:</strong></td><td><input type="text" name="surname"/></td></tr><br>
<tr><td><strong>Όνομα:</strong></td><td><input type="text" name="name"/></td></tr><br>
<tr><td><strong>Διεύθυνση:</strong></td><td><input type="text" name="address"/></td></tr>
<tr><td><strong>Τηλέφωνο:</strong></td><td><input type="text" name="phone"/></td></tr><br>
<tr><td><strong>Κωδικός Αθλητή:</strong></td><td><input type="text" name="code"/></td></tr></table><br>
<label class="description" for="element_1"><strong>Ημερομηνία Εγγραφής</strong> </label>
<span>
<input id="element_1_1" name="element_1_1" class="element text" size="2" maxlength="2" value="" type="text"> /
<label for="element_1_1"></label>
</span>
<span>
<input id="element_1_2" name="element_1_2" class="element text" size="2" maxlength="2" value="" type="text"> /
<label for="element_1_2"></label>
</span>
<span>
<input id="element_1_3" name="element_1_3" class="element text" size="4" maxlength="4" value="" type="text">
<label for="element_1_3"></label>
</span>
<span id="calendar_1">
<img id="cal_img_1" class="datepicker" src="calendar.gif" alt="Pick a date.">
</span>
<script type="text/javascript">
Calendar.setup({
inputField : "element_1_3",
baseField : "element_1",
displayArea : "calendar_1",
button : "cal_img_1",
ifFormat : "%B %e, %Y",
onSelect : selectDate
});
</script>
<table align="center"> <br>
<p><strong>Συνδρομή</strong></p>
<tr><td><input type="radio" name="subscription" value="Χρόνος" /></td><td>Χρόνος</td></tr>
<tr><td><input type="radio" name="subscription" value="Εξαμηνιαία"/></td><td>Εξαμηνιαία</td></tr>
<tr><td><input type="radio" name="subscription" value="Τρίμηνη"/></td><td>Τρίμηνη</td></tr>
<tr><td><input type="radio" name="subscription" value="Μηνιαία"/></td><td>Μηνιαία</td></tr>
</table>
<p><strong>Ιατρικό Ιστορικό / Παρατηρήσεις </strong></p>
<textarea rows="5" cols="30" name="med"></textarea> <br>
<input type="submit" value="Submit" name="submit" class="myButton" /> <a href="list.php"><input type="button" value="Back" class="myButton"></a>
</form><br><br><br><br>
<a href="logout.php"><input type="BUTTON" value="Logout" class="myButton2"></a>
</body>
</html>