implementazione modulo con annessa pagina php contact us
2 files added
1 files modified
New file |
| | |
| | | <?php |
| | | require '../vendor/autoload.php'; |
| | | use Smarty\Smarty; |
| | | $smarty = new Smarty(); |
| | | |
| | | $smarty->setTemplateDir('../ihtml'); |
| | | $smarty->setCompileDir('../compile'); |
| | | |
| | | $smarty->display('contact.tpl'); |
| | | echo "contact"; |
| | | ?> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="UTF-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | | <title>Tipo</title> |
| | | <link rel="stylesheet" href="files_comuni/style/style.css"> |
| | | </head> |
| | | <body> |
| | | {include file="header.tpl"} |
| | | <main> |
| | | {* FORM *} |
| | | <form action="contact.php"> |
| | | <input type="text" name="prova" placeholder="metti qualcosa"> |
| | | <button type="submit">clicca qui</button> |
| | | </form> |
| | | </main> |
| | | {include file="footer.tpl"} |
| | | </body> |
| | | </html> |
| | |
| | | <a href="panda.php">FiatPanda</a> |
| | | <a href="500.php">500</a> |
| | | <a href="tipo.php">FiatTipo</a> |
| | | <a href="contact.php">Contact Us</a> |
| | | </header> |