本帖最后由 find448 于 2012-5-27 20:24 编辑
模板上线应用中心,30块钱一份批发价,欢迎购买安装:
https://addon.dismall.com/?@mirwu_11915.template
=====================================================
用这个模板所谓修改一下就能把X2变成一个传奇SF发布站啦{:soso_e102:}
和论坛版块关联 设置收费发帖 设置收费道具顶贴 就可以自动赚广告费了{:soso_e113:}
演示地址:http://www.11915.net
安装说明:
第一步:解压!将upload文件包内的文件FTP工具上传根目录覆盖。
第二步:后台-门户-频道栏目增加频道。注意创建频道内设置(列表页模板名: 频道空白模板(需 DIY 添加内容)
第三步:这部比较复杂,会分类信息的就简单了
后台-论坛-创建一个版块-增加分类信息-字段变量我用的p1到p7 最好不要用别的 分类信息模块调用显示模板里面添加以下代码:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>无标题文档</title>
- </head>
- <body>
- <table width="100%" border="1" cellspacing="2" cellpadding="2">
- <tr align="center" bgColor="#FFFF99" onmouseover=javascript:this.bgColor='#ffffff' onmouseout=javascript:this.bgColor='#FFFF99'>
- <td width="10%" height="32"><a href={url} target="_blank" style="color:#FF0000"><p>[p1value] [p1unit]</p></a></td>
- <td width="10%">[p2value] [p2unit]</td>
- <td width="10%"><span class="STYLE3">[p3value] [p3unit]</span></td>
- <td width="10%">[p4value] [p4unit]</td>
- <td width="40%"><font color="#996600">[p6value] [p6unit]</font></td>
- <td width="10%">[p7value] [p7unit]</td>
- <td width="10%"><a href="{url}" style="color:#0000CC">点击查看</a></td>
- </tr>
- </table>
- </body>
- </html>
复制代码 第四步:频道 导入DIY(DIY文件在C包的DIY包里面) 这个就不用说了吧 就是导入portal.xml文件
第五步:DIY设置你自己的数据。
单独播放器使用方法:首页diy增加展示模块!—选择静态模块—选择html广告—粘贴以下内容
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>我爱战歌网在线音乐播放器</title>
- </head>
- <body topmargin="0" leftmargin="0">
- <script language="javascript">
- var AlvinPlayer;
- var AlvinControls;
- var AlvinCurrentMedia;
- var AlvinNetwork;
- var AlvinSettings;
- var AlvinPlayState = 11;
- var AlvinDuration = 0;
- var AlvinDurationString = "00:00";
- var AlvinPosition = 0;
- var AlvinPositionPer = 0;
- var AlvinPositionString = "00:00";
- var AlvinDownload = 0;
- var AlvinInterval;
- var id3 = "";
- var AlvinOvertimeInterval;
- </script>
- <script language="javascript">
- function AlvinFlash_DoFSCommand(command,args)
- {
- switch(command){
- case "playWMA":
- AlvinNewPlay(args);
- break;
- case "getWMATime":
- AlvinTime();
- break;
- case "wmaStop":
- AlvinStop();
- break;
- case "wmaPause":
- AlvinPause();
- break;
- case "wmaPlay":
- AlvinPlay();
- break;
- case "goWMA":
- AlvinGoPosition(args);
- break;
- case "setWMARL":
- AlivnWMARL(args);
- break;
- case "clearWMA":
- AlvinClear();
- break;
- case "setWMAVolume":
- AlvinVolume(args);
- break;
- }
- }
- </script>
- <script src="Alvinmedia.js"></script>
- <object id='AlvinFlash' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='560' height='307'>
- <param name='movie' value='sknplay.swf' />
- <param name='flashVars' value='userid=16397' />
- <param name='quality' value='high' />
- <param name='SCALE' value='exactfit'/>
- <parem name='salign' value='lt' />
- <parem name='myFlash' swLiveConnect='true' />
- <embed src='sknplay.swf' width='560' height='307' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' scale='exactfit' salign='lt' name='AlvinFlash2'></embed>
- </object>
- <OBJECT ID='AlvinWmaPlayer' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-oleobject' width='0' height='0' style='position:relative;left:0px; top:0px;width:0px;height:0px;'>
- <param name='baseURL' value=''>
- <param name='currentPosition' value='0'>
- <param name='currentMarker' value='0'>
- <param name='enableContextMenu' value='false'>
- <param name='enableErrorDialogs' value='false'>
- <param name='fullScreen' value='false'>
- <param name='invokeURLs' value='false'>
- <param name='mute' value='false'>
- <param name='playCount' value='1'>
- <param name='rate' value='1'>
- <param name='uiMode' value='invisible'>
- </OBJECT>
- <SCRIPT FOR = AlvinWmaPlayer EVENT = OpenStateChange(AlvinNewOpenState)>
- switch(AlvinNewOpenState)
- {
- case 13:
- AlvinDuration = AlvinPlayer.currentMedia.duration;
- AlvinDurationString = AlvinPlayer.currentMedia.durationString;
- AlvinTime();
- break;
- }
- </SCRIPT>
- <DIV></DIV>
- <SCRIPT FOR = AlvinWmaPlayer EVENT = PlayStateChange(AlvinNewPlayState)>
- AlvinPlayState = AlvinNewPlayState;
- var AlvinFlash = document.getElementById("AlvinFlash");
- AlvinStopOvertime();
- switch(AlvinNewPlayState)
- {
-
- case 3:
- AlvinStartInterval();
- AlvinFlash.SetVariable("wbIPN","0");
- AlvinOvertimeInterval = window.setTimeout("AlivnSendID3()",2000);
- break;
- case 6:
- AlvinStartOvertime();
- break;
- case 7:
- AlvinSendPlayNext();
- break;
- case 8:
- AlvinSendPlayNext();
- break;
- case 10:
- AlvinOvertimeInterval = window.setTimeout("AlvinSendPlayNext()",2000); //无法播放,在2秒后跳过下一曲
- break;
- default:
- AlvinStopInterval();
- break;
- }
- AlvinGetBackInfo();
- </SCRIPT>
- <SCRIPT LANGUAGE="VBScript">
- Sub AlvinFlash_FSCommand(ByVal command, ByVal args)
- call AlvinFlash_DoFSCommand(command, args)
- end sub
- </SCRIPT>
- <script language="javascript">
- AlvinInit();
- </script>
- </body>
- </html>
复制代码 实在搞不定的加QQ:277463741
只做了功能 美化就大家自己去做啊
交流QQ群号:38739863
|