$query = "";
// Stored files number
-$totalfiles = $dbSql->GetStoredFiles();
+$totalfiles = $dbSql->GetStoredFiles( ALL );
$smarty->assign('stored_files',$totalfiles);
// Database size
// Total stored bytes since last 24 hours
$result = $dbSql->GetStoredBytes( LAST_DAY );
-$smarty->assign('bytes_totales', $dbSql->human_file_size($result['stored_bytes']) );
+$smarty->assign('bytes_last', $dbSql->human_file_size($result['stored_bytes']) );
+
+// Total stored files since last 24 hours
+$files_last = $dbSql->GetStoredFiles( LAST_DAY );
+$smarty->assign('files_last', $files_last );
+
// Number of clients
$nb_clients = $dbSql->Get_Nb_Clients();
</tr>
<tr>
<td class="label">Transferred Bytes</td>
- <td class="info">{$bytes_totales}</td>
+ <td class="info">{$bytes_last}</td>
+ </tr>
+ <tr>
+ <td class="label">Transferred Files</td>
+ <td class="info">{$files_last}</td>
</tr>
</table>
</div> <!-- end div box -->