? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/board/modules/mod_gacounter/tmpl/
File Upload :
Current File : /home/admin/public_html/old/board/modules/mod_gacounter/tmpl/default.php

<?php
/**
	 * @package   Google Analytics Counter Joomla 1.5 module
	 * @version   1.0
	 * @author    Erwin Schro (http://www.joomla-labs.com)
	 * @author	  Convert to Joomla from WebResourcesDepot's tutorial on Google Analytic Counter Badge
	 * @copyright Copyleft (C) 2010 J!Labs. All rights reserved.
	 * @license   GNU/GPL http://www.gnu.org/copyleft/gpl.html
	 *
	 * Google Analytics Counter has been developed and distributed under the terms of the GPL 
	 * @copyright Joomla is Copyright (C) 2005 Open Source Matters. All rights reserved.
	 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
	 */
	 

defined('_JEXEC') or die('Restricted access');

$style = $params->get('style');
if ($style=='1') {$color = 'blue';}
else if ($style=='2') {$color = 'red';}
else if ($style=='3') {$color = 'darkorange';}
else if ($style=='4') {$color = 'pink';}
else {$color='style';} // default Dark Grey

$document =& JFactory::getDocument();
$document->addCustomTag( '<link rel="stylesheet" type="text/css" href="'. JURI::base() . 'modules/mod_gacounter/elements/'.$color.'.css" title="default" />' );

$displayType = $params->get('displayType'); // 0 = visits 1=pageviews

?>
<div id="gstatsWrap">
	<div id="gstatsDetailsWrap">
		<div id="gstatsCount">
			<?php echo $out->count; ?>
		</div>
		<div id="gstatsMetric">
			<?php 
				echo ($displayType=='pageviews') ? JText::_( 'PAGEVIEWSTXT' ) : JText::_( 'VISITSTXT' );
			?>
		</div>
	</div>
	<div id="byGoogle">By Google Analytics</div>
</div>

T1KUS90T
  root-grov@210.1.60.28:~$