-
Notifications
You must be signed in to change notification settings - Fork 2
/
factory.php
163 lines (150 loc) · 4.84 KB
/
factory.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html>
<title>PaperPlant</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/style.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link rel="stylesheet" href="css/mycss.css">
<?php
session_start();
require("head.php");
?>
<style>
input, select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
</style>
<script>
Date.prototype.addDays = function(days) {
var date = new Date(this.valueOf());
date.setDate(date.getDate() + days);
return date;
}
function adddate()
{
var list= document.getElementById('date');
var i;
for(i=0;i<5;i++)
{
var today= new Date();
today=today.addDays(i);
var dd=String(today.getDate()).padStart(2,'0');
var mm=String(today.getMonth()+1).padStart(2,'0');
var yyyy= today.getFullYear();
today=dd+'/'+mm+'/'+yyyy;
var option= document.createElement("option");
option.text= today;
option.value= today;
list.add(option);
}
}
function addtime()
{
var list= document.getElementById('time');
var b=10,a=11;
while(a<=18)
{
var option= document.createElement("option");
var time= b+' to '+a;
option.text= time;
option.value= time;
list.add(option);
a++;
b++;
}
}
function ClearForm()
{
document.getElementById("sell").reset();
}
</script>
<body onload="adddate(), addtime(), ClearForm()">
<hr />
<p class="text-center"style="font-size:2.5vw">Fill details</p>
<div style="margin:5%;border-radius: 5px;background-color: #f2f2f2;padding: 20px; ">
<form id="sell" action="factoryaction.php" method="post">
<label>Company Name</label>
<input type="text" id="name" name="name" placeholder="Your name..">
<label>Contact No.</label>
<input type="number" placeholder="Enter Mobile No." id="num" name="num" maxlength="10" required>
<input type="submit" value="Submit">
</form>
</div>
<!-- Footer -->
<footer id="footer">
<div class="pp-row pp-black">
<div class="pp-third" style="font-size:1.5vw">
Download The App Now
<br>
<a href="#"><img src="Images/gplay.png" width="25%"></a>
<a href="#"><img src="Images/astore.png" width="22%"></a>
</div>
<div class="pp-third pp-center" style="font-size:1.5vw">
<a href="#" style="color:#FFFFFF">About Us</a>
<br>
<a href="#" style="color:#FFFFFF">Privacy Policies</a>
<br>
<a href="#" style="color:#FFFFFF">Careers</a>
<br>
<a href="#" style="color:#FFFFFF">Advertise With Us</a>
</div>
<div class="pp-third" style="font-size:1.5vw">
                      
                    Join Us <br>
<a href="#" ><img src="Images/google.png" width="15%" style="float:right"></a>
<a href="#"><img src="Images/twitter.png" width="15%" style="float:right"></a>
<a href="#"><img src="Images/facebook.png" width="15%" style="float:right"></a>
</div>
</div>
</footer>
<div style=" background-color:#dd4b39; color:white ;font-size:14px;">
<div style="text-align:center;">© - Paper Plant Technologies</div>
</div>
<!-- Footer -->
<footer class="footer text-center">
<div class="container"> </div>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Custom scripts for this template -->
<script src="js/style.min.js"></script>
</body>
</html>