-
Notifications
You must be signed in to change notification settings - Fork 6
/
admin-courier-reg-page.php
90 lines (77 loc) · 3.64 KB
/
admin-courier-reg-page.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
<?php
include_once('admin-header.php');
include_once('classes/admin.php');
$AdminClass = new AdminClass();
?>
<section class="main-content">
<div class="container">
<div class="row">
<div class="col-xs-9 col-xs-offset-3">
<?php
if(isset($_POST['c_reg'])){
$AdminClass->Courier_reg($_POST);
}
?>
<content class="right-content">
<h1>Courier Registration Form</h1>
</content>
<div class="row registrationForm">
<form action="<?php echo $_SERVER['PHP_SELF']?>" method="POST">
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Courier Id</label>
<div class="col-10">
<input class="form-control" type="text" name="courier_id" id="example-text-input" placeholder="Enter Courier Id" required>
</div>
</div>
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Email</label>
<div class="col-10">
<input class="form-control" type="email" name="courier_admin_email" placeholder="Enter Courier Email" id="example-email-input" required>
</div>
</div>
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Password</label>
<div class="col-10">
<input class="form-control" type="password" name="confirm_pass" placeholder="Password" id="example-password-input" required>
</div>
</div>
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Company Name</label>
<div class="col-10">
<input class="form-control" type="text" name="company_name" id="example-text-input" placeholder="Enter Courier Name" required>
</div>
</div>
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Author</label>
<div class="col-10">
<input class="form-control" type="text" name="author_name" id="example-text-input" placeholder="Enter Autor Name" required>
</div>
</div>
<div class="form-group col-sm-6">
<label class="text-left" style="display: block;">Contact Number</label>
<div class="col-10">
<input class="form-control" type="text" name="mobile" placeholder="Enter Author Name" id="example-text-input" required>
</div>
</div>
<div class="form-group col-sm-12">
<label class="text-left" style="display: block;">Adddress</label>
<textarea class="form-control" id="exampleTextarea" placeholder="Enter Address" name="address" rows="3" required ></textarea>
</div>
<button type="submit" name="c_reg" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
</div>
</section><!-- end of .main-content -->
<footer></footer><!-- end of footer -->
<script src="https://code.jquery.com/jquery-3.0.0.js"></script>
<script src="https://code.jquery.com/jquery-migrate-3.0.0.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/ie10-viewport-bug-workaround.js"></script>
<script src="owl.carousel/owl.carousel.min.js"></script>
<script src="nivo.slider/nivo.slider.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>