summaryrefslogtreecommitdiff
path: root/pages/column.php
blob: 082565e2bdd688fea81cf44121a027a91a1a5023 (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
<?php
include_once($UTIL_DIR . "/album.php");
list($album, $photo) = getRandomPhoto();
?>
<div class="random_image">
<a href="?page=gallery&amp;image=<?php echo $photo->file; ?>&amp;album=<?php echo $album->album; ?>">
  <img alt="Random gallery image" src="<?php echo thumbnail($album->album, $photo->file, 201, 201); ?>"/>
</a>
</div>
<div class="small_header">Upcoming shows</div>
<?php
include_once($UTIL_DIR."/events.php");

$events = new Events($DATA_DIR."/events.xml");
$events->showcoming(3);
?>
<div class="more">
  <a href="?page=live">more &gt;&gt;</a>
</div>
<div class="small_header">Site news</div>
<?php
include_once($UTIL_DIR."/news.php");

$news = new News($DATA_DIR."/news.xml");

$news->show(3, "site");
?>
<div class="more">
  <a href="?page=news&amp;show=all">more &gt;&gt;</a>
</div>

<div class="small_header">Links</div>
<?php
include_once($UTIL_DIR."/links.php");

$links = new Links($DATA_DIR."/links.xml");

$links->show("column");
?>
<div class="more">
  <a href="?page=links">more &gt;&gt;</a>
</div>