[公告]社区整合了音乐搜索在线试听功能
本社区在首页新整合了一[b][color=#DC143C]音乐搜索[/color][/b]功能~
大家可以搜索自己想要的歌曲~很方便的~
搜索后~也可以在线试听~具体见图片箭头所指部分~[em01]
[attach]1222[/attach] 把indexhead.asp
中代码给偶们看看吧 结合以上的问题
我还想问一下
我的导航栏下拉菜单有些是自己加的
我想在加连接的时候
当别人点上去是在新的窗口中打开,就是开一个新的浏览器去执行插件,连接之类的
举例,该怎么写代码?
还有你的IndexHead.asp
代码给我们看看好吧,我主要想看那个3721搜索和MP3搜索的代码 还有我也申请了3721的搜索联盟
有了代码
单独在网页里打开成功,但放到INDEX.ASP里面却会出错
请问那段代码该加在index的哪里
我的index是修改过的,换肤功能的
谢谢
3个问题一起回答~~呵呵~~谢谢 1:要想在新窗口打开,只要在连接中加入[color=#DC143C]target="_blank”[/color]
具体效果如:
<a href=toplist.asp?orders=7 [color=#DC143C]target="_blank"[/color]>用户列表</a>
2:我的3721代码其实是用论坛的顶部广告功能来调用的~
你把[color=#DC143C]<%=Forum_ads(0)%>[/color]这句放在你的indexhead.asp文件的具体位置中
然后代码在论坛后台添加就可以了~
我加在forum_js.asp里的
代码如下
有错误
//论坛服务
var bbslist= '<a style=font-size:9pt;line-height:14pt; href=\"list.asp?boardid=5\">基本服务
</a><br> <a style=font-size:9pt;line-height:14pt; href=\"z_bank.asp\">银行/服务</a><br>
<a style=font-size:9pt;line-height:14pt; href=http://asp3.6to23.com/vicfox/3721.html
target="_blank">3721搜索</a>' 需要有新窗口打开 2:我的3721代码其实是用论坛的顶部广告功能来调用的~
你把<%=Forum_ads(0)%>这句放在你的indexhead.asp文件的具体位置中
然后代码在论坛后台添加就可以了~
不是很明白 就是把原来的顶部广告代码利用起来~
换肤的论坛一般都把顶部的那个BARRN去掉了~
你直接在indexhead.asp的表格中插入这句<%=Forum_ads(0)%> 知道了
插了这句以后
再在后台添加广告代码是吧
可我不晓得插在INDEXHEAD哪里,能把你那段给我参考下吗~ [quote][b]以下是引用[i]G4网络在2003-11-22 15:47:36[/i]的发言:[/b]
知道了
插了这句以后
再在后台添加广告代码是吧
可我不晓得插在INDEXHEAD哪里,能把你那段给我参考下吗~
[/quote]
你想在哪里显示就插在哪啊~ 可是我随便插个地方就出错呢 我就想像你一样加一个音乐搜索
能把代码给我参考一下吗 2个问题
1。我要把这段代码加到首页的
没有新的帖子 有新的帖子 被锁定的论坛
下面
但加了好几次都不成功,要在这个代码上下加点什么东西啊
<script language="javascript" src="http://union.3721.com/style/sel_410_80.js?pid=S_daominghu_39975&pid1=U_daominghu_39976&bgColor=0099CC&boxColor=blue"></script>
2。你indexhead上的音乐搜索代码如果方便能提供一下吗
或者把你indexhead的内容贴出来参考下
谢谢
1:直接用论坛底部的广告功能就可以了啊~
在论坛广告设置中的首页尾部广告代码里设置~
2:音乐搜索代码到这里下载
http://www.nn11.com/showsoft.asp?soft_id=142 我用了广告
但不显示啊
就这段
<script language="javascript" src="http://union.3721.com/style/sel_410_80.js?pid=S_daominghu_39975&pid1=U_daominghu_39976&bgColor=0099CC&boxColor=blue"></script>
那就奇怪了~你论坛原来是什么版的~可能是原来的版本去了这个功能~ 就是你的啊~~~~~
音乐搜索插件代码我有了
可是我对代码不熟悉
请告诉怎么和你一样吧
我也想放在indexhead下面
麻烦你把过程说下
我比较笨啦~~ 具体操作比较烦琐~在这里一时也讲不清楚我把代码给你~你参考参考~
<table cellspacing=1 cellpadding=3 align=center class=tableBorder1 border=0>
<tr>
<th colspan="4" id="TableTitleLink" width="100%"> <marquee scrollamount=3 onmouseover=this.stop(); onmouseout=this.start();>
<%
sql="select top 5 title,addtime from bbsnews where boardid="&boardid&" order by id desc"
set rs=conn.execute(sql)
if rs.bof and rs.eof then
response.write "<b><a href='announcements.asp?boardid="& boardid &"' target=_blank><ACRONYM TITLE='当前没有公告'><font color=red>当前没有公告</ACRONYM></a></b> ("& now() &")"
else
for i=1 to 5
if not rs.eof then
response.write "<IMG src=images/gg.gif> <b><a href='announcements.asp?boardid="& boardid &"' target=_blank><font color=#ff6600>"& rs("title") &"</font></a></b>["& rs("addtime") &"] "
rs.movenext
end if
next
end if
set rs=nothing
%>
</marquee> </th>
</tr>
<tr>
<% if not founduser then
response.Write "<td class=tableBody1 align=center valign=middle><a href=reg.asp><img src=""UploadFile/200382323374592137.gif"" alt=""马上注册"" border=0></a></td>"&_
"<td class=tableBody1 ><br><form action=login.asp?action=chk method=post> 用户:<INPUT maxLength=16 name=username size=15> [<a href=lostpass.asp style=""CURSOR: help"">忘记密码</a>]<br> 密码:<INPUT maxLength=20 name=password size=15 type=password> <select name=CookieDate><option selected value=0>不保存</option><option value=1>存一天</option><option value=2>存一月</option><option value=3>存一年</option></select> <input type=submit name=submit value='登陆'></FORM></td>"
else
response.Write "<td class=tableBody1 align=center valign=middle><img src="""&myface&""" border=0></td>"&_
"<td class=tableBody1 align=center >"
%>
<TABLE border=0 width="98%" align=center>
<TR>
<td>
<%
if Cint(newincept())>Cint(0) then
if Cint(forum_setting(10))=1 then%>
<script language=JavaScript>openScript('messanger.asp?action=read&id=<%=inceptid(1)%>&sender=<%=inceptid(2)%>',500,400)</script>
<% end if %>
<bgsound src="<%=Forum_info(7)&Forum_statePic(8)%>" border=0> <img src=<%=Forum_info(7)&Forum_boardpic(9)%>>
<a href="usersms.asp?action=inbox">我的收件箱</a> (<a href="javascript:openScript('messanger.asp?action=read&id=<%=inceptid(1)%>&sender=<%=inceptid(2)%>',500,400)"><font color="<%=Forum_body(8)%>"><%=newincept()%>
新</font></a>)
<% else %>
<img src=<%=Forum_info(7)&Forum_boardpic(8)%>> <a href="usersms.asp?action=inbox">我的收件箱</a>
(<font color=gray>0 新</font>)
<%
end if
'call getRe()
%>
※ <a href="JavaScript:openScript('messanger.asp?action=new',500,400)">发短信</a>
<font face=Wingdings color=#666666>v</font> <font color="red"><%=myClass%></font></td>
</TR>
<tr>
<td height="1" bgcolor="<%=Forum_body(27)%>"></td>
</tr>
<TR>
<td><a href="topicwithme.asp?s=2">发表的主题</a> ※ <a href="topicwithme.asp?s=3">被回复的主题</a>
※ <a href="topicwithme.asp?s=1">参与的主题</a></td>
</TR>
<TR>
<td>文章数:<%=myArticle%> ※ 现金:<%=mymoney%> ※ 魅力:<%=myusercp%></td>
</TR>
<TR>
<td><font color="gray">您最后一次访问是在:<%=Now()%></font></td>
</TR>
</TABLE>
<%
end if
sql="select top 1 TopicNum,BbsNum,TodayNum,UserNum,lastUser,yesterdaynum,maxpostnum,maxpostdate,LastPost from config where active=1"
set rs=conn.execute(sql)
LastPostInfo=split(rs("LastPost"),"$")
if not isdate(LastPostInfo(2)) then LastPostInfo(2)=Now()
LastPostTime=LastPostInfo(2)
if datediff("d",LastPostTime,Now())>0 and ubound(LastPostInfo)=7 then
conn.execute("update config set yesterdaynum=todaynum,LastPost='"&checkStr(LastPostInfo(0))&"$"&checkStr(LastPostInfo(1))&"$"&Now()&"$"&checkStr(LastPostInfo(3))&"$"&checkStr(LastPostInfo(4))&"$"&checkStr(LastPostInfo(5))&"$"&checkStr(LastPostInfo(6))&"$"&checkStr(LastPostInfo(7))&"'")
conn.execute("update config set todaynum=0")
end if
if rs(2)>rs(6) then conn.execute("update config set maxpostnum=todaynum,maxpostdate=Now()")
%></td>
<td class=tableBody1> <TABLE border=0 width="98%" align=center>
<TR>
<TD>共<B><%= rs(3)%></B>位会员</td>
<TD><a href="toplist.asp?orders=2">新来宾</a>:<a href=dispuser.asp?name=<%= htmlencode(rs(4)) %> target=_blank class="cblue"><b><%= htmlencode(rs(4)) %></b></a></td>
</TR>
<tr>
<td height="1" bgcolor="<%=Forum_body(27)%>" colspan="2"></td>
</tr>
<TR>
<TD>今日发贴:<FONT COLOR="<%=Forum_body(8)%>"><B><%=rs(2)%></B></FONT></td>
<TD>主题总数:<b><%= rs(0) %></b></td>
</TR>
<TR>
<TD>昨日发贴:<B><%=rs(5)%></B></td>
<TD>帖子总数:<b><%=rs(1)%></B></td>
</TR>
<TR>
<TD>建站天数:<B><%=datediff("d","2003-6-1",date())%></B></td>
<TD>最高日贴:<B><%=rs(6)%></B></td>
</TR>
</TABLE></td>
<td class=tableBody1 nowrap align="center"><%=Forum_ads(0)%></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td width="100%" colspan="4"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="75%">
<iframe border=0 frameborder=0 framespacing=0 height=100% marginheight=0 marginwidth=0 name=new_date noResize scrolling=no src="../music/index.htm" width=100% vspale="0"></iframe></td>
<td width="25%">
<iframe width=151 frameborder=0 border=0 scrolling=no height=15 src="http://www.dangdang.com/league/link/showlink.asp?type=link&id=85&userid=P-1289691"></iframe></td>
</tr>
</table></td>
</tr>
<tr>
<td class=tableBody2 align="center" colspan="4" height="12"><a href=queryresult.asp?stype=3>查看新贴</a>
<font face=Wingdings color=#666666>v</font> <a href=hotlist.asp?stype=1>热门话题</a>
<font face=Wingdings color=#666666>v</font> <a href=toplist.asp?orders=1>发贴排行</a>
<font face=Wingdings color=#666666>v</font> <a href=toplist.asp?orders=7>用户列表</a>
<font face=Wingdings color=#666666>v</font> <a href=boardhelp.asp>在线帮助</a>
<font face=Wingdings color=#666666>v</font> <strong><a href="http://www.xmbonline.com/bbs/index.htm" target="_top" onFocus="if(this.blur)this.blur()"><font color="#FF6600">音乐播放器</font></a></strong>
<img src="images/music.gif"><img src="images/music1.gif"></td>
</tr>
</table>
怎么我弄好了是无法显示网页啊 可能是因为你的论坛改动较多~我的代码不适合你的论坛~ 55555555555
那应该怎么加啊~~~ 问题是我按你的代码搜索旁边的网站广告可以显示
但音乐搜索却不显示 你是不是其他的文件有改动啊~~
如果改过,能把你那个搜索软件文件夹给我吗 音乐搜索你要看看你的路径有没有写正确啊~ 没啊
我文件夹是 musicdata
下载下来所有文件都在里面
都没改过~~ 有是有了
可是好象尺寸不对啊
我要去拉下去才看的见
而你是一打开论坛就看见了
估计原来的index.htm
太大了
你是改过的对吗
你改过的给我一份吧 我发现的确是要改的
谢谢老大把修改后,也就是你现在用的
indexhead.asp代码和改过的音乐搜索相关文件提供一下好吗
谢谢 indexhead.asp代码我不是前面给你了吗?
音乐的这个我是根据自己的论坛改的~别的论坛用不了的~ 你如果有空到我论坛看看吧~~
拉去拉动才看的到
这个问题解决就好了~~~
谢谢了~~ 原来是这个问题~是表格大小的问题~因为是调用index.htm这个页面~所以你要注意大小
给你这个代码~这个是音乐搜索的首页index.htm代码,我帮你改了一下~你去试试
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="css.css" type=text/css rel=stylesheet>
<title>音乐搜索引擎V3.1+完美版</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table cellSpacing="0" cellPadding="2" border="0" style="border-collapse: collapse" bordercolor="#111111">
<tbody>
<tr>
<form action="music.asp" method="get">
<td noWrap width="16%">请输入音乐名称</td>
<td noWrap width="21%"><input class="input" maxLength="150" size="18" name="key"></td>
<td width="63%" vAlign="center" nowrap>
<input id="fmp3" type="checkbox" value="1" name="fmp3">
MP3
<input id="frm" type="checkbox" value="1" name="frm">
RM
<input id="fwma" type="checkbox" value="1" name="fwma">
WMA
<input id="fasf" type="checkbox" value="1" name="fasf">
ASF
<input type="checkbox" value="1" name="fexe">
exe
<input type="checkbox" value="1" name="fzip">
zip
<input type="checkbox" value="1" name="frar">
rar
<input type="image" src="gotosearch.gif" border="0" name="I2" cachename="go" width="37" height="21">
</td>
</form>
</tr>
</tbody>
</table>
</body>
</html>
这个问题解决了
但我的搜索功能不能正常使用啊
你看看 老大你改了好多文件呢~~
搜索后不是在新窗口打开的
造成老问题~~~
谢谢你改过多少文件都帮忙说下吧 搜索后不在新窗口打开
这个问题请帮忙解决下 打开音乐搜索的index.htm文件~找到
<form action="music.asp" method="get" >
在当中加入 [color=#DC143C]target="_blank"[/color]
变为:<form action="music.asp" method="get" [color=#DC143C]target="_blank"[/color]>
就可以了~ 改好了
但是它出现什么top文件错误了~~
我在config.asp改成我的页头文件怎么不行~ 我不是调用头部文件的~我是直接在该页在插入了一个相同的顶部~ 我调用了没用
是应该调用哪个文件啊
是不是这样的格式?
在config.asp里设置
="../页头文件.asp"
不知道是哪个文件啊
帮帮忙~~ 这个是音乐搜索的首页,是放在论坛首页做调用的
到这没错,再进行搜索就出错了
http://zhiml.xfvip.com/g4/musicdata/index.htm 不是在config.asp设置啊~你先不要改动music.asp这页直接传看可不可以用~
页:
[1]
2

