about summary refs log tree commit diff stats
path: root/series/core/trunk/subscription.php
diff options
context:
space:
mode:
Diffstat (limited to 'series/core/trunk/subscription.php')
-rw-r--r--series/core/trunk/subscription.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/series/core/trunk/subscription.php b/series/core/trunk/subscription.php new file mode 100644 index 0000000..172de32 --- /dev/null +++ b/series/core/trunk/subscription.php
@@ -0,0 +1,30 @@
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
21echo('Subscription: ' . $sub['url'] . "\n");
22echo('Title: ' . $sub['title'] . "\n");
23echo('Category: ' . $sub['category'] . "\n");
24
25if ($sub['password'] != '')
26{
27 echo("Password: On\n");
28}
29
30?>