-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtechnology.php
More file actions
38 lines (33 loc) · 1.03 KB
/
technology.php
File metadata and controls
38 lines (33 loc) · 1.03 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
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
include_once ("technology_calc.php");
echo "<p>score: " . $wphpc_tech_score . " (lower is better)</p><br/>";
?>
<canvas id="cvs_odo3" width="250" height="250">
[No canvas support]
</canvas>
<script>
new RGraph.Gauge({
id: 'cvs_odo3',
min: 0,
max: 10,
value: <?php echo $wphpc_tech_score ;?>,
options :{
scaleDecimals : 0,
labelsCount: 5,
greenColor: '#afa',
borderInner: '#1FA7E1',
borderOuter: '#1FA7E1',
greenEnd: 2,
redStart: 5,
}
}).draw()
</script>
<?php
echo "<p> Technology demerits</p><br/>";
echo "WordPress version: " . $wphpc_wp_version_demerits . " demerits<br/>";
echo "PHP version: " . $wphpc_php_version_demerits . " demerits<br/>";
echo "PHP handler version: " . $wphpc_phphandler_version_demerits . " demerits<br/>";
echo "MySQL version: " . $wphpc_mysql_version_demerits . " demerits<br/>";
?>
for more information on demerits, see <A href="admin.php?page=wphpc_sysinfo">sysinfo</A>.