-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAGM.php
193 lines (181 loc) · 10.8 KB
/
AGM.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Spearers AGM</title>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<meta name='keywords' content='West End, Spearers, kayak, kayaking, canoe, surfski, ocean ski, paddling, AGM, Noosa, Queensland, Australia'/>
<meta name='description' content='The Spearers hold an Annual Gathering of Members or AGM every year in November at Noosa, where we enjoy kayaking and camaraderie, while promoting fitness and health.'/>
<meta name='author' content='Devon Matsalla' />
<meta property="og:title" content="Spearers AGM" />
<meta property="og:description" content="Spearers hold an Annual Gathering of Members or AGM every year in November at Noosa, where we enjoy kayaking and camaraderie, while promoting fitness and health." />
<meta property="og:image" content="https://westendspearers.com.au/images/westendspearers.jpg?v=1" />
<meta property="og:url" content="https://westendspearers.com.au/AGM.php" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<link rel='icon' type='image/x-icon' href='/images/spearers.ico' />
<link rel='canonical' href='https://westendspearers.com.au/AGM.php' />
<link href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
<link rel='stylesheet' type='text/css' href='styles.css?v=13'>
<link rel='stylesheet' href='https://unpkg.com/[email protected]/dist/leaflet.css' />
<script src='https://unpkg.com/[email protected]/dist/leaflet.js'></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/Polyline.encoded.min.js'></script>
<!-- Google tag (gtag.js) -->
<script async src='https://www.googletagmanager.com/gtag/js?id=G-P87WWP1YGX'></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-P87WWP1YGX');
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NBBRQ6H3');</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src='https://www.googletagmanager.com/ns.html?id=GTM-NBBRQ6H3'
height='0' width='0' style='display:none;visibility:hidden'></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<header class='darkbg'>
<nav class='navbar navbar-expand-lg navbar-dark'>
<div class='container'>
<a class='navbar-brand' href='/'><img src='/images/SpearersLogoClearDark.png' alt='Logo' width='250'></a>
<button class='navbar-toggler' type='button' data-bs-toggle='collapse' data-bs-target='#collapsibleNavbar'>
<span class='navbar-toggler-icon'></span>
</button>
<div class='collapse navbar-collapse' id='collapsibleNavbar'>
<ul class='navbar-nav'>
<li class='nav-item'><a class='nav-link' href='/'>Home</a></li>
<li class='nav-item'><a class='nav-link' href='/#tides'>Tides</a></li>
<li class='nav-item'><a class='nav-link' href='/#calendarsection'>Calendar</a></li>
<li class='nav-item dropdown'>
<a class='nav-link dropdown-toggle' href='cheese.php' role='button' data-bs-toggle='dropdown'>Cheese</a>
<ul class='dropdown-menu dropdown-menu-dark'>
<li><a class='dropdown-item' href='cheese.php'>The Cheese</a></li>
<li><a class='dropdown-item' href='cheese.php#athletes'>The Spearers</a></li>
<li><a class='dropdown-item' href='cheese.php#commandments'>Commandments</a></li>
<li><a class='dropdown-item' href='cheese.php#rules'>Rules</a></li>
</ul>
</li>
<li class='nav-item'><a class='nav-link' href='photos.php#home'>Photo Gallery</a></li>
<li class='nav-item dropdown'>
<a class='nav-link dropdown-toggle' href='AGM.php' role='button' data-bs-toggle='dropdown'>AGM</a>
<ul class='dropdown-menu dropdown-menu-dark'>
<li><a class='dropdown-item' href='AGM.php#'>AGM</a></li>
<li><a class='dropdown-item' href='AGM.php#tshirts'>T-shirts</a></li>
<li><a class='dropdown-item' href='AGM.php#gallery'>Photo Gallery</a></li>
<li><a class='dropdown-item' href='AGM.php#mapsection'>Map</a></li>
</ul>
</li>
<li class='nav-item'><a class='nav-link' href='/#mapsection'>Map</a></li>
<li class='nav-item'><a class='nav-link' href='/#contact'>Contact</a></li>
</ul>
</div>
</div>
</nav>
<div class='youtube-container'>
<iframe id='video' src='https://www.youtube.com/embed/C3KzqquT2_c?autoplay=1&mute=1&loop=1&color=white&controls=0&modestbranding=1&playsinline=1&rel=0&enablejsapi=1&playlist=C3KzqquT2_c' title='Spearers AGM in Noosa' frameborder='0' allowfullscreen></iframe>
</div>
</header>
<main>
<section id='AGM' class='darkbg'>
<div class='container p-3'>
<h1>AGM</h1>
<p>Annual Gathering of Members</p>
<p>This is an annual pilgrimage to Noosa around early to mid November for two and a half days of everything paddling, with great food and beverage. It’s a celebration of a years worth of paddling and mateship (no dickheads), and an informal gathering of male and female paddlers. </p>
<p>To be clear It’s not an annual general meeting and to qualify all you need to do is have been involved in one cheese race throughout the year. This is so you understand why the winner of the AGM cheese won’t shut up all weekend. Each year we print an AGM T-shirt so the memories last well into the new year. Examples of some are shown below.</p>
</div>
</section>
<section id='tshirts' class='whitebg'>
<div class='container p-3'>
<h2>T-shirts</h2>
</div>
<div class='container p-3'>
<div class="gallery" style="grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));">
<?php
$photoDirectory = '/home/westends/public_html/AGMtshirts'; // Change this to your photo directory
$allowedExtensions = ['jpg', 'jpeg', 'png', 'gif'];
if (is_dir($photoDirectory)) {
$files = scandir($photoDirectory);
//print_r ($files);
foreach ($files as $file) {
$fileInfo = pathinfo($file);
$fileExtension = strtolower($fileInfo['extension']);
if (in_array($fileExtension, $allowedExtensions)) {
//echo 'div class="photo" img src="/' . $file . '" alt="' . $file . '" /div';
echo '<div class="photo"><img src="/AGMtshirts/' . $file . '" alt="' . $file . '"></div>';
}
}
} else {
echo 'The specified directory does not exist.';
}
?>
</div>
</div>
</section>
<section id='gallery' class='graybg'>
<div class='container p-3'>
<h2>Gallery</h2>
</div>
<div class='container p-3'>
<div class="gallery" style="grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));">
<?php
$photoDirectory = '/home/westends/public_html/AGMphotos'; // Change this to your photo directory
$allowedExtensions = ['jpg', 'jpeg', 'png', 'gif'];
if (is_dir($photoDirectory)) {
$files = scandir($photoDirectory);
//print_r ($files);
foreach ($files as $file) {
$fileInfo = pathinfo($file);
$fileExtension = strtolower($fileInfo['extension']);
if (in_array($fileExtension, $allowedExtensions)) {
//echo 'div class="photo" img src="/' . $file . '" alt="' . $file . '" /div';
echo '<div class="photo"><img src="/AGMphotos/' . $file . '" alt="' . $file . '"></div>';
}
}
} else {
echo 'The specified directory does not exist.';
}
?>
</div>
</div>
</section>
<section id='mapsection' class='whitebg'>
<div class='container p-3'>
<h2>Map</h2>
<div id='map'></div>
</div>
</section>
</main>
<footer class='darkbg'>
<div class='container' style='padding:0;'>
<table class='calendar' style='table-layout: auto;'><thead><tr>
<th><a href='/#home'>Home</a> </th>
<th><a href='/#tides'>Tides</a> </th>
<th><a href='cheese.php#cheese'>Cheese</a> </th>
<th><a href='photos.php#home'>Photos</a> </th>
<th><a href='AGM.php#AGM'>AGM</a></th>
<th><a href='/#mapsection'>Map</a> </th>
<th><a href='/#contact'>Contact</a> </th>
</tr></thead></table>
<br>
<div class='row'>
<div class='col'>
<a class='navbar-brand' href='/'><img src='/images/SpearersLogoClearDark.png' class='d-block' alt='Logo' width='200'></a>
</div>
<div class='col'>
<p>© 2023 Spearers. All rights reserved.</p>
</div>
</div>
</div>
</footer>
<script src='mapdata.js'></script>
<script src='mapNoosa.js?v=2'></script>
</body>
</html>