|
From: Benjamin C. <bc...@us...> - 2002-06-10 12:52:39
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv1467
Modified Files:
index.php
Log Message:
Show the saved queries on the home page (Adi Sieker)
Index: index.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/index.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- index.php 18 May 2002 02:59:32 -0000 1.32
+++ index.php 10 Jun 2002 12:52:35 -0000 1.33
@@ -137,6 +137,12 @@
" and changed_field = 'status' and new_value = 'Closed'".
' and b.project_id = p.project_id order by h.created_date desc', 0, 5)));
+if ($u != 'nobody') {
+ // Grab the saved queries if there are any
+ $t->assign('queries',
+ $db->getAll("select * from ".TBL_SAVED_QUERY." where user_id = '$u'"));
+}
+
$t->wrap('index.html', 'home');
?>
|