-
Notifications
You must be signed in to change notification settings - Fork 3
/
new 1.html
executable file
·134 lines (128 loc) · 5.4 KB
/
new 1.html
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body{
background-image: url("Yoga-Wallpaper-13.jpg");
background-repeat: no-repeat;
background-size: 1550px;
top-margin: 0;
}
img {
width: 90px;
height: 90px;
vertical-align: sup;
}
.header{
background-color: #333;
overflow: hidden;
height: 120px;
box-shadow: 10px 10px 5px grey;
}
.header #p2{
color: white;
font-family: Verdana;
font-size: 18px;
letter-spacing: 2px;
line-height: 45px;
padding-left: 1.8em;
}
.heading{
padding-top: 14px;
line-height: 10px;
}
.heading h1{
text-align: center;
font-family: Arial;
font-size: 50px;
font-variant: small-caps;
font-weight: bold;
text-shadow: 4px 2px gray;
}
.heading p{
text-align: center;
font-family: 'Courier New';
font-weight: bold;
}
.form{
background-image: linear-gradient(to bottom, #fdcf94, #4c677c);
position: relative;
left: 800px;
border: 2px solid #15365f;
border-radius: 15px;
text-align: left;
padding-bottom: 10px;
padding-top: 10px;
padding-left: 8px;
padding-right: 2px;
margin-top: 60px;
margin-right: 50px;
line-height: 40px;
height: 450px;
width: 600px;
}
#btn{
position:relative;
left: 280px;
cursor: pointer;
border-radius: 4px;
}
#btn:hover{
background-color: grey;
border-color: grey;
}
h3{
font-family: 'Verdana';
font-style: italic;
}
label{
color: black;
font-weight: bold;
font-size: 19px;
}
input{
background-color: #f1f1f1;
border: none;
}
</style>
<title> Keeping Health </title>
</head>
<body>
<div class="header">
<p id="p1"><img src="53570953_1687522978014200_8443716218568835072_n.jpg" alt="Logo" style="float: left;">
<img src="computer-brain.jpg" style="float: right;">
<p id="p2"> ProSang,                                                       Team Temporal<br>
MNNIT Allahabad                        and                        Brain Sensing</p>
</div>
<div class="heading">
<p> brings to you...</p>
<h1> Digital Health Advisor </h1>
</div>
<form action="form.php" method="get">
<div class="form">
<h3> Enter the details below: </h3>
<p style="font-family: 'Arial'; font-size: 20px; font-weight: bold; color: black; font-variant: small-caps; text-decoration: underline;"> Personal Details: </p>
<label> Name </label>                    
<input type="text" placeholder="Your Name..." required name="name" autofocus style="width: 250px; height: 20px; padding: 2px;"><br>
<label> Age </label>                        
<input type="number" min="5" max="90" placeholder="Your Age...(5 to 90)" name="age" style="width: 150px; height: 20px; padding: 2px;"><br>
<label> Gender </label>                  
<input type="radio" checked name="gender" <?php if (isset($gender) && $gender=="female") echo "checked";?> value="female"> Female  
<input type="radio" name="gender" <?php if (isset($gender) && $gender=="female") echo "checked";?> value="male"> Male  
<input type="radio" name="gender" <?php if (isset($gender) && $gender=="female") echo "checked";?> value="other"> Other <br>
<p style="font-family: 'Arial'; font-size: 20px; color: black; font-weight: bold; font-variant: small-caps; text-decoration: underline;"> Body Ailments: </p>
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="dep") echo "checked";?> value="depression"> Depression  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="ind") echo "checked";?> value="indigestion"> Indigestion  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="dia") echo "checked";?> value="diabetes"> Diabetes  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="mig") echo "checked";?> value="migraine"> Migraine  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="hyp") echo "checked";?> value="hypertension"> Hypertension  <br>
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="bjm") echo "checked";?> value="bone, joint and muscle pains"> Bone, Joint and Muscle Pains  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="hbp") echo "checked";?> value="high blood pressure"> High Blood Pressure  
<input type="checkbox" name="ailment" <?php if (isset($ailment) && $ailment=="ins") echo "checked";?> value="insomnia"> Insomnia  
<br>
<input type="submit" id="btn">
</div>
</form>
</body>
</html>