Compare commits
8 Commits
449bcc3153
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d04e7f6a57 | |||
| 434645382b | |||
| 70d39770f8 | |||
| 5e5a7483ab | |||
| 6c32acfd8f | |||
| 18364b7127 | |||
| d106d42c03 | |||
| 9d6f9ce284 |
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
+10
-3
@@ -251,7 +251,7 @@ $certname->execute(); ?>
|
|||||||
<td id="cont_photoone">
|
<td id="cont_photoone">
|
||||||
<?php if (!empty($trfnumberfinal->getColumnVal("photoone"))) { ?>
|
<?php if (!empty($trfnumberfinal->getColumnVal("photoone"))) { ?>
|
||||||
<img src="uploaddocuments/<?php echo ($trfnumberfinal->getColumnVal("photoone")); ?>" height="200" alt="" />
|
<img src="uploaddocuments/<?php echo ($trfnumberfinal->getColumnVal("photoone")); ?>" height="200" alt="" />
|
||||||
|
<a href="deletephotoone.php?idtrf=<?php echo $idtrf; ?>"><i class="fas fa-trash-alt text-danger font-16"></i></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@@ -261,6 +261,7 @@ $certname->execute(); ?>
|
|||||||
<?php if (!empty($trfnumberfinal->getColumnVal("phototwo"))) { ?>
|
<?php if (!empty($trfnumberfinal->getColumnVal("phototwo"))) { ?>
|
||||||
|
|
||||||
<img src="uploaddocuments/<?php echo ($trfnumberfinal->getColumnVal("phototwo")); ?>" height="200" alt="" />
|
<img src="uploaddocuments/<?php echo ($trfnumberfinal->getColumnVal("phototwo")); ?>" height="200" alt="" />
|
||||||
|
<a href="deletephototwo.php?idtrf=<?php echo $idtrf; ?>"><i class="fas fa-trash-alt text-danger font-16"></i></a>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
@@ -751,7 +752,10 @@ $certname->execute(); ?>
|
|||||||
|
|
||||||
// $("#photoaded").load(location.href + " #photoaded");
|
// $("#photoaded").load(location.href + " #photoaded");
|
||||||
// SHOW PHOTO 1
|
// SHOW PHOTO 1
|
||||||
$('#cont_photoone').html(data);
|
$('#cont_photoone').html(
|
||||||
|
data + ' <a href="deletephotoone.php?idtrf=<?php echo $idtrf; ?>"><i class="fas fa-trash-alt text-danger font-16"></i></a>'
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -798,7 +802,10 @@ $certname->execute(); ?>
|
|||||||
// $('.gallery').html(data);
|
// $('.gallery').html(data);
|
||||||
// $("#photoaded").load(location.href + " #photoaded");
|
// $("#photoaded").load(location.href + " #photoaded");
|
||||||
// SHOW PHOTO 2
|
// SHOW PHOTO 2
|
||||||
$('#cont_phototwo').html(data);
|
$('#cont_phototwo').html(
|
||||||
|
data + ' <a href="deletephototwo.php?idtrf=<?php echo $idtrf; ?>"><i class="fas fa-trash-alt text-danger font-16"></i></a>'
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Vendored
+7617
-2
File diff suppressed because one or more lines are too long
+270
-180
@@ -1,173 +1,176 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use PHPMailer\PHPMailer\PHPMailer;
|
use PHPMailer\PHPMailer\PHPMailer;
|
||||||
use PHPMailer\PHPMailer\Exception;
|
use PHPMailer\PHPMailer\Exception;
|
||||||
|
|
||||||
require_once('../Connections/cmctrfdb.php'); ?>
|
require_once('../Connections/cmctrfdb.php'); ?>
|
||||||
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
||||||
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// include('include/headscript.php'); ?>
|
// include('include/headscript.php');
|
||||||
|
?>
|
||||||
|
|
||||||
<?php //insert query
|
<?php //insert query
|
||||||
if (isset($_POST['adduser'])) {
|
if (isset($_POST['adduser'])) {
|
||||||
if (isset($_POST['first_name'])) { $first_name=$_POST['first_name']; }
|
if (isset($_POST['first_name'])) {
|
||||||
if (isset($_POST['last_name'])) { $last_name=$_POST['last_name']; }
|
$first_name = $_POST['first_name'];
|
||||||
if (isset($_POST['emailuser'])) { $emailuser=$_POST['emailuser']; }
|
}
|
||||||
if (isset($_POST['datein'])) { $datein=$_POST['datein']; }
|
if (isset($_POST['last_name'])) {
|
||||||
if (isset($_POST['language'])) { $langid=$_POST['language']; }
|
$last_name = $_POST['last_name'];
|
||||||
?>
|
}
|
||||||
<?php //insert query
|
if (isset($_POST['emailuser'])) {
|
||||||
|
$emailuser = $_POST['emailuser'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['datein'])) {
|
||||||
|
$datein = $_POST['datein'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['language'])) {
|
||||||
|
$langid = $_POST['language'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['company_name'])) {
|
||||||
|
$company_name = $_POST['company_name'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['vat_number'])) {
|
||||||
|
$vat_number = $_POST['vat_number'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['terms_accepted'])) {
|
||||||
|
$terms_accepted = $_POST['terms_accepted'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['privacy_accepted'])) {
|
||||||
|
$privacy_accepted = $_POST['privacy_accepted'];
|
||||||
|
}
|
||||||
|
|
||||||
$checkmail = new WA_MySQLi_RS("checkmail",$cmctrfdb,0);
|
$checkmail = new WA_MySQLi_RS("checkmail", $cmctrfdb, 0);
|
||||||
$checkmail->setQuery("SELECT * FROM auth_users WHERE auth_users.email='$emailuser'");
|
$checkmail->setQuery("SELECT * FROM auth_users WHERE auth_users.email='$emailuser'");
|
||||||
$checkmail->execute();
|
$checkmail->execute();
|
||||||
if(!empty($checkmail->getColumnVal("id"))) { $varmailrepeat='Y'; ?>
|
if (!empty($checkmail->getColumnVal("id"))) {
|
||||||
|
$varmailrepeat = 'Y'; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
$mysqli = new mysqli($hostname_cmctrfdb, $username_cmctrfdb, $password_cmctrfdb, $database_cmctrfdb);
|
||||||
|
|
||||||
$mysqli = new mysqli($hostname_cmctrfdb, $username_cmctrfdb, $password_cmctrfdb, $database_cmctrfdb);
|
$query = "INSERT INTO auth_users (email, first_name, last_name, password, role_id, status, email_verified_at, created_at, updated_at, langid, termuseaccepted, privacyaccepted, company_name, vat_number) VALUES ('$emailuser', '$first_name', '$last_name', '12345!AA', '2', 'Active', '$datein', '$datein', '$datein', '$langid', '$datein', '$datein', '$company_name', '$vat_number')";
|
||||||
|
|
||||||
|
// Esegui la query
|
||||||
|
$mysqli->query($query);
|
||||||
|
$inserttrue = 'Y';
|
||||||
|
// Chiudi la connessione al database
|
||||||
|
$mysqli->close();
|
||||||
|
|
||||||
$query = "INSERT INTO auth_users (email, first_name, last_name, password, role_id, status, email_verified_at, created_at, updated_at, langid, termuseaccepted) VALUES ('$emailuser', '$first_name', '$last_name', '12345!AA', '2','Active','$datein','$datein','$datein','$langid', '$datein')";
|
//Now include the following following files based
|
||||||
|
//on the correct file path. Third file is required only if you want to enable SMTP.
|
||||||
|
require 'phpmailer/src/Exception.php';
|
||||||
|
require 'phpmailer/src/PHPMailer.php';
|
||||||
|
require 'phpmailer/src/SMTP.php';
|
||||||
|
|
||||||
// Esegui la query
|
//mail to client
|
||||||
$mysqli->query($query);
|
$mail = new PHPMailer(true);
|
||||||
$inserttrue='Y';
|
try {
|
||||||
// Chiudi la connessione al database
|
$mail->isSMTP(); // Set mailer to use SMTP
|
||||||
$mysqli->close();
|
$mail->Host = "smtp.office365.com"; // Specify main and backup server
|
||||||
|
$mail->SMTPAuth = true; // Enable SMTP authentication
|
||||||
|
$mail->Username = "noreply@cimac.it"; // SMTP username
|
||||||
|
$mail->Password = "Fol42937"; // SMTP password
|
||||||
|
$mail->SMTPSecure = "tls"; // Enable encryption, 'ssl' also accepted
|
||||||
|
$mail->Port = 587;
|
||||||
|
|
||||||
|
$mmessage = "mailnewuser";
|
||||||
|
include('include/mailnewuser.php');
|
||||||
|
// Email body content
|
||||||
|
$htmlContent = $mailmessage1;
|
||||||
|
|
||||||
|
$mail->From = $fromaddresssmail;
|
||||||
|
$mail->FromName = 'CIMAC Application Form System';
|
||||||
|
$mail->addAddress($emailuser); // Add a recipient
|
||||||
|
|
||||||
|
$mail->Subject = "Creazione Nuovo Utente";
|
||||||
|
$mail->Body = $htmlContent;
|
||||||
|
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
||||||
|
|
||||||
//Now include the following following files based
|
$mail->send();
|
||||||
//on the correct file path. Third file is required only if you want to enable SMTP.
|
} catch (Exception $e) {
|
||||||
|
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
||||||
|
}
|
||||||
|
|
||||||
require 'phpmailer/src/Exception.php';
|
// mail to Marco for new user
|
||||||
require 'phpmailer/src/PHPMailer.php';
|
$mail = new PHPMailer(true);
|
||||||
require 'phpmailer/src/SMTP.php';
|
try {
|
||||||
|
$mail->isSMTP(); // Set mailer to use SMTP
|
||||||
|
$mail->Host = $mailhost; // Specify main and backup server
|
||||||
|
$mail->SMTPAuth = true; // Enable SMTP authentication
|
||||||
|
$mail->Username = $mailusername; // SMTP username
|
||||||
|
$mail->Password = $mailpassword; // SMTP password
|
||||||
|
$mail->SMTPSecure = $mailmethod; // Enable encryption, 'ssl' also accepted
|
||||||
|
$mail->Port = $mailport;
|
||||||
|
|
||||||
//mail to client
|
// Email body content
|
||||||
|
$mail->From = $fromaddresssmail;
|
||||||
|
$mail->FromName = 'CIMAC Application Form System';
|
||||||
|
$mail->addBCC('m.piccolini@cimac.it'); // Add a recipient
|
||||||
|
$mail->addBCC($csmail); // Add a recipient
|
||||||
|
$mail->addBCC($csmail3);
|
||||||
|
$mail->addBCC('info@acscreativesolutions.com');
|
||||||
|
|
||||||
$mail = new PHPMailer(true);
|
$mail->Subject = 'Nuovo Utente';
|
||||||
try {
|
$mail->Body = "Ciao! E' stato inserito un nuovo Utente $emailuser ";
|
||||||
$mail->isSMTP(); // Set mailer to use SMTP
|
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
||||||
$mail->Host = "smtp.office365.com"; // Specify main and backup server
|
|
||||||
$mail->SMTPAuth = true; // Enable SMTP authentication
|
|
||||||
$mail->Username = "noreply@cimac.it"; // SMTP username
|
|
||||||
$mail->Password = "Fol42937"; // SMTP password
|
|
||||||
$mail->SMTPSecure = "tls"; // Enable encryption, 'ssl' also accepted
|
|
||||||
$mail->Port = 587;
|
|
||||||
|
|
||||||
$mmessage="mailnewuser";
|
$mail->send();
|
||||||
include('include/mailnewuser.php');
|
} catch (Exception $e) {
|
||||||
// Email body content
|
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
||||||
|
}
|
||||||
|
}
|
||||||
$htmlContent = $mailmessage1;
|
|
||||||
|
|
||||||
|
|
||||||
$mail->From = $fromaddresssmail;
|
|
||||||
$mail->FromName = 'CIMAC Application Form System';
|
|
||||||
$mail->addAddress($emailuser); // Add a recipient
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$mail->Subject = "Creazione Nuovo Utente";
|
|
||||||
$mail->Body = $htmlContent;
|
|
||||||
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
|
||||||
|
|
||||||
|
|
||||||
$mail->send();
|
|
||||||
// echo 'Message has been sent';
|
|
||||||
} catch (Exception $e) {
|
|
||||||
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
// mail to Marco for new user
|
<!DOCTYPE html>
|
||||||
|
|
||||||
$mail = new PHPMailer(true);
|
|
||||||
try {
|
|
||||||
$mail->isSMTP(); // Set mailer to use SMTP
|
|
||||||
$mail->Host = $mailhost; // Specify main and backup server
|
|
||||||
$mail->SMTPAuth = true; // Enable SMTP authentication
|
|
||||||
$mail->Username = $mailusername; // SMTP username
|
|
||||||
$mail->Password = $mailpassword; // SMTP password
|
|
||||||
$mail->SMTPSecure = $mailmethod; // Enable encryption, 'ssl' also accepted
|
|
||||||
$mail->Port = $mailport;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Email body content
|
|
||||||
|
|
||||||
|
|
||||||
$mail->From = $fromaddresssmail;
|
|
||||||
$mail->FromName = 'CIMAC Application Form System';
|
|
||||||
$mail->addBCC('m.piccolini@cimac.it'); // Add a recipient
|
|
||||||
$mail->addBCC($csmail); // Add a recipient
|
|
||||||
$mail->addBCC($csmail3);
|
|
||||||
$mail->addBCC('info@acscreativesolutions.com');
|
|
||||||
|
|
||||||
|
|
||||||
$mail->Subject = 'Nuovo Utente';
|
|
||||||
$mail->Body = "Ciao! E' stato inserito un nuovo Utente $emailuser ";
|
|
||||||
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
|
||||||
|
|
||||||
$mail->send();
|
|
||||||
// echo 'Message has been sent';
|
|
||||||
} catch (Exception $e) {
|
|
||||||
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
|
||||||
}
|
|
||||||
|
|
||||||
}}
|
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>CIMAC Application Form</title>
|
<title>CIMAC Application Form</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||||
<meta content="" name="author" />
|
<meta content="" name="author" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
<!-- App favicon -->
|
<!-- App favicon -->
|
||||||
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
<!-- App css -->
|
<!-- App css -->
|
||||||
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body class="account-body accountbg">
|
</head>
|
||||||
|
|
||||||
<!-- Log In page -->
|
<body class="account-body accountbg">
|
||||||
<div class="container">
|
|
||||||
<div class="row vh-100 ">
|
|
||||||
<div class="col-12 align-self-center">
|
|
||||||
<div class="auth-page">
|
|
||||||
<div class="card auth-card shadow-lg">
|
|
||||||
|
|
||||||
<div class="card-body">
|
<!-- Log In page -->
|
||||||
<div class="px-3">
|
<div class="container-fluid">
|
||||||
<div>
|
<div class="row vh-100 ">
|
||||||
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
<div class="col-12 align-self-center">
|
||||||
</div><!--end auth-logo-box-->
|
<div class="auth-pagea">
|
||||||
|
<div class="card auth-card shadow-lg" style="max-width: 800px; width: 100%; margin: 0 auto;">
|
||||||
|
|
||||||
<div class="text-center auth-logo-text">
|
<div class="card-body">
|
||||||
<h4 class="mt-0 mb-3 mt-5">Registrazione CIMAC Application Form</h4>
|
<div class="px-3">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
</div> <!--end auth-logo-text-->
|
<div class="text-center auth-logo-text">
|
||||||
|
<h4 class="mt-0 mb-3 mt-5">REGISTRAZIONE PIATTAFORMA PPEASY<br>REGISTRATION PPEASY PLATFORM</h4>
|
||||||
|
|
||||||
<?php if (isset($varmailrepeat)) { ?>
|
</div> <!--end auth-logo-text-->
|
||||||
<div class="alert icon-custom-alert alert-outline-pink b-round fade show" role="alert">
|
|
||||||
|
<?php if (isset($varmailrepeat)) { ?>
|
||||||
|
<div class="alert icon-custom-alert alert-outline-pink b-round fade show" role="alert">
|
||||||
<i class="mdi mdi-alert-outline alert-icon"></i>
|
<i class="mdi mdi-alert-outline alert-icon"></i>
|
||||||
<div class="alert-text">
|
<div class="alert-text">
|
||||||
<strong>Email già presente nel database.
|
<strong>Email già presente nel database.
|
||||||
@@ -180,8 +183,8 @@ $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
|||||||
</div>
|
</div>
|
||||||
</div><?php } ?>
|
</div><?php } ?>
|
||||||
|
|
||||||
<?php if (isset($inserttrue)) { ?>
|
<?php if (isset($inserttrue)) { ?>
|
||||||
<div class="alert icon-custom-alert alert-outline-success alert-success-shadow" role="alert">
|
<div class="alert icon-custom-alert alert-outline-success alert-success-shadow" role="alert">
|
||||||
<i class="mdi mdi-check-all alert-icon"></i>
|
<i class="mdi mdi-check-all alert-icon"></i>
|
||||||
<div class="alert-text">
|
<div class="alert-text">
|
||||||
<strong>Ben fatto!</strong> Utente creato con successo.
|
<strong>Ben fatto!</strong> Utente creato con successo.
|
||||||
@@ -189,28 +192,28 @@ $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Presto riceverai una mail per impostare la tua prima password e poi potrai procedere con l'uso del portale!</p><br>
|
<p>Presto riceverai una mail per impostare la tua prima password e poi potrai procedere con l'uso del portale!</p><br>
|
||||||
<p>Soon you will receive an email in order to setup your first password and then you can start to use the portal!</p><br>
|
<p>Soon you will receive an email in order to setup your first password and then you can start to use the portal!</p><br>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (!isset($inserttrue)) { ?>
|
<?php if (!isset($inserttrue)) { ?>
|
||||||
<form class="form-horizontal auth-form my-4" action="auth-creation.php" method="post" name="usernew">
|
<form class="form-horizontal auth-form my-4" action="auth-creation.php" method="post" name="usernew" onsubmit="return validateForm();">
|
||||||
<?php $nowtime=date("Y-m-d G:i:s"); ?>
|
<?php $nowtime = date("Y-m-d G:i:s"); ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="useremail">Nome/Name</label>
|
<label for="useremail">Nome/Name</label>
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
<span class="auth-form-icon">
|
<span class="auth-form-icon">
|
||||||
<i class="dripicons-user"></i>
|
<i class="dripicons-user"></i>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="form-control" id="first_name" name="first_name" placeholder="Nome/Name">
|
<input type="text" class="form-control" id="first_name" name="first_name" placeholder="Nome/Name" required>
|
||||||
</div>
|
</div>
|
||||||
</div><!--end form-group-->
|
</div><!--end form-group-->
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="useremail">Cognome / Surname</label>
|
<label for="useremail">Cognome / Surname</label>
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
<span class="auth-form-icon">
|
<span class="auth-form-icon">
|
||||||
<i class="dripicons-user"></i>
|
<i class="dripicons-user"></i>
|
||||||
</span>
|
</span>
|
||||||
<input type="text" class="form-control" id="last_name" name="last_name" placeholder="Cognome / Surname">
|
<input type="text" class="form-control" id="last_name" name="last_name" placeholder="Cognome / Surname" required>
|
||||||
</div>
|
</div>
|
||||||
</div><!--end form-group-->
|
</div><!--end form-group-->
|
||||||
|
|
||||||
@@ -220,71 +223,158 @@ $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
|||||||
<span class="auth-form-icon">
|
<span class="auth-form-icon">
|
||||||
<i class="dripicons-mail"></i>
|
<i class="dripicons-mail"></i>
|
||||||
</span>
|
</span>
|
||||||
<input type="email" class="form-control" id="emailuser" name="emailuser" placeholder="Email">
|
<input type="email" class="form-control" id="emailuser" name="emailuser" placeholder="Email" required>
|
||||||
</div>
|
</div>
|
||||||
</div><!--end form-group-->
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">Ragione sociale azienda / Company Name</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-briefcase"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="company_name" name="company_name" placeholder="Ragione sociale azienda / Company Name" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">P.IVA azienda / Vat Number or ID Tax Number</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-id"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="vat_number" name="vat_number" placeholder="P.IVA azienda / Vat Number or ID Tax Number" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
|
||||||
<div class="col-md-8 mb-8">
|
<div class="col-md-8 mb-8">
|
||||||
<label for="exampleFormControlSelect1">Lingua / Language</label>
|
<label for="exampleFormControlSelect1">Lingua / Language</label>
|
||||||
<select class="form-control" id="language" name="language">
|
<select class="form-control" id="language" name="language" required>
|
||||||
<option value="1">Italiano</option>
|
<option value="1">Italiano</option>
|
||||||
<option value="2">English</option>
|
<option value="2">English</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input type="hidden" id="status" name="status" value="Active">
|
<input type="hidden" id="status" name="status" value="Active">
|
||||||
<input type="hidden" id="role_id" name="role_id" value="2">
|
<input type="hidden" id="role_id" name="role_id" value="2">
|
||||||
<input type="hidden" id="adduser" name="adduser" value="Y">
|
<input type="hidden" id="adduser" name="adduser" value="Y">
|
||||||
<input type="hidden" id="datein" name="datein" value="<?php echo $nowtime; ?>">
|
<input type="hidden" id="datein" name="datein" value="<?php echo $nowtime; ?>">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group row mt-4">
|
<div class="form-group row mt-4">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<div class="custom-control custom-switch switch-success">
|
<div class="custom-control custom-switch switch-success">
|
||||||
<!-- <input type="checkbox" class="custom-control-input" id="customSwitchSuccess"> -->
|
<input type="checkbox" class="custom-control-input" id="terms_accepted" name="terms_accepted" onchange="checkAcceptance()">
|
||||||
<label class=" for="customSwitchSuccess">Registrandoti accetti le condizioni d'uso di seguito riportate / By registering you agree to the following <a href="terminiecondizioni.php" target='blank' class="text-primary">Terms of Use</a></label>
|
<label class="custom-control-label" for="terms_accepted">Registrandoti accetti i termini e le condizioni d’uso della piattaforma PPEASY <a href="terminiecondizioni.php" target="_blank"><u>qui presenti</u></a> / By registering you agree to <a href="termsandconditions.php" target="_blank"><u>these terms and conditions</u></a> of use of the PPEASY platform </label>
|
||||||
|
</div>
|
||||||
|
<div class="custom-control custom-switch switch-success">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="privacy_accepted" name="privacy_accepted" onchange="checkAcceptance()">
|
||||||
|
<label class="custom-control-label" for="privacy_accepted">Dichiaro di aver letto e compreso l’informativa sui dati personali <a href="informativappeasy.php" target="_blank"><u>qui presente</u></a>. / I declare that I have read and understood the information on <a href="informativappeasy_eng.php" target="_blank"><u>personal data herein</u></a>.</label>
|
||||||
</div>
|
</div>
|
||||||
</div><!--end col-->
|
</div><!--end col-->
|
||||||
</div><!--end form-group-->
|
</div><!--end form-group-->
|
||||||
|
|
||||||
<div class="form-group mb-0 row">
|
<div class="form-group mb-0 row">
|
||||||
<div class="col-12 mt-2">
|
<div class="col-12 mt-2">
|
||||||
<button class="btn btn-gradient-primary btn-round btn-block waves-effect waves-light" type="submit">Registrati /Register <i class="fas fa-sign-in-alt ml-1"></i></button>
|
<button class="btn btn-round btn-block" type="submit" id="registerButton" disabled style="background-color: #f5f5f5; color: #333333;">Registrati / Register <i class="fas fa-sign-in-alt ml-1"></i></button>
|
||||||
</div><!--end col-->
|
</div><!--end col-->
|
||||||
</div> <!--end form-group-->
|
</div> <!--end form-group-->
|
||||||
</form><?php } ?><!--end form-->
|
</form><?php } ?><!--end form-->
|
||||||
</div><!--end /div-->
|
</div><!--end /div-->
|
||||||
|
|
||||||
<div class="m-3 text-center text-muted">
|
<div class="m-3 text-center text-muted">
|
||||||
<p class="">Hai già un account? / Already have an account ? <a href="login" class="text-primary ml-2">Log in</a></p>
|
<p class="">Hai già un account? / Already have an account ? <a href="login" class="text-primary ml-2">Log in</a></p>
|
||||||
</div>
|
<br>
|
||||||
</div><!--end card-body-->
|
<p> <a href="regolamentoprivacy.php" target="_blank">Privacy Policy ITA</a> / <a href="privacydoc.php" target="_blank">Privacy Policy ENG</a> - <a href="cookie-policy-it.php" target="_blank">Cookie Policy ITA</a> / <a href="cookie-policy-en.php" target="_blank">Cookie Policy ENG</a> </p>
|
||||||
</div><!--end card-->
|
</div>
|
||||||
</div><!--end auth-card-->
|
</div><!--end card-body-->
|
||||||
</div><!--end col-->
|
</div><!--end card-->
|
||||||
</div><!--end row-->
|
</div><!--end auth-card-->
|
||||||
</div><!--end container-->
|
</div><!--end col-->
|
||||||
<!-- End Log In page -->
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
|
||||||
|
<!-- End Log In page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function validateForm() {
|
||||||
|
var termsAccepted = document.getElementById("terms_accepted").checked;
|
||||||
|
var privacyAccepted = document.getElementById("privacy_accepted").checked;
|
||||||
|
if (!termsAccepted || !privacyAccepted) {
|
||||||
|
alert("Devi accettare i Termini di Uso e la Privacy Policy per registrarti / You must accept the Terms of Use and Privacy Policy to register.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkAcceptance() {
|
||||||
|
var termsAccepted = document.getElementById("terms_accepted").checked;
|
||||||
|
var privacyAccepted = document.getElementById("privacy_accepted").checked;
|
||||||
|
var registerButton = document.getElementById("registerButton");
|
||||||
|
if (termsAccepted && privacyAccepted) {
|
||||||
|
registerButton.disabled = false;
|
||||||
|
registerButton.className = "btn btn-gradient-primary btn-round btn-block waves-effect waves-light";
|
||||||
|
registerButton.style.backgroundColor = "";
|
||||||
|
registerButton.style.color = "";
|
||||||
|
} else {
|
||||||
|
registerButton.disabled = true;
|
||||||
|
registerButton.className = "btn btn-round btn-block";
|
||||||
|
registerButton.style.backgroundColor = "#f5f5f5";
|
||||||
|
registerButton.style.color = "#333333";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initial check on page load
|
||||||
|
window.onload = checkAcceptance;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Cookie Banner -->
|
||||||
|
<div id="cookie-banner" style="position: fixed; bottom: 0; width: 100%; background: #333; color: #fff; padding: 15px; text-align: center; z-index: 1000; font-family: Arial, sans-serif;">
|
||||||
|
<div id="cookie-text">
|
||||||
|
<p>
|
||||||
|
Questo sito utilizza esclusivamente cookie tecnici per garantire funzionalità essenziali (come login e sicurezza).
|
||||||
|
<a href="cookie-policy-it.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Scopri di più</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This site uses only technical cookies to ensure essential features (such as login and security).
|
||||||
|
<a href="cookie-policy-en.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Learn more</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button onclick="closeBanner()" style="background: #28a745; color: #fff; border: none; padding: 8px 16px; margin: 5px; cursor: pointer;">OK</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function closeBanner() {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'none';
|
||||||
|
localStorage.setItem('cookiesAcknowledged', 'true');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Nasconde il banner se l'utente ha già chiuso
|
||||||
|
window.onload = function() {
|
||||||
|
if (localStorage.getItem('cookiesAcknowledged')) {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'none';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
<!-- jQuery -->
|
|
||||||
<script src="assets/js/jquery.min.js"></script>
|
|
||||||
<script src="assets/js/jquery-ui.min.js"></script>
|
|
||||||
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
|
||||||
<script src="assets/js/metismenu.min.js"></script>
|
|
||||||
<script src="assets/js/waves.js"></script>
|
|
||||||
<script src="assets/js/feather.min.js"></script>
|
|
||||||
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
|
||||||
|
|
||||||
<!-- App js -->
|
|
||||||
<script src="../assets/js/app.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,375 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use PHPMailer\PHPMailer\PHPMailer;
|
||||||
|
use PHPMailer\PHPMailer\Exception;
|
||||||
|
|
||||||
|
require_once('../Connections/cmctrfdb.php'); ?>
|
||||||
|
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
||||||
|
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
// include('include/headscript.php');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php //insert query
|
||||||
|
if (isset($_POST['adduser'])) {
|
||||||
|
if (isset($_POST['first_name'])) {
|
||||||
|
$first_name = $_POST['first_name'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['last_name'])) {
|
||||||
|
$last_name = $_POST['last_name'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['emailuser'])) {
|
||||||
|
$emailuser = $_POST['emailuser'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['datein'])) {
|
||||||
|
$datein = $_POST['datein'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['language'])) {
|
||||||
|
$langid = $_POST['language'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['company_name'])) {
|
||||||
|
$company_name = $_POST['company_name'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['vat_number'])) {
|
||||||
|
$vat_number = $_POST['vat_number'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['terms_accepted'])) {
|
||||||
|
$terms_accepted = $_POST['terms_accepted'];
|
||||||
|
}
|
||||||
|
if (isset($_POST['privacy_accepted'])) {
|
||||||
|
$privacy_accepted = $_POST['privacy_accepted'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$checkmail = new WA_MySQLi_RS("checkmail", $cmctrfdb, 0);
|
||||||
|
$checkmail->setQuery("SELECT * FROM auth_users WHERE auth_users.email='$emailuser'");
|
||||||
|
$checkmail->execute();
|
||||||
|
if (!empty($checkmail->getColumnVal("id"))) {
|
||||||
|
$varmailrepeat = 'Y'; ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
} else {
|
||||||
|
|
||||||
|
$mysqli = new mysqli($hostname_cmctrfdb, $username_cmctrfdb, $password_cmctrfdb, $database_cmctrfdb);
|
||||||
|
|
||||||
|
$query = "INSERT INTO auth_users (email, first_name, last_name, password, role_id, status, email_verified_at, created_at, updated_at, langid, termuseaccepted, privacyaccepted, company_name, vat_number) VALUES ('$emailuser', '$first_name', '$last_name', '12345!AA', '2', 'Active', '$datein', '$datein', '$datein', '$langid', '$datein', '$datein', '$company_name', '$vat_number')";
|
||||||
|
|
||||||
|
// Esegui la query
|
||||||
|
$mysqli->query($query);
|
||||||
|
$inserttrue = 'Y';
|
||||||
|
// Chiudi la connessione al database
|
||||||
|
$mysqli->close();
|
||||||
|
|
||||||
|
//Now include the following following files based
|
||||||
|
//on the correct file path. Third file is required only if you want to enable SMTP.
|
||||||
|
require 'phpmailer/src/Exception.php';
|
||||||
|
require 'phpmailer/src/PHPMailer.php';
|
||||||
|
require 'phpmailer/src/SMTP.php';
|
||||||
|
|
||||||
|
//mail to client
|
||||||
|
$mail = new PHPMailer(true);
|
||||||
|
try {
|
||||||
|
$mail->isSMTP(); // Set mailer to use SMTP
|
||||||
|
$mail->Host = "smtp.office365.com"; // Specify main and backup server
|
||||||
|
$mail->SMTPAuth = true; // Enable SMTP authentication
|
||||||
|
$mail->Username = "noreply@cimac.it"; // SMTP username
|
||||||
|
$mail->Password = "Fol42937"; // SMTP password
|
||||||
|
$mail->SMTPSecure = "tls"; // Enable encryption, 'ssl' also accepted
|
||||||
|
$mail->Port = 587;
|
||||||
|
|
||||||
|
$mmessage = "mailnewuser";
|
||||||
|
include('include/mailnewuser.php');
|
||||||
|
// Email body content
|
||||||
|
$htmlContent = $mailmessage1;
|
||||||
|
|
||||||
|
$mail->From = $fromaddresssmail;
|
||||||
|
$mail->FromName = 'CIMAC Application Form System';
|
||||||
|
$mail->addAddress($emailuser); // Add a recipient
|
||||||
|
|
||||||
|
$mail->Subject = "Creazione Nuovo Utente";
|
||||||
|
$mail->Body = $htmlContent;
|
||||||
|
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
||||||
|
|
||||||
|
$mail->send();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
||||||
|
}
|
||||||
|
|
||||||
|
// mail to Marco for new user
|
||||||
|
$mail = new PHPMailer(true);
|
||||||
|
try {
|
||||||
|
$mail->isSMTP(); // Set mailer to use SMTP
|
||||||
|
$mail->Host = $mailhost; // Specify main and backup server
|
||||||
|
$mail->SMTPAuth = true; // Enable SMTP authentication
|
||||||
|
$mail->Username = $mailusername; // SMTP username
|
||||||
|
$mail->Password = $mailpassword; // SMTP password
|
||||||
|
$mail->SMTPSecure = $mailmethod; // Enable encryption, 'ssl' also accepted
|
||||||
|
$mail->Port = $mailport;
|
||||||
|
|
||||||
|
// Email body content
|
||||||
|
$mail->From = $fromaddresssmail;
|
||||||
|
$mail->FromName = 'CIMAC Application Form System';
|
||||||
|
$mail->addBCC('m.piccolini@cimac.it'); // Add a recipient
|
||||||
|
$mail->addBCC($csmail); // Add a recipient
|
||||||
|
$mail->addBCC($csmail3);
|
||||||
|
$mail->addBCC('info@acscreativesolutions.com');
|
||||||
|
|
||||||
|
$mail->Subject = 'Nuovo Utente';
|
||||||
|
$mail->Body = "Ciao! E' stato inserito un nuovo Utente $emailuser ";
|
||||||
|
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
|
||||||
|
|
||||||
|
$mail->send();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Application Form</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||||
|
<meta content="" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Log In page -->
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row vh-100 ">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div class="auth-pagea">
|
||||||
|
<div class="card auth-card shadow-lg" style="max-width: 800px; width: 100%; margin: 0 auto;">
|
||||||
|
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-3">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
<h4 class="mt-0 mb-3 mt-5">REGISTRAZIONE PIATTAFORMA PPEASY<br>REGISTRATION PPEASY PLATFORM</h4>
|
||||||
|
|
||||||
|
</div> <!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<?php if (isset($varmailrepeat)) { ?>
|
||||||
|
<div class="alert icon-custom-alert alert-outline-pink b-round fade show" role="alert">
|
||||||
|
<i class="mdi mdi-alert-outline alert-icon"></i>
|
||||||
|
<div class="alert-text">
|
||||||
|
<strong>Email già presente nel database.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="alert-close">
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true"><i class="mdi mdi-close text-danger"></i></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div><?php } ?>
|
||||||
|
|
||||||
|
<?php if (isset($inserttrue)) { ?>
|
||||||
|
<div class="alert icon-custom-alert alert-outline-success alert-success-shadow" role="alert">
|
||||||
|
<i class="mdi mdi-check-all alert-icon"></i>
|
||||||
|
<div class="alert-text">
|
||||||
|
<strong>Ben fatto!</strong> Utente creato con successo.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<p>Presto riceverai una mail per impostare la tua prima password e poi potrai procedere con l'uso del portale!</p><br>
|
||||||
|
<p>Soon you will receive an email in order to setup your first password and then you can start to use the portal!</p><br>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (!isset($inserttrue)) { ?>
|
||||||
|
<form class="form-horizontal auth-form my-4" action="auth-creation.php" method="post" name="usernew" onsubmit="return validateForm();">
|
||||||
|
<?php $nowtime = date("Y-m-d G:i:s"); ?>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">Nome/Name</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-user"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="first_name" name="first_name" placeholder="Nome/Name" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">Cognome / Surname</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-user"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="last_name" name="last_name" placeholder="Cognome / Surname" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">Email</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-mail"></i>
|
||||||
|
</span>
|
||||||
|
<input type="email" class="form-control" id="emailuser" name="emailuser" placeholder="Email" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">Ragione sociale azienda / Company Name</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-briefcase"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="company_name" name="company_name" placeholder="Ragione sociale azienda / Company Name" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="useremail">P.IVA azienda / Vat Number or ID Tax Number</label>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<span class="auth-form-icon">
|
||||||
|
<i class="dripicons-id"></i>
|
||||||
|
</span>
|
||||||
|
<input type="text" class="form-control" id="vat_number" name="vat_number" placeholder="P.IVA azienda / Vat Number or ID Tax Number" required>
|
||||||
|
</div>
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-row">
|
||||||
|
|
||||||
|
<div class="col-md-8 mb-8">
|
||||||
|
<label for="exampleFormControlSelect1">Lingua / Language</label>
|
||||||
|
<select class="form-control" id="language" name="language" required>
|
||||||
|
<option value="1">Italiano</option>
|
||||||
|
<option value="2">English</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input type="hidden" id="status" name="status" value="Active">
|
||||||
|
<input type="hidden" id="role_id" name="role_id" value="2">
|
||||||
|
<input type="hidden" id="adduser" name="adduser" value="Y">
|
||||||
|
<input type="hidden" id="datein" name="datein" value="<?php echo $nowtime; ?>">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row mt-4">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="custom-control custom-switch switch-success">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="terms_accepted" name="terms_accepted" onchange="checkAcceptance()">
|
||||||
|
<label class="custom-control-label" for="terms_accepted">Registrandoti accetti i termini e le condizioni d’uso della piattaforma PPEASY <a href="terminiecondizioni.php" target="_blank"><u>qui presenti</u></a> / By registering you agree to <a href="termsandconditions.php" target="_blank"><u>these terms and conditions</u></a> of use of the PPEASY platform </label>
|
||||||
|
</div>
|
||||||
|
<div class="custom-control custom-switch switch-success">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="privacy_accepted" name="privacy_accepted" onchange="checkAcceptance()">
|
||||||
|
<label class="custom-control-label" for="privacy_accepted">Dichiaro di aver letto e compreso l’informativa sui dati personali <a href="regolamentoprivacy.php" target="_blank"><u>qui presente</u></a>. Tratteremo i tuoi dati in conformità con la privacy policy di CIMAC / I declare that I have read and understood the information on <a href="privacydoc.php" target="_blank"><u>personal data herein</u></a>. We will handle your data in conformity with CIMAC privacy policy</label>
|
||||||
|
</div>
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end form-group-->
|
||||||
|
|
||||||
|
<div class="form-group mb-0 row">
|
||||||
|
<div class="col-12 mt-2">
|
||||||
|
<button class="btn btn-round btn-block" type="submit" id="registerButton" disabled style="background-color: #f5f5f5; color: #333333;">Registrati / Register <i class="fas fa-sign-in-alt ml-1"></i></button>
|
||||||
|
</div><!--end col-->
|
||||||
|
</div> <!--end form-group-->
|
||||||
|
</form><?php } ?><!--end form-->
|
||||||
|
</div><!--end /div-->
|
||||||
|
|
||||||
|
<div class="m-3 text-center text-muted">
|
||||||
|
<p class="">Hai già un account? / Already have an account ? <a href="login" class="text-primary ml-2">Log in</a></p>
|
||||||
|
</div>
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Log In page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function validateForm() {
|
||||||
|
var termsAccepted = document.getElementById("terms_accepted").checked;
|
||||||
|
var privacyAccepted = document.getElementById("privacy_accepted").checked;
|
||||||
|
if (!termsAccepted || !privacyAccepted) {
|
||||||
|
alert("Devi accettare i Termini di Uso e la Privacy Policy per registrarti / You must accept the Terms of Use and Privacy Policy to register.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkAcceptance() {
|
||||||
|
var termsAccepted = document.getElementById("terms_accepted").checked;
|
||||||
|
var privacyAccepted = document.getElementById("privacy_accepted").checked;
|
||||||
|
var registerButton = document.getElementById("registerButton");
|
||||||
|
if (termsAccepted && privacyAccepted) {
|
||||||
|
registerButton.disabled = false;
|
||||||
|
registerButton.className = "btn btn-gradient-primary btn-round btn-block waves-effect waves-light";
|
||||||
|
registerButton.style.backgroundColor = "";
|
||||||
|
registerButton.style.color = "";
|
||||||
|
} else {
|
||||||
|
registerButton.disabled = true;
|
||||||
|
registerButton.className = "btn btn-round btn-block";
|
||||||
|
registerButton.style.backgroundColor = "#f5f5f5";
|
||||||
|
registerButton.style.color = "#333333";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initial check on page load
|
||||||
|
window.onload = checkAcceptance;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Cookie Banner -->
|
||||||
|
<div id="cookie-banner" style="position: fixed; bottom: 0; width: 100%; background: #333; color: #fff; padding: 15px; text-align: center; z-index: 1000; font-family: Arial, sans-serif;">
|
||||||
|
<div id="cookie-text">
|
||||||
|
<p>
|
||||||
|
Questo sito utilizza esclusivamente cookie tecnici per garantire funzionalità essenziali (come login e sicurezza).
|
||||||
|
<a href="cookie-policy-it.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Scopri di più</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This site uses only technical cookies to ensure essential features (such as login and security).
|
||||||
|
<a href="cookie-policy-en.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Learn more</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button onclick="closeBanner()" style="background: #28a745; color: #fff; border: none; padding: 8px 16px; margin: 5px; cursor: pointer;">OK</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function closeBanner() {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'none';
|
||||||
|
localStorage.setItem('cookiesAcknowledged', 'true');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Nasconde il banner se l'utente ha già chiuso
|
||||||
|
window.onload = function() {
|
||||||
|
if (localStorage.getItem('cookiesAcknowledged')) {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'none';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -6,60 +6,60 @@ ini_set('display_errors', TRUE);
|
|||||||
ini_set('display_startup_errors', TRUE);
|
ini_set('display_startup_errors', TRUE);
|
||||||
include 'include/headscript.php';
|
include 'include/headscript.php';
|
||||||
include('languages/' . $_SESSION['langselect'] . '/tdgen.php');
|
include('languages/' . $_SESSION['langselect'] . '/tdgen.php');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Controlla se il form è stato inviato
|
// Check if the form has been submitted
|
||||||
if (isset($_POST['submit'])) {
|
if (isset($_POST['submit'])) {
|
||||||
$description = $_POST['descriptionlogo']; // Assumi che la validazione dell'input sia già stata fatta
|
$description = $_POST['descriptionlogo']; // Assume input validation is already done
|
||||||
$targetDir = "logos/"; // Assicurati che questa directory esista e sia scrivibile
|
$targetDir = "logos/"; // Ensure this directory exists and is writable
|
||||||
|
|
||||||
$file = $_FILES['logofile'];
|
$loadedFile = $_FILES['logofile'];
|
||||||
$fileName = $file['name'];
|
$fileName = $loadedFile['name'];
|
||||||
$fileTmpName = $file['tmp_name'];
|
$fileTmpName = $loadedFile['tmp_name'];
|
||||||
$fileError = $file['error'];
|
$fileError = $loadedFile['error'];
|
||||||
|
|
||||||
// Estrai l'estensione del file
|
// Extract file extension
|
||||||
$exploded = explode('.', $fileName);
|
$exploded = explode('.', $fileName);
|
||||||
$fileExt = strtolower(end($exploded));
|
$fileExt = strtolower(end($exploded));
|
||||||
|
|
||||||
// Controlla se non ci sono errori e se il file è un PNG o JPG
|
// Check for errors and if file is PNG or JPG
|
||||||
if ($fileError === 0 && ($fileExt === 'png' || $fileExt === 'jpg' || $fileExt === 'jpeg')) {
|
if ($fileError === 0 && ($fileExt === 'png' || $fileExt === 'jpg' || $fileExt === 'jpeg')) {
|
||||||
$newFileName = $idcompany . "_" . time() . "." . $fileExt; // Rinomina il file
|
$newFileName = $idcompany . "_" . time() . "." . $fileExt; // Rename file
|
||||||
$fileDestination = $targetDir . $newFileName;
|
$fileDestination = $targetDir . $newFileName;
|
||||||
|
|
||||||
$conn = new mysqli($servername, $username, $password, $dbname);
|
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||||
// Sposta il file nella directory definitiva
|
// Move file to destination directory
|
||||||
if (move_uploaded_file($fileTmpName, $fileDestination)) {
|
if (move_uploaded_file($fileTmpName, $fileDestination)) {
|
||||||
// Qui esegui l'inserimento nel database
|
// Perform database insertion
|
||||||
$sql = "INSERT INTO logo_td (descriptionlogo, filenamelogo, idcompany) VALUES (?, ?, ?)";
|
$sql = "INSERT INTO logo_td (descriptionlogo, filenamelogo, idcompany) VALUES (?, ?, ?)";
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
|
|
||||||
if ($stmt) {
|
if ($stmt) {
|
||||||
|
|
||||||
$stmt->bind_param("ssi", $description, $newFileName, $idcompany);
|
$stmt->bind_param("ssi", $description, $newFileName, $idcompany);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
} else {
|
} else {
|
||||||
echo "Errore durante l'inserimento nel database.";
|
echo ($_SESSION['langselect'] == 'en') ? "Error during database insertion." : "Errore durante l'inserimento nel database.";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "C'è stato un errore nel caricamento del file.";
|
echo ($_SESSION['langselect'] == 'en') ? "There was an error uploading the file." : "C'è stato un errore nel caricamento del file.";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "Sono ammessi solo file PNG e JPG.";
|
echo ($_SESSION['langselect'] == 'en') ? "Only PNG and JPG files are allowed." : "Sono ammessi solo file PNG e JPG.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="<?php echo ($_SESSION['langselect'] == 'en') ? 'en' : 'it'; ?>">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Aggiungi Logo</title>
|
<title><?php echo ($_SESSION['langselect'] == 'en') ? 'Add Logo' : 'Aggiungi Logo'; ?></title>
|
||||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.drag-area {
|
.drag-area {
|
||||||
border: 2px dashed #ccc;
|
border: 2px dashed #ccc;
|
||||||
@@ -78,42 +78,40 @@ if (isset($_POST['submit'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.custom-file-label::after {
|
.custom-file-label::after {
|
||||||
content: "Sfoglia";
|
content: "<?php echo ($_SESSION['langselect'] == 'en') ? 'Browse' : 'Sfoglia'; ?>";
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<button onclick="closeAndRefresh()">Chiudi e Aggiorna</button>
|
<?php echo $_SESSION['langselect'];
|
||||||
<h3 style="display: inline-block;">Aggiungi Logo</h3>
|
<button onclick="closeAndRefresh()"><?php echo ($_SESSION['langselect'] == 'en') ? 'Close and Refresh' : 'Chiudi e Aggiorna'; ?></button>
|
||||||
|
<h3 style="display: inline-block;"><?php echo ($_SESSION['langselect'] == 'en') ? 'Add Logo' : 'Aggiungi Logo'; ?></h3>
|
||||||
|
|
||||||
<form id="uploadLogoForm" action="logopopup.php" method="post" enctype="multipart/form-data">
|
<form id="uploadLogoForm" action="logopopup.php" method="post" enctype="multipart/form-data">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="logoDescription">Descrizione Logo:</label>
|
<label for="logoDescription"><?php echo ($_SESSION['langselect'] == 'en') ? 'Logo Description:' : 'Descrizione Logo:'; ?></label>
|
||||||
<input type="text" class="form-control" id="logoDescription" name="descriptionlogo" required>
|
<input type="text" class="form-control" id="logoDescription" name="descriptionlogo" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="drag-area" id="drag-area">
|
<div class="drag-area" id="drag-area">
|
||||||
<p>Trascina qui il file o clicca per selezionare</p>
|
<p><?php echo ($_SESSION['langselect'] == 'en') ? 'Drag file here or click to select' : 'Trascina qui il file o clicca per selezionare'; ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="custom-file mb-3">
|
<div class="custom-file mb-3">
|
||||||
<input type="file" class="custom-file-input" id="logoFile" name="logofile" accept=".png, .jpg, .jpeg" required hidden>
|
<input type="file" class="custom-file-input" id="logoFile" name="logofile" accept=".png, .jpg, .jpeg" required hidden>
|
||||||
<label class="custom-file-label" for="logoFile">Scegli file</label>
|
<label class="custom-file-label" for="logoFile"><?php echo ($_SESSION['langselect'] == 'en') ? 'Choose file' : 'Scegli file'; ?></label>
|
||||||
</div>
|
</div>
|
||||||
|
<button type="submit" class="btn btn-primary" name="submit"><?php echo ($_SESSION['langselect'] == 'en') ? 'Upload Logo' : 'Carica Logo'; ?></button>
|
||||||
<button type="submit" class="btn btn-primary" name="submit">Carica Logo</button>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<h3>Loghi Caricati</h3>
|
<h3><?php echo ($_SESSION['langselect'] == 'en') ? 'Uploaded Logos' : 'Loghi Caricati'; ?></h3>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Descrizione</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Description' : 'Descrizione'; ?></th>
|
||||||
<th>Logo</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Logo' : 'Logo'; ?></th>
|
||||||
<th>Azione</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Action' : 'Azione'; ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -121,15 +119,14 @@ if (isset($_POST['submit'])) {
|
|||||||
$conn = new mysqli($servername, $username, $password, $dbname);
|
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||||
$query = "SELECT idlogo_td, descriptionlogo, filenamelogo FROM logo_td WHERE idcompany = ?";
|
$query = "SELECT idlogo_td, descriptionlogo, filenamelogo FROM logo_td WHERE idcompany = ?";
|
||||||
$stmt = $conn->prepare($query);
|
$stmt = $conn->prepare($query);
|
||||||
$stmt->bind_param("i", $idcompany); // Assumi che $idcompany sia già definita e pulita
|
$stmt->bind_param("i", $idcompany); // Assume $idcompany is already defined and sanitized
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$result = $stmt->get_result();
|
$result = $stmt->get_result();
|
||||||
|
|
||||||
while ($row = $result->fetch_assoc()) {
|
while ($row = $result->fetch_assoc()) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>" . htmlspecialchars($row['descriptionlogo']) . "</td>";
|
echo "<td>" . htmlspecialchars($row['descriptionlogo']) . "</td>";
|
||||||
echo "<td><img src='logos/" . htmlspecialchars($row['filenamelogo']) . "' alt='Logo' style='width: 50px;'></td>";
|
echo "<td><img src='logos/" . htmlspecialchars($row['filenamelogo']) . "' alt='Logo' style='width: 50px;'></td>";
|
||||||
echo "<td><a href='deleteLogo.php?id=" . $row['idlogo_td'] . "' onclick='return confirm(\"Sei sicuro di voler cancellare questo logo?\");'><i class='fas fa-trash-alt' style='color: red;'></i></a></td>";
|
echo "<td><a href='deleteLogo.php?id=" . $row['idlogo_td'] . "' onclick='return confirm(\"" . ($_SESSION['langselect'] == 'en' ? 'Are you sure you want to delete this logo?' : 'Sei sicuro di voler cancellare questo logo?') . "\");'><i class='fas fa-trash-alt' style='color: red;'></i></a></td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -141,7 +138,7 @@ if (isset($_POST['submit'])) {
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.2/dist/umd/popper.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.2/dist/umd/popper.min.js"></script>
|
||||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// Mostra il nome del file nel campo custom file di Bootstrap quando selezionato
|
// Show file name in Bootstrap custom file input when selected
|
||||||
$(".custom-file-input").on("change", function() {
|
$(".custom-file-input").on("change", function() {
|
||||||
var fileName = $(this).val().split("\\").pop();
|
var fileName = $(this).val().split("\\").pop();
|
||||||
$(this).siblings(".custom-file-label").addClass("selected").html(fileName);
|
$(this).siblings(".custom-file-label").addClass("selected").html(fileName);
|
||||||
@@ -191,7 +188,6 @@ if (isset($_POST['submit'])) {
|
|||||||
window.close();
|
window.close();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,225 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Cookie Policy</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Cookie Policy for PPeasy Platform" name="description" />
|
||||||
|
<meta content="Paola Crespi" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text strong,
|
||||||
|
.auth-logo-text span,
|
||||||
|
.auth-logo-text a {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: 10pt;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p:first-child strong {
|
||||||
|
font-size: 14pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text a {
|
||||||
|
color: #00F;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+strong,
|
||||||
|
.auth-logo-text strong+p,
|
||||||
|
.auth-logo-text strong+strong {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.privacy-title {
|
||||||
|
font-size: 18pt !important;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table th,
|
||||||
|
.cookie-table td {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
padding: 8px;
|
||||||
|
text-align: left;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table th {
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indented {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Cookie Policy page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
<br>
|
||||||
|
<p class="privacy-title">Cookie Policy</p>
|
||||||
|
|
||||||
|
<p><strong>Introduction</strong></p>
|
||||||
|
<p>Dear User,<br>
|
||||||
|
Anci Servizi s.r.l. with sole shareholder, B.U. Cimac (hereinafter referred to as the “Controller” pursuant to Article 26 of European Regulation 2016/679), following the new Guidelines on cookies and other tracking tools issued by the Supervisory Authority on June 10, 2021—which can be consulted at the following address: <a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a>—and in accordance with the provisions of European Regulation 2016/679 (hereinafter also “GDPR”), hereby informs users of the website, in general terms, as follows and, in detail, through the table provided in the subsequent point 4, regarding the cookies and other tracking systems and technical identifiers specifically used on the website you are browsing.</p>
|
||||||
|
|
||||||
|
<p><strong>1. Cookies</strong></p>
|
||||||
|
<p>A cookie is a small text file placed by a website on the user's hard drive. Specifically, these are strings of text that websites (so-called publishers or “first parties”) visited by the user, or different websites or web servers (so-called “third parties”), place and store—directly in the case of publishers and indirectly through them in the case of third parties—on a terminal device available to the user. Cookies uniquely identify the browser or allow access to information on the user's terminal.<br>
|
||||||
|
As noted by the Supervisory Authority in its June 2021 decision, “... Terminals refer to, for example, a computer, tablet, smartphone, or any other device capable of storing information ... including IoT (Internet of Things) devices ...”. Cookies do not damage the computer and do not contain viruses. They streamline web traffic analysis or indicate when a specific site is visited, allowing web applications to send information to individual users.</p>
|
||||||
|
<p><strong>Why are cookies used?</strong></p>
|
||||||
|
<p>Cookies are necessary for the operation of the website (technical cookies) to optimize performance and provide better browsing experiences (so-called navigation cookies). They offer users a smooth and simplified browsing experience, avoiding the need to re-enter the same information on each visit. Cookies perform various functions, including session monitoring, storing configuration information for users accessing the server, and facilitating online content usage (e.g., tracking items in an online shopping cart or form data).<br>
|
||||||
|
The Supervisory Authority notes that similar results can be achieved using other tools such as “tracking tools” and “passive identifiers,” which involve merely observing the user and allow similar processing to cookies. Passive tools include, for example, fingerprinting.<br>
|
||||||
|
Information encoded in cookies may include personal data (e.g., username, unique identifier, email address, IP address) or non-personal data (e.g., language settings, device type used for browsing).<br>
|
||||||
|
Only the cookies listed in the table in point 4 are used on this website.</p>
|
||||||
|
|
||||||
|
<p><strong>2. Types of Cookies and Classification Methods</strong></p>
|
||||||
|
<p>Cookies can be classified by lifecycle:<br>
|
||||||
|
<span class="indented"><strong>Session Cookies:</strong> Placed during a website visit and removed when the user leaves the site and closes the browser. Stored in temporary memory, they allow a website to track a user across pages. Websites use cookies (see <a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a>) because they lack their own memory. These cookies act like keys—if your computer has the key, the site grants access without treating you as a new visitor. These cookies are not stored persistently and are deleted when the browser is closed.</span><br>
|
||||||
|
<span class="indented"><strong>Persistent Cookies:</strong> Stored on the computer for a longer period and removed only after expiration or manual deletion. During their lifespan, information is transmitted to the server each time the user visits the site or views a resource from the site (e.g., an ad). They store login details and remember preferences or settings. Mostly used to monitor user behavior and improve user experience.</span>
|
||||||
|
</p>
|
||||||
|
<p>Cookies can also be classified by origin:<br>
|
||||||
|
<span class="indented"><strong>First-party Cookies:</strong> Sent directly by the site being visited and managed by the site owner.</span><br>
|
||||||
|
<span class="indented"><strong>Third-party Cookies:</strong> Sent by domains different from the one in the address bar, often appearing when pages include external content (e.g., ads). These cookies may track browsing history and are used by advertisers to serve personalized ads.</span>
|
||||||
|
</p>
|
||||||
|
<p>Cookies can be classified by purpose:<br>
|
||||||
|
<span class="indented"><strong>Technical Cookies:</strong> Necessary for navigation and service delivery.</span><br>
|
||||||
|
<span class="indented"><strong>Statistical Cookies:</strong> Used by the site owner to optimize the site by collecting aggregated user data.</span><br>
|
||||||
|
<span class="indented"><strong>Preference Cookies (Functional Cookies):</strong> Enhance site usability and personalize browsing experience.</span><br>
|
||||||
|
<span class="indented"><strong>Marketing and Profiling Cookies:</strong> Used to build a user profile and deliver targeted ads.</span><br>
|
||||||
|
<span class="indented"><strong>Social Network Cookies:</strong> Allow social networks (e.g., Facebook) to identify users and collect data while browsing other sites.</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p><strong>3. Other Tracking Tools and Technical Identifiers</strong></p>
|
||||||
|
<p>The Data Protection Authority, on this web page <a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a>, explores the subject in greater depth through a summary sheet of its guidelines on cookies and other tracking tools.<br>
|
||||||
|
In this context, the Data Controller wishes to remind users that tracking tools may have different characteristics in terms of duration and, therefore, may be considered based on their lifespan (session or persistent), or from a subjective perspective (depending on whether the publisher acts independently or on behalf of a “third party”).<br>
|
||||||
|
Identifiers may be categorized according to various criteria, the main one being the purpose for which they are used: either “technical” or “non-technical” in nature, with the latter category to be interpreted broadly, since the current legal framework—aimed at protecting the confidentiality of electronic communications as well as personal information—is structured as a general prohibition on the processing of data subjects’ information, except for exceptions that are strictly and narrowly codified and not subject to analogical extension.<br>
|
||||||
|
In the following point 4, the Data Controller, in compliance with the aforementioned provision, highlights—by means of a table—the tracking systems and technical identifiers present, where applicable, on the website you are browsing.</p>
|
||||||
|
|
||||||
|
<p><strong>4. Technical Cookies Used</strong></p>
|
||||||
|
<p>The Data Controller, through the service provided by C.E. Soft s.r.l., uses only technical cookies necessary for the proper functioning of the web application. These cookies do not require user consent, as they are solely used to ensure essential functionality and secure browsing, without profiling or tracking purposes.<br>
|
||||||
|
Following the most important information about active cookies:</p>
|
||||||
|
<table class="cookie-table">
|
||||||
|
<tr>
|
||||||
|
<th>Cookie</th>
|
||||||
|
<th>Purposes</th>
|
||||||
|
<th>Category</th>
|
||||||
|
<th>Duration</th>
|
||||||
|
<th>Notes</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>laravel_session</td>
|
||||||
|
<td>Maintains authenticated user session</td>
|
||||||
|
<td>Technical</td>
|
||||||
|
<td>Session (browser closure)</td>
|
||||||
|
<td>Securely stored, linked to server-side data</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>XSRF-TOKEN</td>
|
||||||
|
<td>Protects against CSRF attacks</td>
|
||||||
|
<td>Technical</td>
|
||||||
|
<td>Session</td>
|
||||||
|
<td>Secure token, no sensitive data, read by JavaScript</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<p>As these cookies are strictly necessary, they cannot be disabled via the application, as their removal would compromise the web application's functionality.</p>
|
||||||
|
|
||||||
|
<p><strong>5. Your Rights and How to Exercise Them</strong></p>
|
||||||
|
<p>I diritti riconosciuti agli interessati dal GDPR sono:<br>
|
||||||
|
<span class="indented">art. 15 – Right of access: the data subject/user has the right to obtain information about which of their personal data is being processed by the Controller, the purposes pursued, the duration for which such data will be retained, and the methods with which said data is processed.</span><br>
|
||||||
|
<span class="indented">art. 16 – Right to rectification: the data subject/user has the right to verify the accuracy of their data and to request any modifications or additions.</span><br>
|
||||||
|
<span class="indented">art. 17 – Right to erasure: the data subject/user may request the erasure of their data under certain conditions, such as, for example, when the personal data is no longer necessary for the purpose for which it was collected.</span><br>
|
||||||
|
<span class="indented">We reserve the right to decline your request for erasure (pursuant to art. 17 GDPR) for any of the following reasons:</span><br>
|
||||||
|
<span class="indented"> - to exercise the right to freedom of expression and information;</span><br>
|
||||||
|
<span class="indented"> - to comply with legal obligations or carry out a task in the public interest or exercise official authority;</span><br>
|
||||||
|
<span class="indented"> - for reasons of public health in the public interest;</span><br>
|
||||||
|
<span class="indented"> - for archiving, research, or statistical purposes;</span><br>
|
||||||
|
<span class="indented"> - to establish, exercise, or defend a legal claim.</span><br>
|
||||||
|
<span class="indented">art. 18 – Right to restriction of processing: the data subject/user may request a restriction on processing activities concerning their data under certain conditions, such as, for example, if the data was acquired for a specific purpose unlawfully.</span><br>
|
||||||
|
<span class="indented">art. 20 – Right to data portability: the user/data subject has the right to receive their data in a structured, commonly used and machine-readable format and, where technically feasible, to have it transferred without hindrance to another controller when the data is processed by automated means and the processing is based on the User’s consent, on a contract to which the User is party, or on related contractual measures.</span><br>
|
||||||
|
<span class="indented">art. 21 – Right to object: the user/data subject has the right to object to the processing of their data when such processing is based on legal grounds other than consent, for reasons related to their particular situation; when, on the other hand, the legal basis is consent, the data subject/user may object at any time, but the processing carried out up to that point remains lawful.</span><br>
|
||||||
|
<span class="indented">art. 22 – Automated decision-making regarding individuals, including profiling: except for specific exemptions expressly provided for by law, the data subject/user has the right not to be subject to a decision based solely on automated processing, including profiling, that produces legal effects concerning them or similarly significantly affects them.</span>
|
||||||
|
</p>
|
||||||
|
<p>To exercise the rights listed above or for further information, simply send an e-mail to the following address: <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a>, indicating in the subject “cookies policy: exercise of rights under GDPR” and specifying in the body of the e-mail the right you wish to exercise and, if applicable, the e-mail address at which you wish to receive a response.<br>
|
||||||
|
The Data Controller will respond to the exercise of rights within the timeframes specified in art. 12, paragraph 3, GDPR. Please remember that you have the right to lodge a complaint with a supervisory authority (Data Protection Authority: <a href="https://www.garanteprivacy.it">www.garanteprivacy.it</a>).</p>
|
||||||
|
|
||||||
|
<p><strong>6. Data Breach</strong></p>
|
||||||
|
<p>If the Data Controller suffers a data breach as defined in Article 34, posing a risk to individuals’ rights and freedoms, it will—if necessary—notify the Supervisory Authority and inform affected individuals.</p>
|
||||||
|
|
||||||
|
<p><strong>7. Different Purposes</strong></p>
|
||||||
|
<p>If the Data Controller intends to process personal data for purposes other than those for which it was collected, it will first provide the data subject with information about the new purpose and obtain specific consent if required.</p>
|
||||||
|
|
||||||
|
</div><!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<h4 class="mt-0 mb-3 mt-5"></h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Cookie Policy page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,226 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="it">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Cookie Policy</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Informativa sui Cookie per la Piattaforma PPeasy" name="description" />
|
||||||
|
<meta content="Paola Crespi" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text strong,
|
||||||
|
.auth-logo-text span,
|
||||||
|
.auth-logo-text a {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: 10pt;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p:first-child strong {
|
||||||
|
font-size: 14pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text a {
|
||||||
|
color: #00F;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+strong,
|
||||||
|
.auth-logo-text strong+p,
|
||||||
|
.auth-logo-text strong+strong {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.privacy-title {
|
||||||
|
font-size: 18pt !important;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table th,
|
||||||
|
.cookie-table td {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
padding: 8px;
|
||||||
|
text-align: left;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-table th {
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.indented {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Cookie Policy page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
<br>
|
||||||
|
<p class="privacy-title">Informativa sui Cookie</p>
|
||||||
|
|
||||||
|
<p><strong>Introduzione</strong></p>
|
||||||
|
<p>Gentile Utente,<br>
|
||||||
|
Anci Servizi s.r.l. a socio unico B.U. Cimac, da qui in avanti solo il “Titolare” ex art 26 Regolamento Europeo 2016/679, a seguito delle nuove Linee guida cookies e altri strumenti di tracciamento del 10 giugno 2021 emanate dall’Autorità Garante di cui si può prendere visione al seguente indirizzo: <a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a>, ed in conformità con quanto previsto nel Regolamento Europeo 2016/679 (da qui in poi anche GDPR), informa i naviganti del sito, in via generale, su quanto segue e nel dettaglio, tramite la tabella presente nel successivo punto 4, sui cookies e gli altri sistemi di tracciamento ed identificatori tecnici utilizzati specificatamente sul sito sul quale state navigando.</p>
|
||||||
|
|
||||||
|
<p><strong>1. Cookies</strong></p>
|
||||||
|
<p>Un cookie è un piccolo file di testo che viene depositato da un sito web sul disco rigido dell’utente, nel dettaglio sono stringhe di testo che i siti web (cd. Publisher o “prime parti”) visitati dall’utente ovvero siti o web server diversi (cd. “terze parti”) posizionano ed archiviano – direttamente, nel caso dei publisher e indirettamente, cioè per il tramite di questi ultimi, nel caso delle “terze parti” – all’interno di un dispositivo terminale nella disponibilità dell’utente medesimo.<br>
|
||||||
|
I cookies identificano così in modo univoco il browser del navigatore oppure consentono l'accesso ad informazioni sul terminale dell'utente. Per come ricorda l’Autorità Garante nel provvedimento del giugno 2021 “… I terminali a cui ci si riferisce sono, ad esempio, un computer, un tablet, uno smartphone, ovvero ogni altro dispositivo in grado di archiviare informazioni … tra essi occorre annoverare anche i cd. dispositivi IoT (Internet of Things) …”.<br>
|
||||||
|
I cookies non danneggiano il computer e non contengono virus. I cookies hanno la funzione di snellire l'analisi del traffico sul Web o di segnalare quando un sito specifico viene visitato e consentono alle applicazioni Web di inviare informazioni a singoli utenti.</p>
|
||||||
|
<p><strong>Perché si utilizzano i cookies?</strong></p>
|
||||||
|
<p>I cookies sono necessari al funzionamento del sito (cookies tecnici) al fine di ottimizzarne le prestazioni e fornire migliori esperienze di navigazione (c.d. cookies di navigazione). Tramite i cookies si fornisce ai propri Utenti un’esperienza di navigazione il più possibile fluida e semplificata, ad ogni visita sul sito, infatti, non si devono più ricevere o inserire le stesse informazioni. I cookies possono dunque svolgere importanti e diverse funzioni, tra cui il monitoraggio di sessioni, la memorizzazione di informazioni su specifiche configurazioni riguardanti gli utenti che accedono al server, l’agevolazione nella fruizione dei contenuti online etc. (possono ad esempio essere impiegati per tenere traccia degli articoli in un carrello degli acquisti online o delle informazioni utilizzate per la compilazione di un modulo informatico).<br>
|
||||||
|
In generale il Garante ricorda che alcuni dei risultati perseguiti tramite i cookies sono raggiungibili anche tramite l’utilizzo di altri strumenti come gli “strumenti di tracciamento” gli “identificatori passivi” presuppongono la mera osservazione dell’Utente e, così facendo, consentono di effettuare trattamenti analoghi a quelli dei cookies. Tra gli strumenti “passivi” è ricompreso ad es.: il fingerprinting.<br>
|
||||||
|
Le informazioni codificate nei cookies possono includere dati personali, come un nome utente, un identificativo univoco o un indirizzo e-mail, un indirizzo IP, ma possono anche contenere dati non personali, come le impostazioni della lingua o informazioni sul tipo di dispositivo che una persona sta utilizzando per navigare nel sito.<br>
|
||||||
|
Nel presente sito sono utilizzati i soli cookies illustrati nella tabella riportati nel seguente punto 4.</p>
|
||||||
|
|
||||||
|
<p><strong>2. Tipologie di cookies e modalità di classificazione</strong></p>
|
||||||
|
<p>I cookies possono essere classificati in base al ciclo di vita:<br>
|
||||||
|
<span class="indented"><strong>Cookies di sessione:</strong> i cookies di sessione sono collocati sul computer durante la sessione di visita di un sito web e vengono rimossi quando si lascia il sito e si chiude il browser. Il cookie viene memorizzato nella memoria temporanea del computer. I cookies di sessione permettono a un sito web di seguirti come utente che attraversa un sito web da una pagina all’altra. I siti web non hanno una memoria propria, ma usano i cookies (<a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a>) per questo. Un buon paragone è pensare a questi cookies come a delle chiavi. Quando il tuo computer ha già la chiave, il sito web può immediatamente farti entrare, invece di trattarti come un nuovo visitatore ad ogni visualizzazione della pagina. Questa tipologia di cookies non viene memorizzata in modo persistente sul dispositivo dell'utente e vengono cancellati alla chiusura del browser.</span><br>
|
||||||
|
<span class="indented"><strong>Cookie persistenti:</strong> i cookies persistenti sono collocati sul computer per un periodo di tempo più lungo. Vengono rimossi solo dopo aver superato il tempo di scadenza del cookie o finché l’utente stesso non lo rimuove. Ciò significa che, per l'intera durata di vita del cookie, le sue informazioni verranno trasmesse al server ogni volta che l'utente visita il sito web, o ogni volta che l'utente visualizza una risorsa appartenente a tale sito da un altro sito (ad esempio un annuncio pubblicitario). Poiché questo tipo di cookies rimane sul pc per un periodo di tempo più lungo rispetto ai cookies di sessione, i cookies persistenti possono essere utilizzati per molteplici scopi come la memorizzazione dei dettagli di accesso e il ricordo delle vostre preferenze o impostazioni. I cookies persistenti sono per lo più utilizzati per monitorare i visitatori quando navigano in un sito web per “vedere” cosa piace al visitatore in modo che la sua esperienza utente possa essere migliorata.</span>
|
||||||
|
</p>
|
||||||
|
<p>I cookies possono essere classificati in base provenienza:<br>
|
||||||
|
<span class="indented"><strong>Cookies di prima parte:</strong> sono i cookies inviati al browser direttamente dal sito che si sta visitando e sono gestiti direttamente dal proprietario e/o responsabile del sito.</span><br>
|
||||||
|
<span class="indented"><strong>Cookies di terza parte:</strong> i cookies di terze parti, appartengono a domini diversi da quello mostrato nella barra degli indirizzi. Questi tipi di cookies appaiono in genere quando le pagine web sono dotate di contenuti, come ad esempio banner pubblicitari, da siti web esterni. Questo implica la possibilità di monitoraggio della cronologia di navigazione dell'utente, ed è spesso usato dagli inserzionisti, nel tentativo di servire annunci rilevanti e personalizzati per ciascun utente.</span>
|
||||||
|
</p>
|
||||||
|
<p>In ragione dell’utilizzo/finalità dell'utilizzo:<br>
|
||||||
|
<span class="indented"><strong>Cookies tecnici:</strong> servono per la navigazione (in quanto funzionalmente necessari per lo scorrimento della pagina, la consultazione dei contenuti, l’erogazione del servizio) e per facilitare l'accesso e la fruizione del sito da parte dell'utente.</span><br>
|
||||||
|
<span class="indented"><strong>Cookies statistici:</strong> vengono utilizzati a fini di ottimizzazione del sito, direttamente dal titolare del sito stesso, che potrà raccogliere informazioni in forma aggregata sul numero degli utenti e su come questi visitano il sito.</span><br>
|
||||||
|
<span class="indented"><strong>Cookies per la memorizzazione delle preferenze (detti anche cookies funzionali):</strong> sono cookies utili a favorire l'utilizzo efficace del sito da parte dell'utente e favorire così l'esperienza personalizzata di navigazione.</span><br>
|
||||||
|
<span class="indented"><strong>Cookies di marketing e profilazione (pubblicitari):</strong> questi cookies vengono utilizzati per ipotizzare un “profilo” di navigazione dell'utente, in modo da poter proporre messaggi pubblicitari in linea al suo comportamento e interessi nella rete.</span><br>
|
||||||
|
<span class="indented"><strong>Cookies di social network:</strong> questi cookies consentono alle reti sociali, quali ad es.: Facebook, di identificare i propri utenti e raccogliere informazioni anche mentre navigano su altri siti.</span>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p><strong>3. Altri strumenti di tracciamento ed identificatori tecnici</strong></p>
|
||||||
|
<p>Il Garante a questa pagina web <a href="https://www.garanteprivacy.it/web/guest/home/docweb/-/docweb-display/docweb/9677876">Linee guida cookie e altri strumenti di tracciamento - 10 giugno 2021</a> approfondisce il tema in esame tramite una scheda di sintesi sulle proprie linee guida cookies e altri strumenti di tracciamento, in questa sede preme al Titolare ricordare che gli strumenti di tracciamento possono avere caratteristiche diverse sotto il profilo temporale e dunque essere considerati in base alla loro durata (di sessione o permanenti), ovvero dal punto di vista soggettivo (a seconda che il publisher agisca autonomamente o per conto della “terza parte”).<br>
|
||||||
|
Gli identificatori possono essere catalogati secondo criteri diversi, dei quali il principale resta la finalità per la quale vengono utilizzati: di natura “tecnica” o di natura “non tecnica”, dovendosi intendere quest’ultima categoria in senso ampio, dal momento che l’attuale disciplina di legge, tesa alla tutela della confidenzialità delle comunicazioni elettroniche oltre che delle informazioni di carattere personale, è formulata secondo lo schema di una generale proibizione di trattamento dei dati degli interessati, salvo eccezioni rigorosamente e restrittivamente codificate, insuscettibili di estensione analogica.<br>
|
||||||
|
Al successivo punto 4 il Titolare, in ottemperanza con il provvedimento richiamato, tramite tabella, evidenzia i sistemi di tracciamento e gli identificatori tecnici presenti, nel caso, sul sito sul quale state navigando.</p>
|
||||||
|
|
||||||
|
<p><strong>4. Cookie tecnici utilizzati</strong></p>
|
||||||
|
<p>Il Titolare, attraverso il servizio fornito da C.E. Soft srl, utilizza esclusivamente cookie tecnici necessari al corretto funzionamento della webapp.<br>
|
||||||
|
Tali cookie non richiedono il consenso dell’utente, in quanto sono impiegati unicamente per garantire funzionalità essenziali e la sicurezza della navigazione, senza finalità di profilazione o tracciamento.<br>
|
||||||
|
Di seguito si riportano le informazioni principali sui cookie attivi:</p>
|
||||||
|
<table class="cookie-table">
|
||||||
|
<tr>
|
||||||
|
<th>Nome del cookie</th>
|
||||||
|
<th>Finalità</th>
|
||||||
|
<th>Categoria</th>
|
||||||
|
<th>Durata</th>
|
||||||
|
<th>Note di sicurezza</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>laravel_session</td>
|
||||||
|
<td>Mantiene la sessione utente autenticato</td>
|
||||||
|
<td>Tecnico</td>
|
||||||
|
<td>Sessione (chiusura browser)</td>
|
||||||
|
<td>Salvato in modo sicuro, associato a dati lato server</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>XSRF-TOKEN</td>
|
||||||
|
<td>Protezione da attacchi CSRF</td>
|
||||||
|
<td>Tecnico</td>
|
||||||
|
<td>Sessione</td>
|
||||||
|
<td>Token sicuro, non contiene dati sensibili, letto da JavaScript</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<p>Poiché si tratta di cookie strettamente necessari, non è prevista la possibilità di disattivarli tramite l’applicazione, in quanto la loro rimozione comprometterebbe il funzionamento stesso della webapp.</p>
|
||||||
|
|
||||||
|
<p><strong>5. Quali sono i Suoi diritti e come può esercitarli?</strong></p>
|
||||||
|
<p>I diritti riconosciuti agli interessati dal GDPR sono:<br>
|
||||||
|
<span class="indented">art. 15 - diritto di accesso, ovvero l’interessato/utente ha diritto ad ottenere informazioni sui quali suoi dati personali sono trattati dal Titolare, sulle finalità perseguite, sul tempo per cui detti dati verranno conservati e le modalità con cui gli stessi sono trattati.</span><br>
|
||||||
|
<span class="indented">art. 16 - diritto alla rettifica, ovvero l’interessato/utente ha diritto a verificare la correttezza dei propri dati ed a richiedere eventuali modifiche/integrazioni.</span><br>
|
||||||
|
<span class="indented">art. 17 – diritto alla cancellazione, ovvero l’interessato/utente può chiedere la cancellazione dei propri dati al ricorrere di determinate condizioni, quali, ad es, il dato personale non è più necessario per la finalità per il quale è stato raccolto.</span><br>
|
||||||
|
<span class="indented">È nostro diritto rifiutare di soddisfare la Sua eventuale richiesta di cancellazione (ex art 17 GDPR) per uno dei seguenti motivi:</span><br>
|
||||||
|
<span class="indented"> - per esercitare il diritto alla libertà di espressione e di informazione;</span><br>
|
||||||
|
<span class="indented"> - per adempiere a obblighi di legge o svolgere un compito di interesse pubblico o esercitare un’autorità ufficiale;</span><br>
|
||||||
|
<span class="indented"> - per motivi di salute pubblica nell’interesse pubblico;</span><br>
|
||||||
|
<span class="indented"> - per fini di archiviazione, ricerca o statistiche;</span><br>
|
||||||
|
<span class="indented"> - per esercitare o difendere un diritto legale.</span><br>
|
||||||
|
<span class="indented">art. 18 – diritto alla limitazione di trattamento, ovvero l’interessato/utente può chiedere una limitazione dei trattamenti esperibili con riferimento ai propri dati al ricorrere di determinate condizioni, quali, ad es. per l’interessato il dato è stato acquisito rispetto a quella specifica finalità in modo illecito.</span><br>
|
||||||
|
<span class="indented">art. 20 – diritto alla portabilità dei dati, ovvero l’utente/interessato ha diritto di ricevere i propri dati in formato strutturato, di uso comune e leggibile da dispositivo automatico e, ove tecnicamente fattibile, di ottenerne il trasferimento senza ostacoli ad un altro titolare quando i dati sono trattati con strumenti automatizzati ed il trattamento è basato sul consenso dell’Utente, su un contratto di cui l’Utente è parte o su misure contrattuali ad esso connesse.</span><br>
|
||||||
|
<span class="indented">art. 21 – diritto di opposizione, ovvero l’utente/interessato ha diritto di opporsi al trattamento dei propri dati quando esso avviene su una base giuridica diversa dal consenso per motivi connessi alla sua situazione particolare; quando, invece, la base giuridica è il consenso l’interessato/utente può opporsi in qualsiasi momento, ma il trattamento fino a quel momento svolto resta lecito.</span><br>
|
||||||
|
<span class="indented">art. 22 – Processo decisionale automatizzato relativo alle persone fisiche, compresa la profilazione: salvo specifiche deroghe previste espressamente dall’articolo di legge, l'interessato/utente ha il diritto a non essere sottoposto a una decisione basata unicamente sul trattamento automatizzato, compresa la profilazione, che produca effetti giuridici che lo riguardano o che incida in modo analogo significativamente sulla sua persona.</span>
|
||||||
|
</p>
|
||||||
|
<p>Per esercitare i diritti sopra elencati o per avere maggiori informazioni le sarà sufficiente inviare una e-mail al seguente indirizzo: <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a>, indicando nell’oggetto “cookies policy: esercizio dei diritti ex GDPR” ed inserendo nel corpo della mail il diritto che si vuole esercitare e nel caso l’indirizzo e-mail sul quale si desidera ricevere riscontro.<br>
|
||||||
|
Il Titolare darà riscontro all’esercizio dei diritti entro le tempistiche indicate in art 12 comma 3 GDPR. Le ricordiamo che è sua facoltà proporre reclamo a un'autorità di controllo (Autorità Garante per la protezione dei dati personali: <a href="https://www.garanteprivacy.it">www.garanteprivacy.it</a>).</p>
|
||||||
|
|
||||||
|
<p><strong>6. Data breach</strong></p>
|
||||||
|
<p>Nel caso in cui il Titolare del Trattamento dati subisca una violazione per come configurata in art. 34 comportante un rischio per i diritti e le libertà delle persone fisiche (data breach) si attiverà – se del caso – per effettuare la notifica all’Autorità Garante e la comunicazione dell’accaduto a tutti gli interessati.</p>
|
||||||
|
|
||||||
|
<p><strong>7. Finalità diverse</strong></p>
|
||||||
|
<p>Il Titolare avvisa che qualora intendesse trattare ulteriormente i dati personali per una finalità diversa da quella per cui essi sono stati raccolti, prima di tale ulteriore trattamento fornirà all'interessato informazioni in merito a tale diversa finalità ed ogni ulteriore informazione pertinente, raccogliendo, nel caso, specifico consenso.</p>
|
||||||
|
|
||||||
|
</div><!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<h4 class="mt-0 mb-3 mt-5"></h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Cookie Policy page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -417,7 +417,12 @@ $conn->close();
|
|||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h3 class="mt-0 header-title">FIRMA IL TECHNICAL FILE</h3>
|
<h3 class="mt-0 header-title">
|
||||||
|
<?= $_SESSION['langselect'] === 'en'
|
||||||
|
? 'SIGN THE TECHNICAL FILE'
|
||||||
|
: 'FIRMA IL TECHNICAL FILE' ?>
|
||||||
|
</h3>
|
||||||
|
|
||||||
<h4 class="mt-0 header-title"><?php echo $declarationtitle; ?></h4>
|
<h4 class="mt-0 header-title"><?php echo $declarationtitle; ?></h4>
|
||||||
<p class="text-muted mb-3"><?php echo $declarationtitle_help; ?></p>
|
<p class="text-muted mb-3"><?php echo $declarationtitle_help; ?></p>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
<?php
|
||||||
|
require_once('../Connections/cmctrfdb.php'); // definisce $servername, $username, $password, $dbname
|
||||||
|
header('X-Content-Type-Options: nosniff');
|
||||||
|
|
||||||
|
function json_out($arr)
|
||||||
|
{
|
||||||
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
echo json_encode($arr);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
$method = $_SERVER['REQUEST_METHOD'];
|
||||||
|
|
||||||
|
// accetto sia POST (AJAX) che GET (link classico)
|
||||||
|
$idtrf = null;
|
||||||
|
$field = 'photofilename'; // campo di default per la “foto principale”
|
||||||
|
|
||||||
|
if ($method === 'POST') {
|
||||||
|
$idtrf = isset($_POST['idtrf']) ? (int)$_POST['idtrf'] : 0;
|
||||||
|
if (!empty($_POST['field'])) {
|
||||||
|
$field = preg_replace('/[^a-zA-Z0-9_]/', '', $_POST['field']); // sanitize
|
||||||
|
}
|
||||||
|
} else { // GET
|
||||||
|
$idtrf = isset($_GET['idtrf']) ? (int)$_GET['idtrf'] : 0;
|
||||||
|
if (!empty($_GET['field'])) {
|
||||||
|
$field = preg_replace('/[^a-zA-Z0-9_]/', '', $_GET['field']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($idtrf <= 0) {
|
||||||
|
if ($method === 'POST') json_out(['ok' => 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;
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
require_once('../Connections/cmctrfdb.php'); // Database connection
|
||||||
|
|
||||||
|
if (isset($_GET['idtrf']) && is_numeric($_GET['idtrf'])) {
|
||||||
|
$idtrf = intval($_GET['idtrf']);
|
||||||
|
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||||
|
|
||||||
|
if ($conn->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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
require_once('../Connections/cmctrfdb.php'); // Database connection
|
||||||
|
|
||||||
|
if (isset($_GET['idtrf']) && is_numeric($_GET['idtrf'])) {
|
||||||
|
$idtrf = intval($_GET['idtrf']);
|
||||||
|
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||||
|
|
||||||
|
if ($conn->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;
|
||||||
|
}
|
||||||
@@ -148,7 +148,7 @@ $connpart = mysqli_connect($hostname_cmctrfdb, $username_cmctrfdb, $password_cmc
|
|||||||
$searchhighlightpart = "SELECT DISTINCT partsidnumber FROM identificationparts WHERE identificationparts.idtrfdetails='$idtrf'";
|
$searchhighlightpart = "SELECT DISTINCT partsidnumber FROM identificationparts WHERE identificationparts.idtrfdetails='$idtrf'";
|
||||||
$resultpart = mysqli_query($connpart, $searchhighlightpart);
|
$resultpart = mysqli_query($connpart, $searchhighlightpart);
|
||||||
// Crea un array vuoto per contenere i dati
|
// Crea un array vuoto per contenere i dati
|
||||||
//$partids = array();
|
$partids = array();
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
// Scansiona i risultati della query e aggiungi i valori della colonna "partid" all'array
|
// Scansiona i risultati della query e aggiungi i valori della colonna "partid" all'array
|
||||||
@@ -343,9 +343,9 @@ $partids[] = '0';
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="col-md-3 mb-2">
|
<div class="col-md-3 mb-2">
|
||||||
<label for="validationServer01"><?php echo $descriptionpart; ?> </label>
|
<label for="validationServer01"><?php echo $descriptionpart; ?> (max 90 caratteri/chars)</label>
|
||||||
|
|
||||||
<input type="text" required data-readonly class="form-control is-valid" id="descriptionpartvalue" name="descriptionpartvalue" placeholder="<?php echo $descriptionpart; ?>">
|
<input type="text" required data-readonly class="form-control is-valid" id="descriptionpartvalue" name="descriptionpartvalue" placeholder="<?php echo $descriptionpart; ?>" maxlength="90">
|
||||||
<b></b><i><?php //echo $addpartphoto;
|
<b></b><i><?php //echo $addpartphoto;
|
||||||
?></i>
|
?></i>
|
||||||
|
|
||||||
@@ -358,7 +358,7 @@ $partids[] = '0';
|
|||||||
<div class="col-md-3 mb-2">
|
<div class="col-md-3 mb-2">
|
||||||
<label for="validationServer02"><?php echo $articlepart; ?></label>
|
<label for="validationServer02"><?php echo $articlepart; ?></label>
|
||||||
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center5"></i>
|
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center5"></i>
|
||||||
<input type="text" class="form-control is-valid" id="articlepartvalue" name="articlepartvalue" required placeholder="<?php echo $articlepart; ?>" required="">
|
<input type="text" class="form-control is-valid" id="articlepartvalue" name="articlepartvalue" required placeholder="<?php echo $articlepart; ?>" required="" maxlength="90">
|
||||||
<b> </b><i><?php echo $searchsentence; ?></i>
|
<b> </b><i><?php echo $searchsentence; ?></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -368,18 +368,18 @@ $partids[] = '0';
|
|||||||
<input type="hidden" id="companyidn" name="companyidn" value="<?php echo $idcompany; ?>">
|
<input type="hidden" id="companyidn" name="companyidn" value="<?php echo $idcompany; ?>">
|
||||||
|
|
||||||
<div class="col-md-3 mb-2">
|
<div class="col-md-3 mb-2">
|
||||||
<label for="validationServer01"><?php echo $descriptionitem; ?> </label>
|
<label for="validationServer01"><?php echo $descriptionitem; ?> (max 90 caratteri/chars)</label>
|
||||||
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center6"></i>
|
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center6"></i>
|
||||||
<input type="text" class="form-control is-valid" id="materialpartvalue" name="materialpartvalue" required placeholder="<?php echo $descriptionitem; ?>" required="">
|
<input type="text" class="form-control is-valid" id="materialpartvalue" name="materialpartvalue" required placeholder="<?php echo $descriptionitem; ?>" required="" maxlength="90">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3 mb-2">
|
<div class="col-md-3 mb-2">
|
||||||
<label for="validationServerUsername"><?php echo $colorpart; ?></label>
|
<label for="validationServerUsername"><?php echo $colorpart; ?> (max 90 caratteri/chars)</label>
|
||||||
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center7"></i>
|
<i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center7"></i>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
</div>
|
</div>
|
||||||
<input id="colorvalue" name="colorvalue" required class="form-control" type="text" placeholder="<?php echo $colorpart; ?>" aria-describedby="inputGroupPrepend3" required="">
|
<input id="colorvalue" name="colorvalue" required class="form-control" type="text" placeholder="<?php echo $colorpart; ?>" aria-describedby="inputGroupPrepend3" required="" maxlength="90">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -719,52 +719,95 @@ $partids[] = '0';
|
|||||||
// t-shirt hivis
|
// t-shirt hivis
|
||||||
$mandatoryParts = array('FM', 'RM');
|
$mandatoryParts = array('FM', 'RM');
|
||||||
$totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 'FM', 'RM');
|
$totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 'FM', 'RM');
|
||||||
} elseif ($idarticletype == '4' && $modelidart == '18' && $hivis == 'N') {
|
} elseif ($idarticletype == '4' && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'N') {
|
||||||
// tuta
|
// tuta
|
||||||
$mandatoryParts = array(1, 8);
|
$mandatoryParts = array(1, 8);
|
||||||
$totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9);
|
$totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9);
|
||||||
} elseif ($idarticletype == '4' && $modelidart == '18' && $hivis == 'Y') {
|
} elseif ($idarticletype == '4' && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'Y') {
|
||||||
// tuta hivis
|
// tuta hivis
|
||||||
$mandatoryParts = array('FM', 'RM');
|
$mandatoryParts = array('FM', 'RM');
|
||||||
$totalparthighlight = array(1, 2, 3, 4, 5, 6, 7, 8, 9, '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 '<button onclick="checkParts()" class="btn btn-success waves-effect waves-light">' . $nextsteptitle . '</button>';
|
$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 '<button type="button" onclick="checkParts(event)" class="btn btn-success waves-effect waves-light">'
|
||||||
|
. $nextsteptitle .
|
||||||
|
'</button>';
|
||||||
|
|
||||||
echo '<script>
|
echo '<script>
|
||||||
function checkParts() {
|
function checkParts(e) {
|
||||||
var missingMandatoryParts = ' . json_encode(array_values($missingMandatoryParts)) . ';
|
if (e) e.preventDefault();
|
||||||
var missingParts = ' . json_encode(array_values($diffparts)) . ';
|
|
||||||
|
|
||||||
if (missingMandatoryParts.length > 0) {
|
var missingMandatoryParts = ' . json_encode($missingMandatoryParts) . ';
|
||||||
|
var missingParts = ' . json_encode($diffparts) . ';
|
||||||
|
var enforceBlock = ' . ($ENFORCE_PARTS_BLOCK ? 'true' : 'false') . ';
|
||||||
|
var nextUrl = ' . json_encode($nextUrl) . ';
|
||||||
|
|
||||||
|
// 1) Mandatory missing
|
||||||
|
if (missingMandatoryParts.length > 0) {
|
||||||
|
|
||||||
|
if (enforceBlock) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
icon: "error",
|
icon: "error",
|
||||||
title: "Attenzione! Parti Obbligatorie Mancanti / Attention: Missing Mandatory Parts",
|
title: "Attenzione! Parti Obbligatorie Mancanti",
|
||||||
text: "Aggiungere le parti obbligatorie / Add mandatory parts. Mancante/Missing " + missingMandatoryParts.join(", "),
|
text: "Mancano: " + missingMandatoryParts.join(", "),
|
||||||
confirmButtonText: "OK"
|
confirmButtonText: "OK"
|
||||||
});
|
});
|
||||||
} else if (missingParts.length > 0) {
|
return;
|
||||||
Swal.fire({
|
|
||||||
icon: "warning",
|
|
||||||
title: "' . $titlealertstd . '",
|
|
||||||
text: "' . $partsnotfound . ' " + missingParts.join(", "),
|
|
||||||
confirmButtonText: "' . $confirmButtonTextalertstd . '",
|
|
||||||
showCancelButton: true,
|
|
||||||
cancelButtonText: "' . $cancelButtonTextalertstd . '"
|
|
||||||
}).then((result) => {
|
|
||||||
if (result.isConfirmed) {
|
|
||||||
window.location.href = "adddocument.php?idtrf=' . $idtrf . '&codestep=7";
|
|
||||||
} else if (result.dismiss === Swal.close) {
|
|
||||||
alert("' . $cancelButtonTextalertstd . '");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
window.location.href = "adddocument.php?idtrf=' . $idtrf . '&codestep=7";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Soft mode: avviso ma NON blocca
|
||||||
|
Swal.fire({
|
||||||
|
icon: "warning",
|
||||||
|
title: "Parti obbligatorie mancanti",
|
||||||
|
html: "Mancano le seguenti parti obbligatorie:<br><b>" + missingMandatoryParts.join(", ") + "</b><br><br>Vuoi procedere comunque?",
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonText: "Procedi comunque",
|
||||||
|
cancelButtonText: "Torna indietro"
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
window.location.href = nextUrl;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 2) Non-mandatory missing
|
||||||
|
if (missingParts.length > 0) {
|
||||||
|
Swal.fire({
|
||||||
|
icon: "warning",
|
||||||
|
title: ' . json_encode($titlealertstd) . ',
|
||||||
|
text: ' . json_encode($partsnotfound) . ' + " " + missingParts.join(", "),
|
||||||
|
confirmButtonText: ' . json_encode($confirmButtonTextalertstd) . ',
|
||||||
|
showCancelButton: true,
|
||||||
|
cancelButtonText: ' . json_encode($cancelButtonTextalertstd) . '
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
window.location.href = nextUrl;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3) Everything OK
|
||||||
|
window.location.href = nextUrl;
|
||||||
|
}
|
||||||
</script>';
|
</script>';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,52 @@
|
|||||||
<footer class="footer text-center text-sm-left">
|
<footer class="footer text-center text-sm-left" style="padding: 20px; background-color: #f8f9fa; position: fixed; bottom: 0; width: 100%; z-index: 1000;">
|
||||||
© 2023 CE Soft <span class="text-muted d-none d-sm-inline-block float-right">CE SOFT SRL</span>
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-6 text-center text-md-left mb-2 mb-md-0">
|
||||||
|
© 2023 CE Soft
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 col-md-6 text-center text-md-right">
|
||||||
|
|
||||||
|
<a href="regolamentoprivacy.php" target="_blank">Regolamento Privacy</a> / <a href="privacydoc.php" target="_blank">Privacy Policy</a> - <a href="cookie-policy-it.php" target="_blank">Cookie Policy Ita</a> / <a href="cookie-policy-en.php" target="_blank">Cookie Policy ENG</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script>
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
const footer = document.querySelector('footer');
|
||||||
|
const footerHeight = footer.offsetHeight;
|
||||||
|
document.body.style.paddingBottom = footerHeight + 'px';
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Cookie Banner -->
|
||||||
|
<div id="cookie-banner" style="position: fixed; bottom: 0; width: 100%; background: #333; color: #fff; padding: 15px; text-align: center; z-index: 1000; font-family: Arial, sans-serif; display: none;">
|
||||||
|
<div id="cookie-text">
|
||||||
|
<p>
|
||||||
|
Questo sito utilizza esclusivamente cookie tecnici per garantire funzionalità essenziali (come login e sicurezza).
|
||||||
|
<a href="cookie-policy-it.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Scopri di più</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This site uses only technical cookies to ensure essential features (such as login and security).
|
||||||
|
<a href="cookie-policy-en.php" target="_blank" style="color: #fff; text-decoration: underline; margin-left: 5px;">Learn more</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button onclick="closeBanner()" style="background: #28a745; color: #fff; border: none; padding: 8px 16px; margin: 5px; cursor: pointer;">OK</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function closeBanner() {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'none';
|
||||||
|
localStorage.setItem('cookiesAcknowledged', 'true');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mostra il banner solo se l'utente non ha ancora accettato i cookie
|
||||||
|
window.onload = function() {
|
||||||
|
if (!localStorage.getItem('cookiesAcknowledged')) {
|
||||||
|
document.getElementById('cookie-banner').style.display = 'block';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
@@ -1260,7 +1260,7 @@ if ($idarticletype == "4" && $modelidart == 18 && $hivis == 'Y') { ?>
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
// TUTA
|
// TUTA
|
||||||
if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'N') { ?>
|
if ($idarticletype == "4" && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'N') { ?>
|
||||||
<?php include('languages/' . $_SESSION['langselect'] . '/ind17.php'); ?>
|
<?php include('languages/' . $_SESSION['langselect'] . '/ind17.php'); ?>
|
||||||
<!-- Image Map Generated by http://www.image-map.net/ -->
|
<!-- Image Map Generated by http://www.image-map.net/ -->
|
||||||
<div style="position:relative;width:635px;height:516px;">
|
<div style="position:relative;width:635px;height:516px;">
|
||||||
@@ -1439,7 +1439,7 @@ if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'N') { ?>
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php
|
<?php
|
||||||
// TUTA HIVIS
|
// TUTA HIVIS
|
||||||
if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'Y') { ?>
|
if ($idarticletype == "4" && in_array((string)$modelidart, ['19', '22'], true) && $hivis == 'Y') { ?>
|
||||||
<?php include('languages/' . $_SESSION['langselect'] . '/ind16.php'); ?>
|
<?php include('languages/' . $_SESSION['langselect'] . '/ind16.php'); ?>
|
||||||
<!-- Image Map Generated by http://www.image-map.net/ -->
|
<!-- Image Map Generated by http://www.image-map.net/ -->
|
||||||
<div style="position:relative;width:776.75px;height:672.75px;">
|
<div style="position:relative;width:776.75px;height:672.75px;">
|
||||||
@@ -1576,3 +1576,109 @@ if ($idarticletype == "4" && $modelidart == 19 && $hivis == 'Y') { ?>
|
|||||||
<area shape="rect" coords="686.4,579.15,728.65,614.25" target="_self" alt="<?php echo $ind_rm; ?>" title="<?php echo $ind_rm; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_rm; ?>';document.getElementById('partid').value='RM';" href="javascript:void(0)">
|
<area shape="rect" coords="686.4,579.15,728.65,614.25" target="_self" alt="<?php echo $ind_rm; ?>" title="<?php echo $ind_rm; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_rm; ?>';document.getElementById('partid').value='RM';" href="javascript:void(0)">
|
||||||
</map>
|
</map>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<?php
|
||||||
|
// CALZINO
|
||||||
|
if ($idarticletype == "4" && $modelidart == 20) { ?>
|
||||||
|
<?php include('languages/' . $_SESSION['langselect'] . '/ind19.php'); ?>
|
||||||
|
<!-- Image Map Converted from GIMP Image Map -->
|
||||||
|
<div style="position:relative;width:669px;height:561px;">
|
||||||
|
<img src="../images/ind19.png" width="669" height="561" usemap="#map">
|
||||||
|
<?php if (in_array(1, $partids)) { ?>
|
||||||
|
<div id="part_1" style="position:absolute;left:88px;top:160px;width:77px;height:69px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>'; document.getElementById('partid').value='1';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(3, $partids)) { ?>
|
||||||
|
<div id="part_3" style="position:absolute;left:500px;top:27px;width:86px;height:78px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>'; document.getElementById('partid').value='3';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(2, $partids)) { ?>
|
||||||
|
<div id="part_2a" style="position:absolute;left:500px;top:280px;width:83px;height:80px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>'; document.getElementById('partid').value='2';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(2, $partids)) { ?>
|
||||||
|
<div id="part_2b" style="position:absolute;left:27px;top:430px;width:90px;height:74px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>'; document.getElementById('partid').value='2';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
<map name="map">
|
||||||
|
<area shape="rect" coords="92,175,169,244" target="_self" alt="<?php echo $ind_one; ?>" title="<?php echo $ind_one; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>';document.getElementById('partid').value='1';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="545,27,631,105" target="_self" alt="<?php echo $ind_three; ?>" title="<?php echo $ind_three; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>';document.getElementById('partid').value='3';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="560,322,643,402" target="_self" alt="<?php echo $ind_two; ?>" title="<?php echo $ind_two; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>';document.getElementById('partid').value='2';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="27,479,117,553" target="_self" alt="<?php echo $ind_two; ?>" title="<?php echo $ind_two; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>';document.getElementById('partid').value='2';" href="javascript:void(0)">
|
||||||
|
</map>
|
||||||
|
<?php } ?>
|
||||||
|
<?php
|
||||||
|
// BOXER
|
||||||
|
if ($idarticletype == "4" && $modelidart == 21) { ?>
|
||||||
|
<?php include('languages/' . $_SESSION['langselect'] . '/ind21.php'); ?>
|
||||||
|
<!-- Image Map Converted from GIMP Image Map -->
|
||||||
|
<div style="position:relative;width:677px;height:293px;">
|
||||||
|
<img src="../images/ind21.png" width="677" height="293" usemap="#map">
|
||||||
|
<?php if (in_array(1, $partids)) { ?>
|
||||||
|
<div id="part_1a" style="position:absolute;left:7px;top:180px;width:42px;height:33px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>'; document.getElementById('partid').value='1';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(1, $partids)) { ?>
|
||||||
|
<div id="part_1b" style="position:absolute;left:210px;top:195px;width:42px;height:35px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>'; document.getElementById('partid').value='1';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(1, $partids)) { ?>
|
||||||
|
<div id="part_1c" style="position:absolute;left:245px;top:78px;width:44px;height:38px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>'; document.getElementById('partid').value='1';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(1, $partids)) { ?>
|
||||||
|
<div id="part_1d" style="position:absolute;left:550px;top:65px;width:58px;height:44px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>'; document.getElementById('partid').value='1';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(2, $partids)) { ?>
|
||||||
|
<div id="part_2a" style="position:absolute;left:78px;top:220px;width:66px;height:43px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>'; document.getElementById('partid').value='2';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(2, $partids)) { ?>
|
||||||
|
<div id="part_2b" style="position:absolute;left:400px;top:220px;width:49px;height:43px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>'; document.getElementById('partid').value='2';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(3, $partids)) { ?>
|
||||||
|
<div id="part_3a" style="position:absolute;left:205px;top:28px;width:43px;height:37px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>'; document.getElementById('partid').value='3';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (in_array(3, $partids)) { ?>
|
||||||
|
<div id="part_3b" style="position:absolute;left:260px;top:28px;width:40px;height:43px;background-color:yellow;opacity:0.4;cursor:pointer;"
|
||||||
|
onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>'; document.getElementById('partid').value='3';"
|
||||||
|
href="javascript:void(0)">
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
<map name="map">
|
||||||
|
<area shape="rect" coords="7,197,49,230" target="_self" alt="<?php echo $ind_one; ?>" title="<?php echo $ind_one; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>';document.getElementById('partid').value='1';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="237,211,279,246" target="_self" alt="<?php echo $ind_one; ?>" title="<?php echo $ind_one; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>';document.getElementById('partid').value='1';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="273,84,317,122" target="_self" alt="<?php echo $ind_one; ?>" title="<?php echo $ind_one; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>';document.getElementById('partid').value='1';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="601,70,659,114" target="_self" alt="<?php echo $ind_one; ?>" title="<?php echo $ind_one; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_one; ?>';document.getElementById('partid').value='1';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="81,240,147,283" target="_self" alt="<?php echo $ind_two; ?>" title="<?php echo $ind_two; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>';document.getElementById('partid').value='2';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="442,243,491,286" target="_self" alt="<?php echo $ind_two; ?>" title="<?php echo $ind_two; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_two; ?>';document.getElementById('partid').value='2';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="228,28,271,65" target="_self" alt="<?php echo $ind_three; ?>" title="<?php echo $ind_three; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>';document.getElementById('partid').value='3';" href="javascript:void(0)">
|
||||||
|
<area shape="rect" coords="282,26,322,69" target="_self" alt="<?php echo $ind_three; ?>" title="<?php echo $ind_three; ?>" onclick="document.getElementById('descriptionpartvalue').value='<?php echo $ind_three; ?>';document.getElementById('partid').value='3';" href="javascript:void(0)">
|
||||||
|
</map>
|
||||||
|
<?php } ?>
|
||||||
@@ -0,0 +1,706 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Application Form</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||||
|
<meta content="" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text ul,
|
||||||
|
.auth-logo-text li {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text ul {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p[style="font-size: 18px;"] {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+ul,
|
||||||
|
.auth-logo-text ul+p {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Log In page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100 ">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>TERMINI_E_CONDIZIONI_PPEASY</title>
|
||||||
|
<meta name="author" content="Paola Crespi" />
|
||||||
|
<style type="text/css">
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p,
|
||||||
|
p {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
margin: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s1 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 7pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s2 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s4 {
|
||||||
|
color: #00F;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a,
|
||||||
|
a {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s5 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 7pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s7 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: c1 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1>li>*:first-child:before {
|
||||||
|
counter-increment: c1;
|
||||||
|
content: "(" counter(c1, lower-roman)") ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: c1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l2 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: d1 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l2>li>*:first-child:before {
|
||||||
|
counter-increment: d1;
|
||||||
|
content: counter(d1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l2>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: d1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l3 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: d2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l3>li>*:first-child:before {
|
||||||
|
counter-increment: d2;
|
||||||
|
content: counter(d1, decimal)"." counter(d2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l3>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: d2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l4 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l4>li>*:first-child:before {
|
||||||
|
content: "- ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l5 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: e1 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l5>li>*:first-child:before {
|
||||||
|
counter-increment: e1;
|
||||||
|
content: counter(e1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l5>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: e1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l6 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: e2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l6>li>*:first-child:before {
|
||||||
|
counter-increment: e2;
|
||||||
|
content: counter(e1, decimal)"." counter(e2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l6>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: e2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l7 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: f1 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l7>li>*:first-child:before {
|
||||||
|
counter-increment: f1;
|
||||||
|
content: counter(f1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l7>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: f1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l8 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: f2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l8>li>*:first-child:before {
|
||||||
|
counter-increment: f2;
|
||||||
|
content: counter(f1, decimal)"." counter(f2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l8>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: f2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l9 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: g1 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l9>li>*:first-child:before {
|
||||||
|
counter-increment: g1;
|
||||||
|
content: counter(g1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l9>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: g1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l10 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: g2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l10>li>*:first-child:before {
|
||||||
|
counter-increment: g2;
|
||||||
|
content: counter(g1, decimal)"." counter(g2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l10>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: g2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l11 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: h1 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l11>li>*:first-child:before {
|
||||||
|
counter-increment: h1;
|
||||||
|
content: counter(h1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l11>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: h1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l12 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: h2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l12>li>*:first-child:before {
|
||||||
|
counter-increment: h2;
|
||||||
|
content: counter(h1, decimal)"." counter(h2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l12>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: h2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l13 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l13>li>*:first-child:before {
|
||||||
|
content: " ";
|
||||||
|
color: black;
|
||||||
|
font-family: Symbol, serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l14 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l14>li>*:first-child:before {
|
||||||
|
content: " ";
|
||||||
|
color: black;
|
||||||
|
font-family: Symbol, serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l15 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: i1 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l15>li>*:first-child:before {
|
||||||
|
counter-increment: i1;
|
||||||
|
content: counter(i1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l15>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: i1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l16 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: i2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l16>li>*:first-child:before {
|
||||||
|
counter-increment: i2;
|
||||||
|
content: counter(i1, decimal)"." counter(i2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l16>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: i2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l17 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: j1 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l17>li>*:first-child:before {
|
||||||
|
counter-increment: j1;
|
||||||
|
content: "(" counter(j1, lower-roman)") ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l17>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: j1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l18 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: k1 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l18>li>*:first-child:before {
|
||||||
|
counter-increment: k1;
|
||||||
|
content: "(" counter(k1, lower-roman)") ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l18>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: k1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l19 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: l1 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l19>li>*:first-child:before {
|
||||||
|
counter-increment: l1;
|
||||||
|
content: counter(l1, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l19>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: l1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l20 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: l2 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l20>li>*:first-child:before {
|
||||||
|
counter-increment: l2;
|
||||||
|
content: counter(l1, decimal)"." counter(l2, decimal)" ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l20>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: l2 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l21 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
counter-reset: m1 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l21>li>*:first-child:before {
|
||||||
|
counter-increment: m1;
|
||||||
|
content: "(" counter(m1, lower-roman)") ";
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l21>li:first-child>*:first-child:before {
|
||||||
|
counter-increment: m1 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<br>
|
||||||
|
<p style="font-size: 18px;"><strong>Oggetto: Informativa relativa al trattamento dei dati personali dell’Utente.</strong></p>
|
||||||
|
|
||||||
|
<p>Ai sensi dell’attuale normativa sul trattamento dei dati personali (Regolamento Ue 2016/679 nonché Codice Privacy i.e.: D. Lgs. 196/03 per come modificato dal D. Lgs 101/2018) La informiamo che i Dati forniti riguardanti il soggetto interessato (anche nell’ipotesi di soggetto operante in qualità di impresa individuale, piccolo imprenditore, professionista) ovvero i suoi dipendenti, collaboratori o clienti (i “Dati”), saranno trattati in conformità alle disposizioni di cui alla normativa privacy attualmente applicabile, in ogni caso il trattamento dei dati avviene in modo da garantire la sicurezza dei dati stessi e secondo i principi di correttezza, liceità e riservatezza previsti dalla legge (artt. 5, 6 e 32 del Regolamento UE 2016/679 - da qui in avanti solo GDPR-).</p>
|
||||||
|
|
||||||
|
<p><strong>Titolare del trattamento e DPO</strong></p>
|
||||||
|
|
||||||
|
<p>Il Titolare del trattamento dei dati, ai sensi dell’art. 4 e 24 GDPR è Anci Servizi s.r.l. a socio unico, con sede legale in Milano, Via Alberto Riva Villasanta 3, con sede operativa, B.U. <strong>CIMAC</strong>, in Vigevano, Via Aguzzafame n. 60/B, per contatti è sufficiente inviare una e-mail a: <a href="mailto:info@cimac.it">info@cimac.it</a> o telefonare al n.: 038184722 o 02438291. Il Titolare ha nominato un proprio DPO, Avv. Laura Marretta, contattabile ai riferimenti sopra elencati o via email scrivendo a <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a></p>
|
||||||
|
|
||||||
|
<p><strong>Scopo dell’informativa</strong></p>
|
||||||
|
|
||||||
|
<p>Il Titolare adotta per come richiesto dall’art 12 GDPR la seguente informativa quale misura per fornirLe le informazioni di cui all’art 13 GDPR e le comunicazioni di cui agli artt. da 15 a 22 e 34 GDPR relative al trattamento dei dati personali da lei forniti per accreditarsi sulla piattaforma e creare il suo profilo ed utilizzare i servizi in essa presenti.</p>
|
||||||
|
|
||||||
|
<p><strong>Finalità del trattamento e Basi giuridiche</strong></p>
|
||||||
|
|
||||||
|
<p>I dati da lei liberamente conferiti, dati riguardanti sia l’anagrafica aziendale che personale dell’Utente, sia i dati relativi a suoi dipendenti, collaboratori o clienti sono tutti dati non rientranti nelle categorie particolari di dati personali per come elencati nell’art. 9 GDPR e sono trattati dal Titolare per le seguenti <strong>finalità</strong>:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<p>1-Accredito alla piattaforma e creazione del Profilo Utente</p>
|
||||||
|
<p>2-Accredito di suoi dipendenti e/o collaboratori che saranno poi autorizzati all’utilizzo della piattaforma dopo loro specifica creazione del profilo utente</p>
|
||||||
|
<p>3-Comunicazione dati per procedere con il servizio “Ho un DPI da certificare”</p>
|
||||||
|
<p>4-Comunicazione dati di suoi clienti per procedere con il servizio “Ho un DPI da certificare per un mio cliente”</p>
|
||||||
|
<p>5-Invio di comunicazioni tecniche (comunicazioni tecniche e di servizio da parte del Titolare o suoi Responsabili)</p>
|
||||||
|
<p>6-Inviarle comunicazioni relativi ai servizi del Cimac</p>
|
||||||
|
<p>7-Difendere/far valere un diritto.</p>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>In relazione alle finalità sopra elencate le <strong>basi giuridiche</strong> sono per il punto da 1) a 5) il contratto intercorrente tra le parti per l’utilizzo della piattaforma e dei suoi servizi); per i punti 6) e 7) il legittimo interesse del Titolare. (al quale potrà opporsi in qualsiasi momento scrivendo al DPO o seguendo le istruzioni contenute nel footer delle comunicazioni che riceverà)</p>
|
||||||
|
|
||||||
|
<p><strong> Trattamento e conservazione dei dati</strong></p>
|
||||||
|
|
||||||
|
<p>Nell’ottica delle finalità sopra esposte, il trattamento sui dati conferiti al Titolare comprenderà quanto necessario per la corretta erogazione dei servizi ossia: la gestione, l’organizzazione, la conservazione e la creazione del database, la consultazione, il riscontro, l’archiviazione, la comunicazione, l’invio di comunicazioni, l’elaborazione, la realizzazione di statistiche anonime, l'utilizzo, la distruzione e la modifica del dato trattato a seguito di segnalazione da parte dell’interessato.</p>
|
||||||
|
|
||||||
|
<p>Il Titolare inoltre avvisa che qualora intendesse trattare ulteriormente i dati personali per una finalità diversa da quella per cui essi sono stati raccolti, prima di tale ulteriore trattamento fornirà all'interessato informazioni in merito a tale diversa finalità ed ogni ulteriore informazione pertinente, raccogliendo, nel caso specifico consenso al trattamento.</p>
|
||||||
|
|
||||||
|
<p> I dati saranno trattati per il tempo necessario a soddisfare le finalità della raccolta e gli obblighi di legge ai quali è soggetto il Titolare.</p>
|
||||||
|
|
||||||
|
<p><strong>Ambito di comunicazione e diffusione</strong></p>
|
||||||
|
|
||||||
|
<p>Il trattamento comprenderà la comunicazione dei dati ai membri della struttura organizzativa del Titolare, ovvero ad Autorizzati nell’ambito della gestione del servizio erogato, a Responsabili nominati ex art 28 GDPR. Nello specifico si segnala che la soc. C.E. Soft s.r.l. (<a href="http://www.cesoft.io">www.cesoft.io</a>), nostro Responsabile, svolge anche il ruolo di “Administrator” della piattaforma. <em><u>I dati raccolti non saranno oggetto di diffusione</u></em>.</p>
|
||||||
|
|
||||||
|
<p><strong>Natura del Conferimento</strong>:</p>
|
||||||
|
|
||||||
|
<p>Il conferimento dei dati è facoltativo, tuttavia il mancato conferimento degli stessi potrebbe impedire l’uso della piattaforma o dei suoi servizi. Pertanto, nel caso di utilizzo della piattaforma e dei suoi servizi, il trattamento sui dati personali conferiti (anche in nome per conto e nell'interesse dei propri dipendenti e/o consulenti, clienti) si riterrà comunque autorizzato ai sensi dell’art. 6 comma 1 lett. b GDPR</p>
|
||||||
|
|
||||||
|
<p><strong>Trasferimento dei dati personali</strong></p>
|
||||||
|
|
||||||
|
<p>Il trattamento comprenderà l’utilizzo dei dati conferiti in territorio UE ed extra UE, ma solo in caso di paesi rientranti nelle ipotesi ex art 45 e 46 e 49 GDPR.</p>
|
||||||
|
|
||||||
|
<p><strong>Categorie particolari di dati personali</strong></p>
|
||||||
|
|
||||||
|
<p>Il Titolare ricorda all’interessato che i Dati personali richiesti e da questo forniti non sono dati rientranti nelle categorie particolari di dati personali per come elencati negli artt. 9 e 10 GDPR.</p>
|
||||||
|
|
||||||
|
<p><strong>Esistenza di un processo decisionale automatizzato, compresa la profilazione</strong></p>
|
||||||
|
|
||||||
|
<p>Il Titolare non effettua alcun trattamento in base a processi decisionali automatizzati, né effettua profilazione.</p>
|
||||||
|
|
||||||
|
<p><strong>Modalità di trattamento e misure di sicurezza</strong>:</p>
|
||||||
|
|
||||||
|
<p>il trattamento potrà avvenire sia mediante modalità cartacea che tramite strumenti elettronici ad opera di soggetti appositamente Autorizzati al trattamento, per come richiesto ex art. 13 comma 2 lett. F GDPR il Titolare conferma che il Trattamento non avviene tramite un processo decisionale automatizzato né viene effettuata profilazione se non a seguito di suo espresso consenso sul punto.</p>
|
||||||
|
|
||||||
|
<p>Il Titolare osserva idonee misure di sicurezza per come previsto ex art 32 GDPR per prevenire la perdita dei dati, usi illeciti o non corretti ed accessi non autorizzati.</p>
|
||||||
|
|
||||||
|
<p><strong>Responsabilità per il conferimento dei dati </strong></p>
|
||||||
|
|
||||||
|
<p>Resta inteso che per tutti i dati inseriti in piattaforma, sia nella totalità dei dati conferiti che in relazione ad ogni e singolo dato anche in relazione alla correttezza, liceità e veridicità nonché alla possibilità di utilizzo e comunicazione, ne risponde il legale rappresentante della società che creerà il profilo, lo stesso che dovrà anche mantenere indenne il Titolare da ogni e qualsivoglia pretesa potesse insorgere e da ogni richiesta di risarcimento danni diretti e/o indiretti.</p>
|
||||||
|
|
||||||
|
<p><strong>Data breach</strong>:</p>
|
||||||
|
|
||||||
|
<p>Nel caso in cui il Titolare del Trattamento dati subisca una violazione per come configurata in art. 34 comportante un rischio per i diritti e le libertà delle persone fisiche (data breach) si attiverà – se del caso –per effettuare la notifica all’Autorità garante e la comunicazione dell’l’accaduto a tutti gli interessati.</p>
|
||||||
|
|
||||||
|
<p><strong>Diritti dell’interessato </strong></p>
|
||||||
|
|
||||||
|
<p>Il Titolare inoltra La informa che le sono garantiti i diritti espressi nell’art 13 c. 2 GDPR e quindi:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<p>diritto d’accesso ai dati personali ed alle informazioni collegate elencate sub art. 15 Reg. UE;</p>
|
||||||
|
<p>la rettifica o la cancellazione dei dati conferiti o la limitazione del trattamento;</p>
|
||||||
|
<p>opporsi al trattamento;</p>
|
||||||
|
<p>portabilità dei dati;</p>
|
||||||
|
<p>qualora il trattamento sia basato sull'articolo 6, paragrafo 1, lettera a), oppure sull'articolo 9, paragrafo 2, lettera a) a revocare il consenso in qualsiasi momento senza pregiudicare la liceità del trattamento basata sul consenso prestato prima della revoca;</p>
|
||||||
|
<p>proporre reclamo a un'autorità di controllo.</p>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p><strong>Esercizio dei diritti</strong></p>
|
||||||
|
|
||||||
|
<p>I diritti sopra esposti potranno essere esercitati inviando una e-mail al DPO indicando nell’oggetto: “esercizio dei diritti ex GDPR” ed inserendo nel corpo della mail il diritto che si desidera esercitare, nonché nome, cognome e indirizzo e-mail sulla quale si intende ricevere risposta da parte di Anci Servizi s.r.l.</p>
|
||||||
|
|
||||||
|
<p>Il Titolare, una volta processato quanto ricevuto, invierà relativo riscontro nei termini indicati dall'art 12 punto 3 GDPR.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
</div> <!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<h4 class="mt-0 mb-3 mt-5">
|
||||||
|
|
||||||
|
</h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Log In page -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,283 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Privacy Notice - PPEASY Platform</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||||
|
<meta content="" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text ul,
|
||||||
|
.auth-logo-text li {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text ul {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p[style="font-size: 18px;"] {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+ul,
|
||||||
|
.auth-logo-text ul+p {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text a {
|
||||||
|
color: #00F;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
<!-- Log In page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div>
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>INFORMATIVA_PPEASY</title>
|
||||||
|
<meta name="author" content="Paola Crespi" />
|
||||||
|
<style type="text/css">
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
margin: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s1 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 7pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s2 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s4 {
|
||||||
|
color: #00F;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a,
|
||||||
|
a {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s5 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 7pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s7 {
|
||||||
|
color: black;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 8pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1 {
|
||||||
|
padding-left: 0pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
#l1>li>*:first-child:before {
|
||||||
|
content: " ";
|
||||||
|
color: black;
|
||||||
|
font-family: Symbol, serif;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<br>
|
||||||
|
<p style="font-size: 18px;"><strong>Subject: Information Notice Regarding the Processing of the User’s Personal Data</strong></p>
|
||||||
|
<p style="padding-top: 3pt;padding-left: 5pt;text-indent: 0pt;text-align: left;">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).</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Data Controller and DPO</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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: <a href="mailto:info@cimac.it">info@cimac.it</a> 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 <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a>.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Purpose of the Information Notice</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Purposes of Processing and Legal Bases</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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:</p>
|
||||||
|
<ul id="l1">
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Registration on the platform and creation of the User Profile</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Registration of your employees and/or collaborators who will then be authorized to use the platform after their specific user profile is created</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Communication of data to proceed with the “I have PPE to certify” service</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Communication of your clients’ data to proceed with the “I have PPE to certify for my client” service</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Sending technical communications (technical and service communications from the Data Controller or its Data Processors)</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Sending you communications relating to Cimac services</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">Defending/asserting a right.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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).</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Processing and Data Retention</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Scope of Communication and Dissemination</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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. (<a href="http://www.cesoft.srl">www.cesoft.srl</a>), our Data Processor, also acts as “Administrator” of the platform system. The collected data will not be subject to dissemination.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Nature of Data Provision</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Transfer of Personal Data</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Special Categories of Personal Data</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Existence of Automated Decision-Making, Including Profiling</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">The Data Controller does not carry out any data processing based on automated decision-making processes, nor does it carry out profiling.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Processing Methods and Security Measures</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Responsibility for Data Provision</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Data Breach</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Rights of the Data Subject</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">The Data Controller informs you that you are guaranteed the rights expressed in Article 13, paragraph 2 GDPR, and therefore:</p>
|
||||||
|
<ul id="l1">
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">right of access to personal data and related information listed under Article 15 EU Regulation;</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">right of rectification or erasure of the data provided or restriction of processing;</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">right to object to processing;</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">right to data portability;</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">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;</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p style="padding-left: 41pt;text-indent: -18pt;text-align: left;">right to submit a complaint with a supervisory authority.</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;"><strong>Exercise of Rights</strong></p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">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.</p>
|
||||||
|
<p style="padding-left: 5pt;text-indent: 0pt;text-align: left;">Once your request has been processed, the Data Controller will send a response within the time limits indicated by Article 12, point 3 GDPR.</p>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
</div>
|
||||||
|
<h4 class="mt-0 mb-3 mt-5"></h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Log In page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
$ind_one = "Main fabric";
|
||||||
|
$ind_two = "Reinforcement";
|
||||||
|
$ind_three = "Elastic band";
|
||||||
|
?>
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
$ind_one = "Main fabric";
|
||||||
|
$ind_two = "Reinforcement";
|
||||||
|
$ind_three = "Elastic band";
|
||||||
|
?>
|
||||||
|
|
||||||
@@ -4,8 +4,8 @@ $prodplacemanufacturer = "Matches the Manufacturer's Address";
|
|||||||
$classificationshoes = "Classification (for footwear only)";
|
$classificationshoes = "Classification (for footwear only)";
|
||||||
$classone = "I - Footwear of leather and other materials, excluding footwear entirely of rubber or entirely polymeric";
|
$classone = "I - Footwear of leather and other materials, excluding footwear entirely of rubber or entirely polymeric";
|
||||||
$classtwo = "II - Entirely rubber footwear (fully vulcanized) or completely polymeric footwear (fully molded)";
|
$classtwo = "II - Entirely rubber footwear (fully vulcanized) or completely polymeric footwear (fully molded)";
|
||||||
$declarone = "Fornita con il DPI";
|
$declarone = "Provided with the PPE";
|
||||||
$declartwo = "Disponibile sul sito web";
|
$declartwo = "Available on the website";
|
||||||
$coverone = "Harmonized standard";
|
$coverone = "Harmonized standard";
|
||||||
$covertwo = "Manufacturer's instructions and information";
|
$covertwo = "Manufacturer's instructions and information";
|
||||||
$coverthree = "Marking";
|
$coverthree = "Marking";
|
||||||
@@ -13,7 +13,7 @@ $datappe = "PPE RELATED DATA";
|
|||||||
$destinationppe = "Intended Use of the PPE";
|
$destinationppe = "Intended Use of the PPE";
|
||||||
$workingprocess = "Manufacturing Process";
|
$workingprocess = "Manufacturing Process";
|
||||||
$ageingppe = "PPE subject to ageing";
|
$ageingppe = "PPE subject to ageing";
|
||||||
$obsoldate = "Obsolescence Date";
|
$obsoldate = "Obsolescence Date (years)";
|
||||||
$ceexample = "CE MARKING EXAMPLE";
|
$ceexample = "CE MARKING EXAMPLE";
|
||||||
$measureex = "Size";
|
$measureex = "Size";
|
||||||
$manufacturerlogo = "Manufacturer's Brand";
|
$manufacturerlogo = "Manufacturer's Brand";
|
||||||
@@ -57,3 +57,18 @@ $toreview = "Send for Review";
|
|||||||
$toreviewhelp = "The Technical File will be sent to Cimac for document review";
|
$toreviewhelp = "The Technical File will be sent to Cimac for document review";
|
||||||
$techapplied = "Any technical specifications applied (other than harmonised standards)";
|
$techapplied = "Any technical specifications applied (other than harmonised standards)";
|
||||||
$corrtdcertified = "Matching with already certified PPE";
|
$corrtdcertified = "Matching with already certified PPE";
|
||||||
|
$addprodplace = "Add production place";
|
||||||
|
$searchcomp = "Search Company";
|
||||||
|
$savebutton = "Save";
|
||||||
|
$notesearchcomp = "Enter at least 3 characters of the company name to start the search.";
|
||||||
|
$uploadExample = "Do you want to upload a markup example?";
|
||||||
|
$selectLogo = "Select a logo";
|
||||||
|
$noLogoAvailable = "No logo available";
|
||||||
|
$addLogo = "Add Logo";
|
||||||
|
$productionControlDescription = "Description of production control means";
|
||||||
|
$addControlMeans = "Add control means";
|
||||||
|
$selectQualityControl = "Select a quality control";
|
||||||
|
$addPart = "Add Part";
|
||||||
|
$packtitle = "Packaging";
|
||||||
|
$dectitle = "EU Declaration of Conformity";
|
||||||
|
$webtitle = "Website Address";
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
$ind_one = "Tessuto principale";
|
||||||
|
$ind_two = "Rinforzo";
|
||||||
|
$ind_three = "Elastico";
|
||||||
|
?>
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
$ind_one = "Tessuto principale";
|
||||||
|
$ind_two = "Rinforzo";
|
||||||
|
$ind_three = "Elastico";
|
||||||
|
?>
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ $datappe = "DATI RELATIVI AL DPI";
|
|||||||
$destinationppe = "Destinazione d'uso del DPI";
|
$destinationppe = "Destinazione d'uso del DPI";
|
||||||
$workingprocess = "Processo di lavorazione";
|
$workingprocess = "Processo di lavorazione";
|
||||||
$ageingppe = "DPI soggetto ad invecchiamento";
|
$ageingppe = "DPI soggetto ad invecchiamento";
|
||||||
$obsoldate = "Data di obsolescenza ";
|
$obsoldate = "Data di obsolescenza (anni)";
|
||||||
$ceexample = "ESEMPIO DI MARCATURA CE";
|
$ceexample = "ESEMPIO DI MARCATURA CE";
|
||||||
$measureex = "Misura";
|
$measureex = "Misura";
|
||||||
$manufacturerlogo = "Marchio del fabbricante";
|
$manufacturerlogo = "Marchio del fabbricante";
|
||||||
@@ -35,10 +35,10 @@ $proceedtd = "Completa Technical File";
|
|||||||
$waitingrevision = "In attesa di revisione";
|
$waitingrevision = "In attesa di revisione";
|
||||||
$waitingsign = "Firma il Technical File";
|
$waitingsign = "Firma il Technical File";
|
||||||
$areyousure = "Sei sicuro?";
|
$areyousure = "Sei sicuro?";
|
||||||
$proceeddeletetd = "Vuoi procede con la cancellazione del TD number: ";
|
$proceeddeletetd = "Vuoi procede con la cancellazione del TF numero: ";
|
||||||
$yescancel = "Sì cancella!";
|
$yescancel = "Sì cancella!";
|
||||||
$nostop = "No, annulla!";
|
$nostop = "No, annulla!";
|
||||||
$requirementnumbertd = "Number";
|
$requirementnumbertd = "Numero";
|
||||||
$requirementnametd = "Requisiti essenziali";
|
$requirementnametd = "Requisiti essenziali";
|
||||||
$applicabletd = "Applicabile";
|
$applicabletd = "Applicabile";
|
||||||
$covertbytd = "Coperto da";
|
$covertbytd = "Coperto da";
|
||||||
@@ -57,3 +57,18 @@ $toreview = "Invia in Revisione";
|
|||||||
$toreviewhelp = "Il Fascicolo tecnico verrà inviato a Cimac per la revisione documentale";
|
$toreviewhelp = "Il Fascicolo tecnico verrà inviato a Cimac per la revisione documentale";
|
||||||
$techapplied = "Eventuali specifiche tecniche applicate (diverse dalle norme armonizzate)";
|
$techapplied = "Eventuali specifiche tecniche applicate (diverse dalle norme armonizzate)";
|
||||||
$corrtdcertified = "Corrispondenza DPI già certificati:";
|
$corrtdcertified = "Corrispondenza DPI già certificati:";
|
||||||
|
$addprodplace = "Aggiungi Luogo di produzione";
|
||||||
|
$searchcomp = "Ricerca azienda";
|
||||||
|
$savebutton = "Salva";
|
||||||
|
$notesearchcomp = "Inserisci almeno 3 caratteri del nome della compagnia per iniziare la ricerca.";
|
||||||
|
$uploadExample = "Vuoi caricare un esempio di marcatura?";
|
||||||
|
$selectLogo = "Seleziona un logo";
|
||||||
|
$noLogoAvailable = "Nessun logo disponibile";
|
||||||
|
$addLogo = "Aggiungi Logo";
|
||||||
|
$productionControlDescription = "Descrizione mezzi di controllo della produzione";
|
||||||
|
$addControlMeans = "Aggiungi mezzi di controllo";
|
||||||
|
$selectQualityControl = "Seleziona un controllo di qualità";
|
||||||
|
$addPart = "Aggiungi Parte";
|
||||||
|
$packtitle = "Imballaggio";
|
||||||
|
$dectitle = "Dichiarazione di conformità UE";
|
||||||
|
$webtitle = "Indirizzo del sito web";
|
||||||
|
|||||||
+18
-18
@@ -40,14 +40,14 @@ if (isset($_POST['submit'])) {
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
} else {
|
} else {
|
||||||
echo "Errore durante l'inserimento nel database.";
|
echo ($_SESSION['langselect'] == 'en') ? "Error during database insertion." : "Errore durante l'inserimento nel database.";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "Errore nel caricamento del file.";
|
echo ($_SESSION['langselect'] == 'en') ? "Error uploading the file." : "Errore nel caricamento del file.";
|
||||||
}
|
}
|
||||||
$conn->close();
|
$conn->close();
|
||||||
} else {
|
} else {
|
||||||
echo "Sono ammessi solo file PNG e JPG.";
|
echo ($_SESSION['langselect'] == 'en') ? "Only PNG and JPG files are allowed." : "Sono ammessi solo file PNG e JPG.";
|
||||||
}
|
}
|
||||||
// Reindirizza per evitare reinvii
|
// Reindirizza per evitare reinvii
|
||||||
header("Location: logopopup.php?idcompany=$idcompany");
|
header("Location: logopopup.php?idcompany=$idcompany");
|
||||||
@@ -56,12 +56,12 @@ if (isset($_POST['submit'])) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="<?php echo ($_SESSION['langselect'] == 'en') ? 'en' : 'it'; ?>">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Aggiungi Logo</title>
|
<title><?php echo ($_SESSION['langselect'] == 'en') ? 'Add Logo' : 'Aggiungi Logo'; ?></title>
|
||||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
@@ -82,43 +82,43 @@ if (isset($_POST['submit'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.custom-file-label::after {
|
.custom-file-label::after {
|
||||||
content: "Sfoglia";
|
content: "<?php echo ($_SESSION['langselect'] == 'en') ? 'Browse' : 'Sfoglia'; ?>";
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<button type="button" class="btn btn-secondary" onclick="closeAndRefresh()">Chiudi e Aggiorna</button>
|
<button type="button" class="btn btn-secondary" onclick="closeAndRefresh()"><?php echo ($_SESSION['langselect'] == 'en') ? 'Close and Refresh' : 'Chiudi e Aggiorna'; ?></button>
|
||||||
<h3>Aggiungi Logo</h3>
|
<h3><?php echo ($_SESSION['langselect'] == 'en') ? 'Add Logo' : 'Aggiungi Logo'; ?></h3>
|
||||||
|
|
||||||
<form id="uploadLogoForm" action="logopopup.php?idcompany=<?php echo $idcompany; ?>" method="post" enctype="multipart/form-data">
|
<form id="uploadLogoForm" action="logopopup.php?idcompany=<?php echo $idcompany; ?>" method="post" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="idcompany" value="<?php echo $idcompany; ?>">
|
<input type="hidden" name="idcompany" value="<?php echo $idcompany; ?>">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="logoDescription">Descrizione Logo:</label>
|
<label for="logoDescription"><?php echo ($_SESSION['langselect'] == 'en') ? 'Logo Description:' : 'Descrizione Logo:'; ?></label>
|
||||||
<input type="text" class="form-control" id="logoDescription" name="descriptionlogo" required>
|
<input type="text" class="form-control" id="logoDescription" name="descriptionlogo" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="logoFile">File Logo:</label>
|
<label for="logoFile"><?php echo ($_SESSION['langselect'] == 'en') ? 'Logo File:' : 'File Logo:'; ?></label>
|
||||||
<div class="drag-area" id="drag-area">
|
<div class="drag-area" id="drag-area">
|
||||||
<p>Trascina qui il file o clicca per selezionare</p>
|
<p><?php echo ($_SESSION['langselect'] == 'en') ? 'Drag the file here or click to select' : 'Trascina qui il file o clicca per selezionare'; ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom-file mb-3">
|
<div class="custom-file mb-3">
|
||||||
<input type="file" class="custom-file-input" id="logoFile" name="logofile" accept=".png,.jpg,.jpeg" required>
|
<input type="file" class="custom-file-input" id="logoFile" name="logofile" accept=".png,.jpg,.jpeg" required>
|
||||||
<label class="custom-file-label" for="logoFile">Scegli file</label>
|
<label class="custom-file-label" for="logoFile"><?php echo ($_SESSION['langselect'] == 'en') ? 'Choose file' : 'Scegli file'; ?></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary" name="submit">Carica Logo</button>
|
<button type="submit" class="btn btn-primary" name="submit"><?php echo ($_SESSION['langselect'] == 'en') ? 'Upload Logo' : 'Carica Logo'; ?></button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<h3>Loghi Caricati</h3>
|
<h3><?php echo ($_SESSION['langselect'] == 'en') ? 'Uploaded Logos' : 'Loghi Caricati'; ?></h3>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Descrizione</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Description' : 'Descrizione'; ?></th>
|
||||||
<th>Logo</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Logo' : 'Logo'; ?></th>
|
||||||
<th>Azione</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Action' : 'Azione'; ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -135,7 +135,7 @@ if (isset($_POST['submit'])) {
|
|||||||
echo "<td>" . htmlspecialchars($row['descriptionlogo']) . "</td>";
|
echo "<td>" . htmlspecialchars($row['descriptionlogo']) . "</td>";
|
||||||
echo "<td><img src='logos/" . htmlspecialchars($row['filenamelogo']) . "' alt='Logo' style='width: 50px;'></td>";
|
echo "<td><img src='logos/" . htmlspecialchars($row['filenamelogo']) . "' alt='Logo' style='width: 50px;'></td>";
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
echo "<a href='deletelogo.php?id=" . $row['idlogo_td'] . "&idcompany=$idcompany' onclick='return confirm(\"Sei sicuro di voler cancellare questo logo?\");'><i class='fas fa-trash-alt' style='color: red;'></i></a>";
|
echo "<a href='deletelogo.php?id=" . $row['idlogo_td'] . "&idcompany=$idcompany' onclick='return confirm(\"" . ($_SESSION['langselect'] == 'en' ? 'Are you sure you want to delete this logo?' : 'Sei sicuro di voler cancellare questo logo?') . "\");'><i class='fas fa-trash-alt' style='color: red;'></i></a>";
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -79,3 +79,18 @@ foreach ($idartchs as $idartch) {
|
|||||||
$pdf->Cell(140, 6, $articleCharacteristic, 1, 0, 'L', TRUE);
|
$pdf->Cell(140, 6, $articleCharacteristic, 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reference certificate number
|
||||||
|
if (isset($trfData['previousreportnumber']) && trim($trfData['previousreportnumber']) !== '') {
|
||||||
|
|
||||||
|
$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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$pdf->Ln();
|
||||||
|
|||||||
@@ -103,3 +103,14 @@ foreach ($idartchs as $idartch) {
|
|||||||
$pdf->Cell(140, 6, $articleCharacteristic, 1, 0, 'L', TRUE);
|
$pdf->Cell(140, 6, $articleCharacteristic, 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
}
|
}
|
||||||
|
if (!empty($trfData['previousreportnumber'])) {
|
||||||
|
|
||||||
|
// 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();
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,48 +1,48 @@
|
|||||||
<?php
|
<?php
|
||||||
$citytitle=html_entity_decode($citytitle);
|
$citytitle = html_entity_decode($citytitle);
|
||||||
$citytitleb=utf8_decode($citytitle);
|
$citytitleb = utf8_decode($citytitle);
|
||||||
//invoice contacts
|
//invoice contacts
|
||||||
// ***start with invoice address
|
// ***start with invoice address
|
||||||
$kindcont='headertest';
|
$kindcont = 'headertest';
|
||||||
// parse contacts data with variable kindofcontacts
|
// parse contacts data with variable kindofcontacts
|
||||||
$contactsinfo = mysqli_query($cmctrfdb, "SELECT * FROM contacts LEFT JOIN countries ON countries.idcountries=contacts.country WHERE contacts.idtrf='$idtrf' AND contacts.kindofcontacts='$kindcont'");
|
$contactsinfo = mysqli_query($cmctrfdb, "SELECT * FROM contacts LEFT JOIN countries ON countries.idcountries=contacts.country WHERE contacts.idtrf='$idtrf' AND contacts.kindofcontacts='$kindcont'");
|
||||||
$contactsinfoData = mysqli_fetch_assoc($contactsinfo);
|
$contactsinfoData = mysqli_fetch_assoc($contactsinfo);
|
||||||
$companyname=$contactsinfoData['companyname'];
|
$companyname = $contactsinfoData['companyname'];
|
||||||
$pdf->SetFont('Arial','',8);
|
$pdf->SetFont('Arial', '', 8);
|
||||||
$pdf->SetTextColor(0,0,0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
$pdf->SetFont('','B','10');
|
$pdf->SetFont('', 'B', '10');
|
||||||
$pdf->Cell(190,6,$headerreportpdf,1,0,'C');
|
$pdf->Cell(190, 6, $headerreportpdf, 1, 0, 'C');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->SetFont('','',8);
|
$pdf->SetFont('', '', 8);
|
||||||
$pdf->Cell(40,6,$companypdf,1,0,'L');
|
$pdf->Cell(40, 6, $companypdf, 1, 0, 'L');
|
||||||
$pdf->SetFillColor(232, 242, 255);
|
$pdf->SetFillColor(232, 242, 255);
|
||||||
$companyname=html_entity_decode($companyname);
|
$companyname = html_entity_decode($companyname);
|
||||||
$companyname = iconv('UTF-8', 'windows-1252', $companyname);
|
$companyname = iconv('UTF-8', 'windows-1252', $companyname);
|
||||||
$pdf->Cell(150,6,$companyname,1,0,'L',TRUE);
|
$pdf->Cell(150, 6, $companyname, 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Cell(40,6,$addresspdf,1,0,'L');
|
$pdf->Cell(40, 6, $addresspdf, 1, 0, 'L');
|
||||||
$contactsaddress=html_entity_decode($contactsinfoData['address']);
|
//$contactsaddress=html_entity_decode($contactsinfoData['address']);
|
||||||
$contactsaddress = iconv('UTF-8', 'windows-1252', $contactsaddress);
|
//$contactsaddress = iconv('UTF-8', 'windows-1252', $contactsaddress);
|
||||||
$pdf->Cell(150,6,$contactsaddress,1,0,'L',TRUE);
|
$contactsaddress = html_entity_decode($contactsinfoData['address'], ENT_QUOTES, 'UTF-8');
|
||||||
|
$pdf->Cell(150, 6, $contactsaddress, 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Cell(40,6,$citytitleb,1,0,'L');
|
$pdf->Cell(40, 6, $citytitleb, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['city'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['city'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Cell(40,6,$zippdf,1,0,'L');
|
$pdf->Cell(40, 6, $zippdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['cap'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['cap'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Cell(40,6,$vatpdf,1,0,'L');
|
$pdf->Cell(40, 6, $vatpdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['piva'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['piva'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Cell(40,6,$countrypdf,1,0,'L');
|
$pdf->Cell(40, 6, $countrypdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['namecountry'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['namecountry'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Cell(40,6,$phonepdf,1,0,'L');
|
$pdf->Cell(40, 6, $phonepdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['telephone'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['telephone'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Cell(40,6,$emailpdf,1,0,'L');
|
$pdf->Cell(40, 6, $emailpdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['email'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['email'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Cell(40,6,$contactnamepdf,1,0,'L');
|
$pdf->Cell(40, 6, $contactnamepdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['contactname'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['contactname'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Cell(40,6,$contactsurnamepdf,1,0,'L');
|
$pdf->Cell(40, 6, $contactsurnamepdf, 1, 0, 'L');
|
||||||
$pdf->Cell(55,6,$contactsinfoData['contactsurname'],1,0,'L',TRUE);
|
$pdf->Cell(55, 6, $contactsinfoData['contactsurname'], 1, 0, 'L', TRUE);
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
?>
|
|
||||||
@@ -47,8 +47,8 @@ $pdf->Ln();
|
|||||||
include('pdfcreation/headerreporttable.php');
|
include('pdfcreation/headerreporttable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header certificate contact
|
//header certificate contact
|
||||||
//include('pdfcreation/headercertificatetable.php');
|
include('pdfcreation/headercertificatetable.php');
|
||||||
//$pdf->Ln();
|
$pdf->Ln();
|
||||||
//invoice contact
|
//invoice contact
|
||||||
include('pdfcreation/invoicecontacttable.php');
|
include('pdfcreation/invoicecontacttable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ $pdf->Ln();
|
|||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header report contact
|
//header report contact
|
||||||
//include('pdfcreation/headerreporttable.php');
|
include('pdfcreation/headerreporttable.php');
|
||||||
//$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header certificate contact
|
//header certificate contact
|
||||||
include('pdfcreation/headercertificatetable.php');
|
include('pdfcreation/headercertificatetable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
|
|||||||
@@ -39,12 +39,12 @@ $pdf->Ln();
|
|||||||
include('pdfcreation/fileattached.php');
|
include('pdfcreation/fileattached.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
|
//header report contact
|
||||||
|
include('pdfcreation/headerreporttable.php');
|
||||||
|
$pdf->Ln();
|
||||||
//header certificate contact
|
//header certificate contact
|
||||||
include('pdfcreation/headercertificatetable.php');
|
include('pdfcreation/headercertificatetable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header certificate contact
|
|
||||||
//include('pdfcreation/headercertificatetable.php');
|
|
||||||
//$pdf->Ln();
|
|
||||||
//invoice contact
|
//invoice contact
|
||||||
include('pdfcreation/invoicecontacttable.php');
|
include('pdfcreation/invoicecontacttable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ $pdf->Ln();
|
|||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header report contact
|
//header report contact
|
||||||
//include('pdfcreation/headerreporttable.php');
|
include('pdfcreation/headerreporttable.php');
|
||||||
//$pdf->Ln();
|
$pdf->Ln();
|
||||||
//header certificate contact
|
//header certificate contact
|
||||||
include('pdfcreation/headercertificatetable.php');
|
include('pdfcreation/headercertificatetable.php');
|
||||||
$pdf->Ln();
|
$pdf->Ln();
|
||||||
|
|||||||
+142
-107
@@ -1,28 +1,31 @@
|
|||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include('include/headscript2.php'); ?>
|
include('include/headscript2.php'); ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (isset($_POST["formname"])) {
|
if (isset($_POST["formname"])) {
|
||||||
$formname=$_POST["formname"]; }
|
$formname = $_POST["formname"];
|
||||||
else {
|
} else {
|
||||||
$formname="N"; }
|
$formname = "N";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
if ($formname=="Y") {
|
if ($formname == "Y") {
|
||||||
$UpdateQuery = new WA_MySQLi_Query($cmctrfdb);
|
$UpdateQuery = new WA_MySQLi_Query($cmctrfdb);
|
||||||
$UpdateQuery->Action = "update";
|
$UpdateQuery->Action = "update";
|
||||||
$UpdateQuery->Table = "auth_users";
|
$UpdateQuery->Table = "auth_users";
|
||||||
$UpdateQuery->bindColumn("privacyaccepted", "s", "".((isset($_POST["datetoday"]))?$_POST["datetoday"]:"") ."", "WA_DEFAULT");
|
$dateToday = (isset($_POST["datetoday"])) ? $_POST["datetoday"] : "";
|
||||||
|
|
||||||
$UpdateQuery->addFilter("id", "=", "i", "".($iduserlogin) ."");
|
$UpdateQuery->bindColumn("privacyaccepted", "s", $dateToday, "WA_DEFAULT");
|
||||||
$UpdateQuery->execute();
|
$UpdateQuery->bindColumn("termuseaccepted", "s", $dateToday, "WA_DEFAULT");
|
||||||
$UpdateGoTo = "dashboard.php";
|
|
||||||
if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo?rel2abs($UpdateGoTo,dirname(__FILE__)):"";
|
|
||||||
$UpdateQuery->redirect($UpdateGoTo);
|
$UpdateQuery->addFilter("id", "=", "i", "" . ($iduserlogin) . "");
|
||||||
|
$UpdateQuery->execute();
|
||||||
|
$UpdateGoTo = "dashboard.php";
|
||||||
|
if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo ? rel2abs($UpdateGoTo, dirname(__FILE__)) : "";
|
||||||
|
$UpdateQuery->redirect($UpdateGoTo);
|
||||||
}
|
}
|
||||||
$companydetails = mysqli_query($cmctrfdb, "SELECT * FROM company WHERE company.idcompany='$idcompany'");
|
$companydetails = mysqli_query($cmctrfdb, "SELECT * FROM company WHERE company.idcompany='$idcompany'");
|
||||||
$companyData = mysqli_fetch_assoc($companydetails);
|
$companyData = mysqli_fetch_assoc($companydetails);
|
||||||
@@ -32,120 +35,152 @@ $companyData = mysqli_fetch_assoc($companydetails);
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>TRF CIMAC</title>
|
<title>TRF CIMAC</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta content="CIMAC TRF Portal" name="description" />
|
<meta content="CIMAC TRF Portal" name="description" />
|
||||||
<meta content="" name="author" />
|
<meta content="" name="author" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
<!-- App favicon -->
|
<!-- App favicon -->
|
||||||
<link rel="shortcut icon" href="../images/favicon.ico">
|
<link rel="shortcut icon" href="../images/favicon.ico">
|
||||||
|
|
||||||
<!--Form Wizard-->
|
<!--Form Wizard-->
|
||||||
<link href="../plugins/jquery-steps/jquery.steps.css" rel="stylesheet" type="text/css">
|
<link href="../plugins/jquery-steps/jquery.steps.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
<!-- App css -->
|
<!-- App css -->
|
||||||
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
<!-- submit form with button -->
|
<!-- submit form with button -->
|
||||||
<script>
|
<script>
|
||||||
function formSubmit() {
|
function formSubmit() {
|
||||||
document.forms["myForm"].submit();
|
document.forms["myForm"].submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!-- Top Bar Start -->
|
<!-- Top Bar Start -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Top Bar Start -->
|
<!-- Top Bar Start -->
|
||||||
<?php include('include/topbar.php'); ?>
|
<?php include('include/topbar.php'); ?>
|
||||||
<!-- Top Bar End -->
|
<!-- Top Bar End -->
|
||||||
|
|
||||||
|
|
||||||
<!-- Left Sidenav -->
|
<!-- Left Sidenav -->
|
||||||
<?php include('include/leftsidenav.php'); ?>
|
<?php include('include/leftsidenav.php'); ?>
|
||||||
<!-- end left-sidenav-->
|
<!-- end left-sidenav-->
|
||||||
|
|
||||||
<div class="page-wrapper">
|
<div class="page-wrapper">
|
||||||
<!-- Page Content-->
|
<!-- Page Content-->
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
|
|
||||||
|
<div class="container-fluid">
|
||||||
|
<!-- Page-Title -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<div class="page-title-box">
|
||||||
|
<div class="float-right">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="breadcrumb-item"><a href="javascript:void(0);">TRF</a></li>
|
||||||
|
<li class="breadcrumb-item active">Starter</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
<h4 class="page-title"><?php echo $titlewb; ?></h4>
|
||||||
|
</div><!--end page-title-box-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- card for additional info gloves -->
|
||||||
|
|
||||||
|
<div class="card">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- card for show requirements -->
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<h4 class="mt-0 header-title">Accettazione Regolamenti / Regulations Acceptance</h4>
|
||||||
|
<p>Per procedere all'utilizzo di questo portale è necessario accettare i regolamenti sotto indicati:<br>
|
||||||
|
To proceed with the use of this portal, you must accept the regulations listed below:</p>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<form action="" method="post" name="formcompany" class="was-validated" id="regulationForm">
|
||||||
|
<input type="hidden" id="formname" name="formname" value="Y">
|
||||||
|
<input type="hidden" name="datetoday" id="datetoday" value="<?php echo date("Y-m-d"); ?>">
|
||||||
|
|
||||||
|
<!-- Toggle 1 -->
|
||||||
|
<div class="form-group custom-control custom-switch">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="toggleTerms" onchange="checkToggles()">
|
||||||
|
<label class="custom-control-label" for="toggleTerms">
|
||||||
|
Accetto i termini e le condizioni d’uso della piattaforma PPEASY
|
||||||
|
<a href="terminiecondizioni.php" target="_blank">qui presenti</a> /
|
||||||
|
I agree to
|
||||||
|
<a href="termsandconditions.php" target="_blank">these terms and conditions</a> of use of the PPEASY platform
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Toggle 2 -->
|
||||||
|
<div class="form-group custom-control custom-switch">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="togglePrivacy" onchange="checkToggles()">
|
||||||
|
<label class="custom-control-label" for="togglePrivacy">
|
||||||
|
Dichiaro di aver letto e compreso l’informativa sui dati personali
|
||||||
|
<a href="informativappeasy.php" target="_blank">qui presente</a>./
|
||||||
|
I declare that I have read and understood the information on
|
||||||
|
<a href="privacydoc.php" target="_blank">personal data herein</a>.
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bottone finale -->
|
||||||
|
<button class="btn btn-gradient-primary mt-3" type="submit" id="acceptBtn" disabled>
|
||||||
|
ACCETTO TUTTO / ACCEPT ALL
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<script>
|
||||||
|
function checkToggles() {
|
||||||
|
const terms = document.getElementById('toggleTerms').checked;
|
||||||
|
const privacy = document.getElementById('togglePrivacy').checked;
|
||||||
|
document.getElementById('acceptBtn').disabled = !(terms && privacy);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php //include('include/companycontactform.php');
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
|
||||||
|
|
||||||
|
</div><!--end card-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
<!-- Page-Title -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12">
|
|
||||||
<div class="page-title-box">
|
|
||||||
<div class="float-right">
|
|
||||||
<ol class="breadcrumb">
|
|
||||||
<li class="breadcrumb-item"><a href="javascript:void(0);">TRF</a></li>
|
|
||||||
<li class="breadcrumb-item active">Starter</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<h4 class="page-title"><?php echo $titlewb; ?></h4>
|
|
||||||
</div><!--end page-title-box-->
|
|
||||||
</div><!--end col-->
|
</div><!--end col-->
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-12">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- card for additional info gloves -->
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- card for show requirements -->
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-body">
|
|
||||||
<h4 class="mt-0 header-title">Accettazione Privacy</h4>
|
|
||||||
<p>Per procedere all'utilizzo di questo portale è necessario accettare i regolamenti sotto indicati:</p>
|
|
||||||
|
|
||||||
<a href="https://www.cimac.it/it/privacy-policy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Privacy Policy</button></a> <a href="https://www.cimac.it/it/cookie-policy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Cookie Policy</button></a> <a href="https://www.cimac.it/informativa-privacy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Informativa Policy</button></a>
|
|
||||||
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<form action="" method="post" name="formcompany" class="was-validated">
|
|
||||||
|
|
||||||
<input type="hidden" id="formname" name="formname" value="Y">
|
|
||||||
<input type="hidden" name="datetoday" id="datetoday" value="<?php echo date("Y-m-d"); ?>">
|
|
||||||
<button class="btn btn-gradient-primary" type="submit">ACCETTO I REGOLAMENTI SOPRA RIPORTATI</button>
|
|
||||||
</form>
|
|
||||||
<?php //include('include/companycontactform.php'); ?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div><!--end card-body-->
|
|
||||||
|
|
||||||
|
|
||||||
</div><!--end card-->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div><!--end col-->
|
|
||||||
</div>
|
|
||||||
<!-- end page title end breadcrumb -->
|
<!-- end page title end breadcrumb -->
|
||||||
|
|
||||||
|
|
||||||
</div><!-- container -->
|
</div><!-- container -->
|
||||||
<!-- footer start -->
|
<!-- footer start -->
|
||||||
<?php include('include/footer.php'); ?>
|
<?php include('include/footer.php'); ?>
|
||||||
</footer><!--end footer-->
|
</footer><!--end footer-->
|
||||||
</div>
|
</div>
|
||||||
<!-- end page content -->
|
<!-- end page content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end page-wrapper -->
|
<!-- end page-wrapper -->
|
||||||
@@ -162,12 +197,12 @@ function formSubmit() {
|
|||||||
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
<script src="assets/js/jquery-ui.min.js"></script>
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
|
||||||
<script src="../plugins/jquery-steps/jquery.steps.min.js"></script>
|
<script src="../plugins/jquery-steps/jquery.steps.min.js"></script>
|
||||||
<script src="assets/pages/jquery.form-wizard.init.js"></script>
|
<script src="assets/pages/jquery.form-wizard.init.js"></script>
|
||||||
|
|
||||||
<!-- App js -->
|
<!-- App js -->
|
||||||
<script src="assets/js/app.js"></script>
|
<script src="assets/js/app.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -0,0 +1,142 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Privacy Policy</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Privacy Policy for PPeasy Platform" name="description" />
|
||||||
|
<meta content="Paola Crespi" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text strong,
|
||||||
|
.auth-logo-text span,
|
||||||
|
.auth-logo-text a {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: 10pt;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p:first-child strong {
|
||||||
|
font-size: 14pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text a {
|
||||||
|
color: #00F;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+strong,
|
||||||
|
.auth-logo-text strong+p,
|
||||||
|
.auth-logo-text strong+strong {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.privacy-title {
|
||||||
|
font-size: 18pt !important;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Privacy Policy page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
<br>
|
||||||
|
<p class="privacy-title">Privacy Policy</p>
|
||||||
|
|
||||||
|
<p><strong>Premise</strong></p>
|
||||||
|
<p>This document concerns the privacy policies of personal data for “CIMAC” (a business unit of Anci Servizi s.r.l. a sole shareholder, hereafter “ANCI”), which, through C.E. Soft s.r.l., manages the platform called PPeasy (the “Platform”). It describes how users’ personal data is processed.<br>
|
||||||
|
We regularly update the texts on the Platform to comply with legislative changes. Therefore, this document may be modified at ANCI’s discretion at any time, and continued use of the Platform implies acceptance of these changes. ANCI recommends users check this document regularly; any updates or changes will be published here.</p>
|
||||||
|
|
||||||
|
<p><strong>Privacy Policy</strong></p>
|
||||||
|
<p>In accordance with Recommendation No. 2/2001 (from European data protection authorities to identify minimum requirements for collecting personal data online, especially regarding the information that data controllers must provide to users when they access web pages, regardless of the purpose of the connection) and as required by Article 12 of the GDPR, Anci Servizi s.r.l. a sole shareholder, B.U. Cimac, as the Data Controller under Articles 4 and 24 of the GDPR (hereafter “Data Controller”), provides this information to supply the data subject with the details required by Article 13 of the GDPR and the communications under Articles 15 to 22 and 34 of the GDPR regarding the processing of personal data provided for platform access and subsequent use.<br>
|
||||||
|
We inform you that your personal data is processed according to the principles described in Article 5 of the GDPR (fairness, relevance, transparency, adequacy, confidentiality, and protection of rights) and that processing is carried out under the legal bases provided by Article 6 of the GDPR, for purposes related to the relationship established with the Data Controller. When browsing the Platform, the Data Controller does not collect any special categories of data as defined in Article 9 of the GDPR.<br>
|
||||||
|
From users of our Platform, we only process “Browsing Data, Cookies, and Data provided voluntarily by the user. We collect a limited amount of data, which we use to improve your experience and manage the services we provide (e.g., responding to your requests), based on Article 6(1)(b) and (f) of the GDPR.</p>
|
||||||
|
<p>You can view our full privacy notice here:<br>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/regolamentoprivacy.php">https://www.cimac.it/modulo_certificazione/public/regolamentoprivacy.php</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p><strong>Browsing Data</strong></p>
|
||||||
|
<p>The IT systems and software procedures used to operate the Platform acquire, during their normal operation, some personal data whose transmission is implicit in the use of Internet communication protocols. This category includes IP addresses or domain names of computers and terminals used by users, URI/URL addresses, etc.<br>
|
||||||
|
Data may be used to ascertain responsibility in case of hypothetical computer crimes. Browsing data is not retained for more than 30 days and is deleted after processing (except for any need to ascertain crimes by judicial authorities). We also record every login to the Platform for pages with restricted access.</p>
|
||||||
|
|
||||||
|
<p><strong>Cookies</strong></p>
|
||||||
|
<p>For information about cookies on the Platform, please refer to the full cookies policy available here:<br>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/cookie-policy-it.php">https://www.cimac.it/modulo_certificazione/public/cookie-policy-it.php</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p><strong>User Eligibility</strong></p>
|
||||||
|
<p>The Platform and its services are intended only for adults and registered users. By accessing the Platform, users confirm, under their sole responsibility, that they are at least 18 years old and fully capable of understanding and consenting.</p>
|
||||||
|
|
||||||
|
<p><strong>Liability</strong></p>
|
||||||
|
<p>ANCI is not responsible for Platform malfunctions or the inability/difficulty to provide services due to issues with telephone lines, electricity, or global/national networks, including but not limited to breakdowns, overloads, interruptions, or causes beyond its reasonable control (e.g., riots, terrorism, war, strikes, tornadoes, hurricanes, floods, fires, epidemics, landslides). ANCI will strive to maintain the Platform’s efficiency and functionality; if forced to interrupt use for exceptional events or maintenance, it will minimize such interruptions. ANCI is also not responsible for third-party actions or omissions that affect the Platform’s operation, including slowdowns or failures of telephone lines or computers managing telematic traffic.</p>
|
||||||
|
|
||||||
|
<p><strong>Applicable Law</strong></p>
|
||||||
|
<p>By accessing the Platform and browsing its web pages, the user agrees to be subject to the applicable laws in Italy. Written complaints should be sent to <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a>. ANCI will cooperate with authorities to resolve any complaints regarding personal data processing not resolved directly between the Controller and individuals. This privacy policy is governed by Italian law. Any disputes are subject to the jurisdiction of the Italian courts, specifically the Court of Milan.</p>
|
||||||
|
|
||||||
|
</div><!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<h4 class="mt-0 mb-3 mt-5"></h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Privacy Policy page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -11,7 +11,7 @@ if (isset($_GET['idtd'])) {
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Aggiungi Production Place</title>
|
<title><?php echo $addprodplace; ?></title>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
||||||
<style>
|
<style>
|
||||||
.container {
|
.container {
|
||||||
@@ -55,7 +55,7 @@ if (isset($_GET['idtd'])) {
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container mt-3">
|
<div class="container mt-3">
|
||||||
<h3>Aggiungi Production Place</h3>
|
<h3><?php echo $addprodplace; ?></h3>
|
||||||
<form id="productionPlaceForm" method="post" action="save_datalocplace.php">
|
<form id="productionPlaceForm" method="post" action="save_datalocplace.php">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="companyname" class="col-sm-2 col-form-label">Company Name</label>
|
<label for="companyname" class="col-sm-2 col-form-label">Company Name</label>
|
||||||
@@ -114,7 +114,7 @@ if (isset($_GET['idtd'])) {
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-9 offset-sm-3">
|
<div class="col-sm-9 offset-sm-3">
|
||||||
<button type="submit" class="btn btn-primary">Salva</button>
|
<button type="submit" class="btn btn-primary"><?php echo $savebutton; ?></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
@@ -123,10 +123,10 @@ if (isset($_GET['idtd'])) {
|
|||||||
<hr> <!-- Riga orizzontale -->
|
<hr> <!-- Riga orizzontale -->
|
||||||
<form name="search">
|
<form name="search">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="companysearch" class="col-sm-2 col-form-label">Ricerca azienda</label>
|
<label for="companysearch" class="col-sm-2 col-form-label"><?php echo $searchcomp; ?></label>
|
||||||
<div class="col-sm-7">
|
<div class="col-sm-7">
|
||||||
<input type="text" class="form-control" id="companysearch" name="companysearch" required>
|
<input type="text" class="form-control" id="companysearch" name="companysearch" required>
|
||||||
<small class="form-text text-muted" style="font-size: 12px;">Inserisci almeno 3 caratteri del nome della compagnia per iniziare la ricerca.</small>
|
<small class="form-text text-muted" style="font-size: 12px;"><?php echo $notesearchcomp; ?></small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -12,7 +12,7 @@ if (isset($_POST['idcompany'])) {
|
|||||||
} elseif (isset($_GET['idcompany'])) {
|
} elseif (isset($_GET['idcompany'])) {
|
||||||
$idcompany = intval($_GET['idcompany']);
|
$idcompany = intval($_GET['idcompany']);
|
||||||
} else {
|
} else {
|
||||||
die("Errore: idcompany non specificato.");
|
die(($_SESSION['langselect'] == 'en') ? "Error: idcompany not specified." : "Errore: idcompany non specificato.");
|
||||||
}
|
}
|
||||||
include('languages/' . $_SESSION['langselect'] . '/tdgen.php');
|
include('languages/' . $_SESSION['langselect'] . '/tdgen.php');
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ if (isset($_POST['submit'])) {
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
} else {
|
} else {
|
||||||
echo "Errore durante l'aggiornamento nel database.";
|
echo ($_SESSION['langselect'] == 'en') ? "Error during database update." : "Errore durante l'aggiornamento nel database.";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Modalità INSERT
|
// Modalità INSERT
|
||||||
@@ -69,7 +69,7 @@ if (isset($_POST['submit'])) {
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
} else {
|
} else {
|
||||||
echo "Errore durante l'inserimento nel database.";
|
echo ($_SESSION['langselect'] == 'en') ? "Error during database insertion." : "Errore durante l'inserimento nel database.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$conn->close();
|
$conn->close();
|
||||||
@@ -80,12 +80,12 @@ if (isset($_POST['submit'])) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="<?php echo ($_SESSION['langselect'] == 'en') ? 'en' : 'it'; ?>">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title><?php echo $editMode ? 'Modifica Qualificazione' : 'Aggiungi Qualificazione'; ?></title>
|
<title><?php echo $editMode ? ($_SESSION['langselect'] == 'en' ? 'Edit Qualification' : 'Modifica Qualificazione') : ($_SESSION['langselect'] == 'en' ? 'Add Qualification' : 'Aggiungi Qualificazione'); ?></title>
|
||||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
|
||||||
<script src="ckeditor/build/ckeditor.js"></script>
|
<script src="ckeditor/build/ckeditor.js"></script>
|
||||||
@@ -138,34 +138,34 @@ if (isset($_POST['submit'])) {
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<button type="button" class="btn btn-secondary" onclick="closeAndRefresh()">Chiudi e Aggiorna</button>
|
<button type="button" class="btn btn-secondary" onclick="closeAndRefresh()"><?php echo ($_SESSION['langselect'] == 'en') ? 'Close and Refresh' : 'Chiudi e Aggiorna'; ?></button>
|
||||||
<h3><?php echo $editMode ? 'Modifica Controllo Qualità produzione' : 'Aggiungi Controllo Qualità produzione'; ?></h3>
|
<h3><?php echo $editMode ? ($_SESSION['langselect'] == 'en' ? 'Edit Production Quality Control' : 'Modifica Controllo Qualità produzione') : ($_SESSION['langselect'] == 'en' ? 'Add Production Quality Control' : 'Aggiungi Controllo Qualità produzione'); ?></h3>
|
||||||
|
|
||||||
<form action="qualcheck.php?idcompany=<?php echo $idcompany; ?>" method="post">
|
<form action="qualcheck.php?idcompany=<?php echo $idcompany; ?>" method="post">
|
||||||
<input type="hidden" name="idcompany" value="<?php echo $idcompany; ?>">
|
<input type="hidden" name="idcompany" value="<?php echo $idcompany; ?>">
|
||||||
<input type="hidden" name="qualcheck_id" value="<?php echo $qualcheckId; ?>">
|
<input type="hidden" name="qualcheck_id" value="<?php echo $qualcheckId; ?>">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="descriptionQualcheck">Descrizione:</label>
|
<label for="descriptionQualcheck"><?php echo ($_SESSION['langselect'] == 'en') ? 'Description:' : 'Descrizione:'; ?></label>
|
||||||
<input type="text" class="form-control" id="descriptionQualcheck" name="descriptionqualcheck" value="<?php echo $description; ?>" required>
|
<input type="text" class="form-control" id="descriptionQualcheck" name="descriptionqualcheck" value="<?php echo $description; ?>" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="qualcheckText">Controllo Qualità produzione:</label>
|
<label for="qualcheckText"><?php echo ($_SESSION['langselect'] == 'en') ? 'Production Quality Control:' : 'Controllo Qualità produzione:'; ?></label>
|
||||||
<textarea class="form-control" id="qualcheckText" name="qualchecktext" rows="5"><?php echo $qualchecktext; ?></textarea>
|
<textarea class="form-control" id="qualcheckText" name="qualchecktext" rows="5"><?php echo $qualchecktext; ?></textarea>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary" name="submit"><?php echo $editMode ? 'Aggiorna' : 'Aggiungi'; ?></button>
|
<button type="submit" class="btn btn-primary" name="submit"><?php echo $editMode ? ($_SESSION['langselect'] == 'en' ? 'Update' : 'Aggiorna') : ($_SESSION['langselect'] == 'en' ? 'Add' : 'Aggiungi'); ?></button>
|
||||||
<?php if ($editMode) { ?>
|
<?php if ($editMode) { ?>
|
||||||
<a href="qualcheck.php?idcompany=<?php echo $idcompany; ?>" class="btn btn-secondary">Annulla Modifica</a>
|
<a href="qualcheck.php?idcompany=<?php echo $idcompany; ?>" class="btn btn-secondary"><?php echo ($_SESSION['langselect'] == 'en') ? 'Cancel Edit' : 'Annulla Modifica'; ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container mt-5">
|
<div class="container mt-5">
|
||||||
<h3>Controllo Qualità produzione Inseriti</h3>
|
<h3><?php echo ($_SESSION['langselect'] == 'en') ? 'Inserted Production Quality Controls' : 'Controllo Qualità produzione Inseriti'; ?></h3>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Descrizione</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Description' : 'Descrizione'; ?></th>
|
||||||
<th>Azioni</th>
|
<th><?php echo ($_SESSION['langselect'] == 'en') ? 'Actions' : 'Azioni'; ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@@ -0,0 +1,155 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>CIMAC Application Form</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||||
|
<meta content="" name="author" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<!-- App favicon -->
|
||||||
|
<link rel="shortcut icon" href="../assets/images/favicon.ico">
|
||||||
|
|
||||||
|
<!-- App css -->
|
||||||
|
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/metisMenu.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.auth-logo-text {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p,
|
||||||
|
.auth-logo-text strong,
|
||||||
|
.auth-logo-text span,
|
||||||
|
.auth-logo-text a {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-size: 10pt;
|
||||||
|
font-family: Calibri, sans-serif;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p:first-child strong {
|
||||||
|
font-size: 14pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text a {
|
||||||
|
color: #00F;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.auth-logo-text p+p,
|
||||||
|
.auth-logo-text p+strong,
|
||||||
|
.auth-logo-text strong+p,
|
||||||
|
.auth-logo-text strong+strong {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.privacy-title {
|
||||||
|
font-size: 18pt !important;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="account-body accountbg">
|
||||||
|
|
||||||
|
<!-- Log In page -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row vh-100 ">
|
||||||
|
<div class="col-12 align-self-center">
|
||||||
|
<div>
|
||||||
|
<div class="card auth-card shadow-lg">
|
||||||
|
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="px-5">
|
||||||
|
<div>
|
||||||
|
<a href="https://www.cimac.it/modulo_certificazione/public/login" class="logo logo-admin"><img src="assets/img/cimac-logo.png" height="55" alt="logo" class="auth-logo"></a>
|
||||||
|
</div><!--end auth-logo-box-->
|
||||||
|
|
||||||
|
<div class="text-center auth-logo-text">
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>Privacy Policy</title>
|
||||||
|
<meta name="author" content="Paola Crespi" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<br>
|
||||||
|
<p class="privacy-title">Privacy Policy</p>
|
||||||
|
|
||||||
|
<p><strong>Premesse</strong></p>
|
||||||
|
<p>Questo documento, concernente le politiche di riservatezza dei dati personali di “CIMAC” B.U. di Anci Servizi s.r.l. a socio unico (di seguito “ANCI”) che, tramite la società C.E. Soft s.r.l. gestisce la Piattaforma denominata PPeasy (di seguito la “Piattaforma”), e descrive le modalità di trattamento dei dati personali degli utenti della Piattaforma<br>
|
||||||
|
Vi ricordiamo che è nostra prassi aggiornare costantemente i testi presenti in Piattaforma ed adeguarli alle novità legislative. Pertanto, il presente documento potrà essere modificato a discrezione di ANCI in qualsiasi parte lo ritenga opportuno e l'utilizzo successivo della Piattaforma ne determinerà l'accettazione. ANCI raccomanda agli utenti di controllare il presente documento con regolarità; eventuali aggiornamenti e/o modifiche saranno qui pubblicati.</p>
|
||||||
|
|
||||||
|
<p><strong>Privacy Policy</strong></p>
|
||||||
|
<p>In accordo con la Raccomandazione n. 2/2001 (raccomandazione delle autorità europee per la protezione dei dati personali per individuare alcuni requisiti minimi per la raccolta di dati personali on-line, e, in particolare, le modalità, i tempi e la natura delle informazioni che i titolari del trattamento devono fornire agli utenti quando questi si collegano a pagine web, indipendentemente dagli scopi del collegamento) e per come richiesto dall’art 12 GDPR, Anci Servizi s.r.l. a socio unico, B.U. Cimac, nella sua qualità di Titolare del trattamento dei dati personali ai sensi dell’art 4 e 24 GDPR (da qui in avanti solo il Titolare), somministra la seguente informativa quale misura per fornire all’interessato le informazioni di cui all’art 13 GDPR e le comunicazioni di cui agli artt. da 15 a 22 e 34 GDPR relative al trattamento dei dati personali forniti in sede di accredito per l’utilizzo della piattaforma e per il suo successivo uso.<br>
|
||||||
|
|
||||||
|
In via preliminare la informiamo che i Suoi dati personali sono trattati in base ai principi applicabili al trattamento di dati personali per come descritti nell’art 5 GDPR, i.e. i principi di correttezza, pertinenza, trasparenza, adeguatezza, tutela della riservatezza e dei diritti ecc. e che il trattamento è svolto in base alle condizioni di liceità previste ex art 6 GDPR, per le finalità inerenti al rapporto instaurato con il Titolare ed infine che, navigando sulla Piattaforma, il Titolare non raccoglie alcun suo dato particolare per come definito in art 9 GDPR.<br>
|
||||||
|
|
||||||
|
Dagli utilizzatori della nostra Piattaforma trattiamo solo dati appartenenti alla tipologia di “<em>Dati di Navigazione, Cookies e Dati comunicati dall'utente e spontaneamente forniti,</em> raccogliamo, pertanto, un numero limitato di dati, che utilizziamo per migliorare la vostra esperienza d’uso della nostra Piattaforma e per gestire i servizi che forniamo (ad es.: risposte alle vostre richieste) base giuridica: art 6 comma 1 lett. b ed f.</p>
|
||||||
|
<p>Qui può prendere visione della nostra Informativa sul trattamento dei dati personali.<br> <br><a href="https://www.cimac.it/modulo_certificazione/public/regolamentoprivacy.php">https://www.cimac.it/modulo_certificazione/public/regolamentoprivacy.php</a></p>
|
||||||
|
|
||||||
|
<p>In relazione ai <strong>dati di Navigazione</strong> segnaliamo che i sistemi informatici e le procedure software preposte al funzionamento della Piattaforma acquisiscono, nel corso del loro normale esercizio, alcuni dati personali la cui trasmissione è implicita nell’uso dei protocolli di comunicazione di Internet. In questa categoria di dati rientrano gli indirizzi IP o i nomi a dominio dei computer e dei terminali utilizzati dagli utenti, gli indirizzi in dotazione URI/URL (Uniform Resource Identifier/Locator). I dati potrebbero essere utilizzati per l’accertamento di responsabilità in caso di ipotetici reati informatici. I dati di navigazione non persistono per più di 30 giorni e vengono cancellati dopo l’elaborazione (salve eventuali necessità di accertamento di reati da parte dell'Autorità giudiziaria). Inoltre avremo contezza di ogni accesso effettuato tramite login alla presente Piattaforma in relazione alle pagine con accesso riservato<br>
|
||||||
|
In relazione ai <strong>Cookies</strong> presenti sulla Piattaforma si rimanda integralmente a quanto previsto nella cookies policy qui disponibile <a id="_anchor_2" href="#_msocom_2" language="JavaScript" name="_msoanchor_2">[ml2]</a>.</p>
|
||||||
|
<p><a href="https://www.cimac.it/modulo_certificazione/public/cookie-policy-it.php">https://www.cimac.it/modulo_certificazione/public/cookie-policy-it.php</a></p>
|
||||||
|
<p>Si ricorda che La piattaforma ed i suoi servizi sono destinati unicamente ai maggiorenni, nonché, agli utenti registrati.<br>
|
||||||
|
Gli utenti con l’accesso alla Piattaforma confermano, sotto piena ed esclusiva responsabilità personale, di aver compiuto il diciottesimo anno di età e di essere pienamente capaci di intendere e di volere.</p>
|
||||||
|
<p><strong>Responsabilità</strong>
|
||||||
|
<p>Anci non sarà ritenuta in alcun modo responsabile del malfunzionamento della Piattaforma o dell’impossibilità o difficoltà di svolgere le prestazioni accessorie derivanti da responsabilità dei gestori delle linee telefoniche, elettriche e di reti mondiali e nazionali, a titolo esemplificativo, ma non esaustivo, a seguito di guasti, sovraccarichi, interruzioni, ecc. ovvero da cause al di fuori della propria sfera di ragionevole controllo o da cause di forza maggiore o caso fortuito, quali, a titolo esemplificativo e non esaustivo, tumulti popolari, atti di terrorismo e di guerra, scioperi, sommosse, trombe d’aria, uragani, alluvioni, incendi, epidemie, frane e smottamenti.<br>
|
||||||
|
ANCI si impegna a mantenere l'efficienza e la funzionalità della Piattaforma; qualora fosse costretta ad interromperne l’uso per eventi eccezionali o per manutenzione, conterrà nel minor tempo possibile tali interruzioni o sospensioni.<br>
|
||||||
|
ANCI non sarà altresì responsabile per comportamenti o omissioni di terzi che pregiudichino il funzionamento della Piattaforma, compresi, in via esemplificativa e non esaustiva, i rallentamenti di velocità o il mancato funzionamento delle linee telefoniche e degli elaboratori che gestiscono il traffico telematico tra gli utilizzatori e la Piattaforma.</p>
|
||||||
|
<p><strong>Applicazione della normativa</strong></p>
|
||||||
|
<p>L’utente, accedendo alla Piattaforma e navigando nelle relative pagine web, dichiara di accettare la sottoposizione alle applicabili normative vigenti in Italia.<br>
|
||||||
|
È nostra prassi rispondere agli utenti che inviano reclami scritti formali all’indirizzo e-mail <a href="mailto:privacy@assocalzaturifici.it">privacy@assocalzaturifici.it</a> per approfondire il problema segnalato. Ci impegniamo a collaborare con le autorità competenti, per dirimere eventuali reclami riguardo al trattamento di dati personali che non vengano risolti direttamente tra il Titolare ed i singoli privati.<br>
|
||||||
|
La presente privacy policy è disciplinata dalla legge italiana. Ogni controversia relativa al rispetto è soggetta in via non esclusiva alla giurisdizione italiana, con competenza del Tribunale di Milano.</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
</div> <!--end auth-logo-text-->
|
||||||
|
|
||||||
|
<h4 class="mt-0 mb-3 mt-5"></h4>
|
||||||
|
<br><br><br><br><br><br><br><br><br><br><br><br><br>
|
||||||
|
|
||||||
|
</div><!--end card-body-->
|
||||||
|
</div><!--end card-->
|
||||||
|
</div><!--end auth-card-->
|
||||||
|
</div><!--end col-->
|
||||||
|
</div><!--end row-->
|
||||||
|
</div><!--end container-->
|
||||||
|
<!-- End Log In page -->
|
||||||
|
|
||||||
|
<!-- jQuery -->
|
||||||
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
|
<script src="assets/js/jquery-ui.min.js"></script>
|
||||||
|
<script src="assets/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/js/metismenu.min.js"></script>
|
||||||
|
<script src="assets/js/waves.js"></script>
|
||||||
|
<script src="assets/js/feather.min.js"></script>
|
||||||
|
<script src="assets/js/jquery.slimscroll.min.js"></script>
|
||||||
|
|
||||||
|
<!-- App js -->
|
||||||
|
<script src="../assets/js/app.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -40,11 +40,9 @@ if (isset($_POST["rangemeasuremaxtext"])) {
|
|||||||
if (isset($_POST["articletype"])) {
|
if (isset($_POST["articletype"])) {
|
||||||
$articletype = $_POST["articletype"];
|
$articletype = $_POST["articletype"];
|
||||||
}
|
}
|
||||||
if (isset($_POST["previousreportnumber"])) {
|
$previousreportnumber = isset($_POST["previousreportnumber"])
|
||||||
$previousreportnumber = $_POST["previousreportnumber"];
|
? $_POST["previousreportnumber"]
|
||||||
} else {
|
: null;
|
||||||
$previousreportnumber = '';
|
|
||||||
}
|
|
||||||
if (isset($_POST["toextend"])) {
|
if (isset($_POST["toextend"])) {
|
||||||
$toextend = $_POST["toextend"];
|
$toextend = $_POST["toextend"];
|
||||||
} else {
|
} else {
|
||||||
@@ -153,7 +151,9 @@ if (isset($formupdtrfdetails)) {
|
|||||||
$UpdateQuery->bindColumn("idarticletype", "i", "$articletype", "WA_DEFAULT");
|
$UpdateQuery->bindColumn("idarticletype", "i", "$articletype", "WA_DEFAULT");
|
||||||
$UpdateQuery->bindColumn("idarticle_characteristics", "s", "$listartchar", "WA_DEFAULT");
|
$UpdateQuery->bindColumn("idarticle_characteristics", "s", "$listartchar", "WA_DEFAULT");
|
||||||
$UpdateQuery->bindColumn("registeredmark", "s", "$registeredmark", "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("toextend", "s", "$toextend", "WA_DEFAULT");
|
||||||
$UpdateQuery->bindColumn("revisionfor", "s", "$revisionfor", "WA_DEFAULT");
|
$UpdateQuery->bindColumn("revisionfor", "s", "$revisionfor", "WA_DEFAULT");
|
||||||
$UpdateQuery->bindColumn("renewdate", "s", "$renewdate", "WA_DEFAULT");
|
$UpdateQuery->bindColumn("renewdate", "s", "$renewdate", "WA_DEFAULT");
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -152,23 +152,23 @@ $conn->close();
|
|||||||
?>
|
?>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="mt-0">Allega documenti al tuo fascicolo tecnico <i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center5"></i>
|
<h4 class="mt-0"><?php echo ($_SESSION['langselect'] == 'en') ? 'Attach documents to your technical dossier' : 'Allega documenti al tuo fascicolo tecnico'; ?> <i class="fas fa-info-circle" data-toggle="modal" data-animation="bounce" data-target=".bs-example-modal-center5"></i></h4>
|
||||||
<div class="modal fade bs-example-modal-center5" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
<div class="modal fade bs-example-modal-center5" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog modal-dialog-centered">
|
<div class="modal-dialog modal-dialog-centered">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title mt-0" id="exampleModalLabel"><?php echo $m18btitle; ?></h5>
|
<h5 class="modal-title mt-0" id="exampleModalLabel"><?php echo $m18btitle; ?></h5>
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p><?php echo nl2br($documenthelp); ?>
|
<p><?php echo nl2br($documenthelp); ?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.modal-content -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal -->
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -484,7 +484,7 @@ $conn->close();
|
|||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<label class="my-3"><?php echo $obsoldate; ?> (anni)</label>
|
<label class="my-3"><?php echo $obsoldate; ?> </label>
|
||||||
<input type="text" class="form-control data-field" placeholder="<?php echo $obsoldate; ?>" data-column="obsolescencedeadline" id="obsolescencedeadline" required name="obsolescencedeadline" value="<?php echo isset($rowtd['obsolescencedeadline']) ? htmlspecialchars($rowtd['obsolescencedeadline'], ENT_QUOTES, 'UTF-8') : ''; ?>">
|
<input type="text" class="form-control data-field" placeholder="<?php echo $obsoldate; ?>" data-column="obsolescencedeadline" id="obsolescencedeadline" required name="obsolescencedeadline" value="<?php echo isset($rowtd['obsolescencedeadline']) ? htmlspecialchars($rowtd['obsolescencedeadline'], ENT_QUOTES, 'UTF-8') : ''; ?>">
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@@ -504,10 +504,14 @@ $conn->close();
|
|||||||
<?php echo $ceexample; ?>
|
<?php echo $ceexample; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="my-3">Vuoi caricare un esempio di marcatura?</label>
|
<label class="my-3"><?php echo $uploadExample; ?></label>
|
||||||
<select class="form-control data-field" data-column="cemarkupload" id="cemarkUploadSelect" name="cemarkupload">
|
<select class="form-control data-field" data-column="cemarkupload" id="cemarkUploadSelect" name="cemarkupload">
|
||||||
<option value="N" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'N') ? 'selected' : ''; ?>>No</option>
|
<option value="N" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'N') ? 'selected' : ''; ?>>
|
||||||
<option value="Y" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'Y') ? 'selected' : ''; ?>>Sì</option>
|
<?php echo ($_SESSION['langselect'] == 'en') ? 'No' : 'No'; ?>
|
||||||
|
</option>
|
||||||
|
<option value="Y" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'Y') ? 'selected' : ''; ?>>
|
||||||
|
<?php echo ($_SESSION['langselect'] == 'en') ? 'Yes' : 'Sì'; ?>
|
||||||
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<div id="inputFieldsSection" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'N') ? '' : 'style="display: none;"'; ?>>
|
<div id="inputFieldsSection" <?php echo (isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'N') ? '' : 'style="display: none;"'; ?>>
|
||||||
@@ -529,7 +533,7 @@ $conn->close();
|
|||||||
$result = $stmt->get_result();
|
$result = $stmt->get_result();
|
||||||
|
|
||||||
// Inizia le opzioni con un'opzione di default che funge da prompt
|
// Inizia le opzioni con un'opzione di default che funge da prompt
|
||||||
$options = "<option value=''>Seleziona un logo</option>";
|
$options = "<option value=''>$selectLogo</option>";
|
||||||
|
|
||||||
if ($result->num_rows > 0) {
|
if ($result->num_rows > 0) {
|
||||||
while ($row = $result->fetch_assoc()) {
|
while ($row = $result->fetch_assoc()) {
|
||||||
@@ -541,7 +545,7 @@ $conn->close();
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Aggiungi un'opzione se non ci sono loghi disponibili
|
// Aggiungi un'opzione se non ci sono loghi disponibili
|
||||||
$options .= "<option value=''>Nessun logo disponibile</option>";
|
$options .= "<option value=''>$noLogoAvailable</option>";
|
||||||
}
|
}
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
$conn->close();
|
$conn->close();
|
||||||
@@ -551,7 +555,7 @@ $conn->close();
|
|||||||
<select class="form-control data-field" data-column="manufacturerlogoid" id="logoSelection" name="manufacturerlogoid">
|
<select class="form-control data-field" data-column="manufacturerlogoid" id="logoSelection" name="manufacturerlogoid">
|
||||||
<?php echo $options; ?>
|
<?php echo $options; ?>
|
||||||
</select><br>
|
</select><br>
|
||||||
<a href="javascript:void(0);" onclick="openPopup()" style="font-size: small; text-decoration: underline; color: blue;">Aggiungi Logo</a>
|
<a href="javascript:void(0);" onclick="openPopup()" style="font-size: small; text-decoration: underline; color: blue;"><?php echo $addLogo; ?></a>
|
||||||
|
|
||||||
<img id="selectedLogo" src="" alt="Selected Logo" style="max-width: 100px; margin-top: 10px; display: none;">
|
<img id="selectedLogo" src="" alt="Selected Logo" style="max-width: 100px; margin-top: 10px; display: none;">
|
||||||
|
|
||||||
@@ -604,7 +608,7 @@ $conn->close();
|
|||||||
<div id="fileUploadSection" <?php echo isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'Y' ? '' : 'style="display: none;"'; ?>>
|
<div id="fileUploadSection" <?php echo isset($rowtd['cemarkupload']) && $rowtd['cemarkupload'] == 'Y' ? '' : 'style="display: none;"'; ?>>
|
||||||
<form></form>
|
<form></form>
|
||||||
<form action="upload_mark.php" method="post" id="uploadFormMark" name="uploadFormMark" enctype="multipart/form-data">
|
<form action="upload_mark.php" method="post" id="uploadFormMark" name="uploadFormMark" enctype="multipart/form-data">
|
||||||
<label class="my-3">Carica il file:</label>
|
<label class="my-3"><?php echo ($_SESSION['langselect'] == 'en') ? 'Upload the file:' : 'Carica il file:'; ?></label>
|
||||||
<?php
|
<?php
|
||||||
// Connessione al database
|
// Connessione al database
|
||||||
$conn = new mysqli($servername, $username, $password, $dbname);
|
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||||
@@ -637,7 +641,7 @@ $conn->close();
|
|||||||
if ($fileUploaded) {
|
if ($fileUploaded) {
|
||||||
// Inizia la tabella
|
// Inizia la tabella
|
||||||
echo "<table class='table'>";
|
echo "<table class='table'>";
|
||||||
echo "<thead><tr><th>Anteprima</th><th>File</th><th>Azione</th></tr></thead>";
|
echo "<thead><tr><th>" . ($_SESSION['langselect'] == 'en' ? 'Preview' : 'Anteprima') . "</th><th>" . ($_SESSION['langselect'] == 'en' ? 'File' : 'File') . "</th><th>" . ($_SESSION['langselect'] == 'en' ? 'Action' : 'Azione') . "</th></tr></thead>";
|
||||||
echo "<tbody>";
|
echo "<tbody>";
|
||||||
while ($rowtdfile = $resulttdfile->fetch_assoc()) {
|
while ($rowtdfile = $resulttdfile->fetch_assoc()) {
|
||||||
$filePath = 'uploadtddocuments/' . htmlspecialchars($rowtdfile['filename_fileattached']);
|
$filePath = 'uploadtddocuments/' . htmlspecialchars($rowtdfile['filename_fileattached']);
|
||||||
@@ -786,7 +790,7 @@ $conn->close();
|
|||||||
$resultqual = $stmt->get_result();
|
$resultqual = $stmt->get_result();
|
||||||
|
|
||||||
// Inizia le opzioni con un'opzione di default che funge da prompt
|
// Inizia le opzioni con un'opzione di default che funge da prompt
|
||||||
$options = "<option value=''>Seleziona un controllo di qualità</option>";
|
$options = "<option value=''>$selectQualityControl </option>";
|
||||||
|
|
||||||
if ($resultqual->num_rows > 0) {
|
if ($resultqual->num_rows > 0) {
|
||||||
|
|
||||||
@@ -816,7 +820,7 @@ $conn->close();
|
|||||||
$conn->close();
|
$conn->close();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<label class="my-3">Descrizione mezzi di controllo della produzione</label>
|
<label class="my-3"><?php echo $productionControlDescription; ?></label>
|
||||||
<select class="form-control data-field" data-column="proddescription" id="proddesc" name="proddescription">
|
<select class="form-control data-field" data-column="proddescription" id="proddesc" name="proddescription">
|
||||||
<?php echo $options; ?>
|
<?php echo $options; ?>
|
||||||
</select><br>
|
</select><br>
|
||||||
@@ -840,7 +844,7 @@ $conn->close();
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<br>
|
<br>
|
||||||
<a href="javascript:void(0);" onclick="openPopup2()" style="font-size: small; text-decoration: underline; color: blue;">Aggiungi mezzi di controllo</a><br>
|
<a href="javascript:void(0);" onclick="openPopup2()" style="font-size: small; text-decoration: underline; color: blue;"><?php echo $addControlMeans; ?></a><br>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|||||||
@@ -25,11 +25,23 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
|
|
||||||
// Lista dei campi da sanificare e controllare se sono piene
|
// Lista dei campi da sanificare e controllare se sono piene
|
||||||
$fields = [
|
$fields = [
|
||||||
'productionplace_same', 'classificationshoes', 'destinationuseppe',
|
'productionplace_same',
|
||||||
'manufacutringprocess', 'ppeageing', 'obsolescencedeadline',
|
'classificationshoes',
|
||||||
'localisationppemarking', 'manufacturerlogoid', 'sizeexamplecemark',
|
'destinationuseppe',
|
||||||
'monthyearprod', 'serialbatchnumber', 'standarduse', 'symbolsaddreq',
|
'manufacutringprocess',
|
||||||
'proddescription', 'packaging', 'declarconformity', 'webaddress'
|
'ppeageing',
|
||||||
|
'obsolescencedeadline',
|
||||||
|
'localisationppemarking',
|
||||||
|
'manufacturerlogoid',
|
||||||
|
'sizeexamplecemark',
|
||||||
|
'monthyearprod',
|
||||||
|
'serialbatchnumber',
|
||||||
|
'standarduse',
|
||||||
|
'symbolsaddreq',
|
||||||
|
'proddescription',
|
||||||
|
'packaging',
|
||||||
|
'declarconformity',
|
||||||
|
'webaddress'
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
@@ -382,7 +394,7 @@ $archivetrflist->execute(); ?>
|
|||||||
<?php while (!$riskquery->atEnd()) { ?>
|
<?php while (!$riskquery->atEnd()) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php echo $riskquery->getColumnVal("risknumber"); ?></th>
|
<th scope="row"><?php echo $riskquery->getColumnVal("risknumber"); ?></th>
|
||||||
<td><?php echo $riskquery->getColumnVal("riskname_it"); ?></td>
|
<td><?php echo ($_SESSION['langselect'] == 'en') ? $riskquery->getColumnVal("riskname_en") : $riskquery->getColumnVal("riskname_it"); ?></td>
|
||||||
<td>
|
<td>
|
||||||
<div class="custom-control custom-checkbox">
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" class="custom-control-input" id="customCheck<?php echo $riskquery->getColumnVal("risknumber"); ?>" <?php if ($riskquery->getColumnVal("applicable") == "1") echo 'checked'; ?>>
|
<input type="checkbox" class="custom-control-input" id="customCheck<?php echo $riskquery->getColumnVal("risknumber"); ?>" <?php if ($riskquery->getColumnVal("applicable") == "1") echo 'checked'; ?>>
|
||||||
@@ -393,7 +405,7 @@ $archivetrflist->execute(); ?>
|
|||||||
<td style="width: 40%;">
|
<td style="width: 40%;">
|
||||||
<div class="col-sm-24">
|
<div class="col-sm-24">
|
||||||
<select class="form-control data-field" data-column="coveredby" id="coveredby<?php echo $riskquery->getColumnVal("risknumber"); ?>" name="coveredby">
|
<select class="form-control data-field" data-column="coveredby" id="coveredby<?php echo $riskquery->getColumnVal("risknumber"); ?>" name="coveredby">
|
||||||
<option value="default" <?php echo ($coveredbyValue === '' || $coveredbyValue === null) ? 'selected' : ''; ?>>Seleziona/Select</option>
|
<option value="default" <?php echo ($coveredbyValue === '' || $coveredbyValue === null) ? 'selected' : ''; ?>><?php echo ($_SESSION['langselect'] == 'en') ? 'Select' : 'Seleziona'; ?></option>
|
||||||
<option value="coverone" <?php echo ($coveredbyValue == 'coverone') ? 'selected' : ''; ?>><?php echo $coverone; ?></option>
|
<option value="coverone" <?php echo ($coveredbyValue == 'coverone') ? 'selected' : ''; ?>><?php echo $coverone; ?></option>
|
||||||
<option value="covertwo" <?php echo ($coveredbyValue == 'covertwo') ? 'selected' : ''; ?>><?php echo $covertwo; ?></option>
|
<option value="covertwo" <?php echo ($coveredbyValue == 'covertwo') ? 'selected' : ''; ?>><?php echo $covertwo; ?></option>
|
||||||
<option value="coverthree" <?php echo ($coveredbyValue == 'coverthree') ? 'selected' : ''; ?>><?php echo $coverthree; ?></option>
|
<option value="coverthree" <?php echo ($coveredbyValue == 'coverthree') ? 'selected' : ''; ?>><?php echo $coverthree; ?></option>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user