diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-07 18:30:50 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-07 18:30:50 +0000 |
commit | a7e5c508d476eb46d13d0c2fa40266c72f7c0ed4 (patch) | |
tree | 6c2532633150e81dff8ce2f96dd61cf11c298f08 /update/library/trunk/subscription.php | |
parent | 0fd7bd1ff56a6d5ba027ef0880aa25dd1bffc390 (diff) | |
download | instadisc-a7e5c508d476eb46d13d0c2fa40266c72f7c0ed4.tar.gz instadisc-a7e5c508d476eb46d13d0c2fa40266c72f7c0ed4.tar.bz2 instadisc-a7e5c508d476eb46d13d0c2fa40266c72f7c0ed4.zip |
Update: Added multiple subscription support
Closes #22
Diffstat (limited to 'update/library/trunk/subscription.php')
-rw-r--r-- | update/library/trunk/subscription.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/update/library/trunk/subscription.php b/update/library/trunk/subscription.php index 7e05f5b..863c30c 100644 --- a/update/library/trunk/subscription.php +++ b/update/library/trunk/subscription.php | |||
@@ -4,13 +4,15 @@ | |||
4 | 4 | ||
5 | include('instadisc.php'); // Make sure that if you move me away from instadisc.php that you update this include! | 5 | include('instadisc.php'); // Make sure that if you move me away from instadisc.php that you update this include! |
6 | 6 | ||
7 | echo('Subscription: ' . $idusSubscriptionURI . "\n"); | 7 | $id = (isset($_GET['id']) ? $_GET['id'] : 0); |
8 | echo('Title: ' . $idusSubscriptionTitle . "\n"); | ||
9 | echo('Category: ' . $idusSubscriptionCategory . "\n"); | ||
10 | 8 | ||
11 | if ($idusActivationKey != '') | 9 | echo('Subscription: ' . $idusSubscriptionURI[$id] . "\n"); |
10 | echo('Title: ' . $idusSubscriptionTitle[$id] . "\n"); | ||
11 | echo('Category: ' . $idusSubscriptionCategory[$id] . "\n"); | ||
12 | |||
13 | if ($idusActivationKey[$id] != '') | ||
12 | { | 14 | { |
13 | echo('Key: ' . $idusActivationKey . "\n"); | 15 | echo('Key: ' . $idusActivationKey[$id] . "\n"); |
14 | } | 16 | } |
15 | 17 | ||
16 | ?> | 18 | ?> |