-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
34 lines (29 loc) · 1.15 KB
/
index.php
File metadata and controls
34 lines (29 loc) · 1.15 KB
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
<?php $site = array(); ?>
<html>
<head>
<title>
<?php $site['title'] = 'Incremental Code: Internet Software Studio'; ?>
<?php echo ($page['title']) ? $page['title'] : $site['title']; ?>
</title>
<link rel="stylesheet" href="/theme/style.css"/>
</head>
<body>
<?php $index = get_index('pages'); ?>
<h1><?php echo $site['title'] ?></h1>
<dl>
<dl><dt>Agency ..........</dt><dd>Work on behalf of brands</dd></dl>
<dl><dt>Lab .............</dt><dd></dd>Self-sustaining products</dl>
<dl><dt>Playground ......</dt><dd></dd>Quick products that spark our interest</dl>
<dl><dt>Lair ............</dt><dd></dd>Technically driven explorations</dl>
<dl><dt>BTS .............</dt><dd>Behind the Scenes articles</dd></dl>
</dl>
<h2>Say hello...</h2>
<dl><dt>Email</dt><dd><a href="mailto:[email protected]">[email protected]</a></dd></dl>
<dl><dt>Twitter</dt><dd><a href="http://twitter.com/incrementalcode">@incrementalcode</a></dd></dl>
<dl><dt>Location</dt><dd>CodeBridge, Claremont, Cape Town</dd></dl>
<h2>Recent articles</h2>
<?php foreach ($index as $name => $page) {
echo $page['title'] . "<br>";
} ?>
</body>
</html>