| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/system/conf/js_options/ |
Upload File : |
<?php
/*
# --------------------------------------------------------------
# social_share_plugin.js 2015-08-18
# Gambio GmbH
# http://www.gambio.de
# Copyright (c) 2015 Gambio GmbH
# Released under the GNU General Public License (Version 2)
# [http://www.gnu.org/licenses/gpl-2.0.html]
# --------------------------------------------------------------
*/
$t_local_code = $_SESSION['language_code'];
switch ($t_local_code) {
case 'en':
$t_local_language_code = 'US';
break;
default:
$t_local_language_code = strtoupper($t_local_code);
}
$array['social_share'] = array();
$array['social_share']['facebook_share_box'] = array();
$array['social_share']['facebook_share_box']['image'] = "<img src='" . StaticGXCoreLoader::getThemeControl()->getThemeImagePath() . "social_share_dummy_facebook.png' alt='' title='Facebook' />";
$array['social_share']['facebook_share_box']['code'] = "<iframe src='https://www.facebook.com/plugins/like.php?locale=" . $t_local_code . "_" . $t_local_language_code . "&href=#location_encoded#&send=false&layout=button_count&width=115&show_faces=false&action=recommend&colorscheme=light&height=20' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:115px; height:20px;' allowTransparency='true'></iframe>";
$array['social_share']['twitter_share_box'] = array();
$array['social_share']['twitter_share_box']['image'] = "<img src='" . StaticGXCoreLoader::getThemeControl()->getThemeImagePath() . "social_share_dummy_twitter.png' alt='' title='Twitter' />";
$array['social_share']['twitter_share_box']['code'] = "<iframe allowtransparency='true' frameborder='0' scrolling='no' src='https://platform.twitter.com/widgets/tweet_button.html?url=#location_encoded#&count=none&counturl=" . HTTP_SERVER . DIR_WS_CATALOG . "&text=#text#&count=data-count&lang=" . $t_local_code . "' style='width:115px; height:20px;' class='twitter-count-none'></iframe>";
$array['social_share']['pinterest_share_box'] = array();
$array['social_share']['pinterest_share_box']['image'] = "<img src='" . StaticGXCoreLoader::getThemeControl()->getThemeImagePath() . "social_share_dummy_pinterest.png' alt='' title='Pinterest' />";
$array['social_share']['pinterest_share_box']['code'] = "<a href='https://pinterest.com/pin/create/button/?url=#location_encoded#&media=#product_image#&description=#text#' rel='nofollow' data-pin-do='buttonPin' data-pin-config='none'><img src='https://assets.pinterest.com/images/pidgets/pin_it_button.png' alt='Pinterest' /></a><script type='text/javascript' src='https://assets.pinterest.com/js/pinit.js'></script>";