$join = "\n INNER JOIN #__content_frontpage AS f ON f.content_id = a.id"; $and = '';
// $join = "\n INNER JOIN #__content_frontpage AS f ON f.content_id = a.id";// $and = '';$join = '';$and = ' AND (sectionid = 8 OR sectionid = 7)';