楼上的你安装了 社区俱乐部 没有,按你的情况是应该安装了独立点歌台
那index.php应该如下修改
找到
在前面添加
//Hacked by PennyChen
if (empty($action))
{
$time_limit = time()-3600*24*7;
$query=$db->query("SELECT * FROM $tablepre"."xn_song WHERE stime>='$time_limit' ORDER BY stime DESC");
$num=0;
while($result = $db->fetch_array($query)) {
$touser=$result['touser'];
$username=$result['username'];
$songurl=$result['songurl'];
$content=$result['content'];
$sgid=$result['sgid'];
$songname=$result['songname'];
$stime = date('Y年m月d日',$result['stime']);
$num++;
// $temp1.="<center><a href=\"club_song.php?fs=st&sgid=$sgid\" onclick=\"javascript:window.open('club_hearsong.php?songid=$sgid','','width=450,height=500,scrollbars=yes')\"><font color=blue>$username</font> 点了一首 <u><font color=green>$songname</font></u> 送给 <font color=RED>$touser</font> 听,并想对".$touser."说: <font color=RED>$content</font></a> ($stime)";
$temp1.="<center><a href=\"hearsong.php?songid=$sgid\"><font color=blue>$username</font> 点了一首 <u><font color=green>$songname</font></u> 送给 <font color=RED>$touser</font> 听,并想对".$touser."说: <font color=RED>$content</font></a> ($stime)";
}
}
if($num==0) {
$temp1.='<center> 目前暂时沒有点歌信息!';
}
//Hacked end
[ 本帖最后由 bushigou 于 2005-11-29 17:43 编辑 ] |