-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd-service.php
156 lines (127 loc) · 7.37 KB
/
add-service.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
<?php include_once('security.php'); ?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Services | Activspaces Manager (ASM)</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php include_once('header_links.php'); ?>
</head>
<body>
<?php include_once('side_bar.php'); ?>
<?php include_once('nav_bar.php'); ?>
<div class="breadcome-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="breadcome-list single-page-breadcome">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="breadcome-heading">
<form role="search" class="sr-input-func">
<input type="text" name="search_text" placeholder="Search Client" id="search_text" class="search-int form-control">
<a href="#"><i class="fa fa-search"></i></a>
</form>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<ul class="breadcome-menu">
<li><a href="#">Home</a> <span class="bread-slash">/</span>
</li>
<li><span class="bread-blod">Edit Service</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
if(isset($_SESSION['status_img']) && $_SESSION['status_img'] !='')
{
echo '<h2 class="bg-danger text-white">'. $_SESSION['status_img']. '</h2>';
unset($_SESSION['status_img']);
}
?>
<div class="product-status mg-b-15">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="product-status-wrap drp-lst">
<div class="">
<div class="container-fluid">
<div class="container">
<div class="formdiv">
<div class="card-header py-3">
<h2 class="m-0 font-weight-bold text-primary">Add Service</h2>
</div>
<br><br>
<form action="php-code.php" method="POST" enctype="multipart/form-data">
<div class="form-group row">
<label class="col-sm-3 col-form-label">Name</label>
<div class="col-sm-7">
<input type="text" name="nom" value="" class="form-control" placeholder="nom" pattern="[A-Za-z\.]{3,15}" title="Eqaul to or more than 3 letters" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Daily Price</label>
<div class="col-sm-7">
<input type="number" name="daily" value="" class="form-control" placeholder="Daily Price" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Weekly Price</label>
<div class="col-sm-7">
<input type="number" name="weekly" value="" class="form-control" placeholder="Weekly Price" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Monthly Price</label>
<div class="col-sm-7">
<input type="number" name="monthly" value="" class="form-control" placeholder="Monthly Price" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Subscription term</label>
<div class="col-sm-7">
<input type="text" name="term" value="" class="form-control" placeholder="Subscription term" pattern="[A-Za-z\.]{3,15}" title="Eqaul to or more than 3 letters" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Manager</label>
<div class="col-sm-7">
<input type="text" name="manager" value="" class="form-control" placeholder="Manager" pattern="[A-Za-z\.]{3,15}" title="Eqaul to or more than 3 letters" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Capacity</label>
<div class="col-sm-7">
<input type="number" name="capacity" value="" class="form-control" placeholder="Capacity" required>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">Select service image</label>
<div class="col-sm-7">
<input type="file" name="file" class="form-control" placeholder="Capacity" required>
</div>
</div><br>
<a href="all-services.php" class="btn btn-danger"> CANCEL</a>
<button type="submit" name="add_service" class="btn btn-primary">Add Service</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include_once('footer.php'); ?>
</div>
<?php include_once('footer_links.php'); ?>
</body>
</html>