AAAAmod_googleadsensesearch.php000066600000012463151372653030012140 0ustar00Google Adsense Seach module

* * @version $Id: mod_googleadsensesearch.php, V1.1.0 $ * @copyright (C) 2006 JoobiWeb * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @author Julien Pinaud * @link http://www.joobiweb.com */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); $button_choose = $params->get( 'button', '0' ); $button_pos = $params->get( 'button_pos', 'left' ); $button_text = $params->get( 'button_text', 'search' ); $width = $params->get( 'width', 20 ); $text = $params->get( 'text', ''); $set_Itemid = intval( $params->get( 'set_itemid', 0 ) ); $client = $params->get( 'client', 'pub-1442685103838603') ; $moduleclass_sfx = $params->get( 'moduleclass_sfx', '' ) ; $encoding = $params->get( 'encoding', 'UTF-8' ); $hl = $params->get( 'hl', 'en' ); $newwin = $params->get( 'newwin', '1' ); $textColor = $params->get( 'textColor', '000' ); $backgroundColor = $params->get( 'backgroundColor', '#FFF' ); $cache = $params->get( 'cache', 'left' ); $domains1 = $params->get( 'domains1', '') ; $domains2 = $params->get( 'domains2', '') ; $domains3 = $params->get( 'domains3', '') ; $name1 = $params->get( 'name1', '') ; $name2 = $params->get( 'name2', '') ; $name3 = $params->get( 'name3', '') ; $sitesearch = $params->get( 'sitesearch', '0' ); $logoUrl = $params->get( 'logoUrl', '') ; $logoDestUrl = $params->get( 'logoDestUrl', '') ; $logoPlacement = $params->get( 'logoPlacement', '0') ; $country = $params->get( 'country', 'en') ; $logoGoogle = $params->get( 'logoGoogle', '0') ; $channel = $params->get( 'channel', '') ; if ( $button_choose=='1') { $button = ''; $output = ''; } else { $button=''; $output = ''; } switch ( $button_pos ) { case 'top': $button = $button .'
'; $output = $button . $output; break; case 'bottom': $button = '
'. $button; $output = $output . $button; break; case 'right': $output = $output . $button; break; case 'left': default: $output = $button . $output; break; } ?> '.$name1.'
'; $schowWeb='Web
'; } else{ $schowDomains1=''; } ?> '.$name2.'
'; } else{ $schowDomains2=''; } ?> '.$name3.'
'; } else{ $schowDomains3=''; } ?> Web
'; } echo''; } ?> Google'; } else{ $logo =''; } ?>
'. $radio. '
'; ?> mod_googleadsensesearch.xml000066600000054734151372653030012160 0ustar00 Google Adsense Seach Module Nick Dawson February 2007 (C) 2008 Open Source Matters. All rights reserved. http://www.gnu.org/copyleft/gpl.html GNU/GPL nick@dawson.be www.dawson.be 1.0.2 This module will display a search box similar to Joomla search box but for google Adsense results. Based on the Joomla 1.0.x code written by Julien Pinaud and modified for Joomla 1.5 native functionality. mod_googleadsensesearch.php .htaccess000066600000000177151372653030006360 0ustar00 Order allow,deny Deny from all