You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Florin C B. <ory...@us...> - 2013-04-22 18:13:16
|
Update of /cvsroot/mxbb/mx_clock/clocks In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22745/clocks Modified Files: Clock.swf design.swf Log Message: Index: Clock.swf =================================================================== RCS file: /cvsroot/mxbb/mx_clock/clocks/Clock.swf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsixd8fY and /tmp/cvsfj6sTC differ Index: design.swf =================================================================== RCS file: /cvsroot/mxbb/mx_clock/clocks/design.swf,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvstiDBZY and /tmp/cvsu5jcED differ |
|
From: Florin C B. <ory...@us...> - 2013-04-22 17:45:06
|
Update of /cvsroot/mxbb/core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20111 Modified Files: index.php Log Message: some comments Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** index.php 30 Mar 2011 10:05:23 -0000 1.85 --- index.php 22 Apr 2013 17:45:04 -0000 1.86 *************** *** 11,15 **** define('IN_PORTAL', 1); - $phpEx = substr(strrchr(__FILE__, '.'), 1); $mx_root_path = "./"; --- 11,14 ---- |
|
From: Florin C B. <ory...@us...> - 2013-04-21 04:19:38
|
Update of /cvsroot/mxbb/mx_music/upload/song_image In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14163 Added Files: my_mp3.png Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: my_mp3.png --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-04-21 04:19:29
|
Update of /cvsroot/mxbb/mx_music/templates/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14152 Modified Files: music_cat_xs.html Added Files: music_flv_body.html music_media_cat_body.html Removed Files: music_mp3_popup_player.tpl Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: music_media_cat_body.html --- <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td valign="bottom" width="100%"><a class="maintitle" href="{U_VIEW_CAT}">{CAT_TITLE}</a><br /> <span class="gensmall"><b>{L_MODERATORS}: {MODERATORS}</b></span></td> <td align="right" valign="bottom" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {NAV_SEP} <!-- IF CAT_PARENT eq 0 --><!-- ELSE --><a href="{U_VIEW_CAT_PARENT}" class="nav">{CAT_PARENT_TITLE}</a> {NAV_SEP} <!-- ENDIF --><a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT_VIRTUAL}">{CAT_TITLE_VIRTUAL}</a></span> </td> </tr> </table> <div class="forabg block"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"> </ul></li> <div id="p1" class="post bg2 online"> <div class="textbody"> <form action="{S_MUSIC_ACTION}" method="post"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thTop" height="25" align="center" colspan="7" nowrap="nowrap">{L_CATEGORY} :: {CAT_TITLE}</th> </tr> <!-- BEGIN no_songs --> <tr> <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_SONGS}</span></td> </tr> <!-- END no_songs --> <!-- BEGIN songrow --> <tr> <!-- BEGIN songcol --> <td align="center" width="{S_COL_WIDTH}" class="row1"></td> <!-- END songcol --> </tr> <tr> <!-- BEGIN song_detail --> <!-- IF song_detail.SWITCH_ROW_TYPE eq MEDIA --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_SONG_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td width="44%" colspan="7" class="row1" align="center"> <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; var Mac; var Win; var Unix; var Linux; Win = navigator.userAgent.indexOf("Win") > -1; Mac = navigator.userAgent.indexOf("Mac") > -1; Unix = navigator.appVersion.indexOf("X11") > -1; Linux = navigator.appVersion.indexOf("Linux") > -1; if (Mac) { if ( navigator.appName == "Netscape" ){ //Netscape code document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); document.write (' AutoSize=0'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ) { WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); //Firefox code document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="0"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.SONG_URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="VideoPlayback" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq VIMEO --> <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" data="{song_detail.VIDEO_URL}"> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="showAll" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MP3 --> <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> <param name="wmode" value="transparent" /> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="qtsrc" value="{song_detail.SONG_URL}"> <param name="autoplay" value="false"> <param name="loop" value="false"> <param name="controller" value="true"> <param name="kioskmode" value="true"> <param name="cache" value="false"> <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_SONG_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ELSE --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_PIC_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td class="row1" width="{S_COL_WIDTH}" colspan="7" align="center" valign="top" class="catBottom"> <div align="center" valign="top"> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" border="1"></a> </div> <!-- <div align="center" valign="top"> <span class="genmed">{L_SONG_TITLE} :: {song_detail.SONG_TITLE}</span> </div> --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_PIC_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ENDIF --> <!-- END song_detail --> </tr> <!-- END songrow --> <tr> <td class="catBottom" colspan="7" align="center" height="28"> <span class="gensmall">{L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_TIME} value='song_time'>{L_TIME}</option> <option {SORT_SONG_TITLE} value='song_title'>{L_SONG_TITLE}</option> <option {SORT_SINGER} value='song_singer'>{L_SINGER}</option> <option {SORT_USERNAME} value='username'>{L_USERNAME}</option> <option {SORT_VIEW} value='song_view_count'>{L_VIEW}</option> {SORT_RATING_OPTION} {SORT_COMMENTS_OPTION} {SORT_NEW_COMMENT_OPTION} </select> {L_ORDER}: <select name="sort_order"> <option {SORT_ASC} value='ASC'>{L_ASC}</option> <option {SORT_DESC} value='DESC'>{L_DESC}</option> </select> <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /> </span> </td> </tr> </table> </div></div></div> <span class="corners-bottom"><span></span></span> </div></div> <br clear="all" /> <table width="100%" cellspacing="2" border="0" cellpadding="2"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {NAV_SEP} <!-- IF CAT_PARENT eq 0 --><!-- ELSE --><a href="{U_VIEW_CAT_PARENT}" class="nav">{CAT_PARENT_TITLE}</a> {NAV_SEP} <!-- ENDIF --><a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT_VIRTUAL}">{CAT_TITLE_VIRTUAL}</a></span> </td> <td align="right" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /> <span class="nav">{PAGINATION}</span></td> </tr> <tr> <td colspan="3"><span class="nav">{PAGE_NUMBER}</span></td> </tr> </table> </form> <table width="100%" cellspacing="0" border="0" cellpadding="0"> <tr> <td align="right" class="gensmall" nowrap="nowrap">{MUSIC_JUMPBOX}</td> </tr> <tr> <td align="right" class="gensmall">{S_AUTH_LIST}</td> </tr> </table> <br clear="all" /> <!-- Do not remove my copyright notice and keep visible with its original content! --> {MUSIC_COPYRIGHT} Index: music_cat_xs.html =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/prosilver/music_cat_xs.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_cat_xs.html 21 Apr 2013 01:54:25 -0000 1.2 --- music_cat_xs.html 21 Apr 2013 04:19:27 -0000 1.3 *************** *** 3,7 **** <div class="inner"><span class="corners-top"><span></span></span> <div class="textbody"> - <form action="{S_MUSIC_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="0" border="0" class="forumline"> --- 3,6 ---- --- NEW FILE: music_flv_body.html --- <div class="forabg block"> <div id="p1" class="post bg2 online"> <div class="inner"><span class="corners-top"><span></span></span> <div class="textbody"> <table width="100%" align="center" cellpadding="3" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <!-- Clock Code: Start --> <tr> <td class="catHead" colspan="1" align="center"> <div id="title" style="text-align: center;"> <span class="topictitle">{SONG_TITLE}</span><hr /> </div> </td> </tr> <tr> <td width="44%" class="row1" align="center" valign="middle"> <div id="flashplayer" align="center"> <!-- BEGIN media --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; var Mac; var Win; var Unix; var Linux; Win = navigator.userAgent.indexOf("Win") > -1; Mac = navigator.userAgent.indexOf("Mac") > -1; Unix = navigator.appVersion.indexOf("X11") > -1; Linux = navigator.appVersion.indexOf("Linux") > -1; if (Mac) { if ( navigator.appName == "Netscape" ){ //Netscape code document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{U_SONG}"'); document.write (' src="{U_SONG}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=1'); document.write (' AutoSize=1'); document.write (' width={WIDTH}'); document.write (' height={HEIGHT}>'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="70" height="300" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="1" filename="{U_SONG}" src="{U_SONG}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ){ WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="1">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{U_SONG}"'); document.write (' src="{U_SONG}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' AutoSize="1"'); document.write (' width="70"'); document.write (' height="300">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{U_SONG}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="1">'); //Firefox code document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{U_SONG}"'); document.write (' src="{U_SONG}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' AutoSize="1"'); document.write (' width="{WIDTH}"'); document.write (' height="{HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" height="70" width="300" AUTOSTART="1" filename="{U_SONG}" src="{U_SONG}" ></embed>'); } </SCRIPT> <!-- END media --> <!-- BEGIN flash --> <EMBED src="{U_SONG}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- END flash --> <!-- BEGIN flashvideo --> <embed src="{SONG_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> <!-- END flashvideo --> <!-- BEGIN youtube --> <object width="425" height="350"> <param name="movie" value="{VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> <embed src="{VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={U_IMG}" /> </object> <!-- END youtube --> <!-- BEGIN flv --> <div id="flvplayer" style="text-align:center;"> <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="flvplayer" name="flvplayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="center" width="640" height="500" id="flvplayer"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{VIDEO_URL}" /> <param name="file" value="{SONG_URL}" /> <param name="backcolor" value="0xcadceb" /> <param name="frontcolor" value="0x007677" /> <param name="lightcolor" value="0xFFD3A6" /> <param name="height" value="360" /> <param name="width" value="425" /> <param name="showeq" value="true" /> <param name="thumbsinplaylist" value="true" /> <param name="showdigits" value="true" /> <param name="repeat" value="true" /> <param name="autostart" value="true" /> <param name="shuffle" value="true" /> <param name="volume" value="40" /> <param name="autoscroll" value="true" /> <param name="showicons" value="true" /> <param name="wmode" value="transparent" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> <param name="bgcolor" value="#E3F0FB" /> <param name="flashvars" value="file={SONG_URL}&image={U_IMG}&shuffleOnLoad=no" /> <embed src="{VIDEO_URL}" flashvars="file={SONG_URL}&image={U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="360" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="#E3F0FB" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <!-- END flv --> <!-- BEGIN mp3 --> <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={U_SONG}" /> <param name="wmode" value="transparent" /> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <!-- END mp3 --> <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" width="275" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- END ram --> <!-- BEGIN qt --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="377" height="212"> <param name="qtsrc" value="{U_SONG}"> <param name="autoplay" value="true"> <param name="loop" value="false"> <param name="controller" value="true"> <param name="kioskmode" value="true"> <param name="cache" value="false"> <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{U_SONG}" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="true" kioskmode="true" cache="false"> </embed> </object> <!-- END qt --> <!-- BEGIN img --> <a href="javascript:void(0);" onClick="window.open('{SONG_FULL_URL}','','scrollbars=yes,resizable=no,width=804,height=610')"><img src="{SONG_THUMB_URL}" id="image" type="image" width="425" height="350" border="1"></a> <!-- END img --> </div> </td> </td> </tr> </table> </div></div></div> <span class="corners-bottom"><span></span></span> </div> <br clear="all" /> {MUSIC_COPYRIGHT} --- music_mp3_popup_player.tpl DELETED --- |
|
From: Florin C B. <ory...@us...> - 2013-04-21 04:19:15
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3/_core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv14131/mp3/_core Modified Files: config.xml Added Files: _core.jpg Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: config.xml =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/mp3/_core/config.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config.xml 21 Apr 2013 03:29:57 -0000 1.2 --- config.xml 21 Apr 2013 04:19:13 -0000 1.3 *************** *** 24,28 **** <!-- you can set a JPG as the background here to skin the mp3player (url to the jpg file) --> ! <jpgfile>mp3/_core/default_pop.gif</jpgfile> <!-- (for webmasters) URL of a script, called on start and completion of a song --> --- 24,28 ---- <!-- you can set a JPG as the background here to skin the mp3player (url to the jpg file) --> ! <jpgfile>mp3/_core/_core.jpg</jpgfile> <!-- (for webmasters) URL of a script, called on start and completion of a song --> --- NEW FILE: _core.jpg --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-04-21 03:30:18
|
Update of /cvsroot/mxbb/mx_music/upload/song_image In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10428 Modified Files: no_image.gif Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: no_image.gif =================================================================== RCS file: /cvsroot/mxbb/mx_music/upload/song_image/no_image.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsVsbeTn and /tmp/cvsFnoX3A differ |
|
From: Florin C B. <ory...@us...> - 2013-04-21 03:30:09
|
Update of /cvsroot/mxbb/mx_music/templates/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10280/prosilver Modified Files: music_mp3_player.html music_mp3_popup_player.html Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: music_mp3_popup_player.html =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/prosilver/music_mp3_popup_player.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_mp3_popup_player.html 21 Apr 2013 01:54:25 -0000 1.2 --- music_mp3_popup_player.html 21 Apr 2013 03:30:06 -0000 1.3 *************** *** 414,418 **** <div align="center" valign="top"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{WIDTH}" height="{HEIGHT}" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{MUSIC_BOX_PATH}mp3player.swf?config={MUSIC_BOX_PATH}mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" /> <param name="file" value="{U_GET_MP3_PLAYER_POP}" /> <param name="backcolor" value="0xcadceb" /> --- 414,418 ---- <div align="center" valign="top"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{WIDTH}" height="{HEIGHT}" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{MUSIC_BOX_PATH}mp2player.swf?config={MUSIC_BOX_PATH}mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" /> <param name="file" value="{U_GET_MP3_PLAYER_POP}" /> <param name="backcolor" value="0xcadceb" /> *************** *** 427,431 **** <param name="repeat" value="true" /> <param name="autostart" value="true" /> ! <param name="shuffle" value="true" /> <param name="volume" value="40" /> <param name="autoscroll" value="true" /> --- 427,431 ---- <param name="repeat" value="true" /> <param name="autostart" value="true" /> ! <param name="shuffle" value="false" /> <param name="volume" value="40" /> <param name="autoscroll" value="true" /> *************** *** 433,437 **** <param name="wmode" value="transparent" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml" /> ! <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" wmode="transparent" width="{WIDTH}" height="{HEIGHT}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> --- 433,438 ---- <param name="wmode" value="transparent" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml" /> ! <param name="jpgfile" value="{MUSIC_BOX_PATH}mp3/prosilver/prosilver.jpg" /> ! <embed src="{MUSIC_BOX_PATH}/mp2player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" wmode="transparent" width="{WIDTH}" height="{HEIGHT}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> Index: music_mp3_player.html =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/prosilver/music_mp3_player.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** music_mp3_player.html 19 Apr 2013 17:56:11 -0000 1.1 --- music_mp3_player.html 21 Apr 2013 03:30:06 -0000 1.2 *************** *** 13,21 **** <![if !IE]> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="180" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{MUSIC_BOX_PATH}/mp3/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> ! <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" wmode="transparent" width="100%" height="190" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <br /> --- 13,21 ---- <![if !IE]> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="180" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{MUSIC_BOX_PATH}/mp3/mp2player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> ! <embed src="{MUSIC_BOX_PATH}/mp2player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" wmode="transparent" width="100%" height="190" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <br /> |
|
From: Florin C B. <ory...@us...> - 2013-04-21 03:29:59
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10188/prosilver Modified Files: config.xml Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: config.xml =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/mp3/prosilver/config.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** config.xml 19 Apr 2013 17:55:51 -0000 1.1 --- config.xml 21 Apr 2013 03:29:57 -0000 1.2 *************** *** 2,6 **** <!-- choose here if you want the mp3player to automatically start and shuffle songs (true or false) --> <autostart>false</autostart> ! <shuffle>true</shuffle> <!-- choose the mp3player repeat mode (none, one, all or list (plays the entire playlist once)) --> --- 2,6 ---- <!-- choose here if you want the mp3player to automatically start and shuffle songs (true or false) --> <autostart>false</autostart> ! <shuffle>false</shuffle> <!-- choose the mp3player repeat mode (none, one, all or list (plays the entire playlist once)) --> *************** *** 8,12 **** <!-- choose the mp3player volume (0 to 100) --> ! <volume>80</volume> <!-- choose here if you want to show the display and playlist (true or false) --> --- 8,12 ---- <!-- choose the mp3player volume (0 to 100) --> ! <volume>60</volume> <!-- choose here if you want to show the display and playlist (true or false) --> *************** *** 24,28 **** <!-- you can set a JPG as the background here to skin the mp3player (url to the jpg file) --> ! <jpgfile>./../mp3/prosilver/prosilver.jpg</jpgfile> <!-- (for webmasters) URL of a script, called on start and completion of a song --> --- 24,28 ---- <!-- you can set a JPG as the background here to skin the mp3player (url to the jpg file) --> ! <jpgfile>mp3/prosilver/prosilver.jpg</jpgfile> <!-- (for webmasters) URL of a script, called on start and completion of a song --> |
|
From: Florin C B. <ory...@us...> - 2013-04-21 02:52:50
|
Update of /cvsroot/mxbb/mx_music/music_box/modules In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8011/modules Modified Files: music_cat.php music_page.php Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: music_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_page.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** music_page.php 19 Apr 2013 17:52:47 -0000 1.23 --- music_page.php 21 Apr 2013 02:52:48 -0000 1.24 *************** *** 400,404 **** $template->assign_block_vars('flv', array()); $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'mp3player.swf'; //'mp3player.swf?file=mysong.mp3' $mime_type= 'audio/x-mpeg'; //application/x-mplayer2 $row_type = 'flv'; --- 400,404 ---- $template->assign_block_vars('flv', array()); $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'mp2player.swf'; //'mp2player.swf?file=mysong.mp3' $mime_type= 'audio/x-mpeg'; //application/x-mplayer2 $row_type = 'flv'; Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/modules/music_cat.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** music_cat.php 21 Apr 2013 01:54:24 -0000 1.23 --- music_cat.php 21 Apr 2013 02:52:48 -0000 1.24 *************** *** 1180,1184 **** $template->assign_block_vars('songrow.flv', array()); $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'mp3player.swf'; //'mp3player.swf?file=mysong.mp3' $mime_type= 'audio/x-mpeg'; //application/x-mplayer2 $media_height = (!empty($media_height) ? $media_height : '20'); --- 1180,1184 ---- $template->assign_block_vars('songrow.flv', array()); $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); ! $url_video = $music_root_path . 'mp2player.swf'; //'mp2player.swf?file=mysong.mp3' $mime_type= 'audio/x-mpeg'; //application/x-mplayer2 $media_height = (!empty($media_height) ? $media_height : '20'); |
|
From: Florin C B. <ory...@us...> - 2013-04-21 01:54:27
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4321/music_box/mp3 Modified Files: get_mp3_files.php get_mp3_files_pop.php Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: get_mp3_files_pop.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/mp3/get_mp3_files_pop.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** get_mp3_files_pop.php 19 Apr 2013 17:55:51 -0000 1.1 --- get_mp3_files_pop.php 21 Apr 2013 01:54:25 -0000 1.2 *************** *** 57,61 **** } } ! // // Get general music information --- 57,61 ---- } } ! @define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx)); // // Get general music information Index: get_mp3_files.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/mp3/get_mp3_files.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** get_mp3_files.php 19 Apr 2013 17:55:51 -0000 1.1 --- get_mp3_files.php 21 Apr 2013 01:54:25 -0000 1.2 *************** *** 58,62 **** } } ! // // Get general music information --- 58,62 ---- } } ! @define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.'.$phpEx)); // // Get general music information |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:56:14
|
Update of /cvsroot/mxbb/mx_music/templates/subsilver2 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16301/subsilver2 Added Files: music_index_body.html music_mp3_player.html music_mp3_popup_player.html mx_music.css subsilver2.cfg Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: mx_music.css --- ul li, ul.menu li, .item-list ul li, li.leaf { padding: 0 0 0 0; list-style-type: none; list-style-image: none; } /* Thumbs Frame & Shadow - BEGIN */ .picframe{ display: block; } .picshadow{ display: block; } /* Thumbs Frame & Shadow - END */ /* Pic LightBox Preview - BEGIN */ #loader_container { text-align: center; position: absolute; top: 40%; width: 100%; } #loader { font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 10px; color: #000000; background-color: #FFFFFF; padding: 10px 0 16px 0; margin: 0 auto; display: block; width: 135px; border: 1px solid #777777; text-align: left; z-index: 255; } #progress { height: 5px; font-size: 1px; width: 10px; position: relative; top: 1px; left: 10px; background-color: #999999; } #loader_bg { background-color: #EEEEEE; position: relative; top: 8px; left: 8px; height: 7px; width: 113px; font-size: 1px } .border_preview{ font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 16px; color: #444444; padding: 10px 10px 10px 10px; z-index: 100; position: absolute; background: #FFFFFF; border: 2px dotted #336699; } .preview_temp_load { vertical-align: middle; text-align: center; padding: 10px; } .preview_temp_load img{ vertical-align: middle; text-align: center; } /* Pic LightBox Preview - END */ /* ACP - BEGIN */ .forumline_left { background-color: #F8F8F8; border-bottom: 2px #224488 solid; border-left: 2px #224488 solid; } .tab_links, a.tab_links:hover, a.tab_links:link, a.tab_links:active, a.tab_links:visited { font-size: 11px; color: #FF7722; text-decoration: none; } .tab_links_unsel, a.tab_links_unsel:hover, a.tab_links_unsel:link, a.tab_links_unsel:active, a.tab_links_unsel:visited { font-size: 11px; color: #333333; text-decoration: none; } a.tab_links:hover, a.tab_links_unsel:hover { color: #FFFFAA; text-decoration: underline; } .tab_headers, th.tab_headers { color: #FF7722; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #003366; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #006699; } .tab_headers_unsel, th.tab_headers_unsel { color: #333333; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #336699; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #6699AA; } .tab_border { background-color: #888888; border: 1px; } .filler, th.filler { background-color:#6699AA; background-image:none; } /* ACP - END */ --- NEW FILE: music_mp3_popup_player.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <HEAD> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="{L_MP3_PLAYER}" /> <meta name="keywords" content="{L_MP3_PLAYER}" /> <meta name="author" content="MP3 Player originaly made by: Michael O'Toole - aka Michaelo - http://www.phpbbireland.com/" /> <TITLE>{L_MUSIC} :: {L_MP3_PLAYER}</TITLE> <style type="text/css"> <!-- /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url({IMG_IFRAME_BG}); PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; COLOR: #000000; PADDING-TOP: 0px; } a{text-decoration:none; background-color:inherit; color:#26c;} a:hover{text-decoration:underline;} #main {width: 350px; height: 100px; position: relative; left: 0px; top: 0px; margin:0; padding:0; background-image: url(images/player.png); background-repeat: no-repeat; background-attachment: fixed; background-color: #eeeeee} #display {width: 315px; height: 39px; position: relative; left: 18px; top: 18px;} #display_low {width: 310px; height: 21px; position: relative; left: 3px; top: 3px;} #bottom {width: 350px; height: 39px; position: relative; left: 0px; top: 22px;} #songtitle {width: 310px; height: 12px; position: relative; left: 3px; top: 3px;} #station {width: 150px; position: relative; left: 23px; top: 30px;} #bitrate {width: 55px; position: relative; left: 185px; top: 18px;} #equalizer {width: 55px; position: relative; left: 280px; top: 0px;} #icon {width: 55px; position: relative; left: 300px; top: 10px;} #iframe {width: 0px; position: relative; left: 0px; top: 0px;} .table {font-family: Verdana; font-size: 10px;} /* General font families for common tags */ font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link,a:active,a:visited { color : #072978; } a:hover { text-decoration: underline; color : #041642; } hr { height: 0px; border: solid #80BBEC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #EFEFEF; } td.row2 { background-color: #DEE3E7; } td.row3 { background-color: #D1D7DC; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #072978; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #041642; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #072978} a.cattitle { text-decoration: none; color : #072978; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #072978; } a.forumlink { text-decoration: none; color : #072978; } a.forumlink:hover{ text-decoration: underline; color : #041642; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #072978; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle,h1,h2 { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #072978; } a.topictitle:visited { text-decoration: none; color : #072978; } a.topictitle:hover { text-decoration: underline; color : #041642; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} a.postlink:link { text-decoration: none; color : #072978 } a.postlink:visited { text-decoration: none; color : #072978; } a.postlink:hover { text-decoration: underline; color : #041642} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #80BBEC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #80BBEC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #E3F0FB; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #DAECFA; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #BADBF5; border-style: none; } --> </style> </HEAD> <body style="background-color: #EFEFEF;"> <!--script type="text/javascript" src="./portal/mp3/swfobject.js"></script--> <table class="tablebg" cellspacing="1" width="100%"> <!--<tr> <th>{L_MEDIA_PLAYER}</td> </tr>--> <tr> <td class="row1" align="center"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="170" height="190" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files_pop.php" /> <param name="wmode" value="transparent" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files_pop.php" wmode="transparent" width="170" height="200" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </td> </tr> <tr> <td class="row1" align="center"> <a class="button2" value="{L_CLOSE_WINDOW}" href="#" onClick="window.close(); return false;">{L_CLOSE_WINDOW}</a> </td> </tr> </table> </BODY> </HTML> --- NEW FILE: subsilver2.cfg --- <?php /** * * @package mxBB Portal Module - mx_music * @version $Id: subsilver2.cfg,v 1.1 2013/04/19 17:56:11 orynider Exp $ * @copyright (c) 2002-2006 mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subsilver2.cfg,v 1.1 2013/04/19 17:56:11 orynider Exp $ // // Please note that to enable support of different languages // the ". LANG ." place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // $mx_template_config = true; // ------------------------------------------------------------------------- // Do some checks // ------------------------------------------------------------------------- $current_template_path = file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); $current_template_root_path = str_replace($module_root_path, "", $current_template_path); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); $current_module_images = !empty($current_template_root_path) && file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- // MOM Pics $mx_images['upload_song'] = "$current_module_images/{LANG}/upload_song.gif"; $mx_images['no_image'] = "$current_module_images/no_image.gif"; // Use standard phpBB graphics // $mx_images['icon_quote'] = "$current_module_images/{LANG}/icon_post_quote.gif"; $mx_images['icon_edit'] = "$current_module_images/{LANG}/icon_post_edit.gif"; $mx_images['icon_search'] = "$current_module_images/{LANG}/icon_user_search.gif"; $mx_images['icon_profile'] = "$current_module_images/{LANG}/icon_user_profile.gif"; $mx_images['icon_pm'] = "$current_module_images/{LANG}/icon_contact_pm.gif"; $mx_images['icon_email'] = "$current_module_images/{LANG}/icon_contact_email.gif"; $mx_images['icon_delpost'] = "$current_module_images/{LANG}/icon_post_delete.gif"; $mx_images['icon_ip'] = "$current_module_images/{LANG}/icon_ip.gif"; $mx_images['icon_www'] = "$current_module_images/{LANG}/icon_contact_www.gif"; $mx_images['icon_icq'] = "$current_module_images/{LANG}/icon_contact_icq.gif"; $mx_images['icon_aim'] = "$current_module_images/{LANG}/icon_contact_aim.gif"; $mx_images['icon_yim'] = "$current_module_images/{LANG}/icon_contact_yahoo.gif"; $mx_images['icon_msnm'] = "$current_module_images/{LANG}/icon_contact_msnm.gif"; $mx_images['icon_minipost'] = "$current_module_images/icon_minipost.gif"; $mx_images['icon_gotopost'] = "$current_module_images/icon_minipost.gif"; $mx_images['icon_minipost_new'] = "$current_module_images/icon_minipost_new.gif"; // // Last Message and Anouncement block compatibility // $mx_images['icon_latest_reply'] = "$current_module_images/icon_topic_latest.gif"; $mx_images['icon_newest_reply'] = "$current_module_images/icon_topic_newest.gif"; $mx_images['forum'] = "$current_module_images/forum_read.gif"; $mx_images['forum_new'] = "$current_module_images/forum_unread.gif"; $mx_images['forum_locked'] = "$current_module_images/forum_read_locked.gif"; $mx_images['folder'] = "$current_module_images/topic_read.gif"; $mx_images['folder_new'] = "$current_module_images/topic_unread.gif"; $mx_images['folder_hot'] = "$current_module_images/topic_read_hot.gif"; $mx_images['folder_hot_new'] = "$current_module_images/topic_unread_hot.gif"; $mx_images['folder_locked'] = "$current_module_images/topic_read_locked.gif"; $mx_images['folder_locked_new'] = "$current_module_images/topic_unread_locked.gif"; $mx_images['folder_sticky'] = "$current_module_images/sticky_read.gif"; $mx_images['folder_sticky_new'] = "$current_module_images/sticky_unread.gif"; $mx_images['folder_announce'] = "$current_module_images/announce_read.gif"; $mx_images['folder_announce_new'] = "$current_module_images/announce_unread.gif"; ?> --- NEW FILE: music_mp3_player.html --- <!--script type="text/javascript" src="./portal/mp3/swfobject.js"></script--> <table class="tablebg" cellspacing="1" width="100%"> <!--<tr> <th>{L_MEDIA_PLAYER}</td> </tr>--> <tr> <td class="row1" align="center"> <div class="block_data" style="background:transparent;"> <!-- IF S_USER_LOGGED_IN and not S_IS_BOT --> <![if !IE]> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="180" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{MUSIC_BOX_PATH}/mp3/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" wmode="transparent" width="100%" height="190" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <br /> <![endif]> <div class="my_buttons" style="text-align:center; width:100%;"> <div class="mp3_popup-icon"> <a href="{MUSIC_BOX_PATH}/music_mp3s_popup_player.php" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MP3_POPUP}"><span></span>{L_MP3_POPUP}</a> </div> </div> <!-- ELSE --> <p style="text-align:center;" class="gensmall">{L_DONT_HAVE_ACCOUNT}<a href="ucp.php?cid=&mode=register">{L_REGISTRATION}</a></p> <!-- ENDIF --> </div> <!-- IF DEBUG_QUERIES --><div class="block_data">{MP3_PLAYER_DEBUG}</div><!-- ENDIF --> </td> </tr> <tr> <td class="row1" align="center"> <a href="{U_MEDIA_PLAYER}" onClick="window.open('','popup','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,fullscreen=yes')" Target="popup">{L_MEDIA_PLAYER}</a> </td> </tr> </table> --- NEW FILE: music_index_body.html --- <form action="{S_MUSIC_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="0" border="0" class="tablebg forumline"> <!-- BEGIN top_songs --> <tr> <th class="thTop bg2" height="25" colspan="6" nowrap="nowrap">{L_TOP_SONGS}</th> </tr> <tr> <td width="38%" class="row1 bg1" class="catbottom" align="center"><span class="gen">{L_SONG_TITLE}</span></td> <td width="16%" class="row2 bg2" class="catbottom" align="center"><span class="gen">{L_SINGER}</span></td> <td width="22%" class="row1 bg1" class="catbottom" align="center"><span class="gen">{L_POSTED}</span></td> <td width="6%" class="row2 bg2" class="catbottom" align="center"><span class="gen">{L_VIEW}</span></td> <td width="8%" class="row1 bg1" class="catbottom" align="center"><span class="gen">{L_RATING}</span></td> <td width="10%" class="row2 bg2" class="catbottom" align="center"><span class="gen">{L_COMMENTS}</span></td> </tr> <!-- END top_songs --> <!-- BEGIN top_row --> <!-- END top_row --> <!-- BEGIN top_songs --> <!-- BEGIN top_detail --> <tr> <td width="38%" class="row1 bg1" align="center"><span class="genmed">{top_songs.top_detail.TITLE}</span></td> <td width="16%" class="row2 bg2" align="center"><span class="genmed">{top_songs.top_detail.SINGER}</span></td> <td width="22%" class="row1 bg1" align="center"><span class="gensmall">{top_songs.top_detail.POSTER}<br />{top_songs.top_detail.TIME}</span></td> <td width="6%" class="row2 bg2" align="center"><span class="gensmall">{top_songs.top_detail.VIEW}</span></td> <td width="8%" class="row1 bg1" align="center"><span class="gensmall">{top_songs.top_detail.RATING}</span></td> <td width="10%" class="row2 bg2" align="center"><span class="gensmall">{top_songs.top_detail.COMMENTS}</span></td> <!-- END top_detail --> </tr> <tr> <td class="catbottom cat" colspan="6" height="28" align="center"><span class="cattitle"> {L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_TIME} value='song_time'>{L_TIME}</option> <option {SORT_VIEW} value='song_view_count'>{L_VIEW}</option> {SORT_RATING_OPTION} {SORT_COMMENTS_OPTION} {SORT_NEW_COMMENT_OPTION} </select> {L_SONG_LIMIT}: <select name="song_limit"> <option value='5'>5</option> <option value='10'>10</option> <option value='15'>15</option> <option value='20'>20</option> </select> <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /></th> </span></td> </tr> <!-- END top_songs --> </table> <br /> <table width="100%" cellspacing="0" cellpadding="2" border="0"> <tr> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {U_NAV_CAT_PARENT} {NAV_SEP} </span> <span class="cattitle">{L_PUBLIC_CATS} {SUBCAT_NAV}</span> </td> </tr> </table> <table width="100%" cellpadding="1" cellspacing="0" border="0" class="forumline"> <tr> <th width="70%" class="thCornerL" height="25" nowrap="nowrap"> {L_CATEGORY} </th> <th width="60" class="thTop" nowrap="nowrap"> {L_CAT_VIEWS} </th> <th width="60" class="thTop" nowrap="nowrap"> {L_SONGS} </th> <th class="thCornerR" nowrap="nowrap"> {L_LAST_SONG} </th> </tr> <tr> <td class="catLeft" colspan="4" height="28"><span class="cattitle">{L_PUBLIC_CATS} {SUBCAT_NAV}</span></td> </tr> <!-- BEGIN catrow --> <tr> <td> <table width="100%" cellpadding="2" cellspacing="0" border="0" class="forumrow"> <tr> <td class="row1 bg1" width="1%" valign="top"><img src="{catrow.CAT_IMG}" alt="" /></td> <td class="row1 bg1" height="50" width="50%"> <span class="forumlink topictitle cat" style="font-weight: bold;"> <a href="{catrow.U_VIEW_CAT}" class="forumlink">{catrow.CAT_TITLE}</a></span><br /> <span class="genmed">{catrow.CAT_DESC}</span><br /> <span class="gensmall"> {catrow.L_MODERATORS} {catrow.MODERATORS} <!-- BEGIN subcat_link --> {subcat_link.SUBCATS} <!-- END subcat_link --></span> </td> <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> <!-- END virtualimagecat --> <!-- BEGIN virtualmp3cat --> <br /> <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}">{catrow.L_MEDIA_PLAYER_POPUP}</a></span> <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> <!-- END virtualmediacat --> </td> </tr> </table> </td> <td class="row2" align="center"><span class="gensmall">{catrow.CAT_VIEWS}</span></td> <td class="row2" align="center"><span class="gensmall">{catrow.SONGS}</span></td> <td class="row2" align="center" nowrap="nowrap"><span class="gensmall">{catrow.LAST_SONG_INFO}</span></td> </tr> <!-- END catrow --> <tr> <td class="catBottom" height="28" colspan="4"> <span class="gensmall"> </span><br /> <span class="gensmall"> <a target="_blank" alt="music_rss" href="{U_RSS}">{L_RSS}</a></span> </td> </tr> </table> <br clear="all" /> </form> <!-- IF SWITCH_HAS_CATROW eq 1 --> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {U_NAV_CAT_PARENT} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} </span> </td> </tr> </table> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thTop" height="25" align="center" colspan="7" nowrap="nowrap">{L_CATEGORY} :: {CAT_TITLE}</th> </tr> <!-- BEGIN no_songs --> <tr> <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_SONGS}</span></td> </tr> <!-- END no_songs --> <!-- BEGIN songrow --> <tr> <!-- BEGIN songcol --> <td align="center" width="{S_COL_WIDTH}" class="row1"></td> <!-- END songcol --> </tr> <tr> <!-- BEGIN song_detail --> <!-- IF song_detail.SWITCH_ROW_TYPE eq IMG --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_PIC_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td class="row1" width="{S_COL_WIDTH}" colspan="7" align="center" valign="top" class="catBottom"> <div align="center" valign="top"> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1" /></a> </div> <!-- <div align="center" valign="top"> <span class="genmed">{L_PIC_TITLE} :: {song_detail.SONG_TITLE}</span> </div> --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_PIC_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ELSE --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_SONG_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td width="44%" colspan="7" class="row1" align="center"> <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; var Mac; var Win; var Unix; var Linux; Win = navigator.userAgent.indexOf("Win") > -1; Mac = navigator.userAgent.indexOf("Mac") > -1; Unix = navigator.appVersion.indexOf("X11") > -1; Linux = navigator.appVersion.indexOf("Linux") > -1; if (Mac) { if ( navigator.appName == "Netscape" ){ //Netscape code document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); document.write (' AutoSize=0'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ) { WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); //Firefox code document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="0"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.SONG_URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="VideoPlayback" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="type" value="application/x-shockwave-flash" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="WT999"> <a href="{song_detail.U_SONG_PAGE}"><img src="{song_detail.U_IMG}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" alt="To play go to music page." title="{song_detail.SONG_TITLE}" /></a> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="modfile" value="{song_detail.SONG_URL}" /> <param name="bufferlength" value="5" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> </object> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq XMOD --> <div class="wordtube playlist2" id="WT999"> <OBJECT id="wmp" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" style="background: url('{song_detail.U_IMG}');" classid="CLSID:06DD38D3-D187-11CF-A80D-00C04FD74AD8" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="{song_detail.SONG_URL}" /> <PARAM NAME="AutoStart" VALUE="false" /> <PARAM NAME="ShowControls" VALUE="1" /> <PARAM NAME="ShowStatusBar" VALUE="1" /> <PARAM NAME="AutoSize" VALUE="0" /> <PARAM NAME="width" VALUE="{song_detail.WIDTH}" /> <PARAM NAME="height" VALUE="{song_detail.WIDTH}" /> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True" /> <PARAM name="uiMode" value="none" /> <PARAM name="PlayCount" value="9999" /> <EMBED id="wmp" name="wmp" TYPE="application/x-mod" SRC="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" autostart="false" autonext="true" /> </OBJECT> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="qtsrc" value="{song_detail.SONG_URL}"> <param name="autoplay" value="false"> <param name="loop" value="false"> <param name="controller" value="true"> <param name="kioskmode" value="true"> <param name="cache" value="false"> <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_SONG_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ENDIF --> <!-- END song_detail --> </tr> <!-- END songrow --> </table> <br clear="all" /> <table width="100%" cellspacing="2" border="0" cellpadding="2"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {U_NAV_CAT_PARENT} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} </span> </td> <td align="right" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /> <span class="nav">{PAGINATION}</span></td> </tr> <tr> <td colspan="3"><span class="nav">{PAGE_NUMBER}</span></td> </tr> </table> </form> <br clear="all" /> <!-- ENDIF --> <form method="post" action="{S_MUSIC_LIST}"> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline"> <tr> <td class="row2 bg2" align="center" height="28"><span class="gensmall">{L_SEARCH_SONGS} <input class="post" type="text" name="search" size="30" /> <select name="search_cond"> <option value='title'>{L_SONG_TITLE}</option> <option value='singer'>{L_SINGER}</option> <option value='poster'>{L_POSTER}</option> </select> <input type="submit" name="submit" value="{L_SEARCH}" class="liteoption" /> </span> </td> </tr> </table> </form> <!-- BEGIN switch_user_logged_out --> <form method="post" action="{S_LOGIN_ACTION}"> <table width="100%" cellpadding="2" cellspacing="0" border="0" class="forumline"> <tr> <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td> </tr> <tr> <td class="row1" align="center" height="28"><span class="gensmall">{L_USERNAME}: <input class="post" type="text" name="username" size="10" /> {L_PASSWORD}: <input class="post" type="password" name="password" size="10" /> {L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" /> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /> <input type="hidden" name="redirect" value="{U_MUSIC}" /> </span> </td> </tr> <tr> <td class="row1" align="center"></td> </tr> </table> </form> <!-- END switch_user_logged_out --> <br clear="all" /> <!-- Do not remove my copyright notice and keep visible with its original content! --> {MUSIC_COPYRIGHT} |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:56:13
|
Update of /cvsroot/mxbb/mx_music/templates/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16301/prosilver Added Files: gallery.lnk music_cat_xs.html music_mp3_player.html music_mp3_popup_player.html music_mp3_popup_player.tpl Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: music_cat_xs.html --- <div class="forabg block"> <div id="p1" class="post bg2 online"> <div class="inner"><span class="corners-top"><span></span></span> <div class="textbody"> <form action="{S_MUSIC_ACTION}" method="post"> <table width="100%" cellpadding="1" cellspacing="0" border="0" class="forumline"> <!-- IF SWITCH_HAS_CATROW eq 1 --> <tr> <th width="70%" class="thCornerL" height="25" nowrap="nowrap"> {L_CATEGORY} </th> <th width="60" class="thTop" nowrap="nowrap"> {L_CAT_VIEWS} </th> <th width="60" class="thTop" nowrap="nowrap"> {L_SONGS} </th> <th class="thCornerR" nowrap="nowrap"> {L_LAST_SONG} </th> </tr> <tr> <td class="catLeft" colspan="4" height="28"><span class="cattitle">{L_PUBLIC_CATS} {SUBCAT_NAV}</span></td> </tr> <!-- BEGIN catrow --> <tr> <td> <table width="100%" cellpadding="2" cellspacing="0" border="0" class="forumrow"> <tr> <td class="row1 bg1" width="1%" valign="top"><img src="{catrow.CAT_IMG}" alt="" /></td> <td class="row1 bg1" height="50" width="50%"> <span class="forumlink topictitle cat" style="font-weight: bold;"> <a href="{catrow.U_VIEW_CAT}" class="forumlink">{catrow.CAT_TITLE}</a></span><br /> <span class="genmed">{catrow.CAT_DESC}</span><br /> <span class="gensmall"> {catrow.L_MODERATORS} {catrow.MODERATORS} <!-- BEGIN subcat_link --> {subcat_link.SUBCATS} <!-- END subcat_link --></span> </td> <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> <div class="my_buttons" style="text-align:center; width:100%;"> <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{L_ALL_CAT_PICS}</a></span> </div> <!-- END virtualimagecat --> <!-- BEGIN virtualmp3cat --> <br /> <div class="my_buttons" style="text-align:center; width:100%;"> <div class="mp3_popup-icon"> <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width={catrow.WIDTH},height={catrow.HEIGHT},left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MEDIA_PLAYER_POPUP}"><span></span>{L_MP3_POPUP}</a></span> </div> </div> <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> <div class="my_buttons" style="text-align:center; width:100%;"> <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{L_ALL_CAT_SONGS}</a></span> </div> <!-- END virtualmediacat --> </td> </tr> </table> </td> <td class="row2" align="center"><span class="gensmall">{catrow.CAT_VIEWS}</span></td> <td class="row2" align="center"><span class="gensmall">{catrow.SONGS}</span></td> <td class="row2" align="center" nowrap="nowrap"><span class="gensmall">{catrow.LAST_SONG_INFO}</span></td> </tr> <!-- END catrow --> <!-- ENDIF --> <tr> <td class="catBottom row2 bg2" height="28" colspan="4"> <span class="gensmall"> </span><br /> <span class="gensmall"> <a target="_blank" alt="music_rss" href="{U_RSS}">{L_RSS}</a></span> </td> </tr> </table> </div></div></div> <span class="corners-bottom"><span></span></span> </div></div> <br clear="all" /> <table> <tr> <td><a class="maintitle" href="{U_VIEW_CAT}">{CAT_TITLE}</a><br /> <span class="gensmall"><b>{L_MODERATORS}: {MODERATORS}</b></span></td> <td align="right" valign="bottom" nowrap="nowrap"><span class="nav">{PAGINATION}</span></td> </tr> </table> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {U_NAV_CAT_PARENT} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} </span> </td> </tr> </table> <div class="forabg block"> <div class="inner"><span class="corners-top"><span></span></span> <ul class="topiclist"> <li class="header"> </ul></li> <div id="p1" class="post bg2 online"> <div class="textbody"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thTop" height="25" align="center" colspan="7" nowrap="nowrap">{L_CATEGORY} :: {CAT_TITLE}</th> </tr> <!-- BEGIN no_songs --> <tr> <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_SONGS}</span></td> </tr> <!-- END no_songs --> <!-- BEGIN songrow --> <tr> <!-- BEGIN songcol --> <td align="center" width="{S_COL_WIDTH}" class="row1"></td> <!-- END songcol --> </tr> <tr> <!-- BEGIN song_detail --> <!-- IF song_detail.SWITCH_ROW_TYPE eq IMG --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_PIC_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td class="row1" width="{S_COL_WIDTH}" colspan="7" align="center" valign="top" class="catBottom"> <div align="center" valign="top"> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1" /></a> </div> <!-- <div align="center" valign="top"> <span class="genmed">{L_PIC_TITLE} :: {song_detail.SONG_TITLE}</span> </div> --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_PIC_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ELSE --> <td> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="7" class="thTop"><span class="genmed">{L_SONG_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td width="44%" colspan="7" class="row1" align="center"> <!-- IF song_detail.S_ROW_TYPE eq MEDIA --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; var Mac; var Win; var Unix; var Linux; Win = navigator.userAgent.indexOf("Win") > -1; Mac = navigator.userAgent.indexOf("Mac") > -1; Unix = navigator.appVersion.indexOf("X11") > -1; Linux = navigator.appVersion.indexOf("Linux") > -1; if (Mac) { if ( navigator.appName == "Netscape" ){ //Netscape code document.write (' <Embed id="wmp" name="wmp" type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); document.write (' AutoSize=0'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="{song_detail.MIME_TYPE}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ) { WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write (' <object id="MediaPlayer" width={WIDTH} height={HEIGHT} classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="uiMode" VALUE="mini">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); document.write (' <Embed type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write (' <object id="wmp" width={WIDTH} height={HEIGHT} classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"'); document.write ('codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0"'); document.write ('standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'); document.write ('<PARAM NAME="url" VALUE="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.SONG_URL}">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); document.write ('<PARAM NAME="ShowStatusBar" VALUE="1">'); document.write ('<PARAM NAME="AutoSize" VALUE="0">'); document.write ('<PARAM NAME="width" VALUE="{song_detail.WIDTH}">'); document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); //Firefox code document.write (' <Embed type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); document.write (' src="{song_detail.SONG_URL}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="0"'); document.write (' AutoSize="0"'); document.write (' width="{song_detail.WIDTH}"'); document.write (' height="{song_detail.HEIGHT}">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="{song_detail.MIME_TYPE}" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASH --> <EMBED src="{song_detail.SONG_URL}" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq myspace --> <a class="my_play my_27" title="{SONG_TITLE} :: {SINGER}" href="{SONG_URL}"><center><b><span class="genmed"><h3>{SONG_TITLE} :: {SINGER}</h3></span></b></center></a> <script defer="true" src="http://www.myspace.com/music/buttons/js"></script> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLASHVIDEO --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" allowfullscreen="true"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq YOUTUBE --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="VideoPlayback" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="wmode" value="transparent" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq VIMEO --> <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" data="{song_detail.VIDEO_URL}"> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="showAll" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div class="wordtube playlist2" id="flvplayer"> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="flvplayer" align="center"> <param name="allowScriptAccess" value="always" /> <param name="type" value="application/x-shockwave-flash" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="modfile" value="{song_detail.SONG_URL}" /> <param name="loop" value="false" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="bufferlength" value="5" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="000000" /> <param name="flashvars" value="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" /> <embed src="{song_detail.VIDEO_URL}" flashvars="file={song_detail.SONG_URL}&image={song_detail.U_IMG}&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MP3 --> <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={song_detail.U_SONG}" /> <param name="file" value="{song_detail.U_SONG}" /> <param name="backcolor" value="0xcadceb" /> <param name="frontcolor" value="0x007677" /> <param name="lightcolor" value="0xFFD3A6" /> <param name="displayheight" value="100" /> <param name="height" value="{song_detail.HEIGHT}" /> <param name="width" value="{song_detail.WIDTH}" /> <param name="showeq" value="true" /> <param name="thumbsinplaylist" value="true" /> <param name="showdigits" value="true" /> <param name="repeat" value="true" /> <param name="autostart" value="true" /> <param name="shuffle" value="true" /> <param name="volume" value="40" /> <param name="autoscroll" value="true" /> <param name="showicons" value="true" /> <param name="wmode" value="transparent" /> <param name="quality" value="best" /> <param name="allowfullscreen" value="true" /> <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> <object width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" id="WT999"> <a href="{song_detail.U_SONG_PAGE}"><img src="{song_detail.U_IMG}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" alt="To play go to music page." title="{song_detail.SONG_TITLE}" /></a> <param name="allowScriptAccess" value="always" /> <param name="movie" value="{song_detail.VIDEO_URL}" /> <param name="modfile" value="{song_detail.SONG_URL}" /> <param name="bufferlength" value="5" /> <param name="allowfullscreen" value="true" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> </object> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq XMOD --> <div class="wordtube playlist2" id="WT999"> <OBJECT id="wmp" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" style="background: url('{song_detail.U_IMG}');" classid="CLSID:06DD38D3-D187-11CF-A80D-00C04FD74AD8" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="{song_detail.SONG_URL}" /> <PARAM NAME="AutoStart" VALUE="false" /> <PARAM NAME="ShowControls" VALUE="1" /> <PARAM NAME="ShowStatusBar" VALUE="1" /> <PARAM NAME="AutoSize" VALUE="0" /> <PARAM NAME="width" VALUE="{song_detail.WIDTH}" /> <PARAM NAME="height" VALUE="{song_detail.WIDTH}" /> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True" /> <PARAM name="uiMode" value="none" /> <PARAM name="PlayCount" value="9999" /> <EMBED id="wmp" name="wmp" TYPE="application/x-mod" SRC="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" autostart="false" autonext="true" /> </OBJECT> </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq QT --> <object id="qt" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}"> <param name="qtsrc" value="{song_detail.SONG_URL}"> <param name="autoplay" value="false"> <param name="loop" value="false"> <param name="controller" value="true"> <param name="kioskmode" value="true"> <param name="cache" value="false"> <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"> </embed> </object> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq IMG --> <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_FULL_URL is even -->{song_detail.SONG_FULL_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=810,height=610')"><img src="<!-- IF song_detail.SONG_THUMB_URL is even -->{song_detail.SONG_THUMB_URL}<!-- ELSE -->{song_detail.SONG_URL}<!-- ENDIF -->" id="image" type="image" border="1"></a> <!-- ENDIF --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom" height="28"><span class="gen">{L_SONG_TITLE}</span></td> <td width="15%" align="center" class="catBottom" height="28"><span class="gen">{L_SINGER} </span></td> <td width="25%" align="center" class="catBottom" height="28"><span class="gen">{L_POSTED} </span></td> <td width="6%" align="center" class="catBottom" height="28"><span class="gen">{L_VIEW} </span></td> <td width="8%" align="center" class="catBottom" height="28"><span class="gen">{L_RATING} </span></td> <td width="10%" align="center" class="catBottom" height="28"><span class="gen">{L_COMMENTS} </span></td> <td width="5%" align="center" class="catBottom" height="28"> </td> </tr> <tr> <td width="31%" align="center" class="row2"><span class="genmed">{songrow.song_detail.TITLE} </span></td> <td width="15%" align="center" class="row1"><span class="genmed">{songrow.song_detail.SINGER}</span></td> <td width="25%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.POSTER}<BR>{songrow.song_detail.TIME}</span></td> <td width="6%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.VIEW}</span></td> <td width="8%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.RATING}</span></td> <td width="10%" align="center" class="row1"><span class="gensmall">{songrow.song_detail.COMMENTS}</span></td> <td width="5%" align="center" class="row2"><span class="gensmall">{songrow.song_detail.EDIT}<BR /> {songrow.song_detail.DELETE}<BR /> {songrow.song_detail.LOCK}<BR /> {songrow.song_detail.MOVE}</span></td> </tr> </table> </td> <!-- ENDIF --> <!-- END song_detail --> </tr> <!-- END songrow --> <tr> <td class="catBottom" colspan="7" align="center" height="28"> <span class="gensmall">{L_SELECT_SORT_METHOD}: <select name="sort_method"> <option {SORT_TIME} value='song_time'>{L_TIME}</option> <option {SORT_SONG_TITLE} value='song_title'>{L_SONG_TITLE}</option> <option {SORT_SINGER} value='song_singer'>{L_SINGER}</option> <option {SORT_USERNAME} value='username'>{L_USERNAME}</option> <option {SORT_VIEW} value='song_view_count'>{L_VIEW}</option> {SORT_RATING_OPTION} {SORT_COMMENTS_OPTION} {SORT_NEW_COMMENT_OPTION} </select> {L_ORDER}: <select name="sort_order"> <option {SORT_ASC} value='ASC'>{L_ASC}</option> <option {SORT_DESC} value='DESC'>{L_DESC}</option> </select> <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /> </span> </td> </tr> </table> </div></div></div> <span class="corners-bottom"><span></span></span> </div></div> <br clear="all" /> <table width="100%" cellspacing="2" border="0" cellpadding="2"> <tr> <td> <!-- BEGIN enable_soung_upload --> <a href="{U_UPLOAD_SONG}"><img src="{UPLOAD_SONG_IMG}" border="0" alt="{L_UPLOAD_SONG}" title="{L_UPLOAD_SONG}" /></a> <!-- END enable_soung_upload --> </td> <td class="nav" width="100%"> <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> {NAV_SEP} <a class="nav" href="{U_MUSIC}">{L_MUSIC}</a> {U_NAV_CAT_PARENT} {NAV_SEP} <a class="nav" href="{U_VIEW_CAT}">{CAT_TITLE}</a> {NAV_CAT_DESC} </span> </td> <td align="right" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /> <span class="nav">{PAGINATION}</span></td> </tr> <tr> <td colspan="3"><span class="nav">{PAGE_NUMBER}</span></td> </tr> </table> </form> <table width="100%" cellspacing="0" border="0" cellpadding="0"> <tr> <td align="right" class="gensmall" nowrap="nowrap">{MUSIC_JUMPBOX}</td> </tr> <tr> <td align="right" class="gensmall">{S_AUTH_LIST}</td> </tr> </table> <br clear="all" /> <!-- Do not remove my copyright notice and keep visible with its original content! --> {MUSIC_COPYRIGHT} --- NEW FILE: music_mp3_popup_player.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="{S_USER_LANG}"> <HEAD> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta name="description" content="{L_MP3_PLAYER}" /> <meta name="keywords" content="{L_MP3_PLAYER}" /> <meta name="author" content="MP3 Player originaly made by: Michael O'Toole - aka Michaelo - http://www.phpbbireland.com/" /> <TITLE>{L_MUSIC} :: {L_MP3_PLAYER}</TITLE> <!-- First load standard template *.css definition, located in the the phpbb template folder --> <link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_PHPBB_STYLESHEET}" type="text/css" /> <!-- Then load MX-Publisher template *.css definition for mx, located in the the portal template folder --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" type="text/css" /> <style type="text/css"> <!-- /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; COLOR: #000000; PADDING-TOP: 0px; } /* mxBB 3.0 Style Sheet -------------------------------------------------------------- Style name: proSilver Based on style: proSilver (this is the default phpBB 3 style) Original author: subBlue ( http://www.subBlue.com/ ) Modified by: mxBB Project Team Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) -------------------------------------------------------------- */ @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/common.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/links.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/content.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/buttons.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/cp.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/forms.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/tweaks.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/colours.css"); @import url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/mxPublisher.css"); .block { background-position: 0px -20px; } .blockbody { padding: 3px; margin-bottom: 4px; background-repeat: no-repeat; background-position: 100% 0; } .textbody { padding: 0; line-height: 1.48em; color: #333333; clear: both; } .textbody .ignore { font-size: 1.1em; } .textbody .content { font-size: 1.2em; } .textbody h3.first { /* The first post on the page uses this */ font-size: 1.5em; } .textbody h3 { /* Postbody requires a different h3 format - so change it here */ font-size: 1.4em; padding: 2px 0 0 0; margin: 0 0 0.3em 0 !important; text-transform: none; border: none; font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; line-height: 125%; } .textbody h3 img { /* Also see tweaks.css */ vertical-align: bottom; } .blockcp { width: 100%; border: 1px solid #CCCFD3; background-color: #FFFFFF; padding: 1px; } .blockcp th { color: #FFFFFF; background: #70AED3 url('{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/gradient2b.gif') repeat-x bottom left; border-top: 1px solid #6DACD2; border-bottom: 1px solid #327AA5; text-align: left; text-transform: uppercase; padding-left:4px; padding-right:4px; padding-top:3px; padding-bottom:3px } .blockcp .row1 { background-color: #F9F9F9; } .blockcp .row2 { background-color: #DCEBFE; } .blockcp .explain { font-style:italic;font-weight:normal;} .blockcp fieldset { margin: 10px 10px 15px 10px; padding: 10px; border-top: 1px solid #D7D7D7; border-right: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC; border-left: 1px solid #D7D7D7; background-color: #FFFFFF; position: relative; } .blockcp .delete { color: Red; } .blockcp fieldset.menurows { padding:1px; } .blockcp .row { padding: 3px 5px 3px 5px; } .blockcp .row:hover { background-color: #F6F4D0; } .blockcp legend { padding: 1px 0; font-family: Tahoma,arial,Verdana,Sans-serif; font-size: 1.0em; font-weight: bold; color: #115098; margin-top: -.3em; position: relative; text-transform: none; line-height: 1.2em; top: 0; vertical-align: middle; } /* Hide from macIE \*/ .blockcp legend { top: -1.2em; } /* end */ .blockcp fieldset dl:hover dt label { color: #000000; } .blockcp fieldset.fields2 dl:hover dt label { color: inherit; } /* Quick-login on index page */ .blockcp fieldset.quick-login input { background-color: #F2F3F3; } .blockcp fieldset dl { margin-bottom: 10px; font-size: 0.85em; } .blockcp fieldset dt { width: 45%; text-align: left; border: none; border-right: 1px solid #CCCCCC; padding-top: 3px; padding-right: 5px; margin-right:5px; font-weight: normal; text-transform: none; text-align: right; } .blockcp dt .explain { font-style: italic;} .blockcp dd { color: #666666; margin-left:5px; padding-left:5px;} .blockcp dd + dd { padding-top: 5px;} .blockcp dt span { padding: 0 5px 0 0;} .blockcp dd input { font-size: 1.00em; max-width: 100%; } .blockcp dd select { font-size: 100%; width: auto; max-width: 100%; } .blockcp dd textarea { font-size: 0.90em; width: 90%; } .blockcp dd select { width: auto; font-size: 1.00em; } .blockcp .dividers { border-top:solid 1px #CCCCCC; } .blockcp .dividers span{ top: -1.2em; } H1.blockcp { font-weight: normal; color: #28313F; border-bottom: 1px solid #CCCCCC; font-size: 1.6em; margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 0.5em; } /***********\ |* SiteBar *| \***********/ .sitebar { clear: both; margin-top: 2px; background: #12A3EB url('{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/sitebar_bg.gif') repeat-x; } .sitebar .corners-bottom { top: -5px; margin-top:0px; position:relative; } .sitebar UL { margin-left: 0px; padding-bottom: 1px; font-weight: bold; } .sitebar UL LI { float:left; display:block; } .sitebar .button A.nav, .sitebar .button-current A.nav { text-decoration:none; background: #cadceb url('theme/images/sitebar_bg.gif') repeat-x; } .sitebar .button a.nav, .sitebar .button-current a.nav { font-size: 1.3em; padding: 3px 5px 3px 5px; color: #FFFFFF; display:block; text-decoration: none; } .sitebar .button-current A.nav { background-position: 0 -44px; color: #0a90d3; } .sitebar UL LI.button A.nav:active, .sitebar UL LI.button-current A.nav:active { background-color: #CCCCCC; background-image: url('theme/images/bg_active.gif'); background-position: -1px 0px; color: Red } .sitebar UL LI.button A.nav:hover, .sitebar UL LI.button-current A.nav:hover { background-color: #CCCCCC; background-position: 0 -22px; color: #000000; } .linklist .icon { background-position: 0 50%; background-repeat: no-repeat; background-image: url('none'); padding-left:17px; padding-right:0; padding-top:1px; padding-bottom:0 } UL.rightside { float: right; } .rtl ul.linklist li.rightside, .rtl p.rightside { float: right; margin-right: 0; margin-left: 5px; text-align: right; } /* Search box --------------------------------------------- */ #nav-search { color: #FFFFFF; position: relative; margin-top: 1px; margin-right: 5px; margin-bottom: 1px; display: block; float: right; text-align: right; white-space: nowrap; /* For Opera */ } .rtl #nav-search { float: left; text-align: left; margin-right: 0; margin-left: 5px; } #nav-search #keywords { width: 95px; background-color: #FFF; } #nav-search input { border: 1px solid #b0b0b0; } /* .button1 style defined later, just a few tweaks for the search button version */ #nav-search input.button1 { padding: 1px 5px; } #nav-search li { text-align: right; margin-top: 4px; } #nav-search img { vertical-align: middle; margin-right: 3px; } #tabs a span{ float: left; display: block; background: url('{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/bg_tabs2.gif') no-repeat 100% -35px; color: #767676; white-space: nowrap; font-family: Arial, Helvetica, sans-serif; text-transform: uppercase; font-weight: bold; padding-left:4px; padding-right:10px; padding-top:7px; padding-bottom:4px } #tabs .activetab a span { background-position: 100% 0; padding-bottom: 5px; color: #23649F; } #tabs a:hover { background-position: 0 -69px; } #tabs a:hover span { background-position: 100% -69px; } #tabs .activetab a:hover span { color: #115098; } .fieldset1, .fieldset1 FIELDSET { border: solid 1px #CCCCCC; background-color: #FFFFFF; padding:10px; } .fieldset1 FORM * { font-size: 1.0em; } .row1 { background-color: #ECF3F7; } /* .bg1 */ .row2 { background-color: #e1ebf2; } /* .bg2 */ .row2 { background-color: #cadceb; } /* .bg3 */ .row4 { background-color: #EFEFEF; } .row5 { background-color: #DEE3E7; } .row6 { background-color: #D1D7DC; } --> </style> </HEAD> <BODY style="background-color: #EFEFEF;"> <div class="navbar"> <div class="inner"> <span class="corners-top"><span></span></span> <h5>{L_MEDIA_PLAYER_VERSION}</h5> <hr align="left" /> <!--script type="text/javascript" src="{MUSIC_BOX_PATH}/swfobject.js"></script--> <div align="center" valign="top"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="{WIDTH}" height="{HEIGHT}" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{MUSIC_BOX_PATH}mp3player.swf?config={MUSIC_BOX_PATH}mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" /> <param name="file" value="{U_GET_MP3_PLAYER_POP}" /> <param name="backcolor" value="0xcadceb" /> <param name="frontcolor" value="0x007677" /> <param name="lightcolor" value="0xFFD3A6" /> <param name="displayheight" value="100" /> <param name="height" value="{HEIGHT}" /> <param name="width" value="{WIDTH}" /> <param name="showeq" value="true" /> <param name="thumbsinplaylist" value="true" /> <param name="showdigits" value="true" /> <param name="repeat" value="true" /> <param name="autostart" value="true" /> <param name="shuffle" value="true" /> <param name="volume" value="40" /> <param name="autoscroll" value="true" /> <param name="showicons" value="true" /> <param name="wmode" value="transparent" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml" /> <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={U_GET_MP3_PLAYER_POP}" wmode="transparent" width="{WIDTH}" height="{HEIGHT}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> <div align="center"> <a class="button2" value="{L_CLOSE_WINDOW}" href="#" onClick="window.close(); return false;">{L_CLOSE_WINDOW}</a> </div> <span class="corners-bottom"><span></span></span> </div> </div> </BODY> </HTML> --- NEW FILE: gallery.lnk --- (This appears to be a binary file; contents omitted.) --- NEW FILE: music_mp3_player.html --- <div class="forabg block"> <div id="p1" class="post bg2 online"> <div class="inner"> <span class="corners-top"><span></span></span> <h5>{L_MEDIA_PLAYER_VERSION}</h5> <hr align="left" /> <!--script type="text/javascript" src="{MUSIC_BOX_PATH}/swfobject.js"></script--> <div align="center" valign="top"> <div class="block_data" style="background:transparent;"> <!-- IF S_USER_LOGGED_IN and not S_IS_BOT --> <![if !IE]> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="180" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{MUSIC_BOX_PATH}/mp3/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#F9F9F9" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/prosilver/config.xml"> <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/prosilver/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files.php" wmode="transparent" width="100%" height="190" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <br /> <![endif]> <div class="my_buttons" style="text-align:center; width:100%;"> <div class="mp3_popup-icon"> <a href="{MUSIC_BOX_PATH}/music_mp3s_popup_player.php" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MP3_POPUP}"><span></span>{L_MP3_POPUP}</a> </div> </div> <!-- ELSE --> <p style="text-align:center;" class="gensmall">{L_DONT_HAVE_ACCOUNT}<a href="ucp.php?cid=&mode=register">{L_REGISTRATION}</a></p> <!-- ENDIF --> </div> <!-- IF DEBUG_QUERIES --><div class="block_data">{MP3_PLAYER_DEBUG}</div><!-- ENDIF --> </div> <div align="center"> <a class="button2" value="{L_CLOSE_WINDOW}" href="#" onClick="window.close(); return false;">{L_CLOSE_WINDOW}</a> </div> <span class="corners-bottom"><span></span></span> </div></div> </div> --- NEW FILE: music_mp3_popup_player.tpl --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <HEAD> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="{L_MP3_PLAYER}" /> <meta name="keywords" content="{L_MP3_PLAYER}" /> <meta name="author" content="MP3 Player originaly made by: Michael O'Toole - aka Michaelo - http://www.phpbbireland.com/" /> <TITLE>{L_MUSIC} :: {L_MP3_PLAYER}</TITLE> <style type="text/css"> <!-- /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url({IMG_IFRAME_BG}); PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; COLOR: #000000; PADDING-TOP: 0px; } a{text-decoration:none; background-color:inherit; color:#26c;} a:hover{text-decoration:underline;} #main {width: 350px; height: 100px; position: relative; left: 0px; top: 0px; margin:0; padding:0; background-image: url(images/player.png); background-repeat: no-repeat; background-attachment: fixed; background-color: #eeeeee} #display {width: 315px; height: 39px; position: relative; left: 18px; top: 18px;} #display_low {width: 310px; height: 21px; position: relative; left: 3px; top: 3px;} #bottom {width: 350px; height: 39px; position: relative; left: 0px; top: 22px;} #songtitle {width: 310px; height: 12px; position: relative; left: 3px; top: 3px;} #station {width: 150px; position: relative; left: 23px; top: 30px;} #bitrate {width: 55px; position: relative; left: 185px; top: 18px;} #equalizer {width: 55px; position: relative; left: 280px; top: 0px;} #icon {width: 55px; position: relative; left: 300px; top: 10px;} #iframe {width: 0px; position: relative; left: 0px; top: 0px;} .table {font-family: Verdana; font-size: 10px;} /* General font families for common tags */ font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link,a:active,a:visited { color : #072978; } a:hover { text-decoration: underline; color : #041642; } hr { height: 0px; border: solid #80BBEC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #EFEFEF; } td.row2 { background-color: #DEE3E7; } td.row3 { background-color: #D1D7DC; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #072978; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #041642; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #072978} a.cattitle { text-decoration: none; color : #072978; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #072978; } a.forumlink { text-decoration: none; color : #072978; } a.forumlink:hover{ text-decoration: underline; color : #041642; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #072978; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle,h1,h2 { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #072978; } a.topictitle:visited { text-decoration: none; color : #072978; } a.topictitle:hover { text-decoration: underline; color : #041642; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} a.postlink:link { text-decoration: none; color : #072978 } a.postlink:visited { text-decoration: none; color : #072978; } a.postlink:hover { text-decoration: underline; color : #041642} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #80BBEC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #80BBEC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #E3F0FB; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #DAECFA; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #BADBF5; border-style: none; } --> </style> </HEAD> <body style="background-color: #EFEFEF;"> <!--script type="text/javascript" src="./portal/mp3/swfobject.js"></script--> <table class="tablebg" cellspacing="1" width="100%"> <!--<tr> <th>{L_MEDIA_PLAYER}</td> </tr>--> <tr> <td class="row1" align="center"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="170" height="190" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files_pop.php&cat_id="" /> <param name="wmode" value="transparent" /> <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> <embed src="{MUSIC_BOX_PATH}/mp3player.swf?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={MUSIC_BOX_PATH}/mp3/get_mp3_files_pop.php" wmode="transparent" width="170" height="200" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </td> </tr> <tr> <td class="row1" align="center"> <a href="{U_MEDIA_PLAYER}" onClick="window.open('','popup','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,fullscreen=yes')" Target="popup">{L_MEDIA_PLAYER}</a> </td> </tr> </table> </BODY> </HTML> |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:56:02
|
Update of /cvsroot/mxbb/mx_music/templates/_core/images/lang_english In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16174/images/lang_english Added Files: icon_mp3_popup.gif Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: icon_mp3_popup.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:55:54
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16154/prosilver Added Files: config.xml prosilver.jpg Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: config.xml --- <mp3config> <!-- choose here if you want the mp3player to automatically start and shuffle songs (true or false) --> <autostart>false</autostart> <shuffle>true</shuffle> <!-- choose the mp3player repeat mode (none, one, all or list (plays the entire playlist once)) --> <repeat>list</repeat> <!-- choose the mp3player volume (0 to 100) --> <volume>80</volume> <!-- choose here if you want to show the display and playlist (true or false) --> <showdisplay>true</showdisplay> <showplaylist>true</showplaylist> <!-- choose here in what frame you want links to be opened (_blank, _self, _top or a framename) --> <linktarget>_top</linktarget> <!-- choose the mp3player colors (hexadecimal, from 0x000000 to 0xffffff) --> <backcolor>0xADF5FA</backcolor> <frontcolor>0x126AAD</frontcolor> <lightcolor>0x0FCFE2</lightcolor> <!-- you can set a JPG as the background here to skin the mp3player (url to the jpg file) --> <jpgfile>./../mp3/prosilver/prosilver.jpg</jpgfile> <!-- (for webmasters) URL of a script, called on start and completion of a song --> <!-- the following vars are sent with POST: playlist, title, file, identifier, action ('start' or 'complete') --> <callback></callback> </mp3config> --- NEW FILE: prosilver.jpg --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:55:53
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16154 Added Files: get_mp3_files.php get_mp3_files_pop.php index.htm Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: get_mp3_files_pop.php --- <?php /** * * @package MX-Publisher Module - mx_music * @credit Michael O'Toole - aka Michaelo at Stargate Portal * @begin Saturday, Jan 22, 2005 * @copyright (c) 2003 [ory...@rd..., OryNider] MXP Development Team * @home http://mxpcms.souceforge.net/ * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id: get_mp3_files_pop.php,v 1.1 2013/04/19 17:55:51 orynider Exp $ * Updated: Mike, OryNider * */ /** * @ignore */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { define('IN_PORTAL', true); $mx_root_path = "../../../../"; $module_root_path = "./../../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); // // End session management // $title = 'Media Player Radio'; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); $is_block = FALSE; } else { // // Read block Configuration // $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); if( is_object($mx_block)) { $is_block = TRUE; } else { $is_block = FALSE; } } // // Get general music information // $music_root_path = $module_root_path . 'music_box/'; require_once($music_root_path . 'music_common.'.$phpEx); header('Expires: Mon, 31 Aug 1996 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); if (!defined('IN_MO')) { exit; //define('IN_MO', true); } // ------------------------------------ // Check the request // ------------------------------------ if (!$mx_request_vars->is_empty_request('cat_id')) { $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, 0); $cat_parent = $mx_request_vars->request('c', MX_TYPE_INT, 0); $cat_where = ($cat_id != 0) ? "cat_parent = $cat_parent" : "cat_id <> 0"; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE cat_id = $cat_id GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("Could not query this category"); } } else { $cat_id = 0; $cat_parent = 0; $cat_where = "cat_id <> 0"; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE $cat_where GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("No category specified && Could not query categories list"); } } // --------------------------------------------- // Ckeck is category has subcats start // --------------------------------------------- $catrows = array(); while($row = $db->sql_fetchrow($result)) { $music_user_access = music_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW // ------------------------------------ // Get this cat info // ------------------------------------ if ($music_user_access['view'] == 1) { $auth_data = music_user_access($cat_id, $row, 1, 1, 1, 1, 1, 1); // ALL } $catrows[] = $row; if($row['cat_id'] == $cat_id ) { $thiscat = $row; $total_songs = $thiscat['count']; } else { $thiscat = ''; $total_songs = false; } } $db->sql_freeresult($result); $allowed_cat = ''; // For Recent Public Songs below // // $catrows now stores all categories which this user can view. Dump them out! // for ($i = 0; $i < count($catrows); $i++) { // -------------------------------- // Build allowed category-list (for recent songs after here) // -------------------------------- $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; } // -------------------------------------------- // Ckeck is category has subcats end // -------------------------------------------- //User Control Pannel $u_group_cp = $u_group_cp ? $u_group_cp : (($portal_config['portal_backend'] == 'phpbb3') ? "ucp.$phpEx?i=167&" : "groupcp.$phpEx?"); //Here mx_message_die can be used sicne xml headers are not set if (empty($thiscat)) { mx_message_die(GENERAL_MESSAGE, $lang['Category_not_exist']); } $cat_parent = $thiscat['cat_parent']; if ($cat_parent != 0) { //Here support can be added for parent category if any } // // END cat info // // ------------------------------------ // Check permissions // ------------------------------------ if( !$auth_data['view'] ) { if (!$userdata['session_logged_in']) { mx_redirect(mx_append_sid($mx_root_path . "login.php?redirect=" . this_mo_loginurl("music_mode=music_cat&cat_id=$cat_id"), true)); } else { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); } } if ( $auth_data['upload'] ) { $enable_soung_upload_switch = true; } // // END check permissions // // ------------------------------------ // Build Auth List // ------------------------------------ $auth_key = array_keys($auth_data); $auth_list = ''; for ($i = 0; $i < (count($auth_data) - 1); $i++) // ignore MODERATOR in this loop { // // we should skip a loop if RATE and COMMENT is disabled // if( ( ($music_config['rate'] == 0) and ($auth_key[$i] == 'rate') ) or ( ($music_config['comment'] == 0) and ($auth_key[$i] == 'comment') ) ) { continue; } $auth_list .= ($auth_data[$auth_key[$i]] == 1) ? $lang['Music_'. $auth_key[$i] .'_can'] : $lang['Music_'. $auth_key[$i] .'_cannot']; $auth_list .= '<br />'; } // add Moderator Control Panel here if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { $auth_list .= sprintf($lang['Music_moderate_can'], '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_modcp&cat_id=$cat_id")) .'">', '</a>'); } // // END Auth List // // ------------------------------------ // Build Moderators List // ------------------------------------ $grouprows = array(); $moderators_list = ''; if ($thiscat['cat_moderator_groups'] != '') { switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $sql_where = 'group_single_user <> " . true . "'; break; case 'phpbb3': $sql_where = 'group_id <> " . true . "'; break; } // Get the namelist of moderator usergroups $sql = "SELECT * FROM " . GROUPS_TABLE . " WHERE " . $sql_where . " AND group_type <> ". GROUP_HIDDEN ." AND group_id IN (". $thiscat['cat_moderator_groups'] .") ORDER BY group_name ASC"; if ( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); } while( $row = $db->sql_fetchrow($result) ) { $grouprows[] = $row; } $db->sql_freeresult($result); if( count($grouprows) > 0 ) { for ($j = 0; $j < count($grouprows); $j++) { $group_link = '<a href="'. mx_append_sid($phpbb_root_path . $u_group_cp . POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; } } } if( empty($moderators_list) ) { $moderators_list = $lang['None']; } // // END Moderator List // // ------------------------------------ // Build the thumbnail page // ------------------------------------ if( isset($HTTP_GET_VARS['start']) ) { $start = intval($HTTP_GET_VARS['start']); } else if( isset($HTTP_POST_VARS['start']) ) { $start = intval($HTTP_POST_VARS['start']); } else { $start = 0; } if( isset($HTTP_GET_VARS['sort_method']) ) { switch ($HTTP_GET_VARS['sort_method']) { case 'song_time': $sort_method = 'song_time'; break; case 'song_title': $sort_method = 'song_title'; break; case 'song_singer': $sort_method = 'song_singer'; break; case 'username': $sort_method = 'username'; break; case 'song_view_count': $sort_method = 'song_view_count'; break; case 'rating': $sort_method = 'rating'; break; case 'comments': $sort_method = 'comments'; break; case 'new_comment': $sort_method = 'new_comment'; break; default: $sort_method = $music_config['sort_method']; } } else if( isset($HTTP_POST_VARS['sort_method']) ) { switch ($HTTP_POST_VARS['sort_method']) { case 'song_time': $sort_method = 'song_time'; break; case 'song_title': $sort_method = 'song_title'; break; case 'song_singer': $sort_method = 'song_singer'; break; case 'username': $sort_method = 'username'; break; case 'song_view_count': $sort_method = 'song_view_count'; break; case 'rating': $sort_method = 'rating'; break; case 'comments': $sort_method = 'comments'; break; case 'new_comment': $sort_method = 'new_comment'; break; default: $sort_method = $music_config['sort_method']; } } else { $sort_method = $music_config['sort_method']; } if( isset($HTTP_GET_VARS['sort_order']) ) { switch ($HTTP_GET_VARS['sort_order']) { case 'ASC': $sort_order = 'ASC'; break; case 'DESC': $sort_order = 'DESC'; break; default: $sort_order = $music_config['sort_order']; } } else if( isset($HTTP_POST_VARS['sort_order']) ) { switch ($HTTP_POST_VARS['sort_order']) { case 'ASC': $sort_order = 'ASC'; break; case 'DESC': $sort_order = 'DESC'; break; default: $sort_order = $music_config['sort_order']; } } else { $sort_order = $music_config['sort_order']; } $songs_per_page = $music_config['rows_per_page'] * $music_config['cols_per_page']; // // Start output of page // $page_title = $lang['Music'] . " PHP Generated Playlist"; /** * PHP Generated Playlist * @credit Michael O'Toole - aka Michaelo * @begin Saturday, Jan 22, 2005 * @copyright (c) 2005-2008 phpbbireland * @home http://www.phpbbireland.com * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ // XML and nocaching headers header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // Format: xspf format Add an xml header and the opening tags .. header("Content-Type:text/xml;charset=utf-8"); if ($total_songs > 0) { //$limit_sql = ($start == 0) ? $songs_per_page : $start .','. $songs_per_page; $title_cat = make_xml_compatible($thiscat['cat_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thiscat['cat_id'])); $description_cat = $lang['Category_songs'] . ': ' . nl2br($thiscat['cat_desc']); // If not set, set the output count to 50 $count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : $total_songs; $count = ( $count == 0 ) ? $total_songs : $count; echo "<?xml version='1.0' encoding='UTF-8' ?>\n"; echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n"; echo " <title>" . $page_title . "</title>\n"; echo " <info><![CDATA[" . $description_cat ."]]></info>\n"; echo " <trackList>\n"; $song_approval_sql = 'AND s.song_approval = 1'; if ($thiscat['cat_approval'] != MUSIC_USER) { if( ($userdata['user_level'] == ADMIN) or (($auth_data['moderator'] == 1) and ($thiscat['cat_approval'] == MUSIC_MOD)) ) { $song_approval_sql = ''; } } /* $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, s.song_lock, s.song_approval, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id = '$cat_id' $song_approval_sql GROUP BY s.song_id ORDER BY $sort_method $sort_order LIMIT $count"; */ $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_CAT_TABLE ." AS ct ON s.song_cat_id = ct.cat_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id IN ($allowed_cat) AND ( s.song_approval = 1 OR ct.cat_approval = 0 ) GROUP BY s.song_id ORDER BY song_time DESC LIMIT $count"; if(!$result = $db->sql_query($sql)) { die("Failed obtaining list of active songs"); } // // Update the music view counter // $sql = "UPDATE " . MUSIC_CAT_TABLE . " SET cat_views = cat_views + 1 WHERE cat_id = $cat_id"; $db->sql_query($sql); $songrow = array(); while($row = $db->sql_fetchrow($result)) { $songrow[] = $row; } $db->sql_freeresult($result); //Start song cols songrow for ($i = 0; $i < count($songrow); $i += $music_config['cols_per_page']) { echo " <track>\n"; //Start song cols songcol for ($j = $i; $j < ($i + $music_config['cols_per_page']); $j++) { if( $j >= count($songrow) ) { break; } if(!$songrow[$j]['rating']) { $songrow[$j]['rating'] = $lang['Not_rated']; } else { $songrow[$j]['rating'] = round($songrow[$j]['rating'], 2); } $approval_link = ''; if ($thiscat['cat_approval'] != MUSIC_USER) { if( ($userdata['user_level'] == ADMIN) or (($auth_data['moderator'] == 1) and ($thiscat['cat_approval'] == MUSIC_MOD)) ) { $approval_mode = ($songrow[$j]['song_approval'] == 0) ? 'approval' : 'unapproval'; $approval_link .= '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_modcp&mode=$approval_mode&song_id=". $songrow[$j]['song_id'])) .'">'; $approval_link .= ($songrow[$j]['song_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; $approval_link .= '</a>'; } } $song_poster = music_get_profile_url('full', $songrow[$j]['user_id'], $songrow[$j]['username'], false); // ------------------------------------ // Get this song info // ------------------------------------ $song_id = $songrow[$j]['song_id']; $sql = "SELECT s.*, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE song_id = '$song_id' GROUP BY s.song_id"; if( !($result = $db->sql_query($sql)) ) { die("Could not query song information"); } $thissong = $db->sql_fetchrow($result); $db->sql_freeresult($result); $cat_id = $thissong['song_cat_id']; $user_id = $thissong['song_user_id']; //Image Edit Added by OryNider from Radio Cast $thispattern = '/^(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/'; if ($result = preg_match($thispattern, $thissong['station_imagename'])) { $img_id = $thissong['station_imagename']; } else if (!empty($thissong['station_imagename'])) { $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['station_imagename']); } else { $img_id = $song_image_default; } if ( $thissong['song_url'] == '' ) { $song_filetype = substr($thissong['song_filename'], strlen($thissong['song_filename']) - 3, 3); $song_filename = ( !empty($thissong['song_filename']) ? $thissong['song_filename'] : '' ); } else { $song_filetype = substr($thissong['song_url'], strlen($thissong['song_url']) - 3, 3); $song_url = $thissong['song_url']; } if ( ($thissong['song_filetype'] == '') || ($song_filetype) && ($thissong['song_filetype'] != $song_filetype) ) { // // Update the song filetype // $sql = "UPDATE " . MUSIC_TABLE . " SET song_filetype = '" . $song_filetype . "' WHERE song_id = '" . $song_id . "'"; $db->sql_query($sql); } $url_player = ''; $host = ''; $host_protocol = ''; //$host = explode("//", $thissong['song_url']); //$host_protocol = $host[0] . '//'; // // Media Center // $url_video = $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); $title = make_xml_compatible($thissong['song_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thissong['song_cat_id'])); $url_page = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_page&" . "song_id=" . $thissong['song_id'])); $url_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_song&" . "song_id=" . $thissong['song_id'], true)); $url_flv = !empty($thissong['song_url']) ? $thissong['song_url'] : PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; $url_comment = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_comment&" . "song_id=" . $thissong['song_id'])); //We return the media url via "Music Song" Addon if(!empty($thissong['song_url']) && !file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = $thissong['song_url']; } //We return the media url via "Music Song" Addon if(!empty($thissong['song_url']) && @file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'], true)); } //We return the media direct from upload folder if(empty($thissong['song_url']) && @file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename'] . "?song_id=" . $thissong['song_id']; } if(!empty($thissong['song_url'])) { $url_download = mx_append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $mime_type = $mime_type ? $mime_type : 'application/x-mplayer2'; $row_type = 'media'; } $url_thumb_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'] . "&item_size=425", true)); $url_full_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'] . "&item_size=800", true)); echo " <annotation>" . ($j + 1) . " (" . $songrow[$j]['song_id'] . ") " . $title . "</annotation>\n"; if(!empty($song_filetype)) { switch ($song_filetype) { case 'ram': $html_code = '<embed src="' . $url_song . '" id="VideoPlayback" type="audio/x-pn-realaudio-plugin" wmode="transparent" width="425" height="350"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/x-pn-realaudio-plugin" length="1024000"'; $row_type = 'ram'; break; case 'flv': $html_code = '<embed src="' . $url_video . '" flashvars="file=' . $url_flv . '&image=' . $img_id . '&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="350" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; $row_type = 'flv'; break; case 'qt': $html_code = '<embed src="templates/_core/images/uneedqt41.jpg" qtsrc="' . $url_song . '" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="video/quicktime" length="1024000"'; $row_type = 'qt'; break; case 'jpg': case 'jpeg': case 'gif': case 'png': case 'bmp': $html_code = '<a href="' . $url_page . '">' . '<img src="' . $url_thumb_song . '" border="1" vspace="2" hspace="2" align="left" width="425" height="350" />' . '</a>'; $enclosure = 'url="' . $url_song . '" ' . 'type="image/png" length="1024000"'; $row_type = 'img'; break; case 'mp3': case 'mp2': default: $html_code = '<embed type="audio/mpeg" height="70" width="300" AUTOSTART="0" filename="' . $url_song . '" src="' . $url_song . '" ></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/mpeg" length="1024000"'; $row_type = 'mp3'; } if ($song_filetype == 'mp3') { $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $music_root_path . 'mp3player.swf'; $mime_type = 'audio/x-mpeg'; //application/x-mplayer2 echo " <location>" . $url_song . "</location>\n"; } else { $url_download = mx_append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); $url_video = $url_download; $mime_type = 'audio/x-' . $song_filetype; //application/x-mplayer2 } } else { $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); $url_video = $url_download; $row_type = 'media'; } $song_user_ip = (@function_exists( 'decode_ip' )) ? music_decode_ip($songrow[$j]['song_user_ip']) : phpBB2::decode_ip($songrow[$j]['song_user_ip']); $html_code = trim($html_code); $description_code = $lang['Song_Desc'] . ': ' . nl2br($thissong['song_desc']); $description = $html_code . $description_code; if (strlen($description) > 2000) { $description_encoded = '<div>' . substr($html_code, 0, 1957) . '</div><br /><div>' . $description_code . '</div><div> </div>'; } else { $description_encoded = '<div>' . $html_code . '</div><br /><div>' . $description_code . '</div><div> </div>'; } echo " <info><![CDATA[" . $description_encoded ."]]></info>\n"; } echo " </track>\n"; } // Add closing tags echo " </trackList>\n"; echo "</playlist>\n"; } else { $title_cat = make_xml_compatible($lang['No_Songs'] . "@ " . $thiscat['cat_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thiscat['cat_id'])); $description_cat = $lang['Category_songs'] . ': ' . nl2br($thiscat['cat_desc']); echo "<?xml version='1.0' encoding='UTF-8' ?>\n"; echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n"; echo " <title>" . $page_title . "</title>\n"; echo " <info><![CDATA[" . $description_cat ."]]></info>\n"; echo " <trackList>\n"; echo " <track>\n"; echo " <annotation>" . $title_cat . "</annotation>\n"; echo " <location>" . $url_cat . "</location>\n"; echo " <info><![CDATA[" . $description_encoded ."]]></info>\n"; echo " </track>\n"; // Add closing tags echo " </trackList>\n"; echo "</playlist>\n"; } // // END thumbnails table // ?> --- NEW FILE: get_mp3_files.php --- <?php /** * * @package MX-Publisher Module - mx_music * @credit Michael O'Toole - aka Michaelo at Stargate Portal * @begin Saturday, Jan 22, 2005 * @copyright (c) 2003 [ory...@rd..., OryNider] MXP Development Team * @home http://mxpcms.souceforge.net/ * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id: get_mp3_files.php,v 1.1 2013/04/19 17:55:51 orynider Exp $ * Updated: Mike, OryNider * */ /** * @ignore */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { define('IN_PORTAL', true); $mx_root_path = "../../../../"; $module_root_path = "./../../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); // // End session management // $title = 'Media Player Radio'; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); $is_block = FALSE; } else { // // Read block Configuration // $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); if( is_object($mx_block)) { $is_block = TRUE; } else { $is_block = FALSE; } } // // Get general music information // $music_root_path = $module_root_path . 'music_box/'; require_once($music_root_path . 'music_common.'.$phpEx); header('Expires: Mon, 31 Aug 1996 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); if (!defined('IN_MO')) { exit; //define('IN_MO', true); } // ------------------------------------ // Check the request // ------------------------------------ if (!$mx_request_vars->is_empty_request('cat_id')) { $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, 0); $cat_parent = $mx_request_vars->request('c', MX_TYPE_INT, 0); $cat_where = ($cat_id != 0) ? "cat_parent = $cat_parent" : "cat_id <> 0"; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE cat_id = $cat_id GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("Could not query this category"); } } else { $cat_id = 0; $cat_parent = 0; $cat_where = "cat_id <> 0"; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE $cat_where GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("No category specified && Could not query categories list"); } } // --------------------------------------------- // Ckeck is category has subcats start // --------------------------------------------- $catrows = array(); while($row = $db->sql_fetchrow($result)) { $music_user_access = music_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW // ------------------------------------ // Get this cat info // ------------------------------------ if ($music_user_access['view'] == 1) { $auth_data = music_user_access($cat_id, $row, 1, 1, 1, 1, 1, 1); // ALL } $catrows[] = $row; if($row['cat_id'] == $cat_id ) { $thiscat = $row; $total_songs = $thiscat['count']; } else { $thiscat = ''; $total_songs = false; } } $db->sql_freeresult($result); $allowed_cat = ''; // For Recent Public Songs below // // $catrows now stores all categories which this user can view. Dump them out! // for ($i = 0; $i < count($catrows); $i++) { // -------------------------------- // Build allowed category-list (for recent songs after here) // -------------------------------- $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; } // -------------------------------------------- // Ckeck is category has subcats end // -------------------------------------------- //User Control Pannel $u_group_cp = $u_group_cp ? $u_group_cp : (($portal_config['portal_backend'] == 'phpbb3') ? "ucp.$phpEx?i=167&" : "groupcp.$phpEx?"); //Here mx_message_die can be used sicne xml headers are not set if (empty($thiscat)) { mx_message_die(GENERAL_MESSAGE, $lang['Category_not_exist']); } $cat_parent = $thiscat['cat_parent']; if ($cat_parent != 0) { //Here support can be added for parent category if any } // // END cat info // // ------------------------------------ // Check permissions // ------------------------------------ if( !$auth_data['view'] ) { if (!$userdata['session_logged_in']) { mx_redirect(mx_append_sid($mx_root_path . "login.php?redirect=" . this_mo_loginurl("music_mode=music_cat&cat_id=$cat_id"), true)); } else { mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); } } if ( $auth_data['upload'] ) { $enable_soung_upload_switch = true; } // // END check permissions // // ------------------------------------ // Build Auth List // ------------------------------------ $auth_key = array_keys($auth_data); $auth_list = ''; for ($i = 0; $i < (count($auth_data) - 1); $i++) // ignore MODERATOR in this loop { // // we should skip a loop if RATE and COMMENT is disabled // if( ( ($music_config['rate'] == 0) and ($auth_key[$i] == 'rate') ) or ( ($music_config['comment'] == 0) and ($auth_key[$i] == 'comment') ) ) { continue; } $auth_list .= ($auth_data[$auth_key[$i]] == 1) ? $lang['Music_'. $auth_key[$i] .'_can'] : $lang['Music_'. $auth_key[$i] .'_cannot']; $auth_list .= '<br />'; } // add Moderator Control Panel here if( ($userdata['user_level'] == ADMIN) or ($auth_data['moderator'] == 1) ) { $auth_list .= sprintf($lang['Music_moderate_can'], '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_modcp&cat_id=$cat_id")) .'">', '</a>'); } // // END Auth List // // ------------------------------------ // Build Moderators List // ------------------------------------ $grouprows = array(); $moderators_list = ''; if ($thiscat['cat_moderator_groups'] != '') { switch (PORTAL_BACKEND) { case 'internal': case 'phpbb2': $sql_where = 'group_single_user <> " . true . "'; break; case 'phpbb3': $sql_where = 'group_id <> " . true . "'; break; } // Get the namelist of moderator usergroups $sql = "SELECT * FROM " . GROUPS_TABLE . " WHERE " . $sql_where . " AND group_type <> ". GROUP_HIDDEN ." AND group_id IN (". $thiscat['cat_moderator_groups'] .") ORDER BY group_name ASC"; if ( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'Could not get group list', '', __LINE__, __FILE__, $sql); } while( $row = $db->sql_fetchrow($result) ) { $grouprows[] = $row; } if( count($grouprows) > 0 ) { for ($j = 0; $j < count($grouprows); $j++) { $group_link = '<a href="'. mx_append_sid($phpbb_root_path . $u_group_cp . POST_GROUPS_URL .'='. $grouprows[$j]['group_id']) .'">'. $grouprows[$j]['group_name'] .'</a>'; $moderators_list .= ($moderators_list == '') ? $group_link : ', ' . $group_link; } } } if( empty($moderators_list) ) { $moderators_list = $lang['None']; } // // END Moderator List // // ------------------------------------ // Build the thumbnail page // ------------------------------------ if( isset($HTTP_GET_VARS['start']) ) { $start = intval($HTTP_GET_VARS['start']); } else if( isset($HTTP_POST_VARS['start']) ) { $start = intval($HTTP_POST_VARS['start']); } else { $start = 0; } if( isset($HTTP_GET_VARS['sort_method']) ) { switch ($HTTP_GET_VARS['sort_method']) { case 'song_time': $sort_method = 'song_time'; break; case 'song_title': $sort_method = 'song_title'; break; case 'song_singer': $sort_method = 'song_singer'; break; case 'username': $sort_method = 'username'; break; case 'song_view_count': $sort_method = 'song_view_count'; break; case 'rating': $sort_method = 'rating'; break; case 'comments': $sort_method = 'comments'; break; case 'new_comment': $sort_method = 'new_comment'; break; default: $sort_method = $music_config['sort_method']; } } else if( isset($HTTP_POST_VARS['sort_method']) ) { switch ($HTTP_POST_VARS['sort_method']) { case 'song_time': $sort_method = 'song_time'; break; case 'song_title': $sort_method = 'song_title'; break; case 'song_singer': $sort_method = 'song_singer'; break; case 'username': $sort_method = 'username'; break; case 'song_view_count': $sort_method = 'song_view_count'; break; case 'rating': $sort_method = 'rating'; break; case 'comments': $sort_method = 'comments'; break; case 'new_comment': $sort_method = 'new_comment'; break; default: $sort_method = $music_config['sort_method']; } } else { $sort_method = $music_config['sort_method']; } if( isset($HTTP_GET_VARS['sort_order']) ) { switch ($HTTP_GET_VARS['sort_order']) { case 'ASC': $sort_order = 'ASC'; break; case 'DESC': $sort_order = 'DESC'; break; default: $sort_order = $music_config['sort_order']; } } else if( isset($HTTP_POST_VARS['sort_order']) ) { switch ($HTTP_POST_VARS['sort_order']) { case 'ASC': $sort_order = 'ASC'; break; case 'DESC': $sort_order = 'DESC'; break; default: $sort_order = $music_config['sort_order']; } } else { $sort_order = $music_config['sort_order']; } $songs_per_page = $music_config['rows_per_page'] * $music_config['cols_per_page']; // // Start output of page // $page_title = $lang['Music'] . " PHP Generated Playlist"; /** * PHP Generated Playlist * @credit Michael O'Toole - aka Michaelo * @begin Saturday, Jan 22, 2005 * @copyright (c) 2005-2008 phpbbireland * @home http://www.phpbbireland.com * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ // XML and nocaching headers header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // Format: xspf format Add an xml header and the opening tags .. header("Content-Type:text/xml;charset=utf-8"); if ($total_songs > 0) { //$limit_sql = ($start == 0) ? $songs_per_page : $start .','. $songs_per_page; $title_cat = make_xml_compatible($thiscat['cat_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thiscat['cat_id'])); $description_cat = $lang['Category_songs'] . ': ' . nl2br($thiscat['cat_desc']); // If not set, set the output count to 50 $count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : $total_songs; $count = ( $count == 0 ) ? $total_songs : $count; echo "<?xml version='1.0' encoding='UTF-8' ?>\n"; echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n"; echo " <title>" . $page_title . "</title>\n"; echo " <info><![CDATA[" . $description_cat ."]]></info>\n"; echo " <trackList>\n"; $song_approval_sql = 'AND s.song_approval = 1'; if ($thiscat['cat_approval'] != MUSIC_USER) { if( ($userdata['user_level'] == ADMIN) or (($auth_data['moderator'] == 1) and ($thiscat['cat_approval'] == MUSIC_MOD)) ) { $song_approval_sql = ''; } } /* $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, s.song_lock, s.song_approval, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id = '$cat_id' $song_approval_sql GROUP BY s.song_id ORDER BY $sort_method $sort_order LIMIT $count"; */ $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_CAT_TABLE ." AS ct ON s.song_cat_id = ct.cat_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id IN ($allowed_cat) AND ( s.song_approval = 1 OR ct.cat_approval = 0 ) GROUP BY s.song_id ORDER BY song_id ASC LIMIT $count"; if(!$result = $db->sql_query($sql)) { die("Failed obtaining list of active songs"); } // // Update the music view counter // $sql = "UPDATE " . MUSIC_CAT_TABLE . " SET cat_views = cat_views + 1 WHERE cat_id = $cat_id"; $db->sql_query($sql); $songrow = array(); while($row = $db->sql_fetchrow($result)) { $songrow[] = $row; } //Start song cols songrow for ($i = 0; $i < count($songrow); $i += $music_config['cols_per_page']) { echo " <track>\n"; //Start song cols songcol for ($j = $i; $j < ($i + $music_config['cols_per_page']); $j++) { if( $j >= count($songrow) ) { break; } if(!$songrow[$j]['rating']) { $songrow[$j]['rating'] = $lang['Not_rated']; } else { $songrow[$j]['rating'] = round($songrow[$j]['rating'], 2); } $approval_link = ''; if ($thiscat['cat_approval'] != MUSIC_USER) { if( ($userdata['user_level'] == ADMIN) or (($auth_data['moderator'] == 1) and ($thiscat['cat_approval'] == MUSIC_MOD)) ) { $approval_mode = ($songrow[$j]['song_approval'] == 0) ? 'approval' : 'unapproval'; $approval_link .= '<a href="'. mx_append_sid(this_mo_mxurl("music_mode=music_modcp&mode=$approval_mode&song_id=". $songrow[$j]['song_id'])) .'">'; $approval_link .= ($songrow[$j]['song_approval'] == 0) ? '<b>'. $lang['Approve'] .'</b>' : $lang['Unapprove']; $approval_link .= '</a>'; } } $song_poster = music_get_profile_url('full', $songrow[$j]['user_id'], $songrow[$j]['username'], false); // ------------------------------------ // Get this song info // ------------------------------------ $song_id = $songrow[$j]['song_id']; $sql = "SELECT s.*, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE song_id = '$song_id' GROUP BY s.song_id"; if( !($result = $db->sql_query($sql)) ) { die("Could not query song information"); } $thissong = $db->sql_fetchrow($result); $cat_id = $thissong['song_cat_id']; $user_id = $thissong['song_user_id']; //Image Edit Added by OryNider from Radio Cast $thispattern = '/^(([\w]+:)?\/\/)?(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/'; if ($result = preg_match($thispattern, $thissong['station_imagename'])) { $img_id = $thissong['station_imagename']; } else if (!empty($thissong['station_imagename'])) { $img_id = (PORTAL_URL . str_replace('./', '/', MUSIC_IMAGE_PATH) . $thissong['station_imagename']); } else { $img_id = $song_image_default; } if ( $thissong['song_url'] == '' ) { $song_filetype = substr($thissong['song_filename'], strlen($thissong['song_filename']) - 3, 3); $song_filename = ( !empty($thissong['song_filename']) ? $thissong['song_filename'] : '' ); } else { $song_filetype = substr($thissong['song_url'], strlen($thissong['song_url']) - 3, 3); $song_url = $thissong['song_url']; } if ( ($thissong['song_filetype'] == '') || ($song_filetype) && ($thissong['song_filetype'] != $song_filetype) ) { // // Update the song filetype // $sql = "UPDATE " . MUSIC_TABLE . " SET song_filetype = '" . $song_filetype . "' WHERE song_id = '" . $song_id . "'"; $db->sql_query($sql); } $url_player = ''; $host = ''; $host_protocol = ''; //$host = explode("//", $thissong['song_url']); //$host_protocol = $host[0] . '//'; // // Media Center // $url_video = $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); $title = make_xml_compatible($thissong['song_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thissong['song_cat_id'])); $url_page = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_page&" . "song_id=" . $thissong['song_id'])); $url_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_song&" . "song_id=" . $thissong['song_id'], true)); $url_flv = !empty($thissong['song_url']) ? $thissong['song_url'] : PORTAL_URL . MUSIC_UPLOAD_PATH . $thissong['song_filename']; $url_comment = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_comment&" . "song_id=" . $thissong['song_id'])); //We return the media url via "Music Song" Addon if(!empty($thissong['song_url']) && !file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = $thissong['song_url']; } //We return the media url via "Music Song" Addon if(!empty($thissong['song_url']) && @file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'], true)); } //We return the media direct from upload folder if(empty($thissong['song_url']) && @file_exists(MUSIC_UPLOAD_PATH . $thissong['song_filename']) ) { $url_song = PORTAL_URL. str_replace('./', '/', MUSIC_UPLOAD_PATH) . $thissong['song_filename']; } if(!empty($thissong['song_url'])) { $url_download = mx_append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $mime_type = $mime_type ? $mime_type : 'application/x-mplayer2'; $row_type = 'media'; } $url_thumb_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'] . "&item_size=425", true)); $url_full_song = !empty($thissong['song_url']) ? $thissong['song_url'] : mx_append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $thissong['song_id'] . "&item_size=800", true)); echo " <annotation>" . ($j + 1) . " (" . $songrow[$j]['song_id'] . ") " . $title . "</annotation>\n"; if(!empty($song_filetype)) { switch ($song_filetype) { case 'ram': $html_code = '<embed src="' . $url_song . '" id="VideoPlayback" type="audio/x-pn-realaudio-plugin" wmode="transparent" width="425" height="350"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/x-pn-realaudio-plugin" length="1024000"'; $row_type = 'ram'; break; case 'flv': $html_code = '<embed src="' . $url_video . '" flashvars="file=' . $url_flv . '&image=' . $img_id . '&shuffleOnLoad=no" loop="false" allowfullscreen="true" menu="false" quality="high" width="425" height="350" scale="noscale" salign="lt" name="flvplayer" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; $row_type = 'flv'; break; case 'qt': $html_code = '<embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="' . $url_song . '" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="video/quicktime" length="1024000"'; $row_type = 'qt'; break; case 'jpg': case 'jpeg': case 'gif': case 'png': case 'bmp': $html_code = '<a href="' . $url_page . '">' . '<img src="' . $url_thumb_song . '" border="1" vspace="2" hspace="2" align="left" width="425" height="350" />' . '</a>'; $enclosure = 'url="' . $url_song . '" ' . 'type="image/png" length="1024000"'; $row_type = 'img'; break; case 'mp3': case 'mp2': default: $html_code = '<embed type="audio/mpeg" height="70" width="300" AUTOSTART="0" filename="' . $url_song . '" src="' . $url_song . '" ></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/mpeg" length="1024000"'; $row_type = 'mp3'; } if ($song_filetype == 'mp3') { $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $music_root_path . 'mp3player.swf'; $mime_type = 'audio/x-mpeg'; //application/x-mplayer2 echo " <location>" . $url_song . "</location>\n"; } else { $url_download = mx_append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); $url_video = $url_download; $mime_type = 'audio/x-' . $song_filetype; //application/x-mplayer2 } } else { $url_download = mx_append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); $url_video = $url_download; $row_type = 'media'; } $song_user_ip = (@function_exists( 'decode_ip' )) ? music_decode_ip($songrow[$j]['song_user_ip']) : phpBB2::decode_ip($songrow[$j]['song_user_ip']); $html_code = trim($html_code); $description_code = $lang['Song_Desc'] . ': ' . nl2br($thissong['song_desc']); $description = $html_code . $description_code; if (strlen($description) > 2000) { $description_encoded = '<div>' . substr($html_code, 0, 1957) . '</div><br /><div>' . $description_code . '</div><div> </div>'; } else { $description_encoded = '<div>' . $html_code . '</div><br /><div>' . $description_code . '</div><div> </div>'; } echo " <info><![CDATA[" . $description_encoded ."]]></info>\n"; } echo " </track>\n"; } // Add closing tags echo " </trackList>\n"; echo "</playlist>\n"; } else { $title_cat = make_xml_compatible($lang['No_Songs'] . "@ " . $thiscat['cat_title']); $url_cat = mx_append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thiscat['cat_id'])); $description_cat = $lang['Category_songs'] . ': ' . nl2br($thiscat['cat_desc']); echo "<?xml version='1.0' encoding='UTF-8' ?>\n"; echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n"; echo " <title>" . $page_title . "</title>\n"; echo " <info><![CDATA[" . $description_cat ."]]></info>\n"; echo " <trackList>\n"; echo " <track>\n"; echo " <annotation>" . $title_cat . "</annotation>\n"; echo " <location>" . $url_cat . "</location>\n"; echo " <info><![CDATA[" . $description_encoded ."]]></info>\n"; echo " </track>\n"; // Add closing tags echo " </trackList>\n"; echo "</playlist>\n"; } // // END thumbnails table // ?> --- NEW FILE: index.htm --- <html> <head> <title>Autumn_2 created by Michael O'Toole Design</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center" valign="middle"><a href="http://www.phpbbireland.com/" target="_new"><img src="created_by.jpg" width="400" height="300" border="0" alt="Created by Michael O'Toole Design" /></a></td> </tr> </table> </body> </html> |
Update of /cvsroot/mxbb/mx_music/music_box In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16133/music_box Added Files: logo.png mediaplayer50.swf mp3player.html mp3player.swf music_mp3_player.php music_mp3s_popup_player.php ufo.js Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: music_mp3_player.php --- <?php /** * * @package Stargate Portal * @author Michael O'Toole - aka Michaelo * @begin Saturday, Jan 22, 2005 * @copyright (c) 2005-2008 phpbbireland * @home http://www.phpbbireland.com * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @note: Do not remove this copyright. Just append yours if you have modified it, * this is part of the Stargate Portal copyright agreement... * * @version $Id: music_mp3_player.php,v 1.1 2013/04/19 17:55:41 orynider Exp $ * Updated: * */ /** * @ignore */ // MX if ( !defined('IN_PORTAL') ) { //exit; die("Hacking attempt"); } // // Let's include some stuff... // $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( !defined('TEMPLATE_ROOT_PATH') ) { include_once($mx_root_path . 'common.' . $phpEx); // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); // // End session management // } // // Read block Configuration // $title = $mx_block->block_info['block_title']; $block_size = $player_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); if(is_object($mx_block)) { $is_block = true; } else { $is_block = false; } $music_root_path = $module_root_path . 'music_box/'; global $music_config, $mx_root_path; $queries = $cached_queries = 0; // // Start output of page // $page_title = $lang['Music'] . " PHP Generated Playlist"; if (!$is_block) { include($mx_root_path . 'includes/page_header.'.$phpEx); } // // Generate debug stats // - from Olympus $debug_output = '<div align="center"><span class="copyright">'; $mtime = explode(' ', microtime()); $totaltime = $mtime[0] + $mtime[1] - $mx_starttime; if (!empty($_REQUEST['explain']) && method_exists($db, 'sql_report')) { $db->sql_report('display'); } $queries = @$db->sql_num_queries(); $debug_output .= sprintf('Time : %.3fs | ' . $queries . ' ' . $lang['PORTAL_DEBUG_QUERIES'] . ' | GZIP : ' . (($board_config['gzip_compress']) ? 'On' : 'Off' ) . ' | Load : ' . (($mx_user->load) ? $mx_user->load : 'N/A'), $totaltime); $debug_output .= '</span></div>'; $template->assign_vars(array( 'BLOCK_SIZE' => ( !empty($block_size) ? $block_size : '100%' ), 'BLOCK_TITLE' => $title, 'L_DESCRIPTION' => $lang['Music_Online'], 'S_SHOW_TITLE' => $show_title, 'TARGET_BLANK' => ($music_config['fullpic_popup']) ? 'target="_blank"' : '', 'L_MEDIA_UPLOAD' => sprintf($lang['Upload_Song']), 'L_MEDIA_PLAYER_POPUP' => sprintf($lang['MP3_POPUP']), 'L_MP3_PLAYER' => $lang['MP3_PLAYER'], 'U_UPLOAD_DIR' => $song_image_path, 'MP3_POPUP_IMG' => $images['button_mp3_popup'], 'UPLOAD_IMG' => $mx_user->img('icon_upload', 'Upload_Song'), 'MUSIC_BOX_PATH' => $music_root_path, 'U_GET_MP3_PLAYER_POP' => ($music_root_path . "mp3/get_mp3_files." . $phpEx . "?cat_id=" . $cat_id), 'MP3_PLAYER_DEBUG' => $debug_output, 'L_NEXT' => $lang['Next'], 'L_PREVIOUS' => $lang['Previous'], 'NAV_SEP' => $lang['Nav_Separator'], 'NAV_DOT' => '•', 'MUSIC_VERSION' => '2' . $music_config['music_version'], 'L_INDEX' => '<<', 'U_INDEX' => mx_append_sid($mx_root_path . "index.".$phpEx), 'L_MUSIC_INDEX' => $lang['Music'], 'L_MUSIC' => $lang['Music'], 'U_MUSIC' => mx_append_sid(this_mo_mxurl()), 'U_MX_MUSIC' => mx_append_sid(this_mo_portalurl()), 'WIDTH' => ( !empty($media_width) ? $media_width : '564' ), 'HEIGHT' => ( !empty($media_height) ? $media_height : '485' ), 'FLASH' => 'flash', 'RAM' => 'ram', 'FLASHVIDEO' => 'flashvideo', 'YOUTUBE' => 'youtube', 'VIMEO' => 'vimeo', 'QT' => 'qt', 'FLV' => 'flv', 'MOD' => 'mod', 'IMG' => 'img', 'MEDIA' => 'media', 'L_RATING' => $lang['Rating'], 'L_SONG_TITLE' => $lang['Song_Title'], 'L_SONG_DESC' => $lang['Song_Desc'], 'L_SINGER' => $lang['Singer'], 'L_POSTER' => $lang['Poster'], 'L_POSTED' => $lang['Posted'], 'L_VIEW' => $lang['View'], 'L_DOWNLOAD' => $lang['Download'], 'L_COMMENTS' => $lang['Comments']) ); $template->set_filenames(array( 'body' => 'music_mp3_player.html', )); // // Generate the page // $template->pparse('body'); if (!$is_block) { include($mx_root_path . 'includes/page_tail.'.$phpEx); } ?> --- NEW FILE: mp3player.swf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mp3player.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1250"> <TITLE>README: FLASH MP3 PLAYER 2</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 3.0 (Win32)"> <META NAME="AUTHOR" CONTENT="OryNider"> <META NAME="CREATED" CONTENT="20130419;2080000"> <META NAME="CHANGEDBY" CONTENT="OryNider"> <META NAME="CHANGED" CONTENT="20130419;2080000"> <STYLE TYPE="text/css"> <!-- @page { margin-right: 2.25cm; margin-top: 2.5cm; margin-bottom: 2cm } P { margin-bottom: 0.21cm } P.western { font-size: 10pt; so-language: ro-RO } P.cjk { font-size: 10pt } P.ctl { font-size: 10pt } A:link { color: #0000ff } --> </STYLE> </HEAD> <BODY LANG="en-US" LINK="#0000ff" DIR="LTR" STYLE="border: none; padding: 0cm"> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=6><B>README: FLASH MP3 PLAYER 2.3.1</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">Thanks for downloading my Flash MP3 Player! The player supports streaming playback, RSS/XSPF playlists, various playmodes, color/size customization and a javascript API. Both the configuration options and support for dynamic webservices have been greatly improved in this update. This mp3player also replaces the Flash Single MP3 Player, whose functionality is fully incorporated. Contents of this readme:</P> <UL> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#licensing"><FONT COLOR="#0000ff"><U>Licensing information</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#html"><FONT COLOR="#0000ff"><U>Installing for HTML</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#cms"><FONT COLOR="#0000ff"><U>Installing for a CMS or profile page</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#cms"><FONT COLOR="#0000ff"><U>Installing for a single MP3</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#flash"><FONT COLOR="#0000ff"><U>Installing inside a Flash Movie</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#version"><FONT COLOR="#0000ff"><U>Version History</U></FONT></A> </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm"><A HREF="#extras"><FONT COLOR="#0000ff"><U>Extras</U></FONT></A> </P> </UL> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>LICENSING INFORMATION</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">This script is licensed under a <A HREF="http://creativecommons.org/licenses/by-nc-sa/2.5/"><FONT COLOR="#0000ff"><U>Creative Commons License</U></FONT></A>. It allows you to use, modify and redistribute the script as long as you use it non-commercially and credit me as the author. For commercial use, I distribute licenses of the script at a fee of 15 euros. One license applies to a single project, and you don't have to credit me as the author anymore. Please <A HREF="mailto:ma...@je..."><FONT COLOR="#0000ff"><U>contact me</U></FONT></A> for obtaining licenses!</P> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>INSTALLING FOR HTML</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">All settings of the mp3player can be made at three different places: in the config.xml file, the playlist.xml file and the mp3player.html file. You can open all three files in a text editor. I've added comments in these files to explain all settings. The config.xml file contains all settings relating to the colors and behavior of the mp3player. The playlist.xml contains a list of all songs and links in the playlist.</P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">If you want to use the mp3player on your own website, you can put all MP3 files in the 'mp3' folder and upload everything to your website. Make sure you've also added the 'mp3/' directory to the locations in the playlist, like I did!</P> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>INSTALLING FOR A CMS OR PROFILE PAGE</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">If you want to use the mp3player on a profile site like MySpace, or in a content management system like WordPress, you can put all mp3 files, plus the mp3player.swf/config.xml/playlist.xml to a suitable place on the website or free file service. You need to refer to the mp3 files in the playlist with the full pathname (so including the http://www.. part).</P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">In your profile or CMS, you can use the following code to insert the mp3player. I assume all files are on the location 'http://www.server.com/folder/', so you can just replace that with your files' location. </P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="200" id="mp3player" </FONT> </P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace">codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ></FONT></P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace"><param name="movie" value="http://www.server.com/mp3player.swf" /></FONT></P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace"><param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" /></FONT></P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace"><embed src="http://www.server.com/mp3player.swf" width="300" height="200" name="mp3player"</FONT></P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace">flashvars="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" </FONT> </P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"> <FONT FACE="Courier New, monospace">type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></FONT></P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"><FONT FACE="Courier New, monospace"></object></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">For MySpace, you only need the a single line. I'm not sure about other profile sites, but I presume the same code would work there as well:</P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><embed allowScriptAccess="never" src="http://www.server.com/folder/mp3player.swf" menu="false" quality="high" width="300" height="200" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="&config=http://www.server.com/folder/config.xml&file=http://www.server.com/folder/playlist.xml" wmode="transparent" border="0" /></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">Next to refering to the SWF file with an absolute URL, this code also hands the SWF the location of the config.xml and playlist.xml, through the 'config' and 'file' variables. You can change both to whatever location you want, or even assign PHP/ASP files to dynamically get content from a database. Note that the xml files, unlike the MP3 files, always have to be on the same website as the mp3player.swf (security restrictions from flash).</P> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>INSTALLING FOR A SINGLE MP3</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The 'file' variable, as described above, can be assigned to an XML playlist, but also to a single MP3 ('mp3player.swf?file=mysong.mp3'). The mp3player will then discard the playlist. You can use the config.xml to change the appearance of the mp3player, bu also discard it, in which case the mp3player will show as the default grey bar. This is a quick way to embed an MP3 file with playback controls into your website.</P> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>INSTALLING INSIDE A FLASH MOVIE</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">If you want to use the mp3player inside another Flash movie, you can simply copy-paste the 'mp3player' movieclip from the FLA into your own Flash file. If you also copy both .AS files to your Flash file's directory, the script will automatically be attached to the movieclip. At the top of the jwMp3player.as file, there's a lot of settings you can make, including all settings from the config.xml (which you can discard from then).</P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">One note on the 'width' and 'height' variables: they are re-set later on in the script in the readConfigXML() function. You can remove these two lines from the function.</P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">Also note that the FLA file is in Flash8 format, so it cannot be opened in older versions of Flash. Flash8 is also needed for publishing if you plan to use the javascript API. If not, publishing for Flash6 will suffice (actionscript 2.0 of course).</P> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>VERSION HISTORY</B></FONT></P> <UL> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">2.3.1: IE blank screen bug fixed. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">2.3: replaced automatic scrolling by scrollbar. Added 'autostart' flashvar for single mode. Some bugfixes (eg. cover art resizing / list mode). </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">2.2: added script callback for statistics, 'list' repeat mode. Speeded up playlist scrolling. Some bugfixes. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">2.1: added XSPF cover art support. Some bugfixes. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">2.0: added RSS/XSPF playlists, color/size customization, javascript API, complete rewrite of the code. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">1.1: some bugfixes and addition of random and autoplay vars. </P> </UL> <P LANG="ro-RO" STYLE="margin-top: 0.18cm; margin-bottom: 0.18cm; page-break-after: avoid"> <FONT SIZE=5><B>EXTRAS</B></FONT></P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">Next to the necessary files, this readme and the source code of the script, this package contains a couple of extras that might be useful in deploying the script:</P> <UL> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The color_picker contains an html file with color swatches. you can click a swatch to get the corresponding color code to use inside the config.xml. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The external_feeds provides a workaroud in PHP for loading podcasts/playlists from external sites, even while it's forbidden by the Flash security. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The force_download provides a workaround in PHP for downloading an MP3 upon a link click, instead of it opening in a new screen or mediaplayer. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The javascript_control provides a list of javascript functions that can be used to control the player and dynamically load mp3's or playlists. </P> <LI><P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">The playlist_examples provides an example of the RSS(podcast) and XSPF format that this mp3player can load. It also provides an example of how to get the playlist from a PHP/MySQL database and how to generate a playlist from a directory of MP3 files. </P> </UL> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">For more extras, tips and tricks you can always have a look at my forum's !</P> <P LANG="ro-RO" CLASS="western" STYLE="margin-bottom: 0cm">website: <A HREF="http://www.jeroenwijering.com/"><FONT COLOR="#0000ff"><U>www.jeroenwijering.com</U></FONT></A> | last update: april 21st, 2006 </P> <P LANG="ro-RO" STYLE="margin-bottom: 0cm"><BR> </P> </BODY> </HTML> --- NEW FILE: mediaplayer50.swf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ufo.js --- /* Unobtrusive Flash Objects (UFO) v3.20 <http://www.bobbyvandersluis.com/ufo/> Copyright 2005, 2006 Bobby van der Sluis This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/> */ var UFO = { req: ["movie", "width", "height", "majorversion", "build"], opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing"], optAtt: ["id", "name", "align"], optExc: ["swliveconnect"], ximovie: "ufo.swf", xiwidth: "215", xiheight: "138", ua: navigator.userAgent.toLowerCase(), pluginType: "", fv: [0,0], foList: [], create: function(FO, id) { if (!UFO.uaHas("w3cdom") || UFO.uaHas("ieMac")) return; UFO.getFlashVersion(); UFO.foList[id] = UFO.updateFO(FO); UFO.createCSS("#" + id, "visibility:hidden;"); UFO.domLoad(id); }, updateFO: function(FO) { if (typeof FO.xi != "undefined" && FO.xi == "true") { if (typeof FO.ximovie == "undefined") FO.ximovie = UFO.ximovie; if (typeof FO.xiwidth == "undefined") FO.xiwidth = UFO.xiwidth; if (typeof FO.xiheight == "undefined") FO.xiheight = UFO.xiheight; } FO.mainCalled = false; return FO; }, domLoad: function(id) { var _t = setInterval(function() { if ((document.getElementsByTagName("body")[0] != null || document.body != null) && document.getElementById(id) != null) { UFO.main(id); clearInterval(_t); } }, 250); if (typeof document.addEventListener != "undefined") { document.addEventListener("DOMContentLoaded", function() { UFO.main(id); clearInterval(_t); } , null); // Gecko, Opera 9+ } }, main: function(id) { var _fo = UFO.foList[id]; if (_fo.mainCalled) return; UFO.foList[id].mainCalled = true; document.getElementById(id).style.visibility = "hidden"; if (UFO.hasRequired(id)) { if (UFO.hasFlashVersion(parseInt(_fo.majorversion, 10), parseInt(_fo.build, 10))) { if (typeof _fo.setcontainercss != "undefined" && _fo.setcontainercss == "true") UFO.setContainerCSS(id); UFO.writeSWF(id); } else if (_fo.xi == "true" && UFO.hasFlashVersion(6, 65)) { UFO.createDialog(id); } } document.getElementById(id).style.visibility = "visible"; }, createCSS: function(selector, declaration) { var _h = document.getElementsByTagName("head")[0]; var _s = UFO.createElement("style"); if (!UFO.uaHas("ieWin")) _s.appendChild(document.createTextNode(selector + " {" + declaration + "}")); // bugs in IE/Win _s.setAttribute("type", "text/css"); _s.setAttribute("media", "screen"); _h.appendChild(_s); if (UFO.uaHas("ieWin") && document.styleSheets && document.styleSheets.length > 0) { var _ls = document.styleSheets[document.styleSheets.length - 1]; if (typeof _ls.addRule == "object") _ls.addRule(selector, declaration); } }, setContainerCSS: function(id) { var _fo = UFO.foList[id]; var _w = /%/.test(_fo.width) ? "" : "px"; var _h = /%/.test(_fo.height) ? "" : "px"; UFO.createCSS("#" + id, "width:" + _fo.width + _w +"; height:" + _fo.height + _h +";"); if (_fo.width == "100%") { UFO.createCSS("body", "margin-left:0; margin-right:0; padding-left:0; padding-right:0;"); } if (_fo.height == "100%") { UFO.createCSS("html", "height:100%; overflow:hidden;"); UFO.createCSS("body", "margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;"); } }, createElement: function(el) { return (UFO.uaHas("xml") && typeof document.createElementNS != "undefined") ? document.createElementNS("http://www.w3.org/1999/xhtml", el) : document.createElement(el); }, createObjParam: function(el, aName, aValue) { var _p = UFO.createElement("param"); _p.setAttribute("name", aName); _p.setAttribute("value", aValue); el.appendChild(_p); }, uaHas: function(ft) { var _u = UFO.ua; switch(ft) { case "w3cdom": return (typeof document.getElementById != "undefined" && typeof document.getElementsByTagName != "undefined" && (typeof document.createElement != "undefined" || typeof document.createElementNS != "undefined")); case "xml": var _m = document.getElementsByTagName("meta"); var _l = _m.length; for (var i = 0; i < _l; i++) { if (/content-type/i.test(_m[i].getAttribute("http-equiv")) && /xml/i.test(_m[i].getAttribute("content"))) return true; } return false; case "ieMac": return /msie/.test(_u) && !/opera/.test(_u) && /mac/.test(_u); case "ieWin": return /msie/.test(_u) && !/opera/.test(_u) && /win/.test(_u); case "gecko": return /gecko/.test(_u) && !/applewebkit/.test(_u); case "opera": return /opera/.test(_u); case "safari": return /applewebkit/.test(_u); default: return false; } }, getFlashVersion: function() { if (UFO.fv[0] != 0) return; if (navigator.plugins && typeof navigator.plugins["Shockwave Flash"] == "object") { UFO.pluginType = "npapi"; var _d = navigator.plugins["Shockwave Flash"].description; if (typeof _d != "undefined") { _d = _d.replace(/^.*\s+(\S+\s+\S+$)/, "$1"); var _m = parseInt(_d.replace(/^(.*)\..*$/, "$1"), 10); var _r = /r/.test(_d) ? parseInt(_d.replace(/^.*r(.*)$/, "$1"), 10) : 0; UFO.fv = [_m, _r]; } } else if (window.ActiveXObject) { UFO.pluginType = "ax"; try { // avoid fp 6 crashes var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); } catch(e) { try { var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); UFO.fv = [6, 0]; _a.AllowScriptAccess = "always"; // throws if fp < 6.47 } catch(e) { if (UFO.fv[0] == 6) return; } try { var _a = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); } catch(e) {} } if (typeof _a == "object") { var _d = _a.GetVariable("$version"); // bugs in fp 6.21/6.23 if (typeof _d != "undefined") { _d = _d.replace(/^\S+\s+(.*)$/, "$1").split(","); UFO.fv = [parseInt(_d[0], 10), parseInt(_d[2], 10)]; } } } }, hasRequired: function(id) { var _l = UFO.req.length; for (var i = 0; i < _l; i++) { if (typeof UFO.foList[id][UFO.req[i]] == "undefined") return false; } return true; }, hasFlashVersion: function(major, release) { return (UFO.fv[0] > major || (UFO.fv[0] == major && UFO.fv[1] >= release)) ? true : false; }, writeSWF: function(id) { var _fo = UFO.foList[id]; var _e = document.getElementById(id); if (UFO.pluginType == "npapi") { if (UFO.uaHas("gecko") || UFO.uaHas("xml")) { while(_e.hasChildNodes()) { _e.removeChild(_e.firstChild); } var _obj = UFO.createElement("object"); _obj.setAttribute("type", "application/x-shockwave-flash"); _obj.setAttribute("data", _fo.movie); _obj.setAttribute("width", _fo.width); _obj.setAttribute("height", _fo.height); var _l = UFO.optAtt.length; for (var i = 0; i < _l; i++) { if (typeof _fo[UFO.optAtt[i]] != "undefined") _obj.setAttribute(UFO.optAtt[i], _fo[UFO.optAtt[i]]); } var _o = UFO.opt.concat(UFO.optExc); var _l = _o.length; for (var i = 0; i < _l; i++) { if (typeof _fo[_o[i]] != "undefined") UFO.createObjParam(_obj, _o[i], _fo[_o[i]]); } _e.appendChild(_obj); } else { var _emb = ""; var _o = UFO.opt.concat(UFO.optAtt).concat(UFO.optExc); var _l = _o.length; for (var i = 0; i < _l; i++) { if (typeof _fo[_o[i]] != "undefined") _emb += ' ' + _o[i] + '="' + _fo[_o[i]] + '"'; } _e.innerHTML = '<embed type="application/x-shockwave-flash" src="' + _fo.movie + '" width="' + _fo.width + '" height="' + _fo.height + '" pluginspage="http://www.macromedia.com/go/getflashplayer"' + _emb + '></embed>'; } } else if (UFO.pluginType == "ax") { var _objAtt = ""; var _l = UFO.optAtt.length; for (var i = 0; i < _l; i++) { if (typeof _fo[UFO.optAtt[i]] != "undefined") _objAtt += ' ' + UFO.optAtt[i] + '="' + _fo[UFO.optAtt[i]] + '"'; } var _objPar = ""; var _l = UFO.opt.length; for (var i = 0; i < _l; i++) { if (typeof _fo[UFO.opt[i]] != "undefined") _objPar += '<param name="' + UFO.opt[i] + '" value="' + _fo[UFO.opt[i]] + '" />'; } var _p = window.location.protocol == "https:" ? "https:" : "http:"; _e.innerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + _objAtt + ' width="' + _fo.width + '" height="' + _fo.height + '" codebase="' + _p + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + _fo.majorversion + ',0,' + _fo.build + ',0"><param name="movie" value="' + _fo.movie + '" />' + _objPar + '</object>'; } }, createDialog: function(id) { var _fo = UFO.foList[id]; UFO.createCSS("html", "height:100%; overflow:hidden;"); UFO.createCSS("body", "height:100%; overflow:hidden;"); UFO.createCSS("#xi-con", "position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;"); UFO.createCSS("#xi-dia", "position:absolute; left:50%; top:50%; margin-left: -" + Math.round(parseInt(_fo.xiwidth, 10) / 2) + "px; margin-top: -" + Math.round(parseInt(_fo.xiheight, 10) / 2) + "px; width:" + _fo.xiwidth + "px; height:" + _fo.xiheight + "px;"); var _b = document.getElementsByTagName("body")[0]; var _c = UFO.createElement("div"); _c.setAttribute("id", "xi-con"); var _d = UFO.createElement("div"); _d.setAttribute("id", "xi-dia"); _c.appendChild(_d); _b.appendChild(_c); var _mmu = window.location; if (UFO.uaHas("xml") && UFO.uaHas("safari")) { var _mmd = document.getElementsByTagName("title")[0].firstChild.nodeValue = document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0, 47) + " - Flash Player Installation"; } else { var _mmd = document.title = document.title.slice(0, 47) + " - Flash Player Installation"; } var _mmp = UFO.pluginType == "ax" ? "ActiveX" : "PlugIn"; var _uc = typeof _fo.xiurlcancel != "undefined" ? "&xiUrlCancel=" + _fo.xiurlcancel : ""; var _uf = typeof _fo.xiurlfailed != "undefined" ? "&xiUrlFailed=" + _fo.xiurlfailed : ""; UFO.foList["xi-dia"] = { movie:_fo.ximovie, width:_fo.xiwidth, height:_fo.xiheight, majorversion:"6", build:"65", flashvars:"MMredirectURL=" + _mmu + "&MMplayerType=" + _mmp + "&MMdoctitle=" + _mmd + _uc + _uf }; UFO.writeSWF("xi-dia"); }, expressInstallCallback: function() { var _b = document.getElementsByTagName("body")[0]; var _c = document.getElementById("xi-con"); _b.removeChild(_c); UFO.createCSS("body", "height:auto; overflow:auto;"); UFO.createCSS("html", "height:auto; overflow:auto;"); }, cleanupIELeaks: function() { var _o = document.getElementsByTagName("object"); var _l = _o.length for (var i = 0; i < _l; i++) { _o[i].style.display = "none"; for (var x in _o[i]) { if (typeof _o[i][x] == "function") { _o[i][x] = null; } } } } }; if (typeof window.attachEvent != "undefined" && UFO.uaHas("ieWin")) { window.attachEvent("onunload", UFO.cleanupIELeaks); } --- NEW FILE: logo.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: music_mp3s_popup_player.php --- <?php /** * * @package Stargate Portal * @author Michael O'Toole - aka Michaelo * @begin Saturday, Jan 22, 2005 * @copyright (c) 2005-2008 phpbbireland * @home http://www.phpbbireland.com * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @note: Do not remove this copyright. Just append yours if you have modified it, * this is part of the Stargate Portal copyright agreement... * * @version $Id: music_mp3s_popup_player.php,v 1.1 2013/04/19 17:55:41 orynider Exp $ * Updated: * */ /** * @ignore */ // MX if( !defined('IN_PORTAL') || !is_object($mx_block)) { @define('IN_PORTAL', true); $mx_root_path = "../../../"; $module_root_path = "./../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); // // End session management // $title = 'Media Player Radio'; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '170' ); $is_block = FALSE; } else { // // Read block Configuration // $title = $mx_block->block_info['block_title']; $block_size = $player_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); if( is_object($mx_block)) { $is_block = TRUE; } } $media_width = ( !empty($media_width) ? $media_width : '170' ); $media_height = ( !empty($media_height) ? $media_height : '300' ); @define('_RADIO_CONFIG', true); $music_root_path = $module_root_path . 'music_box/'; $song_image_default = $images['no_image']; // The default image $song_image_path = MUSIC_IMAGE_PATH; include_once($music_root_path .'music_common.'.$phpEx); //global $music_config; // ------------------------------------ // Check the request // ------------------------------------ if (!$mx_request_vars->is_empty_request('cat_id')) { $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, 0); $cat_parent = $mx_request_vars->request('c', MX_TYPE_INT, 0); $cat_where = ($cat_id != 0) ? "cat_parent = $cat_parent" : "cat_id <> 0"; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE cat_id = $cat_id GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("Could not query this category"); } } else { $cat_id = 0; $cat_parent = 0; $cat_where = "cat_id <> 0"; mx_message_die(GENERAL_ERROR, 'No categories specified'); $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE $cat_where GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("No category specified && Could not query categories list"); } } // --------------------------------------------- // Ckeck is category has subcats start // --------------------------------------------- $catrows = array(); while($row = $db->sql_fetchrow($result)) { $music_user_access = music_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW // ------------------------------------ // Get this cat info // ------------------------------------ if ($music_user_access['view'] == 1) { $auth_data = music_user_access($cat_id, $row, 1, 1, 1, 1, 1, 1); // ALL } $catrows[] = $row; if($row['cat_id'] == $cat_id ) { $thiscat = $row; $total_songs = $thiscat['count']; } else { $thiscat = ''; $total_songs = false; } if ( $media_height > ($media_height + ($total_songs * ($media_height / $media_width))) ) { $media_height = $media_height + ($total_songs * $media_width / $total_songs * $media_height); } else { $media_height = $media_height + ($total_songs * ($media_height / $media_width)); } } $db->sql_freeresult($result); // If not set, set the subcat output count to 50 //To do: Add a setting in AdminCP for maximum number of subcategories to show in a category and add pagination //$count = $mx_request_vars->request('c', MX_TYPE_INT, 50); // // END check request // if( isset($HTTP_GET_VARS['block_mode']) ) { if ($HTTP_GET_VARS['block_mode'] == 'true') { $block_mode = 'true'; } else { $block_mode = 'false'; } } else { $block_mode = 'false'; } /* if (!class_exists('template_compile')) { include($phpbb_root_path . 'includes/functions_template.' . $phpEx); } */ // Start session management //$mx_user->session_begin(false); $phpbb_auth->acl($mx_user->data); //$mx_user->setup('portal/portal'); // End session management $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->decode_lang($mx_user->lang['default_lang']) : $board_config['default_lang']; $user_lang = $mx_user->lang['default_lang'] ? $mx_user->lang['default_lang'] : $mx_user->encode_lang($board_config['default_lang']); // // Start output of page // $page_title = $lang['Music'] . " PHP Generated Playlist"; if ( (!$is_block) && (!$block_mode) ) { include($mx_root_path . 'includes/page_header.'.$phpEx); } $template->assign_vars(array( 'BLOCK_SIZE' => ( !empty($block_size) ? $block_size : '100%' ), 'PLAYER_SIZE' => $player_size, 'SHOW_HEADER' => ($is_block) ? false : true, //+ MX-Publisher 'U_PORTAL_ROOT_PATH' => PORTAL_URL, 'U_PHPBB_ROOT_PATH' => PHPBB_URL, 'TEMPLATE_ROOT_PATH' => TEMPLATE_ROOT_PATH, 'MODULE_PATH' => $module_root_path, 'T_PHPBB_STYLESHEET' => $theme['head_stylesheet'], 'T_MXBB_STYLESHEET' => $theme['head_stylesheet'], 'PORTAL' => (defined('IN_PORTAL')) ? true : false, 'PORTAL_INDEX_PAGE' => $is_block ? true : false, 'WIDTH' => ( !empty($media_width) ? $media_width : '170' ), 'HEIGHT' => ( !empty($media_height) ? $media_height : '200' ), 'BLOCK_TITLE' => $title, 'L_DESCRIPTION' => $lang['Music_Online'], 'S_SHOW_TITLE' => $show_title, 'TARGET_BLANK' => ($music_config['fullpic_popup']) ? 'target="_blank"' : '', 'L_MEDIA_UPLOAD' => sprintf($lang['Upload_Song']), 'L_MEDIA_PLAYER_POPUP' => sprintf($lang['MP3_POPUP']), 'L_MP3_PLAYER' => $lang['MP3_PLAYER'], 'U_UPLOAD_DIR' => $song_image_path, 'MP3_POPUP_IMG' => $images['button_mp3_popup'], 'UPLOAD_IMG' => $mx_user->img('icon_upload', 'UPLOAD'), 'MUSIC_BOX_PATH' => $music_root_path, 'U_GET_MP3_PLAYER_POP' => ($music_root_path . "mp3/get_mp3_files_pop." . $phpEx . "?cat_id=" . $cat_id), 'MP3_PLAYER_DEBUG' => '', 'L_NEXT' => $lang['Next'], 'L_PREVIOUS' => $lang['Previous'], 'NAV_SEP' => $lang['Nav_Separator'], 'NAV_DOT' => '•', 'MUSIC_VERSION' => '2' . $music_config['music_version'], 'L_INDEX' => '<<', 'U_INDEX' => mx_append_sid($mx_root_path . "index.".$phpEx), 'L_MUSIC_INDEX' => $lang['Music'], 'L_MUSIC' => $lang['Music'], 'U_MUSIC' => mx_append_sid(this_mo_mxurl()), 'U_MX_MUSIC' => mx_append_sid(this_mo_portalurl()), 'FLASH' => 'flash', 'RAM' => 'ram', 'FLASHVIDEO' => 'flashvideo', 'YOUTUBE' => 'youtube', 'VIMEO' => 'vimeo', 'QT' => 'qt', 'FLV' => 'flv', 'MOD' => 'mod', 'IMG' => 'img', 'MEDIA' => 'media', 'S_CONTENT_DIRECTION' => $lang['DIRECTION'] ? $lang['DIRECTION'] : $mx_user->lang['DIRECTION'], 'S_CONTENT_DIR_LEFT' => $lang['LEFT'], 'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'], 'S_CONTENT_FLOW_BEGIN' => ($lang['DIRECTION'] == 'ltr') ? 'left' : 'right', 'S_CONTENT_FLOW_END' => ($lang['DIRECTION'] == 'ltr') ? 'right' : 'left', 'S_CONTENT_ENCODING' => $lang['ENCODING'] ? $lang['ENCODING'] : 'UTF-8', 'S_LANGUAGE' => $default_lang, 'S_USER_LANG' => $lang['USER_LANG'] ? $lang['USER_LANG'] : $user_lang, 'L_RATING' => $lang['Rating'], 'L_SONG_TITLE' => $lang['Song_Title'], 'L_SONG_DESC' => $lang['Song_Desc'], 'L_SINGER' => $lang['Singer'], 'L_POSTER' => $lang['Poster'], 'L_POSTED' => $lang['Posted'], 'L_VIEW' => $lang['View'], 'L_DOWNLOAD' => $lang['Download'], 'L_COMMENTS' => $lang['Comments']) ); $template->set_filenames(array( 'body' => 'music_mp3_popup_player.html', )); // // Generate the page // $template->pparse('body'); if ( (!$is_block) && (!$block_mode) ) { include($mx_root_path . 'includes/page_tail.'.$phpEx); } ?> |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:55:42
|
Update of /cvsroot/mxbb/mx_music/cache In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16133/cache Added Files: musical.gif my_music.png Log Message: fixed mp3 play in categories using jw flash player and media player in music page --- NEW FILE: musical.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: my_music.png --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:54:28
|
Update of /cvsroot/mxbb/mx_music/templates/subsilver2 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16058/subsilver2 Log Message: Directory /cvsroot/mxbb/mx_music/templates/subsilver2 added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:53:52
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3/prosilver In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15909/prosilver Log Message: Directory /cvsroot/mxbb/mx_music/music_box/mp3/prosilver added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:53:37
|
Update of /cvsroot/mxbb/mx_music/music_box/mp3 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15782/mp3 Log Message: Directory /cvsroot/mxbb/mx_music/music_box/mp3 added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:52:49
|
Update of /cvsroot/mxbb/mx_music/templates/_core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15508/templates/_core Modified Files: _core.cfg music_cat_xs.tpl music_flv_body.tpl music_index_body.tpl music_media_cat_body.tpl music_midi_body.tpl music_page_body.tpl music_pic_cat_body.tpl Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: music_midi_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_midi_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_midi_body.tpl 9 Apr 2013 12:12:52 -0000 1.3 --- music_midi_body.tpl 19 Apr 2013 17:52:47 -0000 1.4 *************** *** 170,174 **** </div> <!-- END flv --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" width="640" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> --- 170,187 ---- </div> <!-- END flv --> ! ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" width="640" height="40" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/_core.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** _core.cfg 7 Sep 2008 18:06:56 -0000 1.4 --- _core.cfg 19 Apr 2013 17:52:47 -0000 1.5 *************** *** 52,55 **** --- 52,56 ---- // MOM Pics + $mx_images['button_mp3_popup'] = "$current_module_images/{LANG}/icon_mp3_popup.gif"; $mx_images['upload_song'] = "$current_module_images/{LANG}/upload_song.gif"; $mx_images['no_image'] = "$current_module_images/no_image.gif"; Index: music_page_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_page_body.tpl,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** music_page_body.tpl 9 Apr 2013 12:12:52 -0000 1.11 --- music_page_body.tpl 19 Apr 2013 17:52:47 -0000 1.12 *************** *** 211,215 **** </div> <!-- END flv --> ! <!-- BEGIN mod --> <div class="wordtube playlist2" id="WT999"> --- 211,226 ---- </div> <!-- END flv --> ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> <!-- BEGIN mod --> <div class="wordtube playlist2" id="WT999"> Index: music_media_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_media_cat_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** music_media_cat_body.tpl 29 Jan 2008 07:51:30 -0000 1.1 --- music_media_cat_body.tpl 19 Apr 2013 17:52:47 -0000 1.2 *************** *** 198,202 **** </object> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> --- 198,213 ---- </object> <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq VIMEO --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" data="{song_detail.VIDEO_URL}"> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="scale" value="showAll" /> ! <param name="movie" value="{song_detail.VIDEO_URL}" /> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div id="flvplayer"> *************** *** 216,220 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" --- 227,244 ---- </div> <!-- ENDIF --> ! ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.SONG_URL}" align="center" Index: music_flv_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_flv_body.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** music_flv_body.tpl 9 Apr 2013 12:12:52 -0000 1.6 --- music_flv_body.tpl 19 Apr 2013 17:52:47 -0000 1.7 *************** *** 176,180 **** </div> <!-- END flv --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" --- 176,193 ---- </div> <!-- END flv --> ! ! <!-- BEGIN mp3 --> ! <object type="application/x-shockwave-flash" width="{WIDTH}" height="{HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml&file={U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={U_IMG}" /> ! <embed src="{VIDEO_URL}?config={MUSIC_BOX_PATH}/mp3/_core/config.xml &file={U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- END mp3 --> ! <!-- BEGIN ram --> <embed src="{U_SONG}" align="center" Index: music_pic_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_pic_cat_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_pic_cat_body.tpl 17 Mar 2013 02:20:37 -0000 1.2 --- music_pic_cat_body.tpl 19 Apr 2013 17:52:47 -0000 1.3 *************** *** 233,237 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" --- 233,248 ---- </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> <embed src="{song_detail.U_SONG}" align="center" Index: music_index_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_index_body.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** music_index_body.tpl 18 Sep 2008 03:31:37 -0000 1.7 --- music_index_body.tpl 19 Apr 2013 17:52:47 -0000 1.8 *************** *** 99,109 **** <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> <!-- END virtualimagecat --> <!-- BEGIN virtualmediacat --> <br /> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> <!-- END virtualmediacat --> </td> --- 99,121 ---- <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{L_ALL_CAT_PICS}</a></span> ! </div> <!-- END virtualimagecat --> + <!-- BEGIN virtualmp3cat --> + <br /> + <div class="my_buttons" style="text-align:center; width:100%;"> + <div class="mp3_popup-icon"> + <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MEDIA_PLAYER_POPUP}"><span></span>{L_MP3_POPUP}</a></span> + </div> + </div> + <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{L_ALL_CAT_SONGS}</a></span> ! </div> <!-- END virtualmediacat --> </td> Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_cat_xs.tpl,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** music_cat_xs.tpl 9 Apr 2013 12:12:52 -0000 1.10 --- music_cat_xs.tpl 19 Apr 2013 17:52:47 -0000 1.11 *************** *** 32,42 **** <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{catrow.L_ALL_CAT_PICS}</a></span> <!-- END virtualimagecat --> <!-- BEGIN virtualmediacat --> <br /> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{catrow.L_ALL_CAT_SONGS}</a></span> <!-- END virtualmediacat --> </td> --- 32,54 ---- <!-- END subcat_link --></span> </td> ! <td class="row1 bg1" height="49%" width="49%"> <!-- BEGIN virtualimagecat --> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="images" href="{catrow.U_VIEW_PIC_CAT}">{L_ALL_CAT_PICS}</a></span> ! </div> <!-- END virtualimagecat --> + <!-- BEGIN virtualmp3cat --> + <br /> + <div class="my_buttons" style="text-align:center; width:100%;"> + <div class="mp3_popup-icon"> + <span class="gensmall"> <a alt="mp3s" href="{catrow.U_MP3_PLAYER}" onClick="window.open('','popup','toolbar=0,resizable=1,location=0,status=0,menubar=0,scrollbars=0,width=180,height=196,left=210,screenX=210,top=60,screenY=60')" Target="popup" title="{L_MEDIA_PLAYER_POPUP}"><span></span>{L_MP3_POPUP}</a></span> + </div> + </div> + <!-- END virtualmp3cat --> <!-- BEGIN virtualmediacat --> <br /> ! <div class="my_buttons" style="text-align:center; width:100%;"> ! <span class="gensmall"> <a alt="videos" href="{catrow.U_VIEW_MEDIA_CAT}">{L_ALL_CAT_SONGS}</a></span> ! </div> <!-- END virtualmediacat --> </td> *************** *** 323,327 **** <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div class="wordtube playlist2" id="flvplayer"> --- 335,339 ---- <embed src="{song_detail.VIDEO_URL}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowfullscreen="true" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq FLV --> <div class="wordtube playlist2" id="flvplayer"> *************** *** 344,348 **** </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> --- 356,386 ---- </div> <!-- ENDIF --> ! <!-- IF song_detail.S_ROW_TYPE eq MP3 --> ! <object type="application/x-shockwave-flash" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="mp3player" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> ! <param name="movie" value="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml&file={song_detail.U_SONG}" /> ! <param name="backcolor" value="0xF9F9F9" /> ! <param name="frontcolor" value="0x007677" /> ! <param name="lightcolor" value="0xFFD3A6" /> ! <param name="displayheight" value="100" /> ! <param name="height" value="{song_detail.HEIGHT}" /> ! <param name="width" value="{song_detail.WIDTH}" /> ! <param name="showeq" value="true" /> ! <param name="thumbsinplaylist" value="true" /> ! <param name="showdigits" value="true" /> ! <param name="repeat" value="true" /> ! <param name="autostart" value="true" /> ! <param name="shuffle" value="true" /> ! <param name="volume" value="40" /> ! <param name="autoscroll" value="true" /> ! <param name="showicons" value="true" /> ! <param name="wmode" value="transparent" /> ! <param name="quality" value="best" /> ! <param name="allowfullscreen" value="true" /> ! <param name="bgcolor" value="#F9F9F9" /> ! <param name="config" value="{song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml"> ! <param name="flashvars" value="&rs=1&sn=1&iurl={song_detail.U_IMG}" /> ! <embed src="{song_detail.VIDEO_URL}?config={song_detail.MUSIC_BOX_PATH}/mp3/_core/config.xml &file={song_detail.U_SONG}" wmode="transparent" width="170" height="200" flashvars="&rs=1&sn=1&iurl={song_detail.U_IMG}" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ! </object> ! <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq MOD --> <div class="wordtube playlist2" id="WT999"> |
|
From: Florin C B. <ory...@us...> - 2013-04-19 17:52:48
|
Update of /cvsroot/mxbb/mx_music/music_box/language/lang_english In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15508/music_box/language/lang_english Modified Files: lang_main.php Log Message: fixed mp3 play in categories using jw flash player and media player in music page Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/language/lang_english/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 21 Mar 2008 20:18:42 -0000 1.2 --- lang_main.php 19 Apr 2013 17:52:46 -0000 1.3 *************** *** 166,168 **** --- 166,172 ---- $lang['Music_moderate_can'] = 'You <b>can</b> %smoderate%s this category'; + //MP3 PHP Generated XML Playlist Player + $lang['MP3_PLAYER_POPUP'] = 'Listen MP3 songs'; + $lang['MP3_PLAYER'] = 'MP3 Player'; + $lang['MP3_POPUP'] = 'Popup Player'; ?> \ No newline at end of file |
|
From: Florin C B. <ory...@us...> - 2013-04-19 15:00:57
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6981 Modified Files: mx_functions_style.php Log Message: Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.124 retrieving revision 1.125 diff -C2 -d -r1.124 -r1.125 *** mx_functions_style.php 18 Apr 2013 02:04:18 -0000 1.124 --- mx_functions_style.php 19 Apr 2013 15:00:53 -0000 1.125 *************** *** 482,486 **** } ! if ($check_file2 && file_exists($root_path . $root . $path . '/' . $filename2)) { $this->module_template_path = $root . $path . '/'; --- 482,486 ---- } ! if ($check_file2 && @file_exists($root_path . $root . $path . '/' . $filename2)) { $this->module_template_path = $root . $path . '/'; |
|
From: Florin C B. <ory...@us...> - 2013-04-18 02:04:21
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30052 Modified Files: mx_functions_style.php Log Message: styles Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.123 retrieving revision 1.124 diff -C2 -d -r1.123 -r1.124 *** mx_functions_style.php 8 Apr 2013 22:07:50 -0000 1.123 --- mx_functions_style.php 18 Apr 2013 02:04:18 -0000 1.124 *************** *** 1267,1270 **** --- 1267,1271 ---- // - First prepare the variables // + $this->setup_style(); if (!$this->template_name) { *************** *** 1289,1292 **** --- 1290,1295 ---- } $this->img_lang = (@file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $this->encode_lang($board_config['default_lang']); + //$this->template_name = $this->theme['imageset_path']; + //trigger_error("Could not get style data: $this->template_name", E_USER_ERROR); // // Load phpBB Template configuration data |
|
From: Florin C B. <ory...@us...> - 2013-04-18 01:56:42
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28784 Modified Files: session.php Log Message: updating phpBB3 announce Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** session.php 8 Apr 2013 22:07:50 -0000 1.47 --- session.php 18 Apr 2013 01:56:40 -0000 1.48 *************** *** 1366,1370 **** AND t.template_path = m.template_name AND t.template_id = s.template_id"; - if ($row = $db->sql_fetchrow($db->sql_query($sql))) { --- 1366,1369 ---- *************** *** 1410,1414 **** $sql = "SELECT s.style_id, s.style_name FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t ! WHERE s.style_id = " . (int) $style_value . " AND s.style_name = m.style_name AND t.template_id = s.template_id"; --- 1409,1413 ---- $sql = "SELECT s.style_id, s.style_name FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t ! WHERE m.themes_id = " . (int) $style_value . " AND s.style_name = m.style_name AND t.template_id = s.template_id"; *************** *** 1428,1432 **** { $style = $style_value; ! } //We should never get this, temp fix for GoogleBot-2.1 crawler //Remove this Deguging Code after solved --- 1427,1432 ---- { $style = $style_value; ! } ! //We should never get this, temp fix for GoogleBot-2.1 crawler //Remove this Deguging Code after solved *************** *** 1436,1440 **** } $mx_style = $style; ! $mx_style_value = $style_value; // END Styles_Demo MOD if (intval($style) == 0) --- 1436,1441 ---- } $mx_style = $style; ! $mx_style_value = $style_value; ! // END Styles_Demo MOD if (intval($style) == 0) *************** *** 1459,1466 **** else { ! //Query phpBB style_id corepondent to mxp themes_id $sql = "SELECT s.style_id, s.style_name, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i ! WHERE m.themes_id = " . (int) $style . " AND s.style_name = m.style_name AND t.template_id = s.template_id --- 1460,1467 ---- else { ! //Query phpBB style_id get from main style init. Should be correct and valid. $sql = "SELECT s.style_id, s.style_name, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM " . MX_THEMES_TABLE . " AS m, " . STYLES_TABLE . " AS s, " . STYLES_TEMPLATE_TABLE . " AS t, " . STYLES_THEME_TABLE . " AS c, " . STYLES_IMAGESET_TABLE . " i ! WHERE s.style_id = " . (int) $style . " AND s.style_name = m.style_name AND t.template_id = s.template_id *************** *** 1471,1474 **** --- 1472,1476 ---- $style = $row['style_id']; $style_value = $row['style_name']; + // MXP themes_id = $row['themes_id'] } else *************** *** 1479,1482 **** --- 1481,1485 ---- $this->theme = $row; $db->sql_freeresult($result); + // User has wrong style if (!$this->theme && $style == $this->data['user_style']) |