-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
75 lines (69 loc) · 2.72 KB
/
index.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="application-name" content="CEAD" />
<meta name="author" content="Augusto Weiand, guto.weiand@gmail.com" />
<meta name="keywords" content="Gerador de Relatório para Moodle" />
<title>mReport | Gerador de Relatórios para Moodle</title>
<?php
require "incs.php";
?>
</head>
<body>
<?php
session_start();
if (isset($_GET['actionMens'])) {
$act = $_GET['actionMens'];
echo "<script>mens('".$act."')</script>";
}
?>
<div id="mens" class="mens">
</div>
<div id="centralizar">
<div id="topo">
<?php include_once "pg/topo.php"; ?>
</div>
<div id="menu">
<?php include_once "pg/menu.php"; ?>
</div>
<div id="nav">
<?php
$u = new Utils();
if (!$u->_logado()){
?>
<form name="frmLogar" id="frmLogar" action="mainframe/actions.php" method="post">
<table width="20%" align="center">
<tr>
<td align="center">
<h3><strong>Bem Vindo!</strong></h3><br />
</td>
</tr>
<tr>
<td align="left">
<label for="login">Login:</label>
<input type="text" name="login" id="login" style="width: 200px;"/>
</td>
</tr>
<tr>
<td align="left">
<label for="passwd">Senha:</label>
<input type="password" name="passwd" id="passwd" style="width: 200px;" />
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="action" id="action" value="Logar"/>
</td>
</tr>
</table>
</form>
<?php
} else {
echo "Bem Vindo! você está Logado!";
}
?>
</div>
</div>
</body>
</html>