-
Notifications
You must be signed in to change notification settings - Fork 0
/
new-acceuil.php
254 lines (214 loc) · 7.64 KB
/
new-acceuil.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<?php
include('./requiert/new-form/header.php');
?>
<!-- Banner
================================================== -->
<div class="main-search-container" data-background-image="assets/images/bg.jpg">
<div class="main-search-inner">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Simplifiez votre gestion</h2>
<h4>Gerez vos coupons et faites des cashout facilement.</h4>
<div>
<table>
<tr><td><h4>Gains disponibles </h4></td><td><h2 style="display: inherit;padding-left: 10px;"><?php echo displayMontant($mbreEuros, 3, ' €'); ?></h2></td></tr>
<tr><td><h4>Gains en attente</h4></td><td><h2 style="display: inherit;padding-left: 10px;"><?php echo displayMontant($totalAmoundAttente, 2, ' €'); ?></h2></td></tr>
</table>
<br>
<button class="button" onclick="window.location.href='listings-half-screen-map-list.html'">FAIRE UN CASHOUT</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Content
================================================== -->
<div class="container">
<div class="row">
<div class="col-md-12">
<h3 class="headline centered margin-top-75">
DERNIERES TRANSACTIONS
<span>Les <i>10</i> dernieres transactions sur votre compte</span>
</h3>
</div>
</div>
</div>
<!-- Categories Carousel -->
<div class="fullwidth-carousel-container margin-top-25">
<div class="fullwidth-slick-carousel category-carousel">
<?php
$histoParticipations = $pdo->query("SELECT offerwall, idt, remuneration, date, etat FROM histo_offers WHERE idUser > 0 AND etat != 'En cours' ORDER BY STR_TO_DATE(date,'%d/%m/%Y à %H:%i') DESC LIMIT 0,5");
$all_histoParticipations = $histoParticipations->fetchAll(PDO::FETCH_ASSOC);
foreach ($all_histoParticipations as $dones_histoParticipations) {
// var_dump($dones_histoParticipations);die();
$etat = $dones_histoParticipations['etat'];
if ($etat == 'Validé') {
$btn_etat = '<i class="im im-icon-Like color-green"></i>';
} else if ($etat == 'En cours') {
$btn_etat = '<i class="im im-icon-Over-Time2 color-orange"></i>';
} else if ($etat == 'Refusé') {
$btn_etat = '<i class="im im-icon-Unlike color-red"></i>';
}
?>
<!-- Item -->
<div class="fw-carousel-item">
<div class="category-box-container">
<a href="listings-half-screen-map-grid-1.html" class="category-box" data-background-image="assets/images/category-box-01.jpg">
<div class="category-box-content">
<h3><?php echo $btn_etat ?> <?php echo $dones_histoParticipations['idt']; ?></h3>
<h3><?= displayMontant($dones_histoParticipations['remuneration'], 6, '') ?>€</h3>
<i style="color: #f1edee;"><?= $dones_histoParticipations['date']; ?></i>
</div>
<span class="category-box-btn">Details</span>
</a>
</div>
</div>
<?php
}
?>
</div>
</div>
<!-- Categories Carousel / End -->
<!-- Fullwidth Section -->
<section class="fullwidth margin-top-65 padding-top-75 padding-bottom-70" data-background-color="#f8f8f8">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3 class="headline centered margin-bottom-45">
Mes Coupons Crees
<span>Les coupons les plus recements crees</span>
</h3>
</div>
<div class="col-md-12">
<div class="simple-slick-carousel dots-nav">
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-01.jpg" alt="">
<div class="listing-badge now-open">Now Open</div>
<div class="listing-item-content">
<span class="tag">Eat & Drink</span>
<h3>Tom's Restaurant <i class="verified-icon"></i></h3>
<span>964 School Street, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="3.5">
<div class="rating-counter">(12 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-02.jpg" alt="">
<div class="listing-item-details">
<ul>
<li>Friday, August 10</li>
</ul>
</div>
<div class="listing-item-content">
<span class="tag">Events</span>
<h3>Sticky Band</h3>
<span>Bishop Avenue, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="5.0">
<div class="rating-counter">(23 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-03.jpg" alt="">
<div class="listing-item-details">
<ul>
<li>Starting from $59 per night</li>
</ul>
</div>
<div class="listing-item-content">
<span class="tag">Hotels</span>
<h3>Hotel Govendor</h3>
<span>778 Country Street, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="2.0">
<div class="rating-counter">(17 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-04.jpg" alt="">
<div class="listing-badge now-open">Now Open</div>
<div class="listing-item-content">
<span class="tag">Eat & Drink</span>
<h3>Burger House <i class="verified-icon"></i></h3>
<span>2726 Shinn Street, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="5.0">
<div class="rating-counter">(31 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-05.jpg" alt="">
<div class="listing-item-content">
<span class="tag">Other</span>
<h3>Airport</h3>
<span>1512 Duncan Avenue, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="3.5">
<div class="rating-counter">(46 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
<!-- Listing Item -->
<div class="carousel-item">
<a href="listings-single-page.html" class="listing-item-container">
<div class="listing-item">
<img src="assets/images/listing-item-06.jpg" alt="">
<div class="listing-badge now-closed">Now Closed</div>
<div class="listing-item-content">
<span class="tag">Eat & Drink</span>
<h3>Think Coffee</h3>
<span>215 Terry Lane, New York</span>
</div>
<span class="like-icon"></span>
</div>
<div class="star-rating" data-rating="4.5">
<div class="rating-counter">(15 reviews)</div>
</div>
</a>
</div>
<!-- Listing Item / End -->
</div>
</div>
</div>
</div>
</section>
<?php
include('./requiert/new-form/footer.php');
?>