diff --git a/images/ind19.png b/images/ind19.png new file mode 100644 index 0000000..3e2c445 Binary files /dev/null and b/images/ind19.png differ diff --git a/images/ind21.png b/images/ind21.png new file mode 100644 index 0000000..799051a Binary files /dev/null and b/images/ind21.png differ diff --git a/public/adddocument.php b/public/adddocument.php index 8fce405..5febddc 100644 --- a/public/adddocument.php +++ b/public/adddocument.php @@ -251,7 +251,7 @@ $certname->execute(); ?> getColumnVal("photoone"))) { ?> " height="200" alt="" /> - + @@ -261,6 +261,7 @@ $certname->execute(); ?> getColumnVal("phototwo"))) { ?> " height="200" alt="" /> + @@ -751,7 +752,10 @@ $certname->execute(); ?> // $("#photoaded").load(location.href + " #photoaded"); // SHOW PHOTO 1 - $('#cont_photoone').html(data); + $('#cont_photoone').html( + data + ' ' + ); + } }); }); @@ -798,7 +802,10 @@ $certname->execute(); ?> // $('.gallery').html(data); // $("#photoaded").load(location.href + " #photoaded"); // SHOW PHOTO 2 - $('#cont_phototwo').html(data); + $('#cont_phototwo').html( + data + ' ' + ); + } }); }); diff --git a/public/auth-creation.php b/public/auth-creation.php index bf6c55e..f6f2547 100644 --- a/public/auth-creation.php +++ b/public/auth-creation.php @@ -271,7 +271,7 @@ if (isset($_POST['adduser'])) {
- +
@@ -286,6 +286,8 @@ if (isset($_POST['adduser'])) {

Hai già un account? / Already have an account ? Log in

+
+

Privacy Policy ITA / Privacy Policy ENG - Cookie Policy ITA / Cookie Policy ENG

@@ -293,6 +295,7 @@ if (isset($_POST['adduser'])) { + @@ -370,6 +373,8 @@ if (isset($_POST['adduser'])) { } }; + + \ No newline at end of file diff --git a/public/auth-creation_test.php b/public/auth-creation_old.php similarity index 96% rename from public/auth-creation_test.php rename to public/auth-creation_old.php index 2330dcc..bf6c55e 100644 --- a/public/auth-creation_test.php +++ b/public/auth-creation_old.php @@ -271,7 +271,7 @@ if (isset($_POST['adduser'])) {
- +
@@ -286,8 +286,6 @@ if (isset($_POST['adduser'])) {

Hai già un account? / Already have an account ? Log in

-
-

Privacy Policy ITA / Privacy Policy ENG - Cookie Policy ITA / Cookie Policy ENG

@@ -295,7 +293,6 @@ if (isset($_POST['adduser'])) { - @@ -373,8 +370,6 @@ if (isset($_POST['adduser'])) { } }; - - \ No newline at end of file diff --git a/public/deletephotomain.php b/public/deletephotomain.php new file mode 100644 index 0000000..b8f1398 --- /dev/null +++ b/public/deletephotomain.php @@ -0,0 +1,90 @@ + false, 'msg' => 'bad id']); + header("Location: index.php"); + exit; +} + +// connessione +$conn = new mysqli($servername, $username, $password, $dbname); +if ($conn->connect_error) { + if ($method === 'POST') json_out(['ok' => false, 'msg' => 'db connect error']); + die("Connessione al database fallita"); +} + +// (opzionale) prendo il filename corrente per fare unlink +// NB: solo se il campo è uno dei previsti +$allowedFields = ['photofilename', 'photoone', 'phototwo']; +if (!in_array($field, $allowedFields, true)) { + $conn->close(); + if ($method === 'POST') json_out(['ok' => false, 'msg' => 'invalid field']); + header("Location: adddocument.php?idtrf=$idtrf"); + exit; +} + +$col = $field; // alias per chiarezza + +// recupero valore attuale +$currentFile = null; +$sqlSel = "SELECT `$col` AS f FROM `trf-details` WHERE idtrfdetails = ?"; +$stmtSel = $conn->prepare($sqlSel); +$stmtSel->bind_param("i", $idtrf); +$stmtSel->execute(); +$stmtSel->bind_result($currentFile); +$stmtSel->fetch(); +$stmtSel->close(); + +// metto a NULL il campo +$sqlUpd = "UPDATE `trf-details` SET `$col` = NULL WHERE idtrfdetails = ?"; +$stmtUpd = $conn->prepare($sqlUpd); +$stmtUpd->bind_param("i", $idtrf); +$stmtUpd->execute(); +$affected = $stmtUpd->affected_rows; +$stmtUpd->close(); + +// (opzionale) elimino file fisico se presente +if (!empty($currentFile)) { + // photofilename e foto addizionali stanno in uploadimages/, le top photo spesso pure + $path = __DIR__ . "/uploadimages/" . $currentFile; + if (is_file($path)) { + @unlink($path); + } +} + +$conn->close(); + +if ($method === 'POST') { + json_out(['ok' => ($affected >= 0), 'idtrf' => $idtrf, 'field' => $field]); +} + +// GET → redirect alla pagina +header("Location: adddocument.php?idtrf=$idtrf&t=" . time()); +exit; diff --git a/public/deletephotoone.php b/public/deletephotoone.php new file mode 100644 index 0000000..e7a1512 --- /dev/null +++ b/public/deletephotoone.php @@ -0,0 +1,34 @@ +connect_error) { + die("Connessione al database fallita: " . $conn->connect_error); + } + + // Esegui l'aggiornamento per impostare photoone a NULL + $query = "UPDATE `trf-details` SET photoone = NULL WHERE idtrfdetails = ?"; + $stmt = $conn->prepare($query); + $stmt->bind_param("i", $idtrf); + $stmt->execute(); + + if ($stmt->affected_rows > 0) { + error_log("Successfully updated photoone to NULL for idtrfdetails = $idtrf"); + } else { + error_log("Failed to update photoone for idtrfdetails = $idtrf"); + } + + $stmt->close(); + $conn->close(); + + // Reindirizza alla pagina principale + header("Location: adddocument.php?idtrf=$idtrf&t=" . time()); + exit; +} else { + // Se idtrf non è valido, reindirizza + header("Location: index.php"); + exit; +} diff --git a/public/deletephototwo.php b/public/deletephototwo.php new file mode 100644 index 0000000..b16b2f5 --- /dev/null +++ b/public/deletephototwo.php @@ -0,0 +1,34 @@ +connect_error) { + die("Connessione al database fallita: " . $conn->connect_error); + } + + // Esegui l'aggiornamento per impostare phototwo a NULL + $query = "UPDATE `trf-details` SET phototwo = NULL WHERE idtrfdetails = ?"; + $stmt = $conn->prepare($query); + $stmt->bind_param("i", $idtrf); + $stmt->execute(); + + if ($stmt->affected_rows > 0) { + error_log("Successfully updated phototwo to NULL for idtrfdetails = $idtrf"); + } else { + error_log("Failed to update phototwo for idtrfdetails = $idtrf"); + } + + $stmt->close(); + $conn->close(); + + // Reindirizza alla pagina principale + header("Location: adddocument.php?idtrf=$idtrf&t=" . time()); + exit; +} else { + // Se idtrf non è valido, reindirizza + header("Location: index.php"); + exit; +} diff --git a/public/identificationparts.php b/public/identificationparts.php index c4a71f7..cbc88f1 100644 --- a/public/identificationparts.php +++ b/public/identificationparts.php @@ -148,7 +148,7 @@ $connpart = mysqli_connect($hostname_cmctrfdb, $username_cmctrfdb, $password_cmc $searchhighlightpart = "SELECT DISTINCT partsidnumber FROM identificationparts WHERE identificationparts.idtrfdetails='$idtrf'"; $resultpart = mysqli_query($connpart, $searchhighlightpart); // Crea un array vuoto per contenere i dati -//$partids = array(); +$partids = array(); ?>
- + - + @@ -358,7 +358,7 @@ $partids[] = '0';
- +
@@ -368,18 +368,18 @@ $partids[] = '0';
- + - +
- +
- +
@@ -727,44 +727,87 @@ $partids[] = '0'; // tuta hivis $mandatoryParts = array('FM', 'RM'); $totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 'FM', 'RM'); + } elseif ($idarticletype == '4' && $modelidart == '20') { + // calzino + $mandatoryParts = array('1'); + $totalparthighlight = array(1, 2, 3); + } elseif ($idarticletype == '4' && $modelidart == '21') { + // calzino + $mandatoryParts = array('1'); + $totalparthighlight = array(1, 2, 3); } - $diffparts = array_diff($totalparthighlight, $partids); - $missingMandatoryParts = array_intersect($mandatoryParts, $diffparts); - echo ''; + $diffparts = array_values(array_diff($totalparthighlight, $partids)); + $missingMandatoryParts = array_values(array_intersect($mandatoryParts, $diffparts)); + + $ENFORCE_PARTS_BLOCK = false; // <-- metti true per tornare al blocco "duro" + $nextUrl = "adddocument.php?idtrf=" . urlencode($idtrf) . "&codestep=7"; + + echo ''; echo ''; ?> diff --git a/public/include/maparticleinduments.php b/public/include/maparticleinduments.php index 082d57a..1c39306 100644 --- a/public/include/maparticleinduments.php +++ b/public/include/maparticleinduments.php @@ -1575,4 +1575,110 @@ if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'Y') { ?> <?php echo $ind_nine; ?> <?php echo $ind_rm; ?> + + + + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + <?php echo $ind_one; ?> + <?php echo $ind_three; ?> + <?php echo $ind_two; ?> + <?php echo $ind_two; ?> + + + + + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + <?php echo $ind_one; ?> + <?php echo $ind_one; ?> + <?php echo $ind_one; ?> + <?php echo $ind_one; ?> + <?php echo $ind_two; ?> + <?php echo $ind_two; ?> + <?php echo $ind_three; ?> + <?php echo $ind_three; ?> + \ No newline at end of file diff --git a/public/informativappeasy_eng.php b/public/informativappeasy_eng.php new file mode 100644 index 0000000..8e83704 --- /dev/null +++ b/public/informativappeasy_eng.php @@ -0,0 +1,283 @@ + + + + + + Privacy Notice - PPEASY Platform + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+ +
+
+ + + + + + INFORMATIVA_PPEASY + + + + + +
+

Subject: Information Notice Regarding the Processing of the User’s Personal Data

+

Pursuant to the current legislation on the processing of personal data (EU Regulation 2016/679 as well as the Privacy Code, i.e.: Legislative Decree 196/03 as amended by Legislative Decree 101/2018), we inform you that the data provided concerning the data subject (including in the case of an individual business, small entrepreneur, or professional) or their employees, collaborators, or clients (the “Data”), will be processed in accordance with the provisions of the currently applicable privacy legislation. In any case, the processing of data is carried out in a manner that ensures the security of the data itself and according to the principles of fairness, lawfulness, and confidentiality provided by law (Articles 5, 6, and 32 of EU Regulation 2016/679 – hereinafter only GDPR).

+

Data Controller and DPO

+

The Data Controller, pursuant to Articles 4 and 24 GDPR, is Anci Servizi s.r.l. a sole shareholder company, with registered office in Milan, Via Alberto Riva Villasanta 3, and operational headquarters, B.U. CIMAC, in Vigevano, Via Aguzzafame n. 60/B. For contacts, simply send an email to: info@cimac.it or call: 038184722 or 02438291. The Data Controller has appointed its own DPO, Mrs Laura Marretta - Attorney at Law, who can be contacted at the above references or by email at privacy@assocalzaturifici.it.

+

Purpose of the Information Notice

+

The Data Controller, as required by Article 12 GDPR, adopts the following information notice as a measure to provide you with the information referred to in Article 13 GDPR and the communications referred to in Articles 15 to 22 and 34 GDPR relating to the processing of personal data you provide to register on the platform, create your profile, and use the services available on it.

+

Purposes of Processing and Legal Bases

+

The data you freely provide, concerning both the company and personal details of the User, as well as data relating to your employees, collaborators, or clients, do not fall within the special categories of personal data as listed in Article 9 GDPR and are processed by the Data Controller for the following purposes:

+
    +
  • +

    Registration on the platform and creation of the User Profile

    +
  • +
  • +

    Registration of your employees and/or collaborators who will then be authorized to use the platform after their specific user profile is created

    +
  • +
  • +

    Communication of data to proceed with the “I have PPE to certify” service

    +
  • +
  • +

    Communication of your clients’ data to proceed with the “I have PPE to certify for my client” service

    +
  • +
  • +

    Sending technical communications (technical and service communications from the Data Controller or its Data Processors)

    +
  • +
  • +

    Sending you communications relating to Cimac services

    +
  • +
  • +

    Defending/asserting a right.

    +
  • +
+

Regarding the purposes listed above, the legal bases are: for points 1) to 5), the contract between the parties for the use of the platform and its services; for points 6) and 7), the legitimate interest of the Data Controller (to which you may object at any time by writing to the DPO or following the instructions in the footer of the communications you receive).

+

Processing and Data Retention

+

For the purposes outlined above, the processing of data provided to the Data Controller will include what is necessary for the correct provision of services, namely: management, organization, storage and creation of the database, consultation, response, archiving, communication, sending communications, processing, creation of anonymous statistics, use, destruction, and modification of the processed data following a report by the data subject.

+

The Data Controller also informs you that if it intends to further process personal data for a purpose other than that for which they were collected, before such further processing, it will provide the data subject with information regarding this different purpose and any other relevant information, collecting, in the specific case, consent to the processing.

+

Data will be processed for the time necessary to fulfill the purposes of collection and the legal obligations to which the Data Controller is subject.

+

Scope of Communication and Dissemination

+

Processing will include the communication of data to members of the Data Controller’s organizational structure, or to Authorized persons within the management of the provided service, to Data Processors appointed pursuant to Article 28 GDPR. Specifically, it is noted that the company C.E. Soft s.r.l. (www.cesoft.srl), our Data Processor, also acts as “Administrator” of the platform system. The collected data will not be subject to dissemination.

+

Nature of Data Provision

+

The provision of data is optional; however, failure to provide such data may prevent the use of the platform or its services. Therefore, in the case of use of the platform and its services, the processing of personal data provided (also in the name and on behalf and in the interest of your employees and/or consultants, clients) will in any case be considered as authorized pursuant to Article 6, paragraph 1, letter b GDPR.

+

Transfer of Personal Data

+

Processing will include the use of the data provided within the EU and outside the EU, but only in the case of countries falling within the cases under Articles 45, 46, and 49 GDPR.

+

Special Categories of Personal Data

+

The Data Controller reminds the data subject that the personal data requested and provided do not fall within the special categories of personal data as listed in Articles 9 and 10 GDPR.

+

Existence of Automated Decision-Making, Including Profiling

+

The Data Controller does not carry out any data processing based on automated decision-making processes, nor does it carry out profiling.

+

Processing Methods and Security Measures

+

Processing may take place both on paper and by electronic means by persons specifically Authorized to process, as required by Article 13, paragraph 2, letter f GDPR. The Data Controller confirms that processing does not take place through automated decision-making processes nor is profiling carried out unless you have expressly consented to it.

+

The Data Controller observes appropriate security measures as provided for by Article 32 GDPR to prevent data loss, unlawful or incorrect use, and unauthorized access.

+

Responsibility for Data Provision

+

It is understood that for all data entered into the platform, both for all data provided and for each individual data item, including with regard to correctness, lawfulness, and truthfulness as well as the possibility of use and communication, the legal representative of the company creating the profile is responsible, and must also hold the Data Controller harmless from any and all claims that may arise and from any request for compensation for direct and/or indirect damages.

+

Data Breach

+

If the Data Controller suffers a breach as defined in Article 34 involving a risk to the rights and freedoms of natural persons (data breach), it will – where necessary – notify the Supervisory Authority and communicate the incident to all data subjects.

+

Rights of the Data Subject

+

The Data Controller informs you that you are guaranteed the rights expressed in Article 13, paragraph 2 GDPR, and therefore:

+
    +
  • +

    right of access to personal data and related information listed under Article 15 EU Regulation;

    +
  • +
  • +

    right of rectification or erasure of the data provided or restriction of processing;

    +
  • +
  • +

    right to object to processing;

    +
  • +
  • +

    right to data portability;

    +
  • +
  • +

    if processing is based on Article 6, paragraph 1, letter a), or Article 9, paragraph 2, letter a), right to revoke consent at any time without affecting the lawfulness of processing based on consent before its withdrawal;

    +
  • +
  • +

    right to submit a complaint with a supervisory authority.

    +
  • +
+

Exercise of Rights

+

The above rights may be exercised by sending an email to the DPO indicating in the subject: “exercise of rights under GDPR” and including in the body of the email the right you wish to exercise, as well as your name, surname, and the email address to which you wish to receive a response from Anci Servizi s.r.l.

+

Once your request has been processed, the Data Controller will send a response within the time limits indicated by Article 12, point 3 GDPR.

+ + + +
+

+












+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/languages/en/ind19.php b/public/languages/en/ind19.php new file mode 100644 index 0000000..1502657 --- /dev/null +++ b/public/languages/en/ind19.php @@ -0,0 +1,6 @@ + + diff --git a/public/languages/en/ind21.php b/public/languages/en/ind21.php new file mode 100644 index 0000000..1502657 --- /dev/null +++ b/public/languages/en/ind21.php @@ -0,0 +1,6 @@ + + diff --git a/public/languages/it/ind19.php b/public/languages/it/ind19.php new file mode 100644 index 0000000..45eeef0 --- /dev/null +++ b/public/languages/it/ind19.php @@ -0,0 +1,6 @@ + + diff --git a/public/languages/it/ind21.php b/public/languages/it/ind21.php new file mode 100644 index 0000000..45eeef0 --- /dev/null +++ b/public/languages/it/ind21.php @@ -0,0 +1,6 @@ + + diff --git a/public/pdf/1027rev0applicationform20260310104321.pdf b/public/pdf/1027rev0applicationform20260310104321.pdf new file mode 100644 index 0000000..2566123 Binary files /dev/null and b/public/pdf/1027rev0applicationform20260310104321.pdf differ diff --git a/public/pdf/1027rev0applicationformb20260310104321.pdf b/public/pdf/1027rev0applicationformb20260310104321.pdf new file mode 100644 index 0000000..4bce66b Binary files /dev/null and b/public/pdf/1027rev0applicationformb20260310104321.pdf differ diff --git a/public/pdf/1028rev0applicationform20260310104556.pdf b/public/pdf/1028rev0applicationform20260310104556.pdf new file mode 100644 index 0000000..7420d32 Binary files /dev/null and b/public/pdf/1028rev0applicationform20260310104556.pdf differ diff --git a/public/pdf/1028rev0applicationformb20260310104556.pdf b/public/pdf/1028rev0applicationformb20260310104556.pdf new file mode 100644 index 0000000..ca080d3 Binary files /dev/null and b/public/pdf/1028rev0applicationformb20260310104556.pdf differ diff --git a/public/pdf/1030rev0applicationform20260310105048.pdf b/public/pdf/1030rev0applicationform20260310105048.pdf new file mode 100644 index 0000000..b1ba5bd Binary files /dev/null and b/public/pdf/1030rev0applicationform20260310105048.pdf differ diff --git a/public/pdf/1030rev0applicationform20260310105338.pdf b/public/pdf/1030rev0applicationform20260310105338.pdf new file mode 100644 index 0000000..6900486 Binary files /dev/null and b/public/pdf/1030rev0applicationform20260310105338.pdf differ diff --git a/public/pdf/1030rev0applicationformb20260310105048.pdf b/public/pdf/1030rev0applicationformb20260310105048.pdf new file mode 100644 index 0000000..86049af Binary files /dev/null and b/public/pdf/1030rev0applicationformb20260310105048.pdf differ diff --git a/public/pdf/1030rev0applicationformb20260310105338.pdf b/public/pdf/1030rev0applicationformb20260310105338.pdf new file mode 100644 index 0000000..102d7b4 Binary files /dev/null and b/public/pdf/1030rev0applicationformb20260310105338.pdf differ diff --git a/public/pdf/1031rev0applicationform20260310110644.pdf b/public/pdf/1031rev0applicationform20260310110644.pdf new file mode 100644 index 0000000..f029ad2 Binary files /dev/null and b/public/pdf/1031rev0applicationform20260310110644.pdf differ diff --git a/public/pdf/1031rev0applicationformb20260310110644.pdf b/public/pdf/1031rev0applicationformb20260310110644.pdf new file mode 100644 index 0000000..3d19dcb Binary files /dev/null and b/public/pdf/1031rev0applicationformb20260310110644.pdf differ diff --git a/public/pdf/1032rev0applicationform20260311133856.pdf b/public/pdf/1032rev0applicationform20260311133856.pdf new file mode 100644 index 0000000..0ac061d Binary files /dev/null and b/public/pdf/1032rev0applicationform20260311133856.pdf differ diff --git a/public/pdf/1032rev0applicationform20260311134105.pdf b/public/pdf/1032rev0applicationform20260311134105.pdf new file mode 100644 index 0000000..6a35a55 Binary files /dev/null and b/public/pdf/1032rev0applicationform20260311134105.pdf differ diff --git a/public/pdf/1032rev0applicationformb20260311133857.pdf b/public/pdf/1032rev0applicationformb20260311133857.pdf new file mode 100644 index 0000000..e1ab762 Binary files /dev/null and b/public/pdf/1032rev0applicationformb20260311133857.pdf differ diff --git a/public/pdf/1032rev0applicationformb20260311134105.pdf b/public/pdf/1032rev0applicationformb20260311134105.pdf new file mode 100644 index 0000000..bc66274 Binary files /dev/null and b/public/pdf/1032rev0applicationformb20260311134105.pdf differ diff --git a/public/pdf/1034rev0applicationform20260316105458.pdf b/public/pdf/1034rev0applicationform20260316105458.pdf new file mode 100644 index 0000000..ba1efe1 Binary files /dev/null and b/public/pdf/1034rev0applicationform20260316105458.pdf differ diff --git a/public/pdf/1034rev0applicationform20260316110018.pdf b/public/pdf/1034rev0applicationform20260316110018.pdf new file mode 100644 index 0000000..a09d713 Binary files /dev/null and b/public/pdf/1034rev0applicationform20260316110018.pdf differ diff --git a/public/pdf/1034rev0applicationformb20260316105458.pdf b/public/pdf/1034rev0applicationformb20260316105458.pdf new file mode 100644 index 0000000..74329ab Binary files /dev/null and b/public/pdf/1034rev0applicationformb20260316105458.pdf differ diff --git a/public/pdf/1034rev0applicationformb20260316110019.pdf b/public/pdf/1034rev0applicationformb20260316110019.pdf new file mode 100644 index 0000000..afc2b63 Binary files /dev/null and b/public/pdf/1034rev0applicationformb20260316110019.pdf differ diff --git a/public/pdf/1035rev0applicationform20260316110542.pdf b/public/pdf/1035rev0applicationform20260316110542.pdf new file mode 100644 index 0000000..e6e8458 Binary files /dev/null and b/public/pdf/1035rev0applicationform20260316110542.pdf differ diff --git a/public/pdf/1035rev0applicationformb20260316110542.pdf b/public/pdf/1035rev0applicationformb20260316110542.pdf new file mode 100644 index 0000000..d528dfd Binary files /dev/null and b/public/pdf/1035rev0applicationformb20260316110542.pdf differ diff --git a/public/pdf/1037rev0applicationform20260316111116.pdf b/public/pdf/1037rev0applicationform20260316111116.pdf new file mode 100644 index 0000000..8b16357 Binary files /dev/null and b/public/pdf/1037rev0applicationform20260316111116.pdf differ diff --git a/public/pdf/1037rev0applicationform20260316111221.pdf b/public/pdf/1037rev0applicationform20260316111221.pdf new file mode 100644 index 0000000..a486c29 Binary files /dev/null and b/public/pdf/1037rev0applicationform20260316111221.pdf differ diff --git a/public/pdf/1037rev0applicationform20260316111523.pdf b/public/pdf/1037rev0applicationform20260316111523.pdf new file mode 100644 index 0000000..5974207 Binary files /dev/null and b/public/pdf/1037rev0applicationform20260316111523.pdf differ diff --git a/public/pdf/1037rev0applicationformb20260316111117.pdf b/public/pdf/1037rev0applicationformb20260316111117.pdf new file mode 100644 index 0000000..a10ef33 Binary files /dev/null and b/public/pdf/1037rev0applicationformb20260316111117.pdf differ diff --git a/public/pdf/1037rev0applicationformb20260316111221.pdf b/public/pdf/1037rev0applicationformb20260316111221.pdf new file mode 100644 index 0000000..e20d680 Binary files /dev/null and b/public/pdf/1037rev0applicationformb20260316111221.pdf differ diff --git a/public/pdf/1037rev0applicationformb20260316111523.pdf b/public/pdf/1037rev0applicationformb20260316111523.pdf new file mode 100644 index 0000000..7f05fae Binary files /dev/null and b/public/pdf/1037rev0applicationformb20260316111523.pdf differ diff --git a/public/pdfcreation/descriptiontable.php b/public/pdfcreation/descriptiontable.php index 652633a..eff38f2 100644 --- a/public/pdfcreation/descriptiontable.php +++ b/public/pdfcreation/descriptiontable.php @@ -80,14 +80,16 @@ foreach ($idartchs as $idartch) { $pdf->Ln(); } -$prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.'; +// Reference certificate number +if (isset($trfData['previousreportnumber']) && trim($trfData['previousreportnumber']) !== '') { -// Stampa la riga -if (!empty($trfData['previousreportnumber'])) { - $prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.'; + $refCertLabel = ($_SESSION['langselect'] == 'it') + ? 'Numero del certificato di riferimento' + : 'Reference certificate number'; - $pdf->Cell(50, 6, $prevrepLabel, 1, 0, 'L'); + $pdf->Cell(50, 6, $refCertLabel, 1, 0, 'L'); $pdf->Cell(140, 6, $trfData['previousreportnumber'], 1, 0, 'L', true); + $pdf->Ln(); } diff --git a/public/pdfcreation/descriptiontablenocert.php b/public/pdfcreation/descriptiontablenocert.php index 5501afc..9c49e45 100644 --- a/public/pdfcreation/descriptiontablenocert.php +++ b/public/pdfcreation/descriptiontablenocert.php @@ -103,12 +103,14 @@ foreach ($idartchs as $idartch) { $pdf->Cell(140, 6, $articleCharacteristic, 1, 0, 'L', TRUE); $pdf->Ln(); } -$prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.'; - -// Stampa la riga if (!empty($trfData['previousreportnumber'])) { - $prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.'; - $pdf->Cell(50, 6, $prevrepLabel, 1, 0, 'L'); - $pdf->Cell(140, 6, $trfData['previousreportnumber'], 1, 0, 'L', true); + // Reference certificate number + $refCertLabel = ($_SESSION['langselect'] == 'it') + ? 'Numero del certificato di riferimento' + : 'Reference certificate number'; + + $pdf->Cell(50, 6, $refCertLabel, 1, 0, 'L'); + $pdf->Cell(140, 6, $trfData['previousreportnumber'], 1, 0, 'L', TRUE); + $pdf->Ln(); } diff --git a/public/pdfcreation/pdf1.php b/public/pdfcreation/pdf1.php index 51c95e4..9db885d 100644 --- a/public/pdfcreation/pdf1.php +++ b/public/pdfcreation/pdf1.php @@ -47,8 +47,8 @@ $pdf->Ln(); include('pdfcreation/headerreporttable.php'); $pdf->Ln(); //header certificate contact -//include('pdfcreation/headercertificatetable.php'); -//$pdf->Ln(); +include('pdfcreation/headercertificatetable.php'); +$pdf->Ln(); //invoice contact include('pdfcreation/invoicecontacttable.php'); $pdf->Ln(); diff --git a/public/pdfcreation/pdf1snd.php b/public/pdfcreation/pdf1snd.php index 169eb37..a60d237 100644 --- a/public/pdfcreation/pdf1snd.php +++ b/public/pdfcreation/pdf1snd.php @@ -38,8 +38,8 @@ $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); //header report contact -//include('pdfcreation/headerreporttable.php'); -//$pdf->Ln(); +include('pdfcreation/headerreporttable.php'); +$pdf->Ln(); //header certificate contact include('pdfcreation/headercertificatetable.php'); $pdf->Ln(); diff --git a/public/pdfcreation/pdf4.php b/public/pdfcreation/pdf4.php index 7733ba8..17b359a 100644 --- a/public/pdfcreation/pdf4.php +++ b/public/pdfcreation/pdf4.php @@ -39,12 +39,12 @@ $pdf->Ln(); include('pdfcreation/fileattached.php'); $pdf->Ln(); $pdf->Ln(); +//header report contact +include('pdfcreation/headerreporttable.php'); +$pdf->Ln(); //header certificate contact include('pdfcreation/headercertificatetable.php'); $pdf->Ln(); -//header certificate contact -//include('pdfcreation/headercertificatetable.php'); -//$pdf->Ln(); //invoice contact include('pdfcreation/invoicecontacttable.php'); $pdf->Ln(); diff --git a/public/pdfcreation/pdf4snd.php b/public/pdfcreation/pdf4snd.php index 92859c5..8ab55cf 100644 --- a/public/pdfcreation/pdf4snd.php +++ b/public/pdfcreation/pdf4snd.php @@ -38,8 +38,8 @@ $pdf->Ln(); $pdf->Ln(); $pdf->Ln(); //header report contact -//include('pdfcreation/headerreporttable.php'); -//$pdf->Ln(); +include('pdfcreation/headerreporttable.php'); +$pdf->Ln(); //header certificate contact include('pdfcreation/headercertificatetable.php'); $pdf->Ln(); diff --git a/public/privacyaccept.php b/public/privacyaccept.php index f5c0e06..dac256b 100644 --- a/public/privacyaccept.php +++ b/public/privacyaccept.php @@ -146,7 +146,7 @@ $companyData = mysqli_fetch_assoc($companydetails); diff --git a/public/standardstep.php b/public/standardstep.php index 8c646d8..54d87c0 100644 --- a/public/standardstep.php +++ b/public/standardstep.php @@ -40,11 +40,9 @@ if (isset($_POST["rangemeasuremaxtext"])) { if (isset($_POST["articletype"])) { $articletype = $_POST["articletype"]; } -if (isset($_POST["previousreportnumber"])) { - $previousreportnumber = $_POST["previousreportnumber"]; -} else { - $previousreportnumber = ''; -} +$previousreportnumber = isset($_POST["previousreportnumber"]) + ? $_POST["previousreportnumber"] + : null; if (isset($_POST["toextend"])) { $toextend = $_POST["toextend"]; } else { @@ -153,7 +151,9 @@ if (isset($formupdtrfdetails)) { $UpdateQuery->bindColumn("idarticletype", "i", "$articletype", "WA_DEFAULT"); $UpdateQuery->bindColumn("idarticle_characteristics", "s", "$listartchar", "WA_DEFAULT"); $UpdateQuery->bindColumn("registeredmark", "s", "$registeredmark", "WA_DEFAULT"); - $UpdateQuery->bindColumn("previousreportnumber", "s", "$previousreportnumber", "WA_DEFAULT"); + if ($previousreportnumber !== null) { + $UpdateQuery->bindColumn("previousreportnumber", "s", "$previousreportnumber", "WA_DEFAULT"); + } $UpdateQuery->bindColumn("toextend", "s", "$toextend", "WA_DEFAULT"); $UpdateQuery->bindColumn("revisionfor", "s", "$revisionfor", "WA_DEFAULT"); $UpdateQuery->bindColumn("renewdate", "s", "$renewdate", "WA_DEFAULT"); diff --git a/public/termsandconditions.php b/public/termsandconditions.php index c0043d7..9daf123 100644 --- a/public/termsandconditions.php +++ b/public/termsandconditions.php @@ -19,31 +19,68 @@ + -
-
+
-
-
- +
- - + - TERMINI_E_CONDIZIONI_PPEASY + TERMS_AND_CONDITIONS_PPEASY diff --git a/public/uploaddocuments/1395-17612219651e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploaddocuments/1395-17612219651e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploaddocuments/1395-17612219651e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploaddocuments/1395-1761221969104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg b/public/uploaddocuments/1395-1761221969104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg new file mode 100644 index 0000000..dd1ec4d Binary files /dev/null and b/public/uploaddocuments/1395-1761221969104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg differ diff --git a/public/uploaddocuments/1395-17612245921e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploaddocuments/1395-17612245921e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploaddocuments/1395-17612245921e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploaddocuments/1395-1761224597104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg b/public/uploaddocuments/1395-1761224597104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg new file mode 100644 index 0000000..dd1ec4d Binary files /dev/null and b/public/uploaddocuments/1395-1761224597104a2ca5-8a4c-4df8-b2ca-a28f518b7b25.jpg differ diff --git a/public/uploaddocuments/1395-17617476351e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploaddocuments/1395-17617476351e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploaddocuments/1395-17617476351e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploaddocuments/1395-17617477991e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploaddocuments/1395-17617477991e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploaddocuments/1395-17617477991e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploaddocuments/1395-17617478051e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploaddocuments/1395-17617478051e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploaddocuments/1395-17617478051e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploadimages/1761219742-1e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploadimages/1761219742-1e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploadimages/1761219742-1e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploadimages/1761219802-1e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploadimages/1761219802-1e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploadimages/1761219802-1e672dd9-5420-4432-b422-02d8d271c178.jpg differ diff --git a/public/uploadimages/1761223614-1e672dd9-5420-4432-b422-02d8d271c178.jpg b/public/uploadimages/1761223614-1e672dd9-5420-4432-b422-02d8d271c178.jpg new file mode 100644 index 0000000..1c036ec Binary files /dev/null and b/public/uploadimages/1761223614-1e672dd9-5420-4432-b422-02d8d271c178.jpg differ