-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
142 lines (118 loc) · 4.22 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?php session_start();
//Aktifkan session
require 'config/koneksi.php'; ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Monitoring</title>
<link href="Assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="Assets/css/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="Assets/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
body {
margin-top:70px;
}
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
opacity:0;
transition: opacity 200ms ease-in;
pointer-events: none;
}
.modalDialog:target {opacity:1; pointer-events: auto;}
.modalDialog > div {
width: 400px;
position: relative;
margin: 10% auto;
padding: 5px 20px 13px 20px;
border-radius: 10px;
background: #fff;
background: linear-gradient(#fff, #aaa);
}
.close:hover { background:#00d9ff; }
.close {
background: #606061;
color: #FFFFFF;
line-height: 25px;
position: absolute;
text-align: center;
top: -10px;
right: -12px;
width: 24px;
text-decoration: none;
font-weight: bold;
border-radius: 12px;
box-shadow: 1px 1px 3px #000;
}
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
</style>
<!--script untuk disable klik kanan-->
<script>
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3 )) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
</script>
<!--script untuk disable ctrl + u, ctrl + s, ctrl + shift + i, ctrl + shift + j, dan F12-->
<script>
document.onkeydown = function(e) {
if (e.ctrlKey &&
(e.keyCode == 85 || e.keyCode == 83 || e.keyCode == 123 ))
{
return false;
}
else if ((event.ctrlKey && event.shiftKey && event.keyCode == 73) || (event.ctrlKey && event.shiftKey && event.keyCode == 74)|| (event.keyCode == 123)) {
return false;
}
};
</script>
</head>
<BODY oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
<?php //mengambil file menu.php
require 'akun.php';
?>
<?php //mengambil file menu.php
require 'menu.php';
?>
<?php //mengambil file menu.php
require 'content.php';
?>
<?php //mengambil file menu.php
require 'footer.php';
?>
<script src="Assets/js/jquery.js" type="text/javascript"></script>
<script src="Assets/js/bootstrap.min.js" type="text/javascript"></script>
<script src="Assets/js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="Assets/js/dataTables.bootstrap.min.js" type="text/javascript"></script>
<script src="Assets/js/disablerc.js" type="text/javascript"></script>
<script type="text/javascript" >
$(function () {
$('#dtskripsi').dataTable();
});
</script>
</body>
</html>