diff --git a/web/yaamp/modules/explorer/index.php b/web/yaamp/modules/explorer/index.php
index ae5a655..35a43a8 100644
--- a/web/yaamp/modules/explorer/index.php
+++ b/web/yaamp/modules/explorer/index.php
@@ -6,21 +6,23 @@ echo "
";
showTableSorter('maintable', '{headers: {0: {sorter: false}, 9: {sorter: false}}}');
-echo "
";
-echo "";
-echo " | ";
-echo "Name | ";
-echo "Symbol | ";
-echo "Algo | ";
-echo "Version | ";
-echo "Height | ";
-echo "Difficulty | ";
-echo "Connections | ";
-echo "Network Hash | ";
-echo " | ";
-echo "
";
-echo "";
+echo <<
+
+ |
+Name |
+Symbol |
+Algo |
+Version |
+Height |
+Difficulty |
+Connections |
+Network Hash |
+ |
+
+
+end;
$list = getdbolist('db_coins', "enable and visible order by name");
foreach($list as $coin)
@@ -45,8 +47,8 @@ foreach($list as $coin)
$difficulty = Itoa2($coin->difficulty, 3);
$nethash = $coin->network_hash? strtoupper(Itoa2($coin->network_hash)).'H/s': '';
- echo "";
- echo " | ";
+ echo '
';
+ echo ' | ';
echo "$coin->name | ";
echo "$coin->symbol | ";
@@ -56,7 +58,8 @@ foreach($list as $coin)
echo "$coin->block_height | ";
echo "$difficulty | ";
- echo "$coin->connections | ";
+ $cnx_class = (intval($coin->connections) > 3) ? '' : 'low';
+ echo ''.$coin->connections.' | ';
echo "$nethash | ";
echo "";
@@ -68,13 +71,19 @@ foreach($list as $coin)
echo " |
";
}
-echo "";
-echo "";
+echo <<
+
-echo "
";
+
-echo '
';
-echo '
';
-echo '
';
+
+
+
+
+
+end;