-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfirma-transferencia.php
45 lines (39 loc) · 1.01 KB
/
confirma-transferencia.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
<?php
require_once 'logica-usuario.php';
verificaUsuario(); verificaAdmin();
require_once 'conecta.php';
require_once 'banco-meusite.php';
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Control panel</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<?php
$id = $_GET["id"];
$confirmacao = true;
if(confirmaTransferencia($conexao, $id, $confirmacao))
{
header ("Location: transferencias");
die();
}else{
?>
<h1>Algo deu errado:</h1>
<?php
printf("Connect failed: %s\n", mysqli_error($conexao));
exit();
}
?>
</section>
<!-- /.content -->
</div>