Skip to content

Commit 24d0132

Browse files
committed
Adiciona arquivos e php para enviar formulario
1 parent f48536b commit 24d0132

File tree

188 files changed

+32440
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+32440
-0
lines changed

admin.php

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
include("functions.php");
3+
verifyLogin();
4+
include("header.php");
5+
$rows = getResults();
6+
?>
7+
8+
9+
<div class="container admin">
10+
11+
<div class="admin-header">
12+
<a href="logout.php" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-log-out"></span> Logout</a>
13+
<a href="export.php" class="btn btn-success pull-lrft"><span class="glyphicon glyphicon-download"></span> Export to Excel csv</a>
14+
</div>
15+
16+
<h1>Contacts</h1>
17+
<table class="table table-striped">
18+
<tr>
19+
<th>Id</th>
20+
<th>E-mail</th>
21+
<th>Contact Type</th>
22+
</tr>
23+
<?php
24+
foreach($rows as $row){
25+
echo "<tr>";
26+
foreach($row as $col){
27+
echo "<td>".$col."</td>";
28+
}
29+
echo "</tr>";
30+
}
31+
?>
32+
</table>
33+
34+
</div><!-- container -->
35+
36+
<?php include("footer.php"); ?>

0 commit comments

Comments
 (0)