This repository was archived by the owner on May 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.php
More file actions
76 lines (76 loc) · 2.67 KB
/
stats.php
File metadata and controls
76 lines (76 loc) · 2.67 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php @session_start();
// Control de sesión inciada
if(!isset($_SESSION['nick'])){
header("Location: index.php");
die();
} else {
include_once("includes/conexionDB.php");
conexionDB();?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Apuntomatic</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="js/morris/morris-0.4.3.min.css" rel="stylesheet" />
<link href="css/custom.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
<link href="css/apuntomatic.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<style>
#sidebar-stats {
background-color:#4a9b40!important;
}
</style>
</head>
<body>
<?php include_once("includes/analytics.php") ?>
<div id="wrapper" style="margin-top:20px;">
<?php
include 'header.php';
$perfil = mysqli_query($_SESSION['con'], "SELECT * FROM ap_users WHERE user_nick='".$_SESSION['nick']."'") or die(mysql_error());
$row = mysqli_fetch_array($perfil);
$id_sesion = $row["ID"];
$nick_sesion = $row["user_nick"];
$nom_sesion = $row["user_name"];
$freg_sesion = $row["user_registered"];
$sub_sesion = $row["user_files"];
$desc_sesion = $row["user_downloads"];
//gravatar
$gravatarMd5 = md5($row["user_email"]);
?>
<!-- /. NAV TOP -->
<?php include 'sidebar.php'; ?>
<div id="page-wrapper" >
<div id="page-inner">
<div class="col-md-6 col-sm-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading">
Bar Chart Example
</div>
<div class="panel-body">
<div id="morris-bar-chart"></div>
</div>
</div>
</div>
<!-- /. PAGE INNER -->
</div>
<!-- /. PAGE WRAPPER -->
</div>
<?php
include "footer.php";
?>
</body>
<!-- jS
================================================== -->
<!-- Se carga al final para aliviar la descarga -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.metisMenu.js"></script>
<script src="js/morris/raphael-2.1.0.min.js"></script>
<script src="js/morris/morris.js"></script>
<script src="js/custom.js"></script>
</html>
<?php } ?>