fixed footer and policy

This commit is contained in:
2025-07-10 10:39:37 +02:00
parent 449bcc3153
commit 9d6f9ce284
63 changed files with 12087 additions and 425 deletions
+153 -120
View File
@@ -1,28 +1,27 @@
<?php
include('include/headscript2.php'); ?>
include('include/headscript2.php'); ?>
<?php
if (isset($_POST["formname"])) {
$formname=$_POST["formname"]; }
else {
$formname="N"; }
$formname = $_POST["formname"];
} else {
$formname = "N";
}
?>
<?php
if ($formname=="Y") {
$UpdateQuery = new WA_MySQLi_Query($cmctrfdb);
$UpdateQuery->Action = "update";
$UpdateQuery->Table = "auth_users";
$UpdateQuery->bindColumn("privacyaccepted", "s", "".((isset($_POST["datetoday"]))?$_POST["datetoday"]:"") ."", "WA_DEFAULT");
if ($formname == "Y") {
$UpdateQuery = new WA_MySQLi_Query($cmctrfdb);
$UpdateQuery->Action = "update";
$UpdateQuery->Table = "auth_users";
$UpdateQuery->bindColumn("privacyaccepted", "s", "" . ((isset($_POST["datetoday"])) ? $_POST["datetoday"] : "") . "", "WA_DEFAULT");
$UpdateQuery->addFilter("id", "=", "i", "".($iduserlogin) ."");
$UpdateQuery->execute();
$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'");
$companyData = mysqli_fetch_assoc($companydetails);
@@ -30,127 +29,161 @@ $companyData = mysqli_fetch_assoc($companydetails);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>TRF CIMAC</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta content="CIMAC TRF Portal" name="description" />
<meta content="" name="author" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<title>TRF CIMAC</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta content="CIMAC TRF Portal" name="description" />
<meta content="" name="author" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- App favicon -->
<link rel="shortcut icon" href="../images/favicon.ico">
<!--Form Wizard-->
<link href="../plugins/jquery-steps/jquery.steps.css" rel="stylesheet" type="text/css">
<!-- App favicon -->
<link rel="shortcut icon" href="../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" />
<!--Form Wizard-->
<link href="../plugins/jquery-steps/jquery.steps.css" rel="stylesheet" type="text/css">
<!-- submit form with button -->
<script>
function formSubmit() {
document.forms["myForm"].submit();
}
</script>
<!-- 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" />
<!-- submit form with button -->
<script>
function formSubmit() {
document.forms["myForm"].submit();
}
</script>
</head>
<body>
<!-- Top Bar Start -->
<!-- Top Bar Start -->
<?php include('include/topbar.php'); ?>
<!-- Top Bar End -->
<body>
<!-- Left Sidenav -->
<?php include('include/leftsidenav.php'); ?>
<!-- Top Bar Start -->
<!-- Top Bar Start -->
<?php include('include/topbar.php'); ?>
<!-- Top Bar End -->
<!-- Left Sidenav -->
<?php include('include/leftsidenav.php'); ?>
<!-- end left-sidenav-->
<div class="page-wrapper">
<!-- Page Content-->
<div class="page-content">
<div class="page-wrapper">
<!-- 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 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" 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 duso della piattaforma PPEASY
<a href="#" target="_blank">qui presenti</a> /
I agree to
<a href="#" 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 linformativa sui dati personali
<a href="#" target="_blank">qui presente</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="#" target="_blank">personal data herein</a>. We will handle your data in conformity with CIMAC privacy policy
</label>
</div>
<!-- Bottone finale -->
<button class="btn btn-gradient-primary mt-3" type="submit" id="acceptBtn" disabled>
ACCETTO I REGOLAMENTI SOPRA RIPORTATI
</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>
<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 -->
</div><!-- container -->
<!-- footer start -->
<?php include('include/footer.php'); ?>
</div><!-- container -->
<!-- footer start -->
<?php include('include/footer.php'); ?>
</footer><!--end footer-->
</div>
</div>
<!-- end page content -->
</div>
<!-- end page-wrapper -->
<!-- jQuery -->
@@ -161,13 +194,13 @@ function formSubmit() {
<script src="assets/js/feather.min.js"></script>
<script src="assets/js/jquery.slimscroll.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>
<!-- App js -->
<script src="assets/js/app.js"></script>
</body>
</body>
</html>