blob: 4db573639883576eef7addba01be9745a9ab98fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php
/* InstaDisc Series - A Four Island Project */
include('includes/instadisc.php');
if (!isset($_GET['id']))
{
header('Location: ./index.php');
exit;
}
if (!instaDisc_subscriptionExists($_GET['id']))
{
header('Location: ./index.php');
exit;
}
$sub = instaDisc_getSubscription($_GET['id']);
$template = new FITemplate('subscription');
$template->add('SUBSCRIPTION', $sub['url']);
$template->add('TITLE', $sub['title']);
$template->add('CATEGORY', $sub['category']);
if ($sub['password'] != '')
{
$template->add('PASSWORD', "Password: On\n");
}
$template->add('SERIESURL', 'http://' . $_SERVER['SERVER_NAME'] . str_replace(basename($_SERVER['PHP_SELF']), 'xmlrpc.php', $_SERVER['PHP_SELF']));
$template->add('SUBID', $_GET['id']);
$template->display();
?>
|