Changeset 4331 for trunk/admin
- Timestamp:
- Nov 21, 2009, 1:15:22 PM (15 years ago)
- Location:
- trunk/admin
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r4325 r4331 60 60 FROM '.CATEGORIES_TABLE.' 61 61 WHERE status = \'private\' 62 LIMIT 0 ,162 LIMIT 0 OFFSET 1 63 63 ;'; 64 64 -
trunk/admin/element_set_global.php
r4325 r4331 475 475 WHERE id IN ('.implode(',', $page['cat_elements_id']).') 476 476 '.$conf['order_by'].' 477 LIMIT '.$page['start'].' ,'.$page['nb_images'].'477 LIMIT '.$page['start'].' OFFSET '.$page['nb_images'].' 478 478 ;'; 479 479 //echo '<pre>'.$query.'</pre>'; -
trunk/admin/element_set_unit.php
r4325 r4331 197 197 WHERE id IN ('.implode(',', $page['cat_elements_id']).') 198 198 '.$conf['order_by'].' 199 LIMIT '.$page['start'].' ,'.$page['nb_images'].'199 LIMIT '.$page['start'].' OFFSET '.$page['nb_images'].' 200 200 ;'; 201 201 $result = pwg_query($query); -
trunk/admin/include/functions.php
r4325 r4331 597 597 FROM '.IMAGE_CATEGORY_TABLE.' 598 598 WHERE category_id = '.$category_id.' 599 ORDER BY RAND()600 LIMIT 0 ,1599 ORDER BY '.DB_RANDOM_FUNCTION.'() 600 LIMIT 0 OFFSET 1 601 601 ;'; 602 602 list($representative) = pwg_db_fetch_row(pwg_query($query)); -
trunk/admin/include/functions_history.inc.php
r4325 r4331 162 162 ;'; 163 163 164 // LIMIT '.$page['start'].' ,'.$conf['nb_logs_page'].'164 // LIMIT '.$page['start'].' OFFSET '.$conf['nb_logs_page'].' 165 165 166 166 $result = pwg_query($query); -
trunk/admin/rating.php
r4325 r4331 177 177 GROUP BY r.element_id 178 178 ORDER BY ' . $available_order_by[$order_by_index][1] .' 179 LIMIT '.$start.' ,'.$elements_per_page.'179 LIMIT '.$start.' OFFSET '.$elements_per_page.' 180 180 ;'; 181 181
Note: See TracChangeset
for help on using the changeset viewer.