|
From: OryNider <ory...@us...> - 2007-06-06 23:34:07
|
Update of /cvsroot/mxbb/mx_radio/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21081 Added Files: mx_player.tpl mx_playerg.tpl radio_front.tpl Log Message: --- NEW FILE: radio_front.tpl --- <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="forumline"> <tr> <th class="thHead" align="center"> {L_TITLE} </th> </tr> <tr> <td> <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border:none; padding:4px;"> <tr> <!-- BEGIN switch_listeners_list_on --> <td class="row1" align="center" valign="middle" rowspan="3"> <!-- END switch_listeners_list_on --> <!-- BEGIN switch_listeners_list_off --> <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> <img src="{RADIO_IMG}" alt="{L_VERSION}" border="0" /> </td> <td class="row1" align="left"> <span class="gensmall">{TOTAL_LISTENERS_ONLINE}</span> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall"> <!-- BEGIN switch_user_logged_out --> [ {L_LOGIN_TO_LISTEN_STATION} ] <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> [ <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_STATION}','','scrollbars=no,resizable=no,width=332,height=360')">{L_CLICK_TO_LISTEN_STATION}</a> ] <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_listening --> [ {L_ALREADY_LISTENING} ] <!-- END switch_user_listening --> </span> </td> </tr> <!-- BEGIN switch_listeners_list_on --> <tr> <td class="row1" align="left"> <span class="gensmall">{LISTENERS_LIST}</span> </td> </tr> <!-- END switch_listeners_list_on --> </table> </td> </tr> </table> <br clear="all" /> --- NEW FILE: mx_playerg.tpl --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML> <HEAD> <title>{SITENAME} :: {L_TITLE}</title> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <STYLE type=text/css>BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND-IMAGE: url({IMG_IFRAME_BG}); PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #CEDEDF; } .ad_row { BORDER-TOP: #6699cc 1px solid; HEIGHT: 79px; BACKGROUND-COLOR: #becfdf } .center_row { BORDER-TOP: #ffffff 1px solid; BACKGROUND-IMAGE: url({IMG_IFRAME_BG}); BORDER-BOTTOM: #6699cc 1px solid; BACKGROUND-REPEAT: repeat-x } .quick_links { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #ffffff; TEXT-INDENT: 5px; BACKGROUND-COLOR: #666666; TEXT-DECORATION: none } .quick_links A:link { COLOR: #ffffff; TEXT-DECORATION: none } .quick_links A:visited { COLOR: #ffffff; TEXT-DECORATION: none } .quick_links A:hover { COLOR: #ffffff; TEXT-DECORATION: none } .gateway { BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 308px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 258px } .banner_468 { BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 474px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 66px } .sendfriend { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #7a95af; HEIGHT: 15px } .sendfriend A:link { COLOR: #000000; TEXT-DECORATION: none } .sendfriend A:visited { COLOR: #000000; TEXT-DECORATION: none } .sendfriend A:hover { COLOR: #000000; TEXT-DECORATION: none } .iframe { BORDER-RIGHT: #becfdf 1px solid; BORDER-TOP: #becfdf 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; COLOR: #004881; BORDER-BOTTOM: #becfdf 1px solid } .menu { BORDER-TOP: #becfdf 1px solid; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; BACKGROUND-COLOR: #ebeff3 } .menu A:link { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu A:visited { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu A:hover { DISPLAY: block; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff } .menu_right { BORDER-RIGHT: #becfdf 1px solid; BORDER-TOP: #becfdf 1px solid; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; BACKGROUND-COLOR: #ebeff3 } .menu_right A:link { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu_right A:visited { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu_right A:hover { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none } </STYLE> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> </HEAD> <BODY> <TABLE cellSpacing=0 cellPadding=0 width=315 border=0> <TBODY> <TR> <TD vAlign=center align=middle> <TABLE class=gateway cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff border=0> <TBODY> <TR> <TD vAlign=center align=middle> <TABLE cellSpacing=0 cellPadding=0 width=300 border=0> <TBODY> <TR> <TD> <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> <SCRIPT language="javascript"> <!-- document.writeln("<iframe width=\"331\" height=\"270\""); document.writeln(" id=\"myiframe\" name=\"myiframe\""); document.writeln(" src=\"{GATEWAY_FILE}\""); document.writeln(" scrolling=\"no\""); document.writeln(" style=\"width:331px;height:270px;border:1px dotted #BEBEBE;\">"); document.writeln("Sorry, your browser doesn't seem to support IFrames!"); document.writeln("</iframe>"); document.writeln(""); //--> </SCRIPT> <NOSCRIPT><A href="http://ads.airamericaradio.com/adclick.php?n=a226628a" target=_blank><IMG alt="" src="{IMG_ADVIEW}" border=0></A></NOSCRIPT> </TD></TR></TBODY></TABLE> </TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=middle> <!-- Check Media Player Version --> <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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=1'); document.write (' width=332'); document.write (' height=64>'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="332" height="64" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="1" src="{STATION_STREAM}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ){ WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write ('<OBJECT ID=MediaPlayer '); document.write (' CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6'); document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="332" height="64">'); document.write ('<PARAM NAME="url" VALUE="{STATION_STREAM}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" 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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' width="332"'); document.write (' height="64">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write ('<OBJECT ID=MediaPlayer '); document.write (' CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'); document.write (' CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 '); document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="332" height="64">'); document.write (' <PARAM NAME="FileName" VALUE="{STATION_STREAM}">'); document.write ('<PARAM NAME="url" VALUE="{STATION_STREAM}"> '); document.write ('<PARAM NAME="AutoStart" VALUE="1">'); document.write ('<PARAM NAME="ShowControls" 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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' width="332"'); document.write (' height="64">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" width="332" height="64" AUTOSTART="1" filename="{STATION_STREAM}" src="{STATION_STREAM}" ></embed>'); } </SCRIPT> </TD></TR> <TR class=sendfriend> <TD align=right></TD></TR></TBODY></TABLE> </BODY> </HTML> --- NEW FILE: mx_player.tpl --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML> <HEAD> <title>{SITENAME} :: {L_TITLE}</title> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <STYLE type=text/css>BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND-IMAGE: url({IMG_IFRAME_BG}); PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #CEDEDF; } .ad_row { BORDER-TOP: #6699cc 1px solid; HEIGHT: 79px; BACKGROUND-COLOR: #becfdf } .center_row { BORDER-TOP: #ffffff 1px solid; BACKGROUND-IMAGE: url({IMG_IFRAME_BG}); BORDER-BOTTOM: #6699cc 1px solid; BACKGROUND-REPEAT: repeat-x } .quick_links { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #ffffff; TEXT-INDENT: 5px; BACKGROUND-COLOR: #666666; TEXT-DECORATION: none } .quick_links A:link { COLOR: #ffffff; TEXT-DECORATION: none } .quick_links A:visited { COLOR: #ffffff; TEXT-DECORATION: none } .quick_links A:hover { COLOR: #ffffff; TEXT-DECORATION: none } .gateway { BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 308px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 258px } .banner_468 { BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 474px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 66px } .sendfriend { FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #7a95af; HEIGHT: 15px } .sendfriend A:link { COLOR: #000000; TEXT-DECORATION: none } .sendfriend A:visited { COLOR: #000000; TEXT-DECORATION: none } .sendfriend A:hover { COLOR: #000000; TEXT-DECORATION: none } .iframe { BORDER-RIGHT: #becfdf 1px solid; BORDER-TOP: #becfdf 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; COLOR: #004881; BORDER-BOTTOM: #becfdf 1px solid } .menu { BORDER-TOP: #becfdf 1px solid; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; BACKGROUND-COLOR: #ebeff3 } .menu A:link { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu A:visited { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu A:hover { DISPLAY: block; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff } .menu_right { BORDER-RIGHT: #becfdf 1px solid; BORDER-TOP: #becfdf 1px solid; FONT-SIZE: 11px; BORDER-LEFT: #becfdf 1px solid; BACKGROUND-COLOR: #ebeff3 } .menu_right A:link { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu_right A:visited { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; TEXT-DECORATION: none } .menu_right A:hover { DISPLAY: block; COLOR: #004881; PADDING-TOP: 5px; POSITION: relative; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff; TEXT-DECORATION: none } </STYLE> <META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD> <BODY> <TABLE cellSpacing=0 cellPadding=0 width=315 border=0> <TBODY> <TR> <TD vAlign=center align=middle> <TABLE class=gateway cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff border=0> <TBODY> <TR> <TD vAlign=center align=middle> <TABLE cellSpacing=0 cellPadding=0 width=300 border=0> <TBODY> <TR> <TD> <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> <SCRIPT language=JavaScript type=text/javascript> <!-- document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"332\" height=\"287\">"); document.writeln("<param name=movie value=\"{FLASH_FILE}\">"); document.writeln("<param name=quality value=high>"); document.writeln("<embed src=\"{FLASH_FILE}\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"332\" height=\"287\">"); document.writeln("</embed>"); document.writeln("</object>"); //--> </SCRIPT> <NOSCRIPT><A href="http://ads.airamericaradio.com/adclick.php?n=a226628a" target=_blank><IMG alt="" src="{IMG_ADVIEW}" border=0></A></NOSCRIPT> </TD></TR></TBODY></TABLE> </TD></TR></TBODY></TABLE></TD></TR> <TR> <TD align=middle> <!-- Check Media Player Version --> <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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); document.write (' ShowDisplay=1'); document.write (' ShowStatusBar=1'); document.write (' AUTOSTART=1'); document.write (' width=332'); document.write (' height=64>'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="332" height="64" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="1" src="{STATION_STREAM}" ></embed>'); } } if (Win) { if ( navigator.appName != "Netscape" ){ WMP7 = new ActiveXObject('WMPlayer.OCX'); } // Windows Media Player 7 Code if ( WMP7 ) { document.write ('<OBJECT ID=MediaPlayer '); document.write (' CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6'); document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="332" height="64">'); document.write ('<PARAM NAME="url" VALUE="{STATION_STREAM}">'); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" 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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' width="332"'); document.write (' height="64">'); document.write (' </embed>'); document.write ('</OBJECT>'); } // Windows Media Player 6.4 Code else { //IE Code document.write ('<OBJECT ID=MediaPlayer '); document.write (' CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'); document.write (' CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 '); document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="332" height="64">'); document.write (' <PARAM NAME="FileName" VALUE="{STATION_STREAM}">'); document.write ('<PARAM NAME="url" VALUE="{STATION_STREAM}"> '); document.write ('<PARAM NAME="AutoStart" VALUE="1">'); document.write ('<PARAM NAME="ShowControls" 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="{STATION_STREAM}"'); document.write (' src="{STATION_STREAM}"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="true"'); document.write (' width="332"'); document.write (' height="64">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" width="332" height="64" AUTOSTART="1" filename="{STATION_STREAM}" src="{STATION_STREAM}" ></embed>'); } </SCRIPT> </TD></TR> <TR class=sendfriend> <TD align=right> </TD></TR></TBODY></TABLE> </BODY> </HTML> |