diff options
author | deva <deva> | 2008-10-06 18:13:56 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-06 18:13:56 +0000 |
commit | 415e90a2e059ea32f6851dfb9b3c018b0a731a81 (patch) | |
tree | a2e7d809f4783f521a3a985716a26a6543acfc9d /pages/column.php | |
parent | cce5e7710295021b41d9aaecc503a60fb99256be (diff) |
Put the webpages in.
Diffstat (limited to 'pages/column.php')
-rw-r--r-- | pages/column.php | 42 |
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&image=<?php echo $photo->file; ?>&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 >></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&show=all">more >></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 >></a> +</div> |