small change

This commit is contained in:
2025-01-21 10:23:49 +01:00
parent 251fbfcd33
commit 9b74f92a4c
57 changed files with 331 additions and 286 deletions
+3 -1
View File
@@ -26,6 +26,7 @@ if (isset($formnameedit)) {
$UpdateQuery->bindColumn("iddpicategory", "i", "" . ((isset($_POST["categorydpi"])) ? $_POST["categorydpi"] : "") . "", "WA_DEFAULT");
$UpdateQuery->bindColumn("virusset", "s", "" . ((isset($_POST["virusprotection"])) ? $_POST["virusprotection"] : "") . "", "WA_DEFAULT");
$UpdateQuery->bindColumn("chemicalsset", "s", "" . ((isset($_POST["chemicalagent"])) ? $_POST["chemicalagent"] : "") . "", "WA_DEFAULT");
$UpdateQuery->bindColumn("active", "s", "" . ((isset($_POST["active"])) ? $_POST["active"] : "") . "", "WA_DEFAULT");
$UpdateQuery->addFilter("idstandards", "=", "i", "" . ($idstandards) . "");
$UpdateQuery->execute();
$UpdateGoTo = "";
@@ -152,6 +153,7 @@ $standardlist->execute();
<th>Virus</th>
<th>Chemical</th>
<th>Active</th>
<th><?php echo $action; ?></th>
</tr>
@@ -183,7 +185,7 @@ $standardlist->execute();
</div>
<?php } ?>
</td>
<td><?php echo ($standardlist->getColumnVal("active")); ?></td>
<td>
<a href="edit-standard.php?idstandards=<?php echo ($standardlist->getColumnVal("idstandards")); ?>" class="mr-2"><i class="fas fa-edit text-info font-16"></i></a>
<a href="edit-protcategory.php?idstandards=<?php echo ($standardlist->getColumnVal("idstandards")); ?>">PC</a>