mirror of
https://github.com/itflow-org/itflow
synced 2026-03-22 05:25:39 +00:00
Tidy UI for debug
This commit is contained in:
@@ -189,7 +189,14 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
|
||||||
<h3>Database Structure Check</h3>
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="card card-dark">
|
||||||
|
<div class="card-header py-3">
|
||||||
|
<h3 class="card-title"><i class="fas fa-fw fa-database mr-2"></i>Database Structure Check</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (empty($differences)) {
|
if (empty($differences)) {
|
||||||
@@ -200,9 +207,16 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<hr>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h4>Database stats</h4>
|
<div class="col-md-6">
|
||||||
|
<div class="card card-dark">
|
||||||
|
<div class="card-header py-3">
|
||||||
|
<h3 class="card-title"><i class="fas fa-fw fa-chart-bar mr-2"></i>Database Statistics</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo "Number of tables: " . $numTables . "<br>";
|
echo "Number of tables: " . $numTables . "<br>";
|
||||||
@@ -210,19 +224,16 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||||||
echo "Total number of rows: " . $numRows . "<br>";
|
echo "Total number of rows: " . $numRows . "<br>";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<hr>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3>PHP Modules Installed</h3>
|
<div class="col-md-6">
|
||||||
|
<div class="card card-dark">
|
||||||
<?php
|
<div class="card-header py-3">
|
||||||
foreach ($loadedModules as $module) {
|
<h3 class="card-title"><i class="fas fa-fw fa-check mr-2"></i>Versions Check</h3>
|
||||||
echo $module . "<br>";
|
</div>
|
||||||
}
|
<div class="card-body">
|
||||||
?>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h3>Versions</h3>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo "PHP version: " . $phpVersion . "<br>";
|
echo "PHP version: " . $phpVersion . "<br>";
|
||||||
@@ -230,12 +241,19 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||||||
echo "Operating System: " . $operatingSystem . "<br>";
|
echo "Operating System: " . $operatingSystem . "<br>";
|
||||||
echo "Web Server: " . $webServer;
|
echo "Web Server: " . $webServer;
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<hr>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="card card-dark">
|
||||||
|
<div class="card-header py-3">
|
||||||
|
<h3 class="card-title"><i class="fas fa-fw fa-hdd mr-2"></i>File system Check</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
<h3>File System</h3>
|
|
||||||
<?php
|
<?php
|
||||||
$result = countFilesInDirectory($folderPath);
|
$result = countFilesInDirectory($folderPath);
|
||||||
|
|
||||||
@@ -246,10 +264,31 @@ $webServer = $_SERVER['SERVER_SOFTWARE'];
|
|||||||
echo "Total size of files in $folderPath and its subdirectories: " . $totalSizeMB . " MB";
|
echo "Total size of files in $folderPath and its subdirectories: " . $totalSizeMB . " MB";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="card card-dark">
|
||||||
|
<div class="card-header py-3">
|
||||||
|
<h3 class="card-title"><i class="fas fa-fw fa-puzzle-piece mr-2"></i>PHP Modules Installed</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
|
<?php
|
||||||
|
foreach ($loadedModules as $module) {
|
||||||
|
echo $module . "<br>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user