diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 21:59:23 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-18 21:59:23 +0000 |
commit | fd3f2cbdaa1e3c160727c3cf09ef03d06174c114 (patch) | |
tree | 12ea30a00c68891f2fbc01f5b2730bc6edc153aa /series/trunk/subscription.php | |
parent | d2a7b26e98569624347d717d7fdfe6c3074658a9 (diff) | |
download | instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.tar.gz instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.tar.bz2 instadisc-fd3f2cbdaa1e3c160727c3cf09ef03d06174c114.zip |
Series: Removed Series component
Refs #57
Diffstat (limited to 'series/trunk/subscription.php')
-rw-r--r-- | series/trunk/subscription.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/series/trunk/subscription.php b/series/trunk/subscription.php deleted file mode 100644 index 4db5736..0000000 --- a/series/trunk/subscription.php +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | include('includes/instadisc.php'); | ||
6 | |||
7 | if (!isset($_GET['id'])) | ||
8 | { | ||
9 | header('Location: ./index.php'); | ||
10 | exit; | ||
11 | } | ||
12 | |||
13 | if (!instaDisc_subscriptionExists($_GET['id'])) | ||
14 | { | ||
15 | header('Location: ./index.php'); | ||
16 | exit; | ||
17 | } | ||
18 | |||
19 | $sub = instaDisc_getSubscription($_GET['id']); | ||
20 | |||
21 | $template = new FITemplate('subscription'); | ||
22 | $template->add('SUBSCRIPTION', $sub['url']); | ||
23 | $template->add('TITLE', $sub['title']); | ||
24 | $template->add('CATEGORY', $sub['category']); | ||
25 | |||
26 | if ($sub['password'] != '') | ||
27 | { | ||
28 | $template->add('PASSWORD', "Password: On\n"); | ||
29 | } | ||
30 | |||
31 | $template->add('SERIESURL', 'http://' . $_SERVER['SERVER_NAME'] . str_replace(basename($_SERVER['PHP_SELF']), 'xmlrpc.php', $_SERVER['PHP_SELF'])); | ||
32 | $template->add('SUBID', $_GET['id']); | ||
33 | |||
34 | $template->display(); | ||
35 | |||
36 | ?> | ||