-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_service.php
More file actions
54 lines (52 loc) · 2.61 KB
/
add_service.php
File metadata and controls
54 lines (52 loc) · 2.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<?php include("zc-header.php"); ?>
<!-- ========================== Grid Home ========================== -->
<div class="bg-light p-4 text-center">
<a href="<?php echo $admin_url; ?>">Dashboard</a> /
<a href="<?php echo $admin_url . "manager_service.php"; ?>">Services</a> /
<a href="<?php echo $admin_url; ?>" aria-disabled="true">Add Service</a>
</div>
<main class="container py-5">
<div>
<form action="add_service.controller.php" id="serviceForm" method="POST" enctype="multipart/form-data">
<div class="row gy-4">
<div class="col-12 col-lg-6">
<label for="" class="fs-5">Service Title</label>
<input type="text" name="title" class="form-control form-control-lg" required>
</div>
<div class="col-12 col-lg-6">
<label for="" class="fs-5">heading</label>
<input type="text" name="heading" class="form-control form-control-lg" required>
</div>
<div class="col-12 col-lg-6">
<label for="" class="fs-5">Background Image</label>
<input type="file" name="bgimg" class="form-control form-control-lg" required>
</div>
<div class="col-12 col-lg-6">
<label for="" class="fs-5">Main Image</label>
<input type="file" name="img" class="form-control form-control-lg" required>
</div>
<div class="col-12">
<label for="" class="fs-5">Description</label>
<textarea name="description" class="form-control form-control-lg" rows="5" required></textarea>
</div>
<div class="col-12 ">
<label for="" class="fs-5">content</label>
<input type="hidden" name="content" id="service_content" name="service_content" class="w-100" required></input>
<!-- Create the editor container -->
<div id="editor">
</div>
</div>
<div class="col-12">
<input type="submit" value="AddService" class="btn btn-primary">
</div>
</div>
</form>
</div>
</main>
<!--================== Essential Javascript Files ==================-->
<?php include("zc-footer.php"); ?>
</body>
</html>