start to change layout
This commit is contained in:
parent
deb384a31e
commit
d8dc15ac48
@ -690,8 +690,8 @@ $partids[] = '0';
|
||||
if (missingMandatoryParts.length > 0) {
|
||||
Swal.fire({
|
||||
icon: "error",
|
||||
title: "Parti Obbligatorie Mancanti",
|
||||
text: "Le seguenti parti sono obbligatorie e devono essere inserite: " + missingMandatoryParts.join(", "),
|
||||
title: "Parti Obbligatorie Mancanti/Missing Mandatory Parts",
|
||||
text: "Le seguenti parti sono obbligatorie e devono essere inserite/The following parts are mandatory and must be included: " + missingMandatoryParts.join(", "),
|
||||
confirmButtonText: "OK"
|
||||
});
|
||||
} else if (missingParts.length > 0) {
|
||||
|
||||
@ -348,3 +348,9 @@ $uploadButtonTitle = "Upload";
|
||||
$companyLogoAltTitle = "Company Logo";
|
||||
$respsign = "Send to Sign to another colleagues of the same company";
|
||||
$adduserundersamecompany = "Add User";
|
||||
$signaturetext = '<br>
|
||||
The signature token is used to confirm the submission of the application form.<br><br>
|
||||
The token is a fixed 6-digit numeric code that will be randomly generated by our system and sent via email to your registered address.<br><br>
|
||||
The token will remain valid until you regenerate it on this page.<br><br>
|
||||
To reset the signature token <a href="tokengenerationsig.php">CLICK HERE</a>.<br><br>
|
||||
The token will be generated and sent to the email address: ' . $emailuser . '<br><br>';
|
||||
|
||||
@ -352,3 +352,11 @@ $uploadButtonTitle = "Carica";
|
||||
$companyLogoAltTitle = "Logo Aziendale";
|
||||
$respsign = "Invia a collega della stessa azienda per Firma";
|
||||
$adduserundersamecompany = "Aggiungi utente";
|
||||
$signaturetext = '<br>
|
||||
<!-- Versione Italiana -->
|
||||
Il token per la firma servirà per confermare l\'invio dell\'application form.<br><br>
|
||||
Il token è un codice numerico fisso di 6 cifre che verrà generato casualmente dai nostri sistemi e inviato via mail all\'indirizzo da te registrato.<br><br>
|
||||
Il token sarà valido finchè non sarai tu a rigenerarlo da questa pagina.<br><br>
|
||||
Per re-impostare il signature token <a href="tokengenerationsig.php">CLICCA QUI</a>.<br><br>
|
||||
Il token verrà generato e inviato via mail all\'indirizzo: ' . $emailuser . '<br><br>
|
||||
';
|
||||
|
||||
@ -252,8 +252,6 @@ while ($row = mysqli_fetch_assoc($result)) {
|
||||
?>
|
||||
|
||||
<?php
|
||||
// duplicate row for identificationparts
|
||||
|
||||
// Connessione al database
|
||||
$conn = mysqli_connect($servername, $username, $password, $dbname);
|
||||
|
||||
@ -264,24 +262,32 @@ $result = mysqli_query($conn, $query);
|
||||
// Ciclo attraverso i risultati e duplico le righe
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
|
||||
// Imposto il valore di idtrfdetails come 250
|
||||
// Imposto il nuovo valore per idtrfdetails
|
||||
$row['idtrfdetails'] = $newidtrfnumber;
|
||||
|
||||
// Lascio identificationparts nullo
|
||||
// Rimuovo l'id originale in modo che venga assegnato un nuovo ID in inserimento
|
||||
unset($row['ididentificationparts']);
|
||||
|
||||
// Query per duplicare la riga
|
||||
// Eseguiamo l'escape per ogni valore
|
||||
foreach ($row as $key => $value) {
|
||||
$row[$key] = mysqli_real_escape_string($conn, $value);
|
||||
}
|
||||
|
||||
// Preparo la query di inserimento
|
||||
$columns = implode(", ", array_keys($row));
|
||||
$values = "'" . implode("', '", array_values($row)) . "'";
|
||||
$sql_insert = "INSERT INTO identificationparts ($columns) VALUES ($values)";
|
||||
|
||||
// Eseguo la query
|
||||
if ($conn->query($sql_insert) === TRUE) {
|
||||
echo "Nuova riga inserita con successo identificationparts";
|
||||
echo "Nuova riga inserita con successo in identificationparts";
|
||||
} else {
|
||||
echo "Errore nell'inserimento della nuova riga: " . $conn->error;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
// duplicate row for trfaddrequirements
|
||||
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
|
||||
|
||||
<?php
|
||||
include('include/headscript.php'); ?>
|
||||
|
||||
<?php
|
||||
if (isset($_POST["formname"])) {
|
||||
$formname=$_POST["formname"]; }
|
||||
else {
|
||||
$formname="N"; }
|
||||
$formname = $_POST["formname"];
|
||||
} else {
|
||||
$formname = "N";
|
||||
}
|
||||
if (isset($_GET["tokenupdate"])) {
|
||||
$tokenupdate=$_GET["tokenupdate"]; }
|
||||
$tokenupdate = $_GET["tokenupdate"];
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
@ -141,17 +141,7 @@ include('include/mailmessage.php');
|
||||
|
||||
|
||||
<?php } ?>
|
||||
<br
|
||||
|
||||
Il token per la firma servirà per confermare l'invio dell'application form.<br><br>
|
||||
|
||||
Il token è un codice numerico fisso di 6 cifre che verrà generato casualmente dai nostri sistemi e inviato via mail all'indirizzo da te registrato.<br><br>
|
||||
|
||||
Il token sarà valido finchè non sarai tu a rigenerarlo da questa pagina.<br><br>
|
||||
|
||||
Per re-impostare il signature token <a href="tokengenerationsig.php">CLICCA QUI</a>.<br><br>
|
||||
|
||||
Il token verrà generato e inviato via mail all' indirizzo: <?php echo $emailuser; ?><br><br>
|
||||
<?php echo $signaturetext; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user