Changeset 1604 for branches/multiuser/api.php
- Timestamp:
- 10/16/06 06:31:35 (2 years ago)
- Files:
-
- 1 modified
-
branches/multiuser/api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/multiuser/api.php
r1275 r1604 66 66 $sql = "select " 67 67 ." c.id, c.title, c.url, c.siteurl, f.name " 68 ." from ".getTable("channels")." c ,"69 . getTable("folders")." f "." wheref.id = c.parent";68 ." from ".getTable("channels")." c " 69 . " inner join " . getTable("folders")." f on f.id = c.parent"; 70 70 71 71 if (hidePrivate()) { … … 135 135 ." c.descr as cdescr, c.url as curl, i.author as iauth, i.url as iurl, " 136 136 ." unix_timestamp(ifnull(i.pubdate, i.added)) as idate ,i.id as iid" 137 ." from ".getTable('item')." i, ".getTable('channels') ." c " 138 ." where i.cid=c.id and i.unread & ". RSS_MODE_UNREAD_STATE ." and c.id=$cid"; 137 ." from ".getTable('item')." i " 138 . " inner join ".getTable('channels') ." c " 139 ." on i.cid=c.id where i.unread & ". RSS_MODE_UNREAD_STATE ." and c.id=$cid"; 139 140 140 141 if ($date) {
