-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindexw.php
105 lines (72 loc) · 2.22 KB
/
indexw.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="../css/fonts/stylesheet.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="../js/ajax.js"></script>
<script language="javascript">
function AtualizaMenu() {
$.post ( "menu.php", {}, function(data) {
document.getElementById("nav-sidebar-inner").innerHTML=data;
});
}
function Login( val )
{
$.post( "header.php", {pass: val, bt: "valida"}, function(data) {
if( data == 'ok' )
{
top.location = 'index.php';
}else{
document.getElementById('header').innerHTML=data;
}
});
}
function Navega( page, stat, target, npg) {
$.post ( page, {status: stat, pg: npg}, function(data) {
document.getElementById(target).innerHTML=data;
AtualizaMenu();
});
}
function Admin( page, target, _antiga, _nova, _confirma) {
$.post ( page, {antiga: _antiga, nova: _nova, confirma: _confirma, bt: "1"}, function(data) {
document.getElementById(target).innerHTML=data;
});
}
function Change( _tipo, _idlook ) {
$.post ( "descricao.php", {tipo: _tipo, id_look: _idlook}, function(data) {
document.getElementById("content-inner").innerHTML=data;
AtualizaMenu();
});
}
</script>
</head>
<body>
<?php include '../cn.php'; ?>
<div id="wrapper">
<div id=header>
<?php include 'sessao.php'; ?>
<?php include 'header.php'; ?>
</div>
<div class="clear"></div>
<div>
<div id="nav-sidebar">
<div id="nav-sidebar-inner">
<?php include 'menu.php'; ?>
</div>
</div>
<div id="content">
<div id="content-inner">
<?php include 'tabela.php'; ?>
</div>
</div>
</div>
<div class="clear"></div>
<?php include 'footer.php'; ?>
</div>
<?php $cn->close(); ?>
</body>
</html>