-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogselect.php
More file actions
61 lines (61 loc) · 3.31 KB
/
logselect.php
File metadata and controls
61 lines (61 loc) · 3.31 KB
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
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Select Logs</title>
<link type='text/css' rel='stylesheet' href='bootstrap.css'>
<meta name='author' content='Jitin J Gigi'>
<link rel='stylesheet' type='text/css' href='EM.css'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='shortcut icon' type='image/png' href='logo.ico'>
<script>
var selected;
function selectme(a)
{
for (var x=0; x<4; x++)
{
document.getElementsByClassName('select')[x].style.borderBottom='2px solid white';
document.getElementsByClassName('select')[x].style.color='darkgray';
document.getElementsByClassName('select')[x].style.fontWeight='100';
}
document.getElementById(a).style.borderBottom='2px solid rgb(0,0,0)';
document.getElementById(a).style.color='rgb(0,0,0)';
document.getElementById(a).style.fontWeight='bolder';
selected=a;
}
function hoverme(a)
{
if (a!=selected)
{
document.getElementById(a).style.borderBottom='2px solid rgb(200,200,200)';
document.getElementById(a).style.color='black';
}
}
function unhoverme(a)
{
if (a!=selected)
{
document.getElementById(a).style.borderBottom='2px solid white';
document.getElementById(a).style.color='darkgray';
}
}
function initialset()
{
document.getElementById('1').click();
console.log("get parameters : "+"<?php if(isset($_GET['account'])) echo $_GET['account']; ?>");
}
function thewheelfun()
{
console.log("working ", this.detail);
}
</script>
</head>
<body class='logselect_body' onload='initialset()'>
<div class='container-fluid logselect_tabs trans2inout' wheel='thewheelfun()'>
<a onclick='selectme(1)' onmouseover='hoverme(1)' onmouseout='unhoverme(1)' class='select' id='1' target='themainframe' href='logall.php?account=<?php if (isset($_GET['account'])) echo htmlentities($_GET['account']); ?>'>All Logs</a>
<a onclick='selectme(2)' onmouseover='hoverme(2)' onmouseout='unhoverme(2)' class='select' id='2' target='themainframe' href='logdaily.php?account=<?php if (isset($_GET['account'])) echo htmlentities($_GET['account']); ?>'>Daily Logs</a>
<a onclick='selectme(3)' onmouseover='hoverme(3)' onmouseout='unhoverme(3)' class='select' id='3' target='themainframe' href='logmonthly.php?account=<?php if (isset($_GET['account'])) echo htmlentities($_GET['account']); ?>'>Monthly Logs</a>
<a onclick='selectme(4)' onmouseover='hoverme(4)' onmouseout='unhoverme(4)' class='select' id='4' target='themainframe' href='logyearly.php?account=<?php if (isset($_GET['account'])) echo htmlentities($_GET['account']); ?>'>Yearly Logs</a>
</div>
<iframe class='logselect_iframe' name='themainframe'></iframe>
</body>
</html>