-
Notifications
You must be signed in to change notification settings - Fork 1
/
about.php
executable file
·43 lines (36 loc) · 1.17 KB
/
about.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
<?php
include('includes/header.php');
$developers = array(
'david-tanner',
'justin-york'
);
?>
<div class="container">
<h1>About Us</h1>
<div class="span3 subnav-wrap">
<ul class="nav nav-tabs nav-stacked subnav" data-spy="affix" data-offset-top="0">
<?php
foreach($developers as $name) {
echo '<li><a href="#', $name, '">', ucwords(str_replace('-',' ',$name)), '</a></li>';
}
?>
</ul>
</div>
<div class="span9">
<!-- begin developer includes -->
<?php foreach($developers as $name) { ?>
<div id="<?php echo $name; ?>">
<h3><?php echo ucwords(str_replace('-',' ',$name)); ?></h3>
<div class="well bio">
<table class="table">
<tbody>
<?php include('developers/'.$name.'.php');?>
</tbody>
</table>
</div>
</div>
<?php } ?>
<!-- begin developer includes -->
</div>
</div>
<?php include('includes/footer.php'); ?>