diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-06 21:14:00 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-06 21:14:00 +0000 |
commit | aa716b0b246bb9efa678dae48c1e36a315b5e3e4 (patch) | |
tree | b9683d8039760ba243d2fe92214c43426a06ead8 /series/core/trunk/index.php | |
parent | 73ed91f80e62592d7aa86000ef30e06946be7c68 (diff) | |
download | instadisc-aa716b0b246bb9efa678dae48c1e36a315b5e3e4.tar.gz instadisc-aa716b0b246bb9efa678dae48c1e36a315b5e3e4.tar.bz2 instadisc-aa716b0b246bb9efa678dae48c1e36a315b5e3e4.zip |
Series: Started work on Series Control
Refs #28
Diffstat (limited to 'series/core/trunk/index.php')
-rw-r--r-- | series/core/trunk/index.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/series/core/trunk/index.php b/series/core/trunk/index.php new file mode 100644 index 0000000..7d3916c --- /dev/null +++ b/series/core/trunk/index.php | |||
@@ -0,0 +1,22 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | include('includes/instadisc.php'); | ||
6 | |||
7 | $template = new FITemplate('index'); | ||
8 | |||
9 | $subs = instaDisc_getAllSubscriptions(); | ||
10 | foreach ($subs as $name => $value) | ||
11 | { | ||
12 | if ($value['personal'] == 'false') | ||
13 | { | ||
14 | $template->adds_block('SUBSCRIPTION', array( 'IDENTITY' => $name, | ||
15 | 'TITLE' => $value['title'], | ||
16 | 'CATEGORY' => $value['category'])); | ||
17 | } | ||
18 | } | ||
19 | |||
20 | $template->display(); | ||
21 | |||
22 | ?> | ||