about summary refs log tree commit diff stats
path: root/series/trunk
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:54:44 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:54:44 +0000
commit338308e2bd8ca78337c11a2806f272eae748fb52 (patch)
treedf6302e327fa2cb16e8310645d790f2782b332fa /series/trunk
parentabb2d3c67ddc132c4cc7ea435e13731527c32634 (diff)
downloadinstadisc-338308e2bd8ca78337c11a2806f272eae748fb52.tar.gz
instadisc-338308e2bd8ca78337c11a2806f272eae748fb52.tar.bz2
instadisc-338308e2bd8ca78337c11a2806f272eae748fb52.zip
Series: [15]
Refs #53
Diffstat (limited to 'series/trunk')
-rw-r--r--series/trunk/admin/main.php2
-rw-r--r--series/trunk/includes/instadisc.php6
2 files changed, 7 insertions, 1 deletions
diff --git a/series/trunk/admin/main.php b/series/trunk/admin/main.php index f2d8e9e..2bb80f3 100644 --- a/series/trunk/admin/main.php +++ b/series/trunk/admin/main.php
@@ -21,7 +21,7 @@ if (!isset($_SESSION['username']))
21$template = new FITemplate('main'); 21$template = new FITemplate('main');
22$template->add('SITENAME',instaDisc_getConfig('siteName')); 22$template->add('SITENAME',instaDisc_getConfig('siteName'));
23 23
24if (instaDisc_isAdmin($_SESSION['username']) 24if (instaDisc_isAdmin($_SESSION['username']))
25{ 25{
26 $template->adds_block('ADMIN', array('exi'=>1)); 26 $template->adds_block('ADMIN', array('exi'=>1));
27} 27}
diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index 54f427a..d7010a6 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php
@@ -110,4 +110,10 @@ function instaDisc_listSubscriptions($username)
110 return $getsubs3; 110 return $getsubs3;
111} 111}
112 112
113function deleteSubscription($id)
114{
115 $delsub = "DELETE FROM subscriptions WHERE id = " . $id;
116 $delsub2 = mysql_query($delsub);
117}
118
113?> 119?>