From ffffd68cb212f5e233edbc825118a83fd50a3ba2 Mon Sep 17 00:00:00 2001
From: filippo.bertilotti <filippobertilotti@gmail.com>
Date: Mon, 22 Apr 2024 11:49:28 +0200
Subject: [PATCH] creazione pagina panda.php e 500.php (per la fiat panda e fiat 500) e configurazione smarty per template

---
 htdocs/panda.php |   13 +++++++++++++
 htdocs/500.php   |   13 +++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/htdocs/500.php b/htdocs/500.php
new file mode 100644
index 0000000..13918a7
--- /dev/null
+++ b/htdocs/500.php
@@ -0,0 +1,13 @@
+<?php
+    require '../vendor/autoload.php';
+    use Smarty\Smarty;
+    $smarty = new Smarty();
+
+    $smarty->setTemplateDir('../ihtml/smarty/templates');
+    $smarty->setConfigDir('../ihtml/smarty/configs');
+    $smarty->setCompileDir('../ihtml/smarty/templates_c');
+    $smarty->setCacheDir('../ihtml/smarty/cache');
+    
+    $smarty->display('header.tpl');
+    echo "fiat 500";
+?>
\ No newline at end of file
diff --git a/htdocs/panda.php b/htdocs/panda.php
new file mode 100644
index 0000000..5e5388b
--- /dev/null
+++ b/htdocs/panda.php
@@ -0,0 +1,13 @@
+<?php
+    require '../vendor/autoload.php';
+    use Smarty\Smarty;
+    $smarty = new Smarty();
+
+    $smarty->setTemplateDir('../ihtml/smarty/templates');
+    $smarty->setConfigDir('../ihtml/smarty/configs');
+    $smarty->setCompileDir('../ihtml/smarty/templates_c');
+    $smarty->setCacheDir('../ihtml/smarty/cache');
+    
+    $smarty->display('header.tpl');
+    echo "fiat panda";
+?>
\ No newline at end of file

--
Gitblit v1.8.0