blob: 5929208fcc0112611e7d55dd8415a3f12b1acd97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<?php
include(__DIR__ . '/../../includes/html-open.html');
include(__DIR__ . '/../../includes/header-open.html');
?>
<title>Submit — Contact — Free Software Foundation India</title>
<?php
include(__DIR__ . '/../../includes/header-close.html');
include(__DIR__ . '/../../includes/body-open.html');
include(__DIR__ . '/../../includes/navbar.html');
?>
<div class="container main">
<section class="section">
<div class="content">
<header>
<h1>Contact</h1>
</header>
<div class="columns">
<div class="column is-three-fifths">
<?php if ($result['ok']) { ?>
<p>We'll get back to you soon!</p>
<?php } else { ?>
<p>Oops! There were some issues:</p>
<ul>
<?php foreach ($result['errors'] as $e) { ?>
<li><?=$e?></li>
<?php } ?>
</ul>
<a class="button is-link" href="/contact">Try again</a>
<?php } ?>
</div> <!-- end column -->
</div> <!-- end columns -->
</div>
</section>
</div>
<?php
include(__DIR__ . '/../../includes/footer.html');
include(__DIR__ . '/../../includes/js.html');
include(__DIR__ . '/../../includes/body-close.html');
include(__DIR__ . '/../../includes/html-close.html');
?>
|