Author: shadzik
Date: Tue Nov 27 19:26:46 2007
New Revision: 9111

Modified:
   toys/stbr/index.php
Log:
- add tracking functionality (display just the request you sent)


Modified: toys/stbr/index.php
==============================================================================
--- toys/stbr/index.php (original)
+++ toys/stbr/index.php Tue Nov 27 19:26:46 2007
@@ -291,7 +291,13 @@
        $query = "";    
 }
 
-$query = "SELECT * FROM stbr ORDER BY date DESC $query";
+if(isset($_GET['show']) and isset($_GET['date']))
+{
+       $query = "select * from stbr where sender = \"{$_GET['show']}\" and 
date = \"{$_GET['date']}\" order by date DESC";
+} else {
+       $query = "SELECT * FROM stbr ORDER BY date DESC $query";
+}
+
 $query = sqlite_query($db, $query);
 
 while($p = sqlite_fetch_array($query))
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to