-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpresentes.php
277 lines (259 loc) · 9 KB
/
presentes.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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
session_start();
include 'config.php';
include 'sessao.php';
//session_save_path($sessionpath);
if(isset($_SESSION['email'])){
if($row['ativado'] == 0){
header('Location: '.$urlHost.'/ativacao.php');
exit;
}
}else{
header('Location: '.$urlHost.'/login.php');
exit;
}
?>
<!--aqui inicia o html-->
<!DOCTYPE html>
<html lang="pt-br">
<head>
<?php include "analytics.inc.php"; ?>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
<link rel="stylesheet" type="text/css" href="css/tabs3.css"/>
<link rel="stylesheet" type="text/css" href="css/tabs.less"/>
<link rel="stylesheet" type="text/css" href="css/tabs.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton2.css"/>
<link rel="stylesheet" type="text/css" href="css/rdbutton3.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes2.css"/>
<link rel="stylesheet" type="text/css" href="css/coloredcheckboxes3.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.2/css/bootstrap-grid.css">-->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="scripts/html5shiv-printshiv"></script>
<![endif]-->
<title>Casamento em Detalhes | Lista de Presentes</title>
<?php include "controlswitch.inc.php"; ?>
<?php include "estilo.inc.php"; ?>
<?php //include "sharebuttons.inc.php"; ?>
<?php include "jivochat.inc.php"; ?>
<?php include "fpixels.inc.php"; ?>
</head>
<body>
<!--
<script>
fbq('track', 'CompleteRegistration');
</script>
-->
<!--
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v4.0&appId=496788987840316&autoLogAppEvents=1"></script>
-->
<?php include "menulateral.inc.php"; ?>
<div class="conteudogeral clearfix">
<header>
<?php include "cabecalho.inc.php"; ?>
</header>
<!--new div-->
<main>
<div class="conteudoprincipal">
<div class="tab">
<div class="centralizador2">
<button class="tablinks3" onclick="openCity3(event, 'minhalista')">Minha Lista</button>
<button class="tablinks3" onclick="openCity3(event, 'editarlista')">Editar Lista</button>
<button class="tablinks3" onclick="openCity3(event, 'creditos')" id="defaultOpen2">Créditos Recebidos</button>
<button class="tablinks3" onclick="openCity3(event, 'configuracoes')">Configurações</button>
</div>
</div>
<div id="minhalista" class="tabcontent3">
<?php include "emconstrucao.inc.php"; ?>
</div>
<div id="editarlista" class="tabcontent3">
<?php include "emconstrucao.inc.php"; ?>
</div>
<div id="creditos" class="tabcontent3">
<div class="visaogeral">
<p style="font-weight:bold; font-size: 100%;">Visão Geral</p>
</div>
<div class="creditosinformativos">
<div class="box1">
<div class="icon <?php echo $color; ?>">
<img src="images/pileofcoins.png" width="100%" height="auto"/>
</div>
<div class="valor">
<p class="p1">Total em Presentes</p>
<p class="p2">R$ 50.000,00</p>
</div>
</div>
<div class="box1">
<div class="icon <?php echo $color; ?>">
<img src="images/clock.png" width="80%" height="auto"/>
</div>
<div class="valor">
<p class="p1">Aguardando o Prazo</p>
<p class="p2">R$ 25.000,00</p>
</div>
</div>
<div class="box1">
<div class="icon <?php echo $color; ?>">
<img src="images/withdraw.png" width="80%" height="auto"/>
</div>
<div class="valor2">
<p class="p1">Disponível para Saque</p>
<p class="p2">R$ 18.000,00</p>
</div>
<div class="icon2">
<img src="images/withdraw2.png" width="40%" height="auto"/><br/>
Solicitar Saque
</div>
</div>
</div>
<div class="compras">
<span style="font-weight:bold;">Compras</span> - <span style="font-size:80%;">Confira os últimos presentes recebidos</span>
</div>
<div class="box2">
<table class="tabeladepresentes">
<tr>
<th>Presente</th>
<th>De</th>
<th>Valor da Compra</th>
<th>Nº de Cotas</th>
<th>ID do Pedido</th>
<th>Data da Compra</th>
<th>Disponível em</th>
<th>Recado</th>
</tr>
<tr>
<td>Geladeira 500</td>
<td>Ana Maria das Graças</td>
<td>R$ 1.000,00</td>
<td>10</td>
<td>#00000000001</td>
<td>05/12/2019</td>
<td>10/09/2020</td>
<td><input class="verrecado <?php echo $color; ?>" type="submit" name="verrecado" value="Ver Recado" /></td>
</tr>
<tr>
<td>Geladeira 500</td>
<td>Ana Maria das Graças</td>
<td>R$ 1.000,00</td>
<td>10</td>
<td>#00000000001</td>
<td>05/12/2019</td>
<td>10/09/2020</td>
<td><input class="verrecado <?php echo $color; ?>" type="submit" name="verrecado" value="Ver Recado" /></td>
</tr>
<tr>
<td>Geladeira 500</td>
<td>Ana Maria das Graças</td>
<td>R$ 1.000,00</td>
<td>10</td>
<td>#00000000001</td>
<td>05/12/2019</td>
<td>10/09/2020</td>
<td><input class="verrecado <?php echo $color; ?>" type="submit" name="verrecado" value="Ver Recado" /></td>
</tr>
<tr>
<td>Geladeira 500</td>
<td>Ana Maria das Graças</td>
<td>R$ 1.000,00</td>
<td>10</td>
<td>#00000000001</td>
<td>05/12/2019</td>
<td>10/09/2020</td>
<td><input class="verrecado <?php echo $color; ?>" type="submit" name="verrecado" value="Ver Recado" /></td>
</tr>
<tr>
<td>Geladeira 500</td>
<td>Ana Maria das Graças</td>
<td>R$ 1.000,00</td>
<td>10</td>
<td>#00000000001</td>
<td>05/12/2019</td>
<td>10/09/2020</td>
<td><input class="verrecado <?php echo $color; ?>" type="submit" name="verrecado" value="Ver Recado" /></td>
</tr>
</table>
</div>
<div class="transacoes">
<span style="font-weight:bold;">Transações</span> - <span style="font-size:80%;">Confira a movimentação do seu dinheiro</span>
</div>
<div class="box2">
<table class="tabeladetransacoes">
<tr>
<th>ID da Transação</th>
<th>Valor do Saque</th>
<th>Data da Solicitação</th>
<th>Data da Efetivação</th>
<th>Status</th>
</tr>
<tr>
<td>#0000000001454</td>
<td>R$ 14.500,00</td>
<td>05/08/2019 às 15:37:57</td>
<td>05/08/2019 às 15:37:57</td>
<td><input class="status concluido" type="submit" name="status" value="Concluído" /></td>
</tr>
<tr>
<td>#0000000001454</td>
<td>R$ 14.500,00</td>
<td>05/08/2019 às 15:37:57</td>
<td>05/08/2019 às 15:37:57</td>
<td><input class="status pendente" type="submit" name="status" value="Pendente" /></td>
</tr>
<tr>
<td>#0000000001454</td>
<td>R$ 14.500,00</td>
<td>05/08/2019 às 15:37:57</td>
<td>05/08/2019 às 15:37:57</td>
<td><input class="status pendente" type="submit" name="status" value="Pendente" /></td>
</tr>
</table>
</div>
</div>
<div id="configuracoes" class="tabcontent3">
<?php include "emconstrucao.inc.php"; ?>
</div>
<!-- Source code: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_tabs_close -->
</div>
</main>
</div>
<script>
function openCity3(evt, cityName3) {
var i, tabcontent3, tablinks3;
tabcontent3 = document.getElementsByClassName("tabcontent3");
for (i = 0; i < tabcontent3.length; i++) {
tabcontent3[i].style.display = "none";
}
tablinks3 = document.getElementsByClassName("tablinks3");
for (i = 0; i < tablinks3.length; i++) {
tablinks3[i].className = tablinks3[i].className.replace(" active", "");
}
document.getElementById(cityName3).style.display = "block";
evt.currentTarget.className += " active";
}
// Pega o elemento com a id="defaultOpen" e clica nele
document.getElementById("defaultOpen2").click();
</script>
<?php include "menuativo.inc.php"; ?>
<div class="footerdiv clearfix">
<footer>
<?php include "rodape.inc.php"; ?>
</footer>
</div>
</body>
</html>