source: trunk/web/app/out/dist/content/e_contact.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 1.1 KB
Line 
1<?php if($env->config("email_contact")) : ?>
2<h2>Message pour <?= $env->config("site_name") ?></h2>
3<div class="bloc_content">
4<br /><br />
5<form name="contact_form" action="<?= $env->url(array("e" => "contact")) ?>" method="post">
6<table class="admin">
7  <tr>
8    <th>Votre email</th>
9    <td><input type="text" name="from" size="50" value="<?= $_POST["from"] ?>" /><br /><br /></td>
10  </tr>
11  <tr>
12    <th>Sujet</th>
13    <td><input type="text" name="sujet" size="50" value="<?= $_POST["sujet"] ?>" /><br /><br /></td>
14  </tr>
15  <tr>
16    <th>Message</th>
17    <td><textarea name="message" cols="70" rows="15"><?= $_POST["message"] ?></textarea></td>
18  </tr>
19  <tr>
20  </tr>
21  <tr>
22    <th>Anti-spam</th>
23    <td>
24      <p class="info">
25        <?=PtitCaptchaHelper::generateImgTags("./".$env->path("app")."plugins/")?>
26        Recopiez ce que vous voyez sur l'image (cliquez dessus pour la changer)
27      </p>
28      <?=PtitCaptchaHelper::generateHiddenTags()?>
29      <?=PtitCaptchaHelper::generateInputTags()?>
30    </td>
31  </tr>
32  <tr>
33    <td colspan="2" style="text-align: right"><input type="submit" value="Envoyer" /></td>
34  </tr>
35</table>
36</form>
37</div>
38<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.