about summary refs log tree commit diff stats
path: root/series/trunk/subscription.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-18 21:59:23 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-18 21:59:23 +0000
commitfd3f2cbdaa1e3c160727c3cf09ef03d06174c114 (patch)
tree12ea30a00c68891f2fbc01f5b2730bc6edc153aa /series/trunk/subscription.php
parentd2a7b26e98569624347d717d7fdfe6c3074658a9 (diff)
downloadinstadisc-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.php36
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
5include('includes/instadisc.php');
6
7if (!isset($_GET['id']))
8{
9 header('Location: ./index.php');
10 exit;
11}
12
13if (!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
26if ($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?>