<?php
/**
 * @package Flatnux_blocks_SocialNetworks
 * @author Alessandro Vernassa <speleoalex@gmail.com>
 * @copyright Copyright (c) 2003-2005
 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
 */
defined('_FNEXEC') or die('Restricted access');
global $_FN;
$id = FN_GetParam("id", $_GET, "html");
$op = FN_GetParam("op", $_GET, "html");
$urlpage = FN_RewriteLink("index.php?mod={$_FN['mod']}&amp;op=$op&amp;id=$id", "&", true);
$strsocial = "";
//facebook----------------------------------------------------->
$strsocial.="<div style=\"margin:5px;\" >
<iframe	src=\"http://www.facebook.com/plugins/like.php?href=";
$strsocial.= urlencode($urlpage);
$strsocial.= "&amp;layout=button_count&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\"
scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\"
style=\"border: none; overflow: hidden; width: 300; height: 30px\"></iframe>
</div>";
//facebook-----------------------------------------------------<
//google + ---------------------------------------------------->
$strsocial.= "<div style=\"margin:5px;\" >
<iframe scrolling=\"no\" frameborder=\"0\" style=\"border:0px;overflow:hidden;width:90px;height:20px\" src=\"https://plusone.google.com/u/0/_/%2B1/fastbutton?url=" . urlencode($urlpage) . "&amp;size=medium&amp;count=true\" class=\"addtoany_special_service google_plusone\"></iframe>
</div>";
//google + ----------------------------------------------------<
$strsocial.= "";
echo $strsocial;
?>