AAAAhome/academiac/www/modules/mod_googleadsensesearch/mod_googleadsensesearch.php 0000604 00000012463 15137341640 0024106 0 ustar 00 Google 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'';
}
?>
';
}
else{
$logo ='';
}
?>
'; ?>