forked from devsecopsmaturitymodel/DevSecOps-MaturityModel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.php
30 lines (25 loc) · 765 Bytes
/
report.php
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
<?php
include_once "head.php";
?>
<body>
<?php
include_once "navi.php";
?>
<?php
include_once "data.php";
include_once "detail.php";
foreach ($dimensions as $dimension => $subdimensions) {
echo "<h1>Dimension $dimension</h1>";
foreach ($subdimensions as $subdimension => $element) {
echo "<h2>Sub-Dimension $subdimension</h2>";
for ($i = 1; $i <= 4; $i++) {
$tableContent .= "<td><ul>";
foreach ($element as $elementName => $content) {
$content = getContentForLevelFromSubdimensions($i, $content, $elementName);
if ($content != "") {
printDetail($dimension, $subdimension, $elementName, $dimensions, true);
}
}
}
}
}