diff options
Diffstat (limited to 'series/trunk/index.php')
-rw-r--r-- | series/trunk/index.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/series/trunk/index.php b/series/trunk/index.php new file mode 100644 index 0000000..9d8cb05 --- /dev/null +++ b/series/trunk/index.php | |||
@@ -0,0 +1,23 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | include('includes/instadisc.php'); | ||
6 | |||
7 | $template = new FITemplate('index'); | ||
8 | $template->add('SITENAME', instaDisc_getConfig('siteName')); | ||
9 | |||
10 | $subs = instaDisc_getAllSubscriptions(); | ||
11 | foreach ($subs as $name => $value) | ||
12 | { | ||
13 | if ($value['personal'] == 'false') | ||
14 | { | ||
15 | $template->adds_block('SUBSCRIPTIONS', array( 'IDENTITY' => $value['identity'], | ||
16 | 'TITLE' => $value['title'], | ||
17 | 'CATEGORY' => $value['category'])); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | $template->display(); | ||
22 | |||
23 | ?> | ||