-
Notifications
You must be signed in to change notification settings - Fork 0
/
project2.php
113 lines (101 loc) · 2.88 KB
/
project2.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>purchase</title>
<style>
.start{
margin-left:10%;
}
h1{
color:limegreen;
}
.container{
display:grid;
grid-template-columns: 10em 35em;
}
.container1{
display:grid;
grid-template-rows: 3em 3em 3em 3em;
}
.container1 > p{
text-align:right;
}
.container2{
display:grid;
height:12em;
}
.info{
border: 2px solid limegreen;
border-radius: 5px;
width:35em;
margin:0.2em;
}
.logo{
height:15%;
margin-bottom: 0em;
text-align:center;
}
.logo_img{
display:inline-block;
width:10em;
height:8em;
}
.logo_name{
display:inline-block;
font-size:3em;
text-align:center;
font-style: italic;
font-weight: 650;
color:limegreen;
}
.link{
text-align: center;
margin-bottom:1em;
}
.link > a{
color:limegreen;
text-decoration: none;
font-style: italic;
font-size:1.5em;
font-weight:500;
}
.submit{
margin-top:1em;
}
</style>
</head>
<body>
<header class="logo">
<a href="project0.html">
<img class="logo_img" src="https://img.freepik.com/free-vector/isolated-tree-on-white-background_1308-26130.jpg?w=2000">
<br><p class="logo_name">TREE</p>
</a>
</header>
<div class="link">
<a href="project0.php">Log out</a>
</div>
<?php
echo '
<form class="start" action="project3.php">
<h1>User information</h1>
<div class="container">
<div class="container1">
<p>Name</p>
<p>Phone Number</p>
<p>Email</p>
<p>Card number</p>
</div>
<div class="container2" >
<input class="info" tpye="text" placeholder="name" required>
<input class="info" type="text" placeholder="phone number" required>
<input class="info" type = "text" placeholder="email" required>
<input class="info" type = "password" placeholder="card number" required>
</div>
</div>
<input class="submit" type="submit" value="purchase">
</form>';
?>
</body>
</html>