Location: PHPKode > projects > FeedMeLinks, Social BookmarkingSince2002 > modules/cominfo.inc.php
<%
	# $Id: cominfo.inc.php,v 1.4 2004/11/06 19:34:53 hirokai Exp $
	$u = $who ? $who : $sessionUserId;

	$cmd = "$bin/comments.sh -others-on-users-num $u";
	#echo "cmd: $cmd<br>";
	$othersOnUsersNum = exec( "$cmd" );
	if( $othersOnUsersNum ) {
		$cmd = "$bin/comments.sh -others-on-users-date $u";
		#echo "cmd: $cmd<br>";
		$latestByOthers = formatTS( exec( "$cmd" ));
	} else {
		$othersOnUsersNum = 0;
		$latestByOthers = "";
	}

	$cmd = "$bin/comments.sh -others-on-users-who $u";
	#echo "cmd: $cmd<br>";
	$latestOther = exec( "$cmd" );
%>
<a href="comments"><%= $othersOnUsersNum %> comments</a> by other users on <%= $who ? "$u's" : "your" %> links<%
if( $othersOnUsersNum ) { %>,<br />
most recently at <%= $latestByOthers %>, by
<%= makeUserLink( $latestOther ) %><% } %>.


Return current item: FeedMeLinks, Social BookmarkingSince2002