Update stats.php

This commit is contained in:
siegmund0 2019-09-04 16:22:06 -03:00 committed by GitHub
parent d6c5fdbc58
commit 6eb9d45d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js"></script> <script src="https://cdn.datatables.net/1.10.12/js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css" /> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/dataTables.bootstrap.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
@ -24,14 +24,14 @@
<table id="employee_data" class="table table-striped table-bordered"> <table id="employee_data" class="table table-striped table-bordered">
<thead> <thead>
<tr> <tr>
<td>Nombre</td> <td>Nombre</td>
<td>Z Matados</td> <td>Z Matados</td>
<td>Animales Matados</td> <td>Animales Matados</td>
<td>Distancia Recorrida</td> <td>Distancia Recorrida</td>
<td>Suicidios</td> <td>Suicidios</td>
<td>Muertes Por Z</td> <td>Muertes Por Z</td>
<td>Muertes Nat.</td> <td>Muertes Nat.</td>
<td>Max T Sobrev.</td> <td>Max T Sobrev.</td>
</tr> </tr>
</thead> </thead>
<?php <?php
@ -39,14 +39,14 @@
{ {
echo ' echo '
<tr> <tr>
<td>'.$row["name"].'</td> <td>'.$row["name"].'</td>
<td>'.$row["zKilled"].'</td> <td>'.$row["zKilled"].'</td>
<td>'.$row["animalsKilled"].'</td> <td>'.$row["animalsKilled"].'</td>
<td>'.$row["distTrav"].'</td> <td>'.$row["distTrav"].'</td>
<td>'.$row["suicideCount"].'</td> <td>'.$row["suicideCount"].'</td>
<td>'.$row["deathsToZCount"].'</td> <td>'.$row["deathsToZCount"].'</td>
<td>'.$row["deathsToNaturalCauseCount"].'</td> <td>'.$row["deathsToNaturalCauseCount"].'</td>
<td>'.$row["timeSurvived"].'</td> <td>'.$row["timeSurvived"].'</td>
</tr> </tr>
'; ';
} }
@ -65,4 +65,4 @@ $(document).ready(function() {
//$(document).ready(function(){ //$(document).ready(function(){
// $('#employee_data').DataTable(); // $('#employee_data').DataTable();
//}); //});
</script> </script>