-
Notifications
You must be signed in to change notification settings - Fork 0
/
company_reg.php
214 lines (175 loc) · 6.48 KB
/
company_reg.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html>
<html>
<head>
<title>Signup</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<style>
body{
overflow-x:hidden;
}
.main-content{
margin: 8px 25px 10px 10px;
background-color: #fff;
border: 2px solid #e6e6e6;
padding: 40px 50px;
}
.header{
border: 0px solid #000;
margin-bottom: 5px;
}
.well{
background-color: #393939;
/* margin: 5px 5px 5px 5px;
padding: 40px 50px; */
height:110px;
}
#signup{
width: 60%;
border-radius: 30px;
background-color:#393939;
}
#centered1{
position: absolute;
font-size: 10vw;
top:24%;
left:45%;
transform: translate(-50%, -50px);
}
#centered2{
position: absolute;
font-size: 10vw;
top: 44%;
left:45%;
transform: translate(-50%, -50px);
}
#centered3{
position: absolute;
font-size: 10vw;
top: 64%;
left:45%;
transform: translate(-50%, -50px);
}
#or{
position: absolute;
font-size: 10vw;
top: 82%;
left:45%;
transform: translate(-50%, -50px);
}
#babtn{
position: absolute;
width: 50%;
background-color: #fff;
border-color: #505050;
color: #393939;
border-radius: 30px;
top: 90%;
left:45%;
transform: translate(-50%, -50px);
}
</style>
<body>
<div class="row">
<div class="col-sm-12">
<div class="well">
<center><h1 style="color: white;">Destine</h1></center>
<center><i><h5 style="color: white;">Build your dream House,Shop or anthing as you expected</h5></i></center>
<div class="col-sm-6" style="top:-90px;">
<a href=main.php><img src="images/logo1.jpg" class="img-rounded" title="Destine" width="65px" height="65px">
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6" style="Left:1%;">
<img src="images/com.jpg" class="img-rounded" title="Destine" width="650px" height="634px">
</div>
<div class="col-sm-6" >
<!-- <div class="col-sm-12"> -->
<div class="main-content">
<div class="header">
</div>
<div class="1-part">
<!-- <form name="Cregform" action="" method="post" >
<a style="text-decoration: none;float: right; color: #393939;" data-toggle="tooltip" title="Signin" href="login_menu.php">Already have an account?</a><br><br>
<center><button id="signup" class="btn btn-info btn-lg" name="sign_up">Sign Up</button></center>
<?php //include("insert_user.php"); ?>
</form> -->
<form action="" method="post">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span>
<input type="text" class="form-control" name="company_name" placeholder="Company Name" required="required">
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input id="cemail" type="email" class="form-control" placeholder="Email" name="c_email" required="required">
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-phone-alt"></i></span>
<input id="ctel" type="text" class="form-control" placeholder="Hot Line" name="c_tel" required="required">
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-home"></i></span>
<input id="cadd" type="text" class="form-control" placeholder="Address" name="c_add" required="required">
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-list"></i></span>
<select class="form-control" name="c_category" required="required">
<option disabled>Choose a Category</option>
<option>Interior Design</option>
<option>Paint</option>
<option>Hardaware Shop</option>
<option>Equipment Supliers</option>
<option>Land Sale</option>
<option>Contract</option>
</select>
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-inbox"></i></span>
<input id="cregno" type="text" class="form-control" placeholder="Regiter Number(Optional)" name="c_regno">
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-map-marker"></i></span>
<select class="form-control" name="c_area" required="required">
<option disabled>Services Providing Area</option>
<option>Isalnd Wide</option>
<option>Western Province</option>
<option>Southern Province</option>
<option>Northern Province</option>
<option>Eastern Province</option>
</select>
</div><br>
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input id="cpassword" type="password" class="form-control" name="c_pass" placeholder="Password" required="required" >
</div><br>
<a style="text-decoration: none;float: right; color: #187FAB;" data-toggle="tooltip" title="Signin" href="company_login.php">Already have an account?</a><br><br>
<center><button id="signup" class="btn btn-info btn-lg" name="sign_up"> SignUp</button></center>
<?php include("insert_com.php"); ?>
</form>
</div>
</div>
</div>
</div>
</div>
<script>
var check = function() {
if (document.getElementById('cpassword').value ==
document.getElementById('cpasword').value) {
document.getElementById('message').style.color = 'green';
document.getElementById('message').innerHTML = 'matching';
}
else {
document.getElementById('message').style.color = 'red';
document.getElementById('message').innerHTML = 'not matching';
}
}
</script>
</body>
</html>