-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
98 lines (85 loc) · 6.55 KB
/
index.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
95
96
97
98
<?php
$events = array(
"comforts-of-home" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_MTJmZGFjMzctOWMwMC00OTM4LTg1ZTctNTE0OGIzYjAxYmI3%40thread.v2/0?context=%7B%22Tid%22%3A%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2C%22Oid%22%3A%225ffbd509-f517-461d-be76-14c287850a75%22%2C%22IsBroadcastMeeting%22%3Atrue%7D",
"restore-and-reflect" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_MGM3ZDYzNTEtYTgxOS00NTJhLWFmNzEtMDMyODQxZTc5YjM4%40thread.v2/0?context=%7B%22Tid%22%3A%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2C%22Oid%22%3A%225ffbd509-f517-461d-be76-14c287850a75%22%2C%22IsBroadcastMeeting%22%3Atrue%7D",
"desktop-dialogues-healing-and-heritage" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_MDg4YWRhZjctMTJiMS00YTFiLTkzNmItZGU0MDcyZDEyYTBm%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%225ffbd509-f517-461d-be76-14c287850a75%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"desktop-dialogues-care" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_Y2I1Zjc5ODctZmE5OC00NDliLWI1MTktY2M3ZTQyNzExMmU2%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%225ffbd509-f517-461d-be76-14c287850a75%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"desktop-dialogues-summer-bounty" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZGVkNGRkMDQtNmFmYi00YWJiLThlZGItODNlMWJhZmVmZTNh%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%225ffbd509-f517-461d-be76-14c287850a75%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"spring-members-party" => "https://www.clevelandart.org/spring-members-party-2020",
"desktop-dialogues-recovering-lost-histories" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZTY5Y2RhZDQtNzM4YS00NjhkLWI1NDktMmRhYTBlNDU3MTU3%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"desktop-dialogues-re-visioning" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_YzYzODc0MTMtNzQ3Ni00NDM0LTlhODgtNGI3OWM2MjJkZDhi%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"close-looking-inquisitive-eye" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_MDQwOTZjYTQtMDExMS00NzU0LWI4ZTgtNWIzNWY4NzBhYTE3%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"desktop-dialogues-care-and-curatorial" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_M2JlOWFjNTktYjA0Mi00YzIzLWI0MGQtMzk3ODAwMTNhMjNm%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"close-looking-matter-of-perspective" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZThhYjBhMmMtMmJmZC00NDc0LTg5N2MtZjMyMmJlYjM0MTEz%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"desktop-dialogues-this-is-what" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_YjVmODc4YWEtODNjNi00ZDRiLWFjYWItNmJhNjE4MmU1ODBi%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"close-looking-printing-democracy" => "https://teams.microsoft.com/l/meetup-join/19%3ameeting_NDI1NGRlMTctYzMzNC00NzRjLTlkZTAtZjY5ZWMwMTBjYWRl%40thread.v2/0?context=%7b%22Tid%22%3a%22b4253cf3-23c3-4e23-b151-0c32273cd7c5%22%2c%22Oid%22%3a%22e754c311-dcdb-462a-a7f5-89797dd55152%22%2c%22IsBroadcastMeeting%22%3atrue%7d",
"photographic-friendship" => "https://vimeo.com/451620203/f36ef8cf40"
);
$event_key = $_GET['e'];
$link = ((!empty($event_key) && array_key_exists($event_key, $events)) ? $events[$event_key] : null);
?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
<!--//--><![CDATA[//><!--
(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create", "UA-4110574-1", {"cookieDomain":".clevelandart.org"});ga("send", "pageview");
//--><!]]>
</script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-728479521');
//--><!]]>
</script>
<title>Cleveland Museum of Art - Home Is Where The Art Is - Events</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" href="css/bootstrap.min.css" media="all"/>
</head>
<body>
<div class="header">
<a href="/home">
<div class="site-name-1">The Cleveland Museum of Art</div>
<img class="site-logo" src="img/logo.png"/>
</a>
</div>
<div class="container">
<div class="row">
<div class="col col-sm-1 col-md-1"></div>
<div class="center-channel col col-sm-10 col-md-10">
<?php if (!empty($link)) { ?>
<h2 class="kusama">You will be redirected to your event shortly.</h2>
<h2 class="kusama">If you are not automatically redirected, click the link below.</h2>
<div class="row body-channel">
<div class="col col-sm-3"></div>
<div class="col col-sm-6 skip-link">
<a href="<?php echo $link; ?>">
<span class="header-website-link">Go to Event</span>
</a>
</div>
<div class="col col-sm-3"></div>
</div>
<?php } else { ?>
<h2 class="kusama">Sorry, this event does not exist.</h2>
<div>If you believe this is a mistake, please email
<a href="mailto:[email protected]">[email protected]</a>
</div>
<?php } ?>
</div>
<div class="col col-sm-1 col-md-1"></div>
</div>
</div>
<script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=AW-728479521"></script>
<?php if (!empty($link)) { ?>
<script type="text/javascript">
setTimeout(function() {
window.location.replace("<?php echo $link; ?>");
}, 3000);
</script>
<?php } ?>
</body>
</html>