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(); ?>