fixed footer and policy
This commit is contained in:
@@ -25,11 +25,23 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
|
||||
// Lista dei campi da sanificare e controllare se sono piene
|
||||
$fields = [
|
||||
'productionplace_same', 'classificationshoes', 'destinationuseppe',
|
||||
'manufacutringprocess', 'ppeageing', 'obsolescencedeadline',
|
||||
'localisationppemarking', 'manufacturerlogoid', 'sizeexamplecemark',
|
||||
'monthyearprod', 'serialbatchnumber', 'standarduse', 'symbolsaddreq',
|
||||
'proddescription', 'packaging', 'declarconformity', 'webaddress'
|
||||
'productionplace_same',
|
||||
'classificationshoes',
|
||||
'destinationuseppe',
|
||||
'manufacutringprocess',
|
||||
'ppeageing',
|
||||
'obsolescencedeadline',
|
||||
'localisationppemarking',
|
||||
'manufacturerlogoid',
|
||||
'sizeexamplecemark',
|
||||
'monthyearprod',
|
||||
'serialbatchnumber',
|
||||
'standarduse',
|
||||
'symbolsaddreq',
|
||||
'proddescription',
|
||||
'packaging',
|
||||
'declarconformity',
|
||||
'webaddress'
|
||||
];
|
||||
|
||||
foreach ($fields as $field) {
|
||||
@@ -177,6 +189,34 @@ while ($row = $resultpartquery->fetch_assoc()) {
|
||||
}
|
||||
$partqueryliststmd->close();
|
||||
$conn->close();
|
||||
|
||||
// Aggiungi l'opzione specifica in base a $idart
|
||||
switch ($idart) {
|
||||
case 1:
|
||||
$partRows[] = [
|
||||
'partsnumber' => '99',
|
||||
'partsnameita' => 'Calzatura completa'
|
||||
];
|
||||
break;
|
||||
case 2:
|
||||
$partRows[] = [
|
||||
'partsnumber' => '99',
|
||||
'partsnameita' => 'Guanto Completo'
|
||||
];
|
||||
break;
|
||||
case 3:
|
||||
$partRows[] = [
|
||||
'partsnumber' => '99',
|
||||
'partsnameita' => 'Semimaschera completa'
|
||||
];
|
||||
break;
|
||||
case 4:
|
||||
$partRows[] = [
|
||||
'partsnumber' => '99',
|
||||
'partsnameita' => 'Indumento completo'
|
||||
];
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user