Parašė heey· 2011 Bal. 9 03:04:09
#24
eroras ... pas mane ...
$code .= '<div id="fb-root"></div>';
sitoje eiluteje ..
Notice: Undefined variable: code in C:\xampp\htdocs\php\includes\comments_include.php on line 25
gal ka netaip padariau ?:?
mano comments_include.php
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
include LOCALE.LOCALESET."comments.php";
function showcomments($ctype, $cdb, $ccol, $cid, $clink) {
global $settings, $locale, $userdata, $aidlink;
$id = '106282689456080'; // Aplikacijos ID
$link = FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "");
$link = preg_replace("^(&|\?)c_action=(edit|delete)&comment_id=\d*^", "", $link);
$code .= '<div id="fb-root"></div>';
$code .= '<script src="http://connect.facebook.net/en_US/all.js#appId='.$id.'&xfbml=1"></script>';
$code .= '<fb:comments xid="'.md5($clink).'" numposts="10" publish_feed="true"></fb:comments>';
return print($code);
}
?>
Redagavo heey· 2011 Bal. 9 03:04:15