baseline 7.4 as-is produzione

This commit is contained in:
2026-09-09 14:32:53 +00:00
commit 71ec465d7a
3638 changed files with 859299 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php␍
␍
include('db-connect.php');␍
␍
$row1 = mysqli_query($con,"SELECT *,trfstandards.iddpicategory as iddpicategoryid,trfstandards.idprotectioncategory as idprotectioncategoryid,trfstandards.idstandards as idstandardsid FROM trfstandards LEFT JOIN standards ON trfstandards.idstandards=standards.idstandards LEFT JOIN dpicategory ON trfstandards.iddpicategory=dpicategory.iddpicategory LEFT JOIN protectioncategory ON trfstandards.idprotectioncategory=protectioncategory.idprotectioncategory WHERE trfstandards.idtrfdetails='{$_GET['idtrf']}' order by standardcode");␍
␍
$html = "<table class=\"table table-striped mb-0\" id=\"example1\" style=\"border:1px solide red\">␍
<tr>␍
<th style=\"display:none;\">id</th>␍
<th>{$_GET['standardcodetitle']}</th>␍
<th>{$_GET['protectioncategorytitle']}</th>␍
<th>{$_GET['dpicategorytitle']}</th>␍
</tr>";␍
␍
while($rowquery = mysqli_fetch_assoc($row1)) {␍
$this_pcat = (isset($rowquery['name_protectioncategory']))? $rowquery['name_protectioncategory']: $_GET['pleaseselectstd'];␍
$this_dpcat = (isset($rowquery['value_dpicategory']))? $rowquery['value_dpicategory']: $_GET['pleaseselectstd'];␍
$html .= "<tr>␍
<td style=\"display:none;\">{$rowquery['idtrfstandards']}</td>␍
<td>{$rowquery['standardcode']}</td>␍
<td>{$this_pcat}</td>␍
<td>{$this_dpcat}</td>␍
</tr>";␍
}␍
␍
$html .= "</table>";␍
␍
echo $html;␍
?>