-
Notifications
You must be signed in to change notification settings - Fork 0
/
delete-coupon.php
124 lines (116 loc) · 6.06 KB
/
delete-coupon.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
<?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['DELETE_THIS_COUPON']; ?></span>
<div class="log">
<div class="login">
<h4><?php echo $BIZBOOK['DELETE_THIS_COUPON']; ?></h4>
<?php include "page_level_message.php"; ?>
<?php
$coupon_row_code = $_GET['FMFJGVPWERFGVPWOVGYMFMFJ188WOVGYMFUKEX8'];
$coupon_row = getCoupon($coupon_row_code);
?>
<form name="coupon_form" id="edit_coupon_form" enctype="multipart/form-data" method="post"
action="coupon_trash.php" class="listing_form_1">
<input type="hidden" id="coupon_id" value="<?php echo $coupon_row['coupon_id']; ?>"
name="coupon_id" class="validate">
<input type="hidden" id="coupon_photo_old"
value="<?php echo $coupon_row['coupon_photo']; ?>" name="coupon_photo_old"
class="validate">
<!--FILED START-->
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control" name="coupon_name" readonly
value="<?php echo $coupon_row['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" readonly
value="<?php echo $coupon_row['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" readonly
value="<?php echo $coupon_row['coupon_link']; ?>"
placeholder="<?php echo $BIZBOOK['COUPON-WEBSITE-LINK-PLACEHOLDER']; ?>">
</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="date" class="form-control"
value="<?php echo $coupon_row['coupon_start_date']; ?>" readonly
name="coupon_start_date" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label><?php echo $BIZBOOK['COUPON-END-DATE-PLACEHOLDER']; ?></label>
<input type="date" class="form-control"
value="<?php echo $coupon_row['coupon_end_date']; ?>" readonly
name="coupon_end_date" required>
</div>
</div>
</div>
<!--FILED END-->
<button type="submit" name="coupon_submit" class="btn btn-primary"><?php echo $BIZBOOK['DELETE']; ?></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="js/select-opt.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>