summaryrefslogtreecommitdiff
path: root/htdocs/src/header.inc.php
blob: 839ebaf61d9a798bc0fa82530f05c7aaf0c5cc1e (plain)
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
<!DOCTYPE html>
<html>
<head>
    <title><?= $CONFIG['sitetitle'] ?></title>

    <link rel="stylesheet" href="<?= $CONFIG['urlroot'] ?>/css/main.css" />

</head>
<body>
<div id="header">
    <p><a href="<?= buildUrl() ?>">
        <img src="<?= $CONFIG['urlroot'] ?>/images/logo.png" 
        alt="<?= $CONFIG['sitetitle'] ?>" /></a></p>

    <div id="about">
        List-and-Share is a place where you can find help,
        sell merchandise, list events or even post your rental.
        We want to build a help you get connected to the community of the church!
    </div>
</div>

<div id="nav">
    <ul>
        <li><a href="<?= $CONFIG['urlroot'] ?>/new-post" class="bigbutton">
            Create Post</a></li>
        <li><a href="<?= buildUrl('page/safety.html') ?>" class="bigbutton">Safety Tips</a></li>
        <li><a href="<?= buildUrl('page/contact.html') ?>" class="bigbutton">Contact Us</a></li>
    </ul>
</div>

<div id="buttonblock">
    <p>What are you looking for?</p>
    <div>
        <a href="<?= $CONFIG['urlroot'] ?>/categories/forsale"><img src="<?= $CONFIG['urlroot'] ?>/images/tag.png" alt="For Sale" /></a>
        <br />
        <a href="<?= $CONFIG['urlroot'] ?>/categories/forsale" class="smallbutton">For Sale</a>
    </div>
    <div>
        <a href="<?= $CONFIG['urlroot'] ?>/categories/events"><img src="<?= $CONFIG['urlroot'] ?>/images/calendar.png" alt="Events" /></a>
        <br />
        <a href="<?= $CONFIG['urlroot'] ?>/categories/events" class="smallbutton">Events</a>
    </div>
    <div>
        <a href="<?= $CONFIG['urlroot'] ?>/categories/housing"><img src="<?= $CONFIG['urlroot'] ?>/images/house.png" alt="Housing" /></a>
        <br />
        <a href="<?= $CONFIG['urlroot'] ?>/categories/housing" class="smallbutton">Housing</a>
    </div>
    <div>
        <a href="<?= $CONFIG['urlroot'] ?>/categories/jobs"><img src="<?= $CONFIG['urlroot'] ?>/images/jobs.png" alt="Jobs" /></a>
        <br />
        <a href="<?= $CONFIG['urlroot'] ?>/categories/jobs" class="smallbutton">Jobs</a>
    </div>
        
</div>

<div id="content">