-
Notifications
You must be signed in to change notification settings - Fork 0
/
add-coupons.php
122 lines (115 loc) · 5.83 KB
/
add-coupons.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
<?php
include "header.php";
if (file_exists('config/user_authentication.php')) {
include('config/user_authentication.php');
}
if (file_exists('config/general_user_authentication.php')) {
include('config/general_user_authentication.php');
}
if (file_exists('config/coupon_page_authentication.php')) {
include('config/coupon_page_authentication.php');
}
?>
<!-- START -->
<!--PRICING DETAILS-->
<section class="<?php if ($footer_row['admin_language'] == 2) {
echo "lg-arb";
} ?> login-reg">
<div class="container">
<div class="row">
<div class="login-main add-list">
<div class="log-bor"> </div>
<span class="steps"><?php echo $BIZBOOK['COUPON-ADD-NEW-COUPON']; ?></span>
<div class="log">
<div class="login">
<h4><?php echo $BIZBOOK['COUPON-ADD-NEW-COUPON']; ?></h4>
<?php include "page_level_message.php"; ?>
<form name="coupon_form" id="coupon_form" enctype="multipart/form-data" method="post" action="coupon_insert.php" class="listing_form_1">
<!--FILED START-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" name="coupon_name"
placeholder="<?php echo $BIZBOOK['COUPON-COUPON-NAME-PLACEHOLDER']; ?>" required>
</div>
</div>
</div>
<!--FILED END-->
<!--FILED START-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" name="coupon_code"
placeholder="<?php echo $BIZBOOK['COUPON-OFFER-CODE-PLACEHOLDER']; ?>" required>
</div>
</div>
</div>
<!--FILED END-->
<!--FILED START-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" name="coupon_link"
placeholder="<?php echo $BIZBOOK['COUPON-WEBSITE-LINK-PLACEHOLDER']; ?>">
</div>
</div>
</div>
<!--FILED END-->
<!--FILED START-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label><?php echo $BIZBOOK['COUPON-BRAND-LOGO-PLACEHOLDER']; ?></label>
<div class="fil-img-uplo">
<span class="dumfil"><?php echo $BIZBOOK['UPLOAD_A_FILE']; ?></span>
<input type="file" name="coupon_photo" accept="image/*,.jpg,.jpeg,.png" class="form-control">
</div>
</div>
</div>
</div>
<!--FILED END-->
<!--FILED START-->
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label><?php echo $BIZBOOK['COUPON-START-DATE-PLACEHOLDER']; ?></label>
<input type="text" class="form-control"
name="coupon_start_date" id="stdate" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label><?php echo $BIZBOOK['COUPON-END-DATE-PLACEHOLDER']; ?></label>
<input type="text" class="form-control"
name="coupon_end_date" id="endate" required>
</div>
</div>
</div>
<!--FILED END-->
<button type="submit" name="coupon_submit" class="btn btn-primary"><?php echo $BIZBOOK['SUBMIT']; ?></button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<!--END PRICING DETAILS-->
<?php
include "footer.php";
?>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="<?php echo $slash; ?>js/select-opt.js"></script>
<script src="<?php echo $slash; ?>js/blazy.min.js"></script>
<script type="text/javascript">var webpage_full_link ='<?php echo $webpage_full_link;?>';</script>
<script type="text/javascript">var login_url ='<?php echo $LOGIN_URL;?>';</script>
<script src="js/custom.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/custom_validation.js"></script>
</body>
</html>