-
Notifications
You must be signed in to change notification settings - Fork 0
/
systemDetail.php
121 lines (115 loc) · 2.54 KB
/
systemDetail.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
<?php
session_start(); //inicializo la session
//ahora verifico que el usuario este logueado
if(isset($_SESSION["login"])){
if(!$_SESSION["login"]){
header("Location:login.php");
}
}else{
// si no esta logueado lo mando a loguearse
header("Location:login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Refresh" content="60">
<link rel="stylesheet" href="stylesheets/style.css">
<link rel="shortcut icon" href="images/logoTitle.png" type="image/x-icon"/>
<link rel="icon" href="images/favicon.png" type="image/x-icon" />
<link href="css/bootstrap.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/ie10-viewport-bug-workaround.js"></script>
<style type="text/css">
body {
padding-top: 20px;
}
</style>
<?php include_once 'functions.php'; ?>
<title>Detalles</title>
</head>
<body>
<ul class="nav nav-tabs">
<li role="presentation" ><a href="#">Usuarios</a></li>
<li role="presentation" ><a href="dashboard.php">Dashboard</a></li>
<li role="presentation" ><a href="#">Agregar Usuarios</a></li>
<li role="presentation"><a href="logout.php">Cerrar Sesion</a></li>
</ul>
<div class="panel panel-default">
<div class="panel-body">
<p>En la siguiente tabla se encuentran los datos del Sistema</p>
</div>
<!-- Table -->
<table class="table">
<thead>
<tr>
<td>
Information
</td>
<td>
Detail
</td>
</tr>
</thead>
<tr>
<td>
Date Time
</td>
<td>
<?php getDateTime();?>
</td>
</tr>
<tr>
<td>
Free Space
</td>
<td>
<?php getDiskSpace();?>
</td>
</tr>
<tr>
<td>
OS information
</td>
<td>
<?php getSystemInfo();?>
</td>
</tr>
<tr>
<td>
More info
</td>
<td>
<?php getPcInformation();?>
</td>
</tr>
<tr>
<td>
Memory usage
</td>
<td>
<?php getMemoryUsage();?>
</td>
</tr>
<tr>
<td>
Owner
</td>
<td>
<?php getUserSystem();?>
</td>
</tr>
<tr>
<td>
Usuario Actual
</td>
<td>
<?php echo $_SESSION["user"];?>
</td>
</tr>
</table>
</div>
</body>
</html>