about summary refs log tree commit diff stats
path: root/series/trunk/subscription.php
diff options
context:
space:
mode:
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?>