From 3afe95874021f00a43a3d7bc956b799e1060b9f1 Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Thu, 30 Apr 2026 09:01:26 +0200 Subject: [PATCH] Aggiunte analytics in ogni pagina (no pagine admin di managing) --- src/account.php | 5 +++++ src/admin/index.php | 5 +++++ src/cart.php | 5 +++++ src/checkout.php | 5 +++++ src/index.php | 11 +++++------ src/login.php | 5 +++++ src/orders.php | 5 +++++ src/product.php | 5 +++++ src/register.php | 5 +++++ 9 files changed, 45 insertions(+), 6 deletions(-) diff --git a/src/account.php b/src/account.php index 7d48394..45edd2d 100644 --- a/src/account.php +++ b/src/account.php @@ -19,6 +19,11 @@ if ($result === false) { Il mio account - TechStore + "; + } + ?>
diff --git a/src/admin/index.php b/src/admin/index.php index a3a8ae5..cae9cb4 100644 --- a/src/admin/index.php +++ b/src/admin/index.php @@ -58,6 +58,11 @@ if ($result_total_products) { Dashboard amministratore - TechStore + "; + } + ?>
diff --git a/src/cart.php b/src/cart.php index a11c349..7512e42 100644 --- a/src/cart.php +++ b/src/cart.php @@ -10,6 +10,11 @@ session_start(); Carrello - TechStore + "; + } + ?>
diff --git a/src/checkout.php b/src/checkout.php index c49cc38..3cdf27b 100644 --- a/src/checkout.php +++ b/src/checkout.php @@ -119,6 +119,11 @@ $conn->close(); <?php echo $success ? 'Ordine confermato' : 'Errore ordine'; ?> - TechStore + "; + } + ?>
diff --git a/src/index.php b/src/index.php index 63a8936..afd9905 100644 --- a/src/index.php +++ b/src/index.php @@ -19,6 +19,11 @@ if ($result === false) { TechStore - Prodotti + "; + } + ?>
@@ -54,11 +59,5 @@ if ($result === false) { close(); ?> - - "; - } - ?> diff --git a/src/login.php b/src/login.php index c314ef5..596081a 100644 --- a/src/login.php +++ b/src/login.php @@ -48,6 +48,11 @@ $conn->close(); Login - TechStore + "; + } + ?>
diff --git a/src/orders.php b/src/orders.php index 69da5bd..73625a6 100644 --- a/src/orders.php +++ b/src/orders.php @@ -35,6 +35,11 @@ if (!$result) { Il mio account - TechStore + "; + } + ?>
diff --git a/src/product.php b/src/product.php index ae1075a..05e7b38 100644 --- a/src/product.php +++ b/src/product.php @@ -30,6 +30,11 @@ if ($stmt = $conn->prepare($sql)) { + "; + } + ?>
diff --git a/src/register.php b/src/register.php index 3fa4f93..f70d6ad 100644 --- a/src/register.php +++ b/src/register.php @@ -9,6 +9,11 @@ Registrazione - TechStore + "; + } + ?>