Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > feedmelinks.com/testing/has-comments.php
<%
	include_once( "../modules/utils.inc.php" );

	$tok =  $_COOKIE["c_pass_token"];
	$u   =  $sessionUserId = $_COOKIE["c_uid"];
	$l = $l ? $l : 79;
	# pheezy: 18744
	# 6, jm3, 15058
	# 3, jm3, 79
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<title> FML | has-comments TEST HARNESS </title>

you are: <%= $u %>.<br />
link is:  <%= $l %>.<br />

has_comments() is: <%= has_comments( $l ) ? "true" : "false"; %>.<br/>
num_comments() is: <%= num_comments( $l ) %>.<br/>

<br />
<br />

<%= getCommentsForLink( $l, "jm3" ) %>



Return current item: FeedMeLinks, Social BookmarkingSince2002