20 lines
		
	
	
		
			704 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			704 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?PHP 
 | 
						|
 | 
						|
if (eregi("comments_show.php", $_SERVER['SCRIPT_NAME'])) {
 | 
						|
    Header("Location: index.php"); die();
 | 
						|
}
 | 
						|
 | 
						|
//$sqlComments = "SELECT * FROM gforum_TriathlonsComment WHERE triathlon_id_fk = $row[uid] AND comment_valid = 1 ORDER BY comment_time DESC";
 | 
						|
 | 
						|
//$objComments = mysql_query($sqlComments) OR die(mysql_error());
 | 
						|
 | 
						|
$fb_xid = intval(mysql_escape_string($_GET[uid]));
 | 
						|
 | 
						|
?>
 | 
						|
 | 
						|
<a name="comment"></a>
 | 
						|
 | 
						|
<? /*<div class="fb-comments" data-href="<? echo(curPageURL()); ?>" data-num-posts="5" data-width="500"></div>*/ ?>
 | 
						|
<? /**<fb:comments href="<? echo(curPageURL()); ?>" num_posts="5" width="500"></fb:comments>**/ ?>
 | 
						|
<fb:comments href="<? echo(curPageURL()); ?>" num_posts="5" width="622"></fb:comments>
 |