global $mainframe, $option;
$db =& JFactory::getDBO();
- $filter_order = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.filter_order', 'filter_order', 'hits', 'cmd' );
- $filter_order_Dir = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.filter_order_Dir', 'filter_order_Dir', '', 'word' );
- $limit = $mainframe->getUserStateFromRequest( 'global.list.limit', 'limit', $mainframe->getCfg('list_limit'), 'int' );
- $limitstart = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.limitstart', 'limitstart', 0, 'int' );
- $search = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.search', 'search', '', 'string' );
- $search = JString::strtolower( $search );
- $showResults = JRequest::getInt('search_results');
+ $filter_order = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.filter_order', 'filter_order', 'hits', 'cmd' );
+ $filter_order_Dir = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.filter_order_Dir', 'filter_order_Dir', '', 'word' );
+ $limit = $mainframe->getUserStateFromRequest( 'global.list.limit', 'limit', $mainframe->getCfg('list_limit'), 'int' );
+ $limitstart = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.limitstart', 'limitstart', 0, 'int' );
+ $search = $mainframe->getUserStateFromRequest( 'com_jmnogosearch.search', 'search', '', 'string' );
+ $search = JString::strtolower( $search );
+ $showResults = JRequest::getInt('search_results');
// table ordering
if ( $filter_order_Dir == 'ASC' ) {