diff options
Diffstat (limited to 'series/trunk/includes/instadisc.php')
-rw-r--r-- | series/trunk/includes/instadisc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index 7334b6f..5fb3cd9 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php | |||
@@ -121,4 +121,13 @@ function instaDisc_isAdmin($username) | |||
121 | return ($username == instaDisc_getConfig('adminUser')); | 121 | return ($username == instaDisc_getConfig('adminUser')); |
122 | } | 122 | } |
123 | 123 | ||
124 | function instaDisc_getSubscriptionByID($id) | ||
125 | { | ||
126 | $getsub = "SELECT * FROM subscriptions WHERE id = " . $id; | ||
127 | $getsub2 = mysql_query($getsub); | ||
128 | $getsub3 = mysql_fetch_array($getsub2); | ||
129 | |||
130 | return $getsub3; | ||
131 | } | ||
132 | |||
124 | ?> | 133 | ?> |