-
Notifications
You must be signed in to change notification settings - Fork 16
/
affiliates.php
42 lines (37 loc) · 1.3 KB
/
affiliates.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
<?php
$title = 'Affiliates';
include('_header.php');
include('_api.php');
$dataHelper = new NiwaDataHelper();
?>
<div class="main">
<h1>NIWA Affiliates</h1>
<p>
Our affiliates consist of great websites, communities, and organizations that share our goals and collaborative spirit, and typically cover videogames or other media. Affiliates have access to our members-only Discord community where we support each other's projects. If you're interested in becoming an affiliate and think you'd be a great fit, please <a href="/contact">reach out to us</a>!
</p>
<section>
<?php
foreach ($dataHelper->getAffiliates() as $affiliate) {
echo "
<div class='member'>
<div class='logo'>
<a href='{$affiliate->url}'>
<img src='{$affiliate->logo}' alt='{$affiliate->title}' />
</a>
</div>
<div class='description'>
<div class='links'>
{$dataHelper->generateMemberLinks($affiliate)}
</div>
<p>{$affiliate->description}</p>
</div>
</div>
";
}
?>
</section>
</div>
<?php
include('_sidebar.php');
include('_footer.php');
?>