-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcontact.php
executable file
·94 lines (84 loc) · 2.7 KB
/
contact.php
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<?php // The header includes the head tag and start of body
require "includes/head.php";
?>
<meta property="og:title" content="<?php echo $META['shortName'];?> contact information"/>
<meta name="twitter:title" content="<?php echo $META['shortName'];?> contact information"/>
<title>
<?php echo $META['shortName'];?> Contacts
</title>
</head>
<body>
<?php require "includes/nav.php"; ?>
<main class="container">
<h2 class="indPageTitle">
Contact
</h2>
<!-- To add/edit contact information, please edit names and affiliations in
json/metadata.json -->
<h3 class="pageSubtitle text-center mt-4">
General co-chairs
</h3>
<div class="row mt-3 mt-md-4">
<?php
$theClass = count($META['GENERAL_CHAIRS'])==1 ? 'col-12' : 'col-12 col-sm-6';
foreach ($META['GENERAL_CHAIRS'] as $person) {
$name = $person['name'];
$affiliation = $person['affiliation'];
echo <<< EOR
<aside class="$theClass text-center mb-2">
<h4 class="subSubtitle">
$name
</h4>
<p class="text-center">
$affiliation
</p>
</aside>
EOR;
}
?>
</div>
<div class="row">
<div class="col-12 text-center mb-5">
<a href="mailto:doNotEmailMe@fakeDomain.com">
<img src="images/icons/mail.svg" class="icon" />
</a> doNotEmailMe@fakeDomain.com
</div>
</div>
<!-- To add/edit contact information, please edit names and affiliations in
json/metadata.json -->
<h3 class="pageSubtitle text-center mt-4">
Program co-chairs
</h3>
<div class="row mt-3 mt-md-4">
<?php
$theClass = count($META['PC_CHAIRS'])==1 ? 'col-12' : 'col-12 col-sm-6';
foreach ($META['PC_CHAIRS'] as $person) {
$name = $person['name'];
$affiliation = $person['affiliation'];
echo <<< EOR
<aside class="$theClass text-center mb-2">
<h4 class="subSubtitle">
$name
</h4>
<p class="text-center">
$affiliation
</p>
</aside>
EOR;
}
?>
</div>
<div class="row">
<div class="col-12 text-center mb-5">
<a href="mailto:reallyDoNotEmailMe@fakeDomain.com">
<img src="images/icons/mail.svg" class="icon" />
</a> reallyDoNotEmailMe@fakeDomain.com
</div>
</div>
</main>
<?php include "includes/footer.php"; ?>
</body>
</html>