diff options
Diffstat (limited to 'series/core/trunk/subscription.php')
-rw-r--r-- | series/core/trunk/subscription.php | 30 |
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 | |||
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 | echo('Subscription: ' . $sub['url'] . "\n"); | ||
22 | echo('Title: ' . $sub['title'] . "\n"); | ||
23 | echo('Category: ' . $sub['category'] . "\n"); | ||
24 | |||
25 | if ($sub['password'] != '') | ||
26 | { | ||
27 | echo("Password: On\n"); | ||
28 | } | ||
29 | |||
30 | ?> | ||