|
From: OryNider <ory...@us...> - 2007-08-25 00:15:45
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22457 Added Files: music_cat_xs.tpl Log Message: Added a more advanced category page that can be enabled manualy for now, and require mx_xs --- NEW FILE: music_cat_xs.tpl --- <form action="{S_MUSIC_ACTION}" method="post"> <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} <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> <tr> <td width="31%" align="center" class="catBottom"> <!-- BEGIN songrow --> <!-- BEGIN song_detail --> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <th height="25" colspan="2" class="thTop"><span class="genmed">{L_SONG_TITLE} :: {song_detail.SONG_TITLE}</span></th> </tr> <tr> <td width="44%" class="row1" 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="{song_detail.U_SONG}"'); document.write (' src="{song_detail.U_SONG}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=0'); document.write (' AutoSize=1'); 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="70" height="300" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.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="{song_detail.U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); 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="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="{song_detail.U_SONG}"'); document.write (' src="{song_detail.U_SONG}"'); document.write (' Name="MediaPlayer2"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); 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="{song_detail.U_SONG}">'); document.write ('<PARAM NAME="FileName" value="{song_detail.U_SONG}">'); 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="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="{song_detail.U_SONG}"'); document.write (' src="{song_detail.U_SONG}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' AutoSize="1"'); 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="70" width="300" AUTOSTART="0" filename="{song_detail.U_SONG}" src="{song_detail.U_SONG}" ></embed>'); } </SCRIPT> <!-- END media --> <!-- BEGIN flash --> <EMBED src="{song_detail.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 songrow.flashvideo --> <embed src="{song_detail.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="{song_detail.SONG_URL}"></param> <param name="wmode" value="transparent"></param> <embed src="{song_detail.VIDEO_URL}" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""> </embed> </object> <!-- END youtube --> <!-- BEGIN ram --> <embed src="{song_detail.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="{song_detail.U_SONG}"> <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.U_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> </object> <!-- END qt --> </td> </tr> </table> <!-- END song_detail --> </td> </tr> <tr> <td width="31%" align="center" class="catBottom"> <table width="100%" cellpadding="2" cellspacing="1" border="0"> <tr> <td width="15%" 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> <!-- BEGIN no_songs --> <tr> <td class="row1" align="center" colspan="7" height="50"><span class="gen">{L_NO_SONGS}</span></td> </tr> <!-- END no_songs --> <tr> <!-- BEGIN songcol --> <!-- END songcol --> <!-- BEGIN song_detail --> <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> <!-- END song_detail --> </tr> <!-- END songrow --> </table> </td> </tr> <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> <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} <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} |