Changeset 1544 for trunk/gregarius/api.php
- Timestamp:
- 08/24/06 01:14:02 (4 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/api.php
r1275 r1544 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 "." where f.id = c.parent"; 68 ." from ".getTable("channels")." c " 69 ." inner join " . getTable("folders")." f " 70 ." on f.id = c.parent"; 70 71 71 72 if (hidePrivate()) { … … 135 136 ." c.descr as cdescr, c.url as curl, i.author as iauth, i.url as iurl, " 136 137 ." 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"; 138 ." from ".getTable('item')." i " 139 ." inner join " .getTable('channels') ." c " 140 ." on c.id = i.cid " 141 ." where i.unread & ". RSS_MODE_UNREAD_STATE ." and c.id=$cid"; 139 142 140 143 if ($date) {
