Thank you for you replay
Now is working on example.
But si not working on the PHP scripts im using i but the code the comments is not showing
in end of the page you can see the code can you check if i have something wrong
Thank you
<?
global $id,$cat,$data,$url,$settings,$phrases,$data_singer,$scripturl,$links,$no_singer_name,$without_tables,$style,$global_align_x,$data_video;
$is_member = check_member_login();
open_table($data['name']);
run_player($url);
print "<center>
<table><tr>
<td align=center>
<a href=\"".$scripturl."/".str_replace(array('{cat}','{id}'),array($cat,$id),$links['song_download'])."\" title=\"$phrases[download]\"><img src=\"$style[images]/save_mid.gif\" alt=\"$phrases[download]\"></a>
</td>
<td align=center>
<a href='http://www.facebook.com/sharer.php?u=".urlencode($scripturl."/".str_replace(array('{cat}','{id}'),array($cat,$data['id']),$links['song_listen']))."' target=_blank title='Share it on Facebook'><img src='images/facebook_mid.gif' alt='Share it on Facebook' border=0></a>
</td>";
if($settings['snd2friend']){
print "<td align=center><a href=\"javascript
end($data[id])\" title='$phrases[send2friend]'><img src='images/send_mid.gif' alt='$phrases[send2friend]' border=0></a></td> ";
}
//-------- playlist ----------//
print "<td align=center><a href=\"javascript:;\" onClick=\"".iif($is_member, "playlist_add_song($data[id]);","alert('$phrases[please_login_first]');")."\" title='$phrases[add_to_playlist]'><img src='images/playlist_add_mid.gif' title='$phrases[add_to_playlist]' border=0></a></td>";
//----------- report -------
if($settings['reports_enabled']){
print "<td align=center>
<a href=\"javascript:;\" onClick=\"report($data[id],'song');\"><img src=\"$style[images]/report.gif\" title=\"$phrases[report_do]\" border=0></a>
</td>";
}
//-------------------------
print "
</tr></table>
</center>";
//------- rating -----------
print "<br><br><center>";
print_rating('song',$data['id'],$data['rate']);
print "</center>";
//----------------------------
print "
<img src='$style[images]/add_date.gif'> <b>$phrases[add_date] : </b>".get_date($data['date'])."<br>";
print "<img src='$style[images]/views.gif'> <b>$phrases[listens] : </b>".$data["listens_{$cat}"];
if($data['video_id']){
print "<br><img src='$style[images]/video.gif'> <b>$phrases[video] : </b> <a href=\"".str_replace('{id}',$data['video_id'],$links['video_watch'])."\">$data_video[name]</a>";
}
?>
<br>
<br>
<table width=100%>
<TBODY>
<!-- AddThis Button BEGIN -->
<div class="fb-like" data-href="http://www.facebook.com/pages/djsomalicom/94085252289" data-send="true" data-width="468" data-show-faces="true" data-font="tahoma"></div>
<!-- AddThis Button END -->
<?php
session_start();
ob_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Example 2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="comments/css/stylesheet.css"/>
</head>
<body>
<h1>Example 2</h1>
<?php
$cmtx_page_id = '2';
$cmtx_reference = 'Page Two';
$cmtx_path = '../comments/';
define('IN_COMMENTICS', 'true'); //no need to edit this line
require $cmtx_path . 'includes/commentics.php'; //no need to edit this line
?>
</TBODY>
</table>
<?
close_table();
?>