AAAAindex.html000066600000000054151372274530006555 0ustar00helper.php000066600000002055151372274530006553 0ustar00get('id'); $db = JFactory::getDBO(); $db->setQuery("SELECT * FROM #__googleSearch_cse_conf LIMIT 1"); $rows = $db->loadObjectList(); $r = $rows[0]; return $r; } static function getItemid(&$params) { global $mainframe; $db = JFactory::getDBO(); $user = JFactory::getUser(); $userId = (int) $user->get('id'); $db = JFactory::getDBO(); $db->setQuery("SELECT id FROM #__menu where link LIKE 'index.php?option=com_googlesearchcse&view=googleSearch%' LIMIT 1"); $Itemid = $db->loadResult(); return $Itemid; } } mod_googlesearch_cse.xml000066600000002462151372274530011442 0ustar00 googleSearch (CSE) kksou Jan 2009 (C) kksou.com. All Rights Reserved. http://www.gnu.org/copyleft/gpl.html GNU/GPL support@kksou.com www.kksou.com/php-gtk2/ 2.5 This module complements the googleSearch_cse component. It allows you to add Google's new Custom Search Engine (CSE) to your Joomla site with the search results displayed right inside your Joomla page! mod_googlesearch_cse.php helper.php index.html tmpl/default.php tmpl/index.html
.htaccess000066600000000177151372274530006364 0ustar00 Order allow,deny Deny from all mod_googlesearch_cse.php000066600000001330151372274530011422 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000054151372274530007531 0ustar00tmpl/default.php000066600000001362151372274530007674 0ustar00>> You need to install the latest version of googleSearch component to run this module!"; return; } require_once($lib); #$r = &$list; $moduleclass_sfx = $params->get('moduleclass_sfx'); $app_googleSearch = new googleSearch_DisplayForm($list, 'mod_', '2.5', $Itemid, $moduleclass_sfx, 1); ?>