echo "<script src='https://apis.google.com/js/plusone.js'>
</script>";
echo"<center><div class='g-comments'
data-href='".$settings['siteurl'].FUSION_SELF."?readmore=".$_GET['readmore']."'
data-width='800'
data-first_party_property='BLOGGER'
data-view_type='FILTERED_POSTMOD'>
</div></center>\n";
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2014 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: comments_include.php
| Author: HobbyMan
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
$ctype="";
$cdb="";
$ccol="";
$cid="";
$clink="";
function showcomments($ctype, $cdb, $ccol, $cid, $clink) {
global $settings, $locale, $userdata, $aidlink;
if (FUSION_SELF == "news.php") { $href=
FUSION_SELF."?readmore=".$_GET['readmore']; }
elseif (FUSION_SELF == "downloads.php") { $href=
FUSION_SELF."?cat_id=".$_GET['cat_id']."&download_id=".$_GET['download_id']; }
elseif (FUSION_SELF == "articles.php") { $href=
FUSION_SELF."?article_id=".$_GET['article_id']; }
elseif (FUSION_SELF == "photogallery.php") { $href=
FUSION_SELF."?photo_id=".$_GET['photo_id']; }
elseif (FUSION_SELF == "viewpage.php") { $href=
FUSION_SELF."?page_id=".$_GET['page_id']; }
opentable("Comments<span style='float:right;'><small><i>with
Google+</i></small>");
echo"<div style='margin: 0 auto;'>\n";
echo "<div class='g-comments'
data-href='".$settings['siteurl'].$href."'
data-width='600'
data-first_party_property='BLOGGER'
data-view_type='FILTERED_POSTMOD'>
</div></div>\n";
closetable();
}
?>
<div class='g-commentcount' data-href=[URL]'></div>
Category Forum
Code Snippet and functions - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions