summaryrefslogtreecommitdiff
path: root/pages/column.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-06 18:13:56 +0000
committerdeva <deva>2008-10-06 18:13:56 +0000
commit415e90a2e059ea32f6851dfb9b3c018b0a731a81 (patch)
treea2e7d809f4783f521a3a985716a26a6543acfc9d /pages/column.php
parentcce5e7710295021b41d9aaecc503a60fb99256be (diff)
Put the webpages in.
Diffstat (limited to 'pages/column.php')
-rw-r--r--pages/column.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/pages/column.php b/pages/column.php
new file mode 100644
index 0000000..082565e
--- /dev/null
+++ b/pages/column.php
@@ -0,0 +1,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>