Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Code Added for Facebook Comments Box
- echo "<table cellpadding='0' cellspacing='0' width='400' class='center tbl-border'>\n<tr>\n";
- echo "<td class='tbl2' colspan='2'><strong>Comments Box</strong></td>\n";
- echo "</tr>\n<tr>\n";
- echo "<td class='tbl1'>\n";
- echo "<div id='fb-root'></div>
- <script>
- window.fbAsyncInit = function() {
- FB.init({appId: 'XXXXXXXXXXXXXXX', status: true, cookie: true,
- xfbml: true});
- };
- (function() {
- var e = document.createElement('script'); e.async = true;
- e.src = document.location.protocol +
- '//connect.facebook.net/en_US/all.js';
- document.getElementById('fb-root').appendChild(e);
- }());
- </script>\n";
- echo "<fb:comments numposts='10' width='400' publish_feed='false'></fb:comments>\n";
- echo "</td></tr>\n</table>\n";
- // Code Ends here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement