⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 PHP论坛中进行自助点歌的插件
💻 TXT
字号:
本程序参考ofstar论坛上的点歌台插件
修改 alex

功能不多说了,演示见我的萧风驿站:http://mysunland.com

安装方法:
一、上传文件
	上传以下文件:
	song.php;songs.php;song_admin.php;template/wind/hack_song.php
	data/songdata下的所有文件
	如果需要加入DJ管理员,请上传install_diange.php,然后按下一步操作。
二、加入DJ管理员,有两种方法
	1、加入特殊组DJ管理员,手工加。
	在后台选择加入特殊组,组名一定为"DJ管理员"。
	2、程序加入
	运行install_diange.php,运行完毕,请删除本文件。
	如运行http://mysunland.com/bbs/install_diange.php(仅是举例,根据自己论坛来用)
三、修改参数(也可不改,使用默认)
	打开song.php	
	在最上方约第六排开始有一下定义变量:
	$usrl=2;//第一个是正常点歌的钱
	$usrltb=10;//第二个是选外部连接点歌的钱
	$howdays=2;//第三个是歌曲保存的天数
	根据你的需要,请自己改。
四、修改模版,在主页上显示
	只需要修改template下index.htm文件就可以了.修改首页加入点歌信息就可以了
	头部的<!--与-->之间的内容
	修改为
<!--
<?
  $songdetail=readover("data/songdata/songcache.htm");/*点歌代码*/
print <<<EOT
-->
	在上部适当位置加入(或者下部,会HTML语言的可以自己加了)
	
	偶是加在
<!-- 
EOT;
foreach($catedb as $cate){
if($forumdb[$cate[fid]]){
print <<<EOT
-->
	的上面

<!-- 点歌模版 -->
<script>
function popwin2(id,path)
{              window.open("songs.php?action=song_st&dgno="+id,"","height=470,width=390,resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,location=no");
}
</script>
<table width=$tablewidth border=0 $i_table align=center cellspacing=1 cellpadding=1><tr bgcolor=$forumcolortwo><td class=head height=25><b>-=></b><a class=headurl>歌 曲 点 播 发 布 栏</a>-----<a href=song.php?action=user class=headurl>我要为朋友点歌</a>-----<a href=song_admin.php class=headurl>DJ管理</a></td></tr><tr><td style=background-image:url("$imgpath/$stylepath/background.gif") width=62% bgcolor=$forumcolorone>
<marquee scrollamount=1 direction=up height=70 onmouseover=this.stop(); onmouseout=this.start();>
$songdetail
</td></tr></table>
<!-- 点歌模版 -->
	



OK。至此,点歌台安装完毕

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -