File: /home/iestorre/informatica/modules/mod_atom_twitter_feeds/tmpl/default.php
<?php
/**
* @package atomix
* @subpackage mod_atom_facebook_likebox
* @author - Thomas Andrew Erickson
* @copyright - Copyright (C) 2012 - 2014 Atomix Studios, Inc. All rights reserved.
* @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* Websites: www.atomixstudios.com
* Technical Support: www.atomixstudios.com/support.html
*/
// no direct access
defined( '_JEXEC' ) or die('Restricted Access');
//fetch parameters result from xml file
$username = $params->get('username');
//$widgetId = trim($params->get('widgetId'));
$width = trim($params->get('width'));
$height = trim($params->get('height'));
$theme = $params->get('theme');
$linkColor = $params->get('linkColor');
$footer = $params->get('footer');
if($footer == 'true'){$footer = '';}
$header = $params->get('header');
if($header == 'true'){$header = '';}
$border = $params->get('border');
if($border == 'true'){$border = '';}
$scrollbar = $params->get('scrollbar');
if($scrollbar == 'true'){$scrollbar = '';}
$transparent = $params->get('transparent');
if($transparent == 'false'){$transparent = '';}
$bColor = trim($params->get('bColor'));
if($bColor=="1"){
$backgroundColor = $params->get('backgroundColor');}
else{$backgroundColor = "";}
$borderColor = $params->get('borderColor');
$padding = $params->get('padding');
$border_radius = $params->get('border_radius');
$language = $params->get('language');
$tweetLimit = trim($params->get('tweetLimit'));
?>
<div class="atom_twitter_feeds <?php echo $params->get('moduleclass_sfx');?>" style="background:<?php echo $backgroundColor; ?>; width: <?php echo $width;?>px; padding: <?php echo $padding; ?>px; border-radius: <?php echo $border_radius; ?>px;">
<a class="twitter-timeline" data-lang="<?php echo $language; ?>" data-width="<?php echo $width; ?>" data-height="<?php echo $height; ?>"
<?php if($scrollbar == ' ') { ?> data-tweet-limit="<?php echo $tweetLimit; ?>" <?php } ?> data-border-color="<?php echo $borderColor;?>" data-theme="<?php echo $theme; ?>" data-chrome="<?php echo $footer." ".$header." ".$scrollbar." ".$transparent;?>" data-link-color="<?php echo $linkColor; ?>" href="https://twitter.com/<?php echo $username; ?>">Tweets by <?php echo $username; ?></a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<div class='support_author' style='font-size:9px; text-align:right; text-decoration: none; color:#ccc; position: relative;top: -16px;'><a href='https://www.cprcertification.com' title='click here' target='_blank'>CPR Certification Online</a></div>
</div>