diff options
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 | ?> | ||