-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
103 lines (71 loc) · 2.04 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin</title>
<meta name="description" content="web admin">
<meta name="author" content="Paulo Silva">
<link rel="shortcut icon" href="" type="image/png">
<link rel='stylesheet' id='style-css' href='css/layout.css' type='text/css' media='all' />
<script src="http://code.jquery.com/jquery-git.js" type="text/javascript"></script>
<script src="js/layout_beahvior.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper_content">
<div id="header">
<!-- logotipo -->
<div id="logo">
<span class="logotipo"></span>
<ul>
<li><a href="#"><img src="img/home_ic.png" /></a></li>
<li><a href="#"><img src="img/mail_ic.png" /></a></li>
</ul>
</div>
<div id="header_menu">
<ul id="header_menu_left">
<li>links</li>
<li>links</li>
<li>links</li>
</ul>
<ul id="header_menu_rigth">
<li><a href="#" id="showchat"></a></li>
<li>links</li>
<li>links</li>
</ul>
</div>
</div>
<div id="contentwrapper">
<div id="menuleft">
<?php include ('app/menu_left/menu.php'); ?>
</div>
<div id="content">conteudo</div>
</div>
<div class="clear"></div>
</div>
<div id="menurigth">
1
</div>
<script>
$(document).ready(function () {
$('#accordion a.item').click(function () {
/* FIRST SECTION */
//slideup or hide all the Submenu
$('#accordion li').children('ul').slideUp('fast');
//remove all the "Over" class, so that the arrow reset to default
$('#accordion a.item').each(function () {
if ($(this).attr('rel')!='') {
$(this).removeClass($(this).attr('rel') + 'Over');
}
});
/* SECOND SECTION */
//show the selected submenu
$(this).siblings('ul').slideDown('fast');
//add "Over" class, so that the arrow pointing down
$(this).addClass($(this).attr('rel') + 'Over');
return false;
});
});
</script>
</body>
</html>