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: OryNider <ory...@us...> - 2008-03-07 03:27:03
|
Update of /cvsroot/mxbb/mx_radio In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322 Modified Files: Media_Radio.pak db_install.php db_uninstall.php db_upgrade.php mx_install_readme.htm radio_front.php radio_index.php radio_update.php Removed Files: mx_radio.pak Log Message: Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/db_upgrade.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_upgrade.php 28 Feb 2008 06:26:32 -0000 1.3 --- db_upgrade.php 7 Mar 2008 03:26:24 -0000 1.4 *************** *** 49,53 **** // ! // validate before 1.08 // if (!$result = $db->sql_query("SELECT bot_id from " . $mx_table_prefix . "radio_session")) --- 49,53 ---- // ! // validate before 2.01 // if (!$result = $db->sql_query("SELECT bot_id from " . $mx_table_prefix . "radio_session")) Index: radio_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/radio_front.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** radio_front.php 28 Feb 2008 06:26:33 -0000 1.3 --- radio_front.php 7 Mar 2008 03:26:25 -0000 1.4 *************** *** 167,178 **** 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), 'LISTENERS_LIST' => $listeners_list, ! 'S_LISTEN_STATION' => append_sid($module_root_path.'radio_index.'.$phpEx), 'L_ALREADY_LISTENING' => $lang['Already_listening'], 'L_CLICK_TO_LISTEN_STATION' => $lang['Click_to_listen_station'], 'L_LOGIN_TO_LISTEN_STATION' => $lang['Login_to_listen_station'], ! 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, 'L_VERSION' => _radio_VERSION, ! 'L_TITLE' => 'radio' )); --- 167,178 ---- 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), 'LISTENERS_LIST' => $listeners_list, ! 'S_LISTEN_STATION' => mx_append_sid($module_root_path.'radio_index.'.$phpEx), 'L_ALREADY_LISTENING' => $lang['Already_listening'], 'L_CLICK_TO_LISTEN_STATION' => $lang['Click_to_listen_station'], 'L_LOGIN_TO_LISTEN_STATION' => $lang['Login_to_listen_station'], ! 'BLOCK_SIZE' => $block_size, 'BLOCK_ID' => $block_id, 'L_VERSION' => _radio_VERSION, ! 'L_TITLE' => 'radio' )); --- mx_radio.pak DELETED --- Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_radio/mx_install_readme.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_install_readme.htm 28 Feb 2008 06:26:32 -0000 1.2 --- mx_install_readme.htm 7 Mar 2008 03:26:24 -0000 1.3 *************** *** 233,237 **** <p><b><font size="5"><font face="Verdana">mxBB Module - mx_radio</font><br /> ! <font size="2">v. 1.0.0</font></font></b></p> <p><span style="font-weight: bold"><span style= "font-size: 16px; line-height: normal">Module</span></span><br /> --- 233,237 ---- <p><b><font size="5"><font face="Verdana">mxBB Module - mx_radio</font><br /> ! <font size="2">v. 1.0.7</font></font></b></p> <p><span style="font-weight: bold"><span style= "font-size: 16px; line-height: normal">Module</span></span><br /> Index: Media_Radio.pak =================================================================== RCS file: /cvsroot/mxbb/mx_radio/Media_Radio.pak,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Media_Radio.pak 28 Feb 2008 06:26:34 -0000 1.2 --- Media_Radio.pak 7 Mar 2008 03:26:24 -0000 1.3 *************** *** 5,9 **** block=+:=+:Radio Front=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:72=+:126=+:Radio Player=+:Radio Player or Index=+:radio_index.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Radio Player=+:Demo block=+:126=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 --- 5,10 ---- block=+:=+:Radio Front=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:73=+:126=+:Radio Player=+:Radio Player or Index=+:radio_index.php=+: ! parameter=+:126=+:100=+:player_width=+:Number=+:333=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Radio Player=+:Demo block=+:126=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 Index: radio_index.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/radio_index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** radio_index.php 28 Feb 2008 06:26:33 -0000 1.2 --- radio_index.php 7 Mar 2008 03:26:25 -0000 1.3 *************** *** 29,34 **** $title = 'Media Player Radio'; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); ! $player_size = ( isset($block_size) && !empty($block_size) ? $block_size - 15 : '300' ); $is_block = FALSE; --- 29,35 ---- $title = 'Media Player Radio'; ! ! $block_size = (isset($block_size) && !empty($block_size) ? $block_size : '348'); ! $player_size = (isset($block_size) && !empty($block_size) ? $block_size - 15 : '333'); $is_block = FALSE; *************** *** 41,45 **** $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)) --- 42,48 ---- $title = $mx_block->block_info['block_title']; ! $desc = $mx_block->block_info['block_desc']; ! $block_size = (isset($block_size) && !empty($block_size) ? $block_size : '100%'); ! $player_size = $mx_block->get_parameters('player_width'); if( is_object($mx_block)) *************** *** 49,70 **** } define('_RADIO_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); // // Begin output of page // ! if ( $radio_config['gf_select'] ) ! { ! $template->set_filenames(array( 'body_radio' => 'mx_player.tpl' ! )); ! } ! else ! { ! $template->set_filenames(array( ! 'body_radio' => 'mx_playerg.tpl' ! )); ! } $template->assign_vars(array( --- 52,70 ---- } + define('_RADIO_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); + $gf_select = ($radio_config['gf_select'] == 1) ? true : false; + + define('FLASH_FILE', $mx_root_path . $radio_config['flash_FileName']); + define('GATEWAY_FILE', $mx_root_path . $radio_config['gateway_FileName']); + // // Begin output of page // ! $template->set_filenames(array( 'body_radio' => 'mx_player.tpl' ! )); $template->assign_vars(array( *************** *** 89,101 **** 'S_UPDATE_RADIO' => mx_append_sid(PORTAL_URL."modules/mx_radio/radio_update.$phpEx"), 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'L_TITLE' => $radio_config['radio_name'], 'RADIO_NAME' => $radio_config['radio_name'], ! 'FLASH_FILE' => $mx_root_path . $radio_config['flash_FileName'], ! 'GATEWAY_FILE' => $mx_root_path . $radio_config['gateway_FileName'], 'IMG_IFRAME_BG' => $module_root_path .'images/iframe_bg.png', 'IMG_ADVIEW' => $module_root_path .'gateway/gateway_files/adview.gif', 'JS_ADX' => $module_root_path .'gateway/gateway_files/adx.js', 'STATION_STREAM' => $radio_config['radio_FileName'] )); --- 89,108 ---- 'S_UPDATE_RADIO' => mx_append_sid(PORTAL_URL."modules/mx_radio/radio_update.$phpEx"), + 'S_IS_FLASH' => $gf_select, + 'SITENAME' => $board_config['sitename'], 'SITE_DESCRIPTION' => $board_config['site_desc'], ! 'L_TITLE' => $radio_config['radio_name'], 'RADIO_NAME' => $radio_config['radio_name'], ! 'FLASH_FILE' => FLASH_FILE, ! 'GATEWAY_FILE' => GATEWAY_FILE, 'IMG_IFRAME_BG' => $module_root_path .'images/iframe_bg.png', 'IMG_ADVIEW' => $module_root_path .'gateway/gateway_files/adview.gif', 'JS_ADX' => $module_root_path .'gateway/gateway_files/adx.js', + + 'IP' => $radio_ip, + 'PORT' => $radio_port, + 'WMPMODE' => $wmpmode, + 'MIMETYPE' => $mimetype, 'STATION_STREAM' => $radio_config['radio_FileName'] )); |
|
From: OryNider <ory...@us...> - 2008-03-07 03:27:02
|
Update of /cvsroot/mxbb/mx_radio/gateway In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322/gateway Modified Files: gateway.html Log Message: Index: gateway.html =================================================================== RCS file: /cvsroot/mxbb/mx_radio/gateway/gateway.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gateway.html 6 Jun 2007 23:31:16 -0000 1.1 --- gateway.html 7 Mar 2008 03:26:26 -0000 1.2 *************** *** 1,36 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> ! <!-- saved from url=(0053)http://listen.airamericaradio.com/player/gateway.html --> ! <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>ad</TITLE> ! <META http-equiv=Content-Type content="text/html; charset=utf-8"> ! <META http-equiv=Refresh content=120> ! <STYLE type=text/css>BODY { ! MARGIN: 0px; BACKGROUND-COLOR: #ffffff } ! </STYLE> ! ! <META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD> ! <BODY> ! <TABLE cellSpacing=0 cellPadding=0 width=320 border=0> ! <TBODY> ! <TR> ! <TD> ! <SCRIPT language=JavaScript src="gateway_files/adx.js" ! type=text/javascript></SCRIPT> ! <SCRIPT language=JavaScript type=text/javascript> <!-- ! if (!document.phpAds_used) document.phpAds_used = ','; ! phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); ! ! document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); ! document.write ("http://ads.airamericaradio.com/adjs.php?n=" + phpAds_random); ! document.write ("&what=zone:41"); ! document.write ("&exclude=" + document.phpAds_used); ! if (document.referrer) ! document.write ("&referer=" + escape(document.referrer)); ! document.write ("'><" + "/script>"); ! //--> </SCRIPT> ! <NOSCRIPT><A href="http://ads.airamericaradio.com/adclick.php?n=a226628a" ! target=_blank><IMG alt="" src="gateway_files/adview.gif" ! border=0></A></NOSCRIPT> </TD></TR></TBODY></TABLE></BODY></HTML> --- 1,40 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <title>ad</title> ! <meta http-equiv="Refresh" content="120" /> ! <style type="text/css"> ! <!-- ! body { ! margin-left: 0px; ! margin-top: 0px; ! margin-right: 0px; ! margin-bottom: 0px; ! background-color: #FFFFFF; } ! --> ! </style></head> ! <body> ! <table width="300" border="0" cellspacing="0" cellpadding="0"> ! <tr> ! <td> ! <!--- start of airamericaradio_300x250_(300x250)_247RealMediaAdTag ---> ! <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/airamericaradio/300x250/ron/ent/ss/a@x15"> ! </script> ! <script LANGUAGE="JavaScript"> <!-- ! if (parseFloat(navigator.appVersion) == 0) { document.write('<IFRAME WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR="#000000" SRC="http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/airamericaradio/300x250/ron/ent/ss/a@x15"></iframe>'); ! } ! // --> </SCRIPT> ! <noscript> ! <A HREF="http://network.realmedia.com/RealMedia/ads/click_nx.ads/airamericaradio/300x250/ron/ent/ss/a@x15?x"><IMG SRC="http://network.realmedia.com/RealMedia/ads/adstream_nx.ads/airamericaradio/300x250/ron/ent/ss/a@x15"></a> ! </noscript> ! <!--- end of airamericaradio_300x250_(300x250)_247RealMediaAdTag ---> ! </td> ! </tr> ! </table> ! </body> ! </html> \ No newline at end of file |
|
From: OryNider <ory...@us...> - 2008-03-07 03:27:01
|
Update of /cvsroot/mxbb/mx_radio/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322/templates/subSilver Modified Files: mx_player.tpl Removed Files: mx_playerg.tpl Log Message: --- mx_playerg.tpl DELETED --- Index: mx_player.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_radio/templates/subSilver/mx_player.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_player.tpl 28 Feb 2008 06:26:36 -0000 1.2 --- mx_player.tpl 7 Mar 2008 03:26:26 -0000 1.3 *************** *** 10,120 **** <!-- 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" /> - <CENTER><u><h2><title>{SITENAME} :: {L_TITLE}</title></h2></u></CENTER> - <!-- ENDIF --> <STYLE type=text/css> ! BODY { ! PADDING-RIGHT: 0px; PADDING-LEFT: 0px; 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> ! <!-- IF SHOW_HEADER --> </HEAD> <BODY> <!-- ENDIF --> - <TABLE cellSpacing="0" cellPadding="0" width="{BLOCK_SIZE}" border="0" class="forumline" style="border-top:none;"> - <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="{PLAYER_SIZE}" 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"> --- 10,43 ---- <!-- 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> ! 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: Helvetica, Arial, sans-serif; BACKGROUND-COLOR: #CEDEDF; } </STYLE> ! <title>{SITENAME} :: {L_TITLE}</title> ! <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> </HEAD> <BODY> + <TABLE class="main" align="left" valign="top" cellSpacing="1" cellPadding="1" width="100%" style="border-top:none; border-left:none; border-right:none;"> + <!-- ELSE --> + <STYLE type=text/css> + BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-FAMILY: Helvetica, Arial, sans-serif; } + </STYLE> + <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> + <TABLE cellSpacing="0" cellPadding="0" width="{BLOCK_SIZE}" background="{IMG_IFRAME_BG}" border="0" class="forumline" style="border-top:none;"> <!-- ENDIF --> <TR> ! <TD width="{PLAYER_SIZE}" class="row2" align="center" valign="top"> ! <!-- IF S_IS_FLASH --> ! <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="{PLAYER_SIZE}" height="287">"); ! <param name="movie" value="{FLASH_FILE}"> ! <param name="quality" value="high"> ! <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="{PLAYER_SIZE}" height="287"></embed> ! </object> ! <!-- ELSE --> ! <iframe width="{PLAYER_SIZE}" height="270" id="myiframe" name="myiframe" src="{GATEWAY_FILE}" scrolling="no" style="width:{BLOCK_SIZE}px;height:270px;border:1px dotted #BEBEBE;"></iframe> ! <!-- ENDIF --> ! </TD> ! </TR> <TR> ! <TD width="{PLAYER_SIZE}" class="row2" align="center" valign="top"> <!-- Check Media Player Version --> <SCRIPT LANGUAGE="JavaScript"> *************** *** 124,127 **** --- 47,51 ---- var Unix; var Linux; + var cType = '{MIMETYPE}'; Win = navigator.userAgent.indexOf("Win") > -1; *************** *** 131,241 **** ! 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> <iframe width="350" height="1" id="myiframe" name="myiframe" src="{S_UPDATE_RADIO}" scrolling="no" style="width:350px;height:0px;border:0px"></iframe> <!-- IF SHOW_HEADER --> --- 55,195 ---- ! if (Mac) { ! if ( navigator.appName == "Netscape" ) { ! //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="{MIMETYPE}"'); ! 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={PLAYER_SIZE}'); ! document.write (' height=64>'); ! document.write (' </Embed>'); ! } else { ! document.write(' <embed id="wmp" name="wmp" type="{MIMETYPE}" width="{PLAYER_SIZE}" 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) { ! if(cType == "audio/aacp") { ! 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="{PLAYER_SIZE}" 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-ms-wmp"'); ! document.write (' pluginspage="http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe"'); ! 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="{PLAYER_SIZE}"'); ! document.write (' height="64">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>');; ! } else { ! 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="{PLAYER_SIZE}" 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>');; + } + } + // Windows Media Player 6.4 Code + else + { + if(cType == "audio/aacp") { + //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="{PLAYER_SIZE}" 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-ms-wmp"'); + document.write (' pluginspage="http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe"'); + 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>'); + } 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="{PLAYER_SIZE}" 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>'); + } + } + } else { + document.write(' <embed type="{MIMETYPE}" width="{PLAYER_SIZE}" height="64" AUTOSTART="1" filename="{STATION_STREAM}" src="{STATION_STREAM}" ></embed>'); } </SCRIPT> </TD></TR> ! </TABLE> <iframe width="350" height="1" id="myiframe" name="myiframe" src="{S_UPDATE_RADIO}" scrolling="no" style="width:350px;height:0px;border:0px"></iframe> <!-- IF SHOW_HEADER --> |
|
From: OryNider <ory...@us...> - 2008-03-07 03:27:01
|
Update of /cvsroot/mxbb/mx_radio/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322/templates/_core Modified Files: mx_player.tpl Removed Files: mx_playerg.tpl Log Message: --- mx_playerg.tpl DELETED --- Index: mx_player.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_radio/templates/_core/mx_player.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_player.tpl 28 Feb 2008 06:27:07 -0000 1.1 --- mx_player.tpl 7 Mar 2008 03:26:26 -0000 1.2 *************** *** 10,120 **** <!-- 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" /> - <CENTER><u><h2><title>{SITENAME} :: {L_TITLE}</title></h2></u></CENTER> - <!-- ENDIF --> <STYLE type=text/css> ! BODY { ! PADDING-RIGHT: 0px; PADDING-LEFT: 0px; 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> ! <!-- IF SHOW_HEADER --> </HEAD> <BODY> <!-- ENDIF --> - <TABLE cellSpacing="0" cellPadding="0" width="{BLOCK_SIZE}" border="0" class="forumline" style="border-top:none;"> - <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="{PLAYER_SIZE}" 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"> --- 10,43 ---- <!-- 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> ! 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: Helvetica, Arial, sans-serif; BACKGROUND-COLOR: #CEDEDF; } </STYLE> ! <title>{SITENAME} :: {L_TITLE}</title> ! <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> </HEAD> <BODY> + <TABLE class="main" align="left" valign="top" cellSpacing="1" cellPadding="1" width="100%" style="border-top:none; border-left:none; border-right:none;"> + <!-- ELSE --> + <STYLE type=text/css> + BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-FAMILY: Helvetica, Arial, sans-serif; } + </STYLE> + <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> + <TABLE cellSpacing="0" cellPadding="0" width="{BLOCK_SIZE}" background="{IMG_IFRAME_BG}" border="0" class="forumline" style="border-top:none;"> <!-- ENDIF --> <TR> ! <TD width="{PLAYER_SIZE}" class="row2" align="center" valign="top"> ! <!-- IF S_IS_FLASH --> ! <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="{PLAYER_SIZE}" height="287">"); ! <param name="movie" value="{FLASH_FILE}"> ! <param name="quality" value="high"> ! <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="{PLAYER_SIZE}" height="287"></embed> ! </object> ! <!-- ELSE --> ! <iframe width="{PLAYER_SIZE}" height="270" id="myiframe" name="myiframe" src="{GATEWAY_FILE}" scrolling="no" style="width:{BLOCK_SIZE}px;height:270px;border:1px dotted #BEBEBE;"></iframe> ! <!-- ENDIF --> ! </TD> ! </TR> <TR> ! <TD width="{PLAYER_SIZE}" class="row2" align="center" valign="top"> <!-- Check Media Player Version --> <SCRIPT LANGUAGE="JavaScript"> *************** *** 124,127 **** --- 47,51 ---- var Unix; var Linux; + var cType = '{MIMETYPE}'; Win = navigator.userAgent.indexOf("Win") > -1; *************** *** 131,241 **** ! 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> <iframe width="350" height="1" id="myiframe" name="myiframe" src="{S_UPDATE_RADIO}" scrolling="no" style="width:350px;height:0px;border:0px"></iframe> <!-- IF SHOW_HEADER --> --- 55,195 ---- ! if (Mac) { ! if ( navigator.appName == "Netscape" ) { ! //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="{MIMETYPE}"'); ! 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={PLAYER_SIZE}'); ! document.write (' height=64>'); ! document.write (' </Embed>'); ! } else { ! document.write(' <embed id="wmp" name="wmp" type="{MIMETYPE}" width="{PLAYER_SIZE}" 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) { ! if(cType == "audio/aacp") { ! 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="{PLAYER_SIZE}" 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-ms-wmp"'); ! document.write (' pluginspage="http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe"'); ! 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="{PLAYER_SIZE}"'); ! document.write (' height="64">'); ! document.write (' </embed>'); ! document.write ('</OBJECT>');; ! } else { ! 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="{PLAYER_SIZE}" 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>');; + } + } + // Windows Media Player 6.4 Code + else + { + if(cType == "audio/aacp") { + //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="{PLAYER_SIZE}" 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-ms-wmp"'); + document.write (' pluginspage="http://port25.technet.com/videos/downloads/wmpfirefoxplugin.exe"'); + 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>'); + } 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="{PLAYER_SIZE}" 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="{PLAYER_SIZE}"'); + document.write (' height="64">'); + document.write (' </embed>'); + document.write ('</OBJECT>'); + } + } + } else { + document.write(' <embed type="{MIMETYPE}" width="{PLAYER_SIZE}" height="64" AUTOSTART="1" filename="{STATION_STREAM}" src="{STATION_STREAM}" ></embed>'); } </SCRIPT> </TD></TR> ! </TABLE> <iframe width="350" height="1" id="myiframe" name="myiframe" src="{S_UPDATE_RADIO}" scrolling="no" style="width:350px;height:0px;border:0px"></iframe> <!-- IF SHOW_HEADER --> |
|
From: OryNider <ory...@us...> - 2008-03-07 03:27:00
|
Update of /cvsroot/mxbb/mx_radio/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322/admin Modified Files: admin_radio.php Log Message: Index: admin_radio.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/admin/admin_radio.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_radio.php 28 Feb 2008 06:26:32 -0000 1.3 --- admin_radio.php 7 Mar 2008 03:26:25 -0000 1.4 *************** *** 82,87 **** if( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Failed to update radio configuration for $config_name", "", __LINE__, __FILE__, $sql); } } } --- 82,89 ---- if( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Failed to update radio configuration for $config_name", "", __LINE__, __FILE__, $sql); } + $default_config[$config_name] = $new[$config_name]; + $mx_cache->put('radio_config', $default_config); } } |
|
From: OryNider <ory...@us...> - 2008-03-07 03:26:32
|
Update of /cvsroot/mxbb/mx_radio/gateway/gateway_files In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29322/gateway/gateway_files Removed Files: adview.gif adx.js scripts.css Log Message: --- scripts.css DELETED --- --- adview.gif DELETED --- --- adx.js DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-07 02:41:28
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6925 Added Files: mx_multiple_blocks.php Log Message: this file was missing --- NEW FILE: mx_multiple_blocks.php --- <?php /** * * @package Mx-Publisher Module - mx_coreblocks * @version $Id: mx_multiple_blocks.php,v 1.11 2008/03/07 02:41:23 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $b_description = $mx_block->block_info['block_desc']; $block_size = (isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%'); // check parameter for block count $block_ids = $mx_block->get_parameters('block_ids'); $block_ids = explode(',',$block_ids); $nested_block_count = sizeof($block_ids); // settype($nested_block_count,'integer'); if ($nested_block_count < 2) mx_message_die(GENERAL_ERROR, "Nested block count must be >=2.", "", __LINE__, __FILE__, ''); // check parameter block ids & check parameter for block count // if (sizeof($block_ids)!=$nested_block_count) // mx_message_die(GENERAL_ERROR, "Number of block ids must be equal to block count.", "", __LINE__, __FILE__, ''); // check parameter block sizes $block_sizes = $mx_block->get_parameters('block_sizes'); $block_sizes = explode(',',$block_sizes); if (sizeof($block_sizes)!= $nested_block_count) mx_message_die(GENERAL_ERROR, "Number of block sizes must be equal to block count.", "", __LINE__, __FILE__, ''); // check parameter space $block_space = $mx_block->get_parameters('space_between'); if ($block_space == '') mx_message_die(GENERAL_ERROR, "Space between nested blocks not set.", "", __LINE__, __FILE__, ''); // start the placement table echo '<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr>'; $mx_split_block = new mx_block(); for ($cell = 0; $cell < $nested_block_count; $cell++) { $inner_block_id=$block_ids[$cell]; $inner_block_size=$block_sizes[$cell]; settype($inner_block_id,'integer'); // output a placement table for each single block and the optional space echo '<td width="'.$inner_block_size.'" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td>'; /* // get the necessary info about this block $sql = "SELECT blk.block_id, module_path, function_file, auth_view FROM " . BLOCK_TABLE . " blk, " . FUNCTION_TABLE . " fnc, " . MODULE_TABLE . " modu WHERE blk.function_id = fnc.function_id AND fnc.module_id = modu.module_id AND blk.block_id = ".$inner_block_id; if(!$block_result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not query modules information", "", __LINE__, __FILE__, $sql); } $block_row = $db->sql_fetchrow($block_result); */ // $module_root_path=$block_row['module_path']; // $block_file=$block_row['function_file']; // $auth_view=$row['auth_view']; $block_id = $inner_block_id; $mx_split_block->init( $inner_block_id ); $block_size='100%'; if ( $mx_split_block->auth_view ) { $template = new mx_Template($template->root, $board_config, $db); $module_root_path = $mx_split_block->module_root_path; $block_file = $mx_split_block->block_file; include( $module_root_path . $block_file ); // output additional space between blocks if it is not the last block if ($cell<$nested_block_count-1) { echo '</td><td width="'.$block_space.'">'; echo '<img src="templates/spacer.gif" width="'.$block_space.'">'; } } /* // check visibility (code from index.php) $is_auth_ary = array(); $is_auth_ary = block_auth(AUTH_VIEW, $inner_block_id , $userdata, $block_row, $block_row[auth_view] ); // output the block if ( $is_auth_ary[auth_view] ) { // set block id and block size as this must be correctly set for the inclusion to work $block_id=$inner_block_id; $block_size='100%'; $template = new mx_Template( $template->root, $board_config, $db); include($module_root_path . $block_file ); // output additional space between blocks if it is not the last block if ($cell<$nested_block_count-1) { echo '</td><td width="'.$block_space.'">'; echo '<img src="templates/spacer.gif" width="'.$block_space.'">'; } } */ // finish the inner placement table for a single block echo '</td></tr></table></td>'; } // finish the outer placement table echo '</tr></table>'; ?> |
|
From: OryNider <ory...@us...> - 2008-03-07 02:39:48
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5956 Added Files: Tag: core28x mx_multiple_blocks.php Log Message: this file was missing. --- NEW FILE: mx_multiple_blocks.php --- <?php /** * * @package Mx-Publisher Module - mx_coreblocks * @version $Id: mx_multiple_blocks.php,v 1.10.2.2 2008/03/07 02:39:39 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson] Mx-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $b_description = $mx_block->block_info['block_desc']; $block_size = (isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%'); // check parameter for block count $block_ids = $mx_block->get_parameters('block_ids'); $block_ids = explode(',',$block_ids); $nested_block_count = sizeof($block_ids); // settype($nested_block_count,'integer'); if ($nested_block_count < 2) mx_message_die(GENERAL_ERROR, "Nested block count must be >=2.", "", __LINE__, __FILE__, ''); // check parameter block ids & check parameter for block count // if (sizeof($block_ids)!=$nested_block_count) // mx_message_die(GENERAL_ERROR, "Number of block ids must be equal to block count.", "", __LINE__, __FILE__, ''); // check parameter block sizes $block_sizes = $mx_block->get_parameters('block_sizes'); $block_sizes = explode(',',$block_sizes); if (sizeof($block_sizes)!= $nested_block_count) mx_message_die(GENERAL_ERROR, "Number of block sizes must be equal to block count.", "", __LINE__, __FILE__, ''); // check parameter space $block_space = $mx_block->get_parameters('space_between'); if ($block_space == '') mx_message_die(GENERAL_ERROR, "Space between nested blocks not set.", "", __LINE__, __FILE__, ''); // start the placement table echo '<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr>'; $mx_split_block = new mx_block(); for ($cell = 0; $cell < $nested_block_count; $cell++) { $inner_block_id=$block_ids[$cell]; $inner_block_size=$block_sizes[$cell]; settype($inner_block_id,'integer'); // output a placement table for each single block and the optional space echo '<td width="'.$inner_block_size.'" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td>'; /* // get the necessary info about this block $sql = "SELECT blk.block_id, module_path, function_file, auth_view FROM " . BLOCK_TABLE . " blk, " . FUNCTION_TABLE . " fnc, " . MODULE_TABLE . " modu WHERE blk.function_id = fnc.function_id AND fnc.module_id = modu.module_id AND blk.block_id = ".$inner_block_id; if(!$block_result = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not query modules information", "", __LINE__, __FILE__, $sql); } $block_row = $db->sql_fetchrow($block_result); */ // $module_root_path=$block_row['module_path']; // $block_file=$block_row['function_file']; // $auth_view=$row['auth_view']; $block_id = $inner_block_id; $mx_split_block->init( $inner_block_id ); $block_size='100%'; if ( $mx_split_block->auth_view ) { $template = new mx_Template($template->root, $board_config, $db); $module_root_path = $mx_split_block->module_root_path; $block_file = $mx_split_block->block_file; include( $module_root_path . $block_file ); // output additional space between blocks if it is not the last block if ($cell<$nested_block_count-1) { echo '</td><td width="'.$block_space.'">'; echo '<img src="templates/spacer.gif" width="'.$block_space.'">'; } } /* // check visibility (code from index.php) $is_auth_ary = array(); $is_auth_ary = block_auth(AUTH_VIEW, $inner_block_id , $userdata, $block_row, $block_row[auth_view] ); // output the block if ( $is_auth_ary[auth_view] ) { // set block id and block size as this must be correctly set for the inclusion to work $block_id=$inner_block_id; $block_size='100%'; $template = new mx_Template( $template->root, $board_config, $db); include($module_root_path . $block_file ); // output additional space between blocks if it is not the last block if ($cell<$nested_block_count-1) { echo '</td><td width="'.$block_space.'">'; echo '<img src="templates/spacer.gif" width="'.$block_space.'">'; } } */ // finish the inner placement table for a single block echo '</td></tr></table></td>'; } // finish the outer placement table echo '</tr></table>'; ?> |
Update of /cvsroot/mxbb/core/includes/db In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26107 Modified Files: firebird.php mssql.php mssql_odbc.php mysql.php mysql4.php mysqli.php oracle.php postgres.php sqlite.php Log Message: I fogot abot this when I disabled the error reporting in dbal files. Index: mysqli.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysqli.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysqli.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysqli.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 408,411 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 408,414 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: sqlite.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/sqlite.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** sqlite.php 11 Feb 2008 22:44:50 -0000 1.14 --- sqlite.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 351,354 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 351,357 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: postgres.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/postgres.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** postgres.php 11 Feb 2008 22:44:50 -0000 1.14 --- postgres.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 427,430 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 427,433 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mysql4.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql4.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysql4.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysql4.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 428,431 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 428,434 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: firebird.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/firebird.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** firebird.php 11 Feb 2008 22:44:50 -0000 1.14 --- firebird.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 419,422 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 419,425 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mssql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mssql.php 11 Feb 2008 22:44:50 -0000 1.14 --- mssql.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 412,415 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ! ?> --- 412,418 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ! ?> \ No newline at end of file Index: mysql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mysql.php 11 Feb 2008 22:44:50 -0000 1.14 --- mysql.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 426,429 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 426,432 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: oracle.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/oracle.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** oracle.php 11 Feb 2008 22:44:50 -0000 1.14 --- oracle.php 7 Mar 2008 00:59:03 -0000 1.15 *************** *** 457,460 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 457,463 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file Index: mssql_odbc.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql_odbc.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** mssql_odbc.php 11 Feb 2008 22:44:50 -0000 1.14 --- mssql_odbc.php 7 Mar 2008 00:59:02 -0000 1.15 *************** *** 417,420 **** // Connect to DB $db = new $sql_db(); ! $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false); ?> \ No newline at end of file --- 417,423 ---- // Connect to DB $db = new $sql_db(); ! if(!$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, false)) ! { ! mx_message_die(CRITICAL_ERROR, "Could not connect to the database"); ! } ?> \ No newline at end of file |
|
From: OryNider <ory...@us...> - 2008-03-06 06:43:53
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22610/album_mod Modified Files: album_bbconstants.php album_common.php album_integration.php Log Message: 2.0.1 Index: album_bbconstants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_bbconstants.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_bbconstants.php 8 Feb 2008 10:47:59 -0000 1.7 --- album_bbconstants.php 6 Mar 2008 06:43:47 -0000 1.8 *************** *** 29,33 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(CRITICAL_ERROR, 'Could not query album config database'); } --- 29,33 ---- if ( !($result = $db->sql_query($sql)) ) { ! $album_index = 6; } *************** *** 38,63 **** } ! function this_smartor_mxurl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $album_index, $phpEx, $integration_enabled; ! ! $module_root_path = $mx_root_path . 'modules/mx_smartor/'; ! ! if( $force_standalone_mode ) ! { ! $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); ! } ! else { ! $mxurl = $mx_root_path . 'index.' . $phpEx; ! $mxurl .= '?page=' . $album_index . ($args == '' ? '' : '&' . $args); } - return $mxurl; } ! define('ALBUM_INDEX', this_smartor_mxurl()); ! define('ALBUM_SHOWPAGE', this_smartor_mxurl('smartor_mode=album_showpage', false)); ! define('ALBUM_PICM', this_smartor_mxurl('smartor_mode=album_picm', true)); ! define('ALBUM_THUMBNAIL', this_smartor_mxurl('smartor_mode=album_thumbnail', true)); ?> \ No newline at end of file --- 38,71 ---- } ! if (!function_exists('this_smartor_mxurl')) { ! function this_smartor_mxurl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled; ! ! if($force_standalone_mode) ! { ! $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); ! } ! else ! { ! $mxurl = $mx_root_path . 'index.' . $phpEx; ! if( is_numeric($page_id) && !empty($page_id) ) ! { ! $mxurl .= '?page=' . $page_id . ($args == '' ? '' : '&' . $args); ! } ! else ! { ! $mxurl .= '?page=' . $album_index . ($args == '' ? '' : '&' . $args); ! } ! } ! return $mxurl; } } ! @define('ALBUM_INDEX', this_smartor_mxurl()); ! @define('ALBUM_SHOWPAGE', this_smartor_mxurl('smartor_mode=album_showpage', false)); ! @define('ALBUM_PICM', this_smartor_mxurl('smartor_mode=album_picm', true)); ! @define('ALBUM_THUMBNAIL', this_smartor_mxurl('smartor_mode=album_thumbnail', true)); ?> \ No newline at end of file Index: album_integration.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_integration.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** album_integration.php 8 Feb 2008 10:47:59 -0000 1.6 --- album_integration.php 6 Mar 2008 06:43:47 -0000 1.7 *************** *** 45,70 **** // Generate paths for page and standalone mode // ...function based on original function written by Markus :-) ! function this_smartor_mxurl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; ! ! ! if( $force_standalone_mode || !$is_block ) ! { ! $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); ! } ! else { ! $mxurl = $mx_root_path . 'index.' . $phpEx; ! if( is_numeric($page_id) && !empty($page_id) ) { ! $mxurl .= '?page=' . $page_id . ($args == '' ? '' : '&' . $args); } else { ! $mxurl .= '?page=' . $album_index . ($args == '' ? '' : '&' . $args); } } - return $mxurl; } function this_fap_addonurl($args = '', $force_standalone_mode = false) --- 45,72 ---- // Generate paths for page and standalone mode // ...function based on original function written by Markus :-) ! if (!function_exists('this_smartor_mxurl')) { ! function this_smartor_mxurl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; ! ! if( $force_standalone_mode || !$is_block ) { ! $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); } else { ! $mxurl = $mx_root_path . 'index.' . $phpEx; ! if( is_numeric($page_id) && !empty($page_id) ) ! { ! $mxurl .= '?page=' . $page_id . ($args == '' ? '' : '&' . $args); ! } ! else ! { ! $mxurl .= '?page=' . $album_index . ($args == '' ? '' : '&' . $args); ! } } + return $mxurl; } } function this_fap_addonurl($args = '', $force_standalone_mode = false) Index: album_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_common.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** album_common.php 8 Feb 2008 10:47:59 -0000 1.22 --- album_common.php 6 Mar 2008 06:43:47 -0000 1.23 *************** *** 30,71 **** // Read main language definition and theme images definition // ********************************************************************** $mx_user->extend(MX_LANG_MAIN, MX_IMAGES); // // Get Album Config // ! $sql = "SELECT * ! FROM ". ALBUM_CONFIG_TABLE; ! if(!$result = $db->sql_query($sql, false, true)) { ! mx_message_die(GENERAL_ERROR, 'Could not query Album config information', '', __LINE__, __FILE__, $sql); } ! while( $row = $db->sql_fetchrow($result) ) { ! $album_config_name = $row['config_name']; ! $album_config_value = $row['config_value']; ! $album_config[$album_config_name] = $album_config_value; ! } ! /* ! // for compatibility with mxBB 2.7.x and SP... ! $album_config['rate'] = '1'; ! $album_config['comment'] = '1'; ! $album_config['fullpic_popup'] = '0'; ! */ //get SP config info ! $sql = "SELECT * ! FROM ". ALBUM_SP_CONFIG_TABLE; ! if(!$result = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Could not query SP config information", "", __LINE__, __FILE__, $sql); } ! while( $row = $db->sql_fetchrow($result) ) { ! $album_sp_config_name = $row['config_name']; ! $album_sp_config_value = $row['config_value']; ! ! $album_sp_config[$album_sp_config_name] = $album_sp_config_value; } //end get SP config info --- 30,109 ---- // Read main language definition and theme images definition // ********************************************************************** + $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x $mx_user->extend(MX_LANG_MAIN, MX_IMAGES); + // Cache settings + $use_cache = 1; + // // Get Album Config // ! if (($mx_cache->get('album_config')) && ($use_cache)) { ! $album_config = $mx_cache->get('album_config'); } ! else { ! $sql = "SELECT * FROM " . ALBUM_CONFIG_TABLE; ! if (!($result = $db->sql_query($sql))) ! { ! if (!function_exists('mx_message_die')) ! { ! die("Couldnt query smartor album config information, Allso this hosting or server is using a cache optimizer not compatible with MX-Publisher or just lost connection to database wile query."); ! } ! else ! { ! mx_message_die( GENERAL_ERROR, 'Couldnt query smartor album config information', '', __LINE__, __FILE__, $sql ); ! } ! } ! ! while ($row = $db->sql_fetchrow($result)) ! { ! $album_config_name = $row['config_name']; ! $album_config_value = $row['config_value']; ! $album_config[$album_config_name] = $album_config_value; ! } ! $db->sql_freeresult($result); ! ! if ($use_cache) ! { ! $mx_cache->put('album_config', $album_config); ! } ! } //get SP config info ! if (($mx_cache->get('album_sp_config')) && ($use_cache)) { ! $album_sp_config = $mx_cache->get('album_sp_config'); } ! else { ! $sql = "SELECT * FROM " . ALBUM_SP_CONFIG_TABLE; ! ! if (!($result = $db->sql_query($sql))) ! { ! if (!function_exists('mx_message_die')) ! { ! die("Couldnt query smartor album sp config information, Allso this hosting or server is using a cache optimizer not compatible with MX-Publisher or just lost connection to database wile query."); ! } ! else ! { ! mx_message_die( GENERAL_ERROR, 'Couldnt query smartor album sp config information', '', __LINE__, __FILE__, $sql ); ! } ! } ! ! while ($row = $db->sql_fetchrow($result)) ! { ! $album_sp_config_name = $row['config_name']; ! $album_sp_config_value = $row['config_value']; ! $album_sp_config[$album_sp_config_name] = $album_sp_config_value; ! } ! $db->sql_freeresult($result); ! ! if ($use_cache) ! { ! $mx_cache->put('album_sp_config', $album_sp_config); ! } } //end get SP config info |
|
From: OryNider <ory...@us...> - 2008-03-06 06:43:53
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22610 Modified Files: db_install.php db_upgrade.php Log Message: 2.0.1 Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_install.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** db_install.php 8 Feb 2008 10:47:59 -0000 1.19 --- db_install.php 6 Mar 2008 06:43:48 -0000 1.20 *************** *** 32,36 **** } ! $mx_module_version = '2.0.0'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; --- 32,36 ---- } ! $mx_module_version = '2.0.1'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/db_upgrade.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** db_upgrade.php 8 Feb 2008 10:47:59 -0000 1.19 --- db_upgrade.php 6 Mar 2008 06:43:48 -0000 1.20 *************** *** 30,34 **** } ! $mx_module_version = '2.0.0'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; --- 30,34 ---- } ! $mx_module_version = '2.0.1'; $mx_module_copy = 'Mx-Publisher <i> - smartor album FAP </i> module by Mighty Gorgon & <a href="http://www.mxbb.net" target="_blank">The Mx-Publisher Development Team</a>'; |
|
From: OryNider <ory...@us...> - 2008-03-06 06:43:52
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22610/admin Modified Files: admin_album_cfg.php admin_album_clown_SP.php Log Message: 2.0.1 Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_album_cfg.php 8 Feb 2008 10:47:59 -0000 1.6 --- admin_album_cfg.php 6 Mar 2008 06:43:46 -0000 1.7 *************** *** 74,77 **** --- 74,79 ---- mx_message_die(GENERAL_ERROR, "Failed to update Album configuration for $config_name", "", __LINE__, __FILE__, $sql); } + $default_config[$config_name] = $new[$config_name]; + $mx_cache->put('album_config', $default_config); } } Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** admin_album_clown_SP.php 8 Feb 2008 10:47:59 -0000 1.15 --- admin_album_clown_SP.php 6 Mar 2008 06:43:46 -0000 1.16 *************** *** 72,75 **** --- 72,77 ---- mx_message_die(GENERAL_ERROR, "Failed to update Album configuration for $config_name", "", __LINE__, __FILE__, $sql); } + $default_config[$config_name] = $new[$config_name]; + $mx_cache->put('album_sp_config', $default_config); } } |
|
From: OryNider <ory...@us...> - 2008-03-06 06:03:45
|
Update of /cvsroot/mxbb/mx_shotcast/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv859/includes Modified Files: detectScript.htm Log Message: fix Index: detectScript.htm =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/includes/detectScript.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** detectScript.htm 6 Mar 2008 03:09:36 -0000 1.1 --- detectScript.htm 6 Mar 2008 06:03:40 -0000 1.2 *************** *** 286,291 **** function detectWMPEmbed(){ ! ! if(this.cType == "audio/aacp"){ return 'aac_wmp'; } --- 286,291 ---- function detectWMPEmbed(){ ! var cType = '<?=$mimetype;?>'; ! if(cType == "audio/aacp"){ return 'aac_wmp'; } *************** *** 317,322 **** function detectEmbed() { ! ! if(this.cType == "audio/aacp"){ if(AXcompatible()){ return 'winampX'; --- 317,322 ---- function detectEmbed() { ! var cType = '<?=$mimetype;?>'; ! if(cType == "audio/aacp"){ if(AXcompatible()){ return 'winampX'; |
|
From: OryNider <ory...@us...> - 2008-03-06 06:03:45
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv859 Modified Files: getinfo.php Log Message: fix Index: getinfo.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/getinfo.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** getinfo.php 6 Mar 2008 04:59:09 -0000 1.7 --- getinfo.php 6 Mar 2008 06:03:36 -0000 1.8 *************** *** 411,415 **** $radio = new radio($scip, $scport); ! if (($radio->stat == 1) && ($radio->mimeType())) { $mimetype = $radio->mimeType(); --- 411,417 ---- $radio = new radio($scip, $scport); ! $mimetype = ''; ! ! if ($radio->mimeType()) { $mimetype = $radio->mimeType(); |
|
From: OryNider <ory...@us...> - 2008-03-06 05:12:24
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5159 Modified Files: play.php Log Message: Index: play.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/play.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** play.php 6 Mar 2008 04:59:09 -0000 1.3 --- play.php 6 Mar 2008 05:12:19 -0000 1.4 *************** *** 50,53 **** --- 50,54 ---- <html> <head> + <?php require($module_root_path . "includes/detectScript.htm"); ?> <script type="text/javascript"> <!-- *************** *** 60,64 **** <body> <?php - require($module_root_path . "includes/detectScript.htm"); if(!isset($_GET['embed'])){ --- 61,64 ---- *************** *** 145,150 **** document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="250" height="62">'); ! document.write (' <PARAM NAME="FileName" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>" valuetype="ref">'); ! document.write ('<PARAM NAME="url" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>"> '); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); --- 145,150 ---- document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="250" height="62">'); ! document.write (' <PARAM NAME="FileName" VALUE="icyx://<?=$scip;?>:<?=$scport;?>" valuetype="ref">'); ! document.write ('<PARAM NAME="url" VALUE="icyx://<?=$scip;?>:<?=$scport;?>"> '); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); document.write ('<PARAM NAME="ShowControls" VALUE="1">'); *************** *** 153,158 **** document.write (' <Embed type="application/x-ms-wmp"'); document.write (' pluginspage="<?=$ff2pluginspace;?>"'); ! document.write (' filename="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>"'); ! document.write (' src="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); --- 153,158 ---- document.write (' <Embed type="application/x-ms-wmp"'); document.write (' pluginspage="<?=$ff2pluginspace;?>"'); ! document.write (' filename="icyx://<?=$scip;?>:<?=$scport;?>"'); ! document.write (' src="icyx://<?=$scip;?>:<?=$scport;?>"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); |
|
From: OryNider <ory...@us...> - 2008-03-06 04:59:14
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31684 Modified Files: getinfo.php play.php Log Message: Index: getinfo.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/getinfo.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** getinfo.php 6 Mar 2008 03:09:28 -0000 1.6 --- getinfo.php 6 Mar 2008 04:59:09 -0000 1.7 *************** *** 465,469 **** $wmpmode = ($mimetype !== 'audio/aacp') ? 'http://' : 'icyx://'; // AAC VS MPEG ! $wmplist = ''; //($mimetype == 'audio/mpeg') ? '' : '/' . $playlist; $protocol_type = ($mimetype !== 'audio/aacp') ? 'http' : 'icyx'; --- 465,469 ---- $wmpmode = ($mimetype !== 'audio/aacp') ? 'http://' : 'icyx://'; // AAC VS MPEG ! $wmplist = '/' . $playlist; $protocol_type = ($mimetype !== 'audio/aacp') ? 'http' : 'icyx'; Index: play.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/play.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** play.php 6 Mar 2008 04:50:02 -0000 1.2 --- play.php 6 Mar 2008 04:59:09 -0000 1.3 *************** *** 77,83 **** ?> <OBJECT id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>"> <PARAM name="autostart" value="true"> ! <EMBED autostart="true" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>" type="audio/x-pn-realaudio-plugin"> </EMBED> </OBJECT> --- 77,83 ---- ?> <OBJECT id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>"> <PARAM name="autostart" value="true"> ! <EMBED autostart="true" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>" type="audio/x-pn-realaudio-plugin"> </EMBED> </OBJECT> *************** *** 89,95 **** <OBJECT id="QuickTime" classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>"> <PARAM name="AUTOPLAY" value="true"> ! <EMBED id="QuickTime" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>" type="audio/mpegurl" autoplay="true" pluginspace="http://www.apple.com/quicktime/download/"> </EMBED> --- 89,95 ---- <OBJECT id="QuickTime" classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>"> <PARAM name="AUTOPLAY" value="true"> ! <EMBED id="QuickTime" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>" type="audio/mpegurl" autoplay="true" pluginspace="http://www.apple.com/quicktime/download/"> </EMBED> *************** *** 145,149 **** document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="250" height="62">'); ! document.write (' <PARAM NAME="FileName" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>" valuetype="ref">'); document.write ('<PARAM NAME="url" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>"> '); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); --- 145,149 ---- document.write (' standby="Loading Microsoft Windows Media Player components..."'); document.write (' TYPE="application/x-oleobject" width="250" height="62">'); ! document.write (' <PARAM NAME="FileName" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>" valuetype="ref">'); document.write ('<PARAM NAME="url" VALUE="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>"> '); document.write ('<PARAM NAME="AutoStart" VALUE="true">'); *************** *** 153,158 **** document.write (' <Embed type="application/x-ms-wmp"'); document.write (' pluginspage="<?=$ff2pluginspace;?>"'); ! document.write (' filename="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>"'); ! document.write (' src="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?><?=$wmplist;?>"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); --- 153,158 ---- document.write (' <Embed type="application/x-ms-wmp"'); document.write (' pluginspage="<?=$ff2pluginspace;?>"'); ! document.write (' filename="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>"'); ! document.write (' src="<?=$wmpmode;?><?=$scip;?>:<?=$scport;?>"'); document.write (' Name=MediaPlayer'); document.write (' ShowControls=1'); |
|
From: OryNider <ory...@us...> - 2008-03-06 04:50:09
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27442 Modified Files: play.php Log Message: Index: play.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/play.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** play.php 6 Mar 2008 03:09:29 -0000 1.1 --- play.php 6 Mar 2008 04:50:02 -0000 1.2 *************** *** 77,83 **** ?> <OBJECT id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?>"> <PARAM name="autostart" value="true"> ! <EMBED autostart="true" src="http://<?=$radio->host;?>:<?=$radio->port;?>" type="audio/x-pn-realaudio-plugin"> </EMBED> </OBJECT> --- 77,83 ---- ?> <OBJECT id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>"> <PARAM name="autostart" value="true"> ! <EMBED autostart="true" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>" type="audio/x-pn-realaudio-plugin"> </EMBED> </OBJECT> *************** *** 89,95 **** <OBJECT id="QuickTime" classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>"> <PARAM name="AUTOPLAY" value="true"> ! <EMBED id="QuickTime" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$wmplist;?>" type="audio/mpegurl" autoplay="true" pluginspace="http://www.apple.com/quicktime/download/"> </EMBED> --- 89,95 ---- <OBJECT id="QuickTime" classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> ! <PARAM name="SRC" value="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>"> <PARAM name="AUTOPLAY" value="true"> ! <EMBED id="QuickTime" src="http://<?=$radio->host;?>:<?=$radio->port;?><?=$playlist;?>" type="audio/mpegurl" autoplay="true" pluginspace="http://www.apple.com/quicktime/download/"> </EMBED> |
|
From: OryNider <ory...@us...> - 2008-03-06 03:21:00
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20341 Modified Files: radioplayer.php Log Message: Index: radioplayer.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/radioplayer.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** radioplayer.php 6 Mar 2008 03:19:18 -0000 1.8 --- radioplayer.php 6 Mar 2008 03:20:54 -0000 1.9 *************** *** 1,3 **** ! <? /** * --- 1,3 ---- ! <?php /** * |
|
From: OryNider <ory...@us...> - 2008-03-06 03:19:25
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19376 Modified Files: radioplayer.php Log Message: Index: radioplayer.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/radioplayer.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** radioplayer.php 6 Mar 2008 03:09:29 -0000 1.7 --- radioplayer.php 6 Mar 2008 03:19:18 -0000 1.8 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_shotcast * @version $Id$ ! * @copyright (c) 2002-2006 [OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package Mx-Publisher Module - mx_shotcast * @version $Id$ ! * @copyright (c) 2004-2008 [Niklas Pull, http://pull.zapto.org] Mx-Publisher Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2008-03-06 03:16:00
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15206 Added Files: ShotCast.pak Log Message: --- NEW FILE: ShotCast.pak --- module=+:71=+:ShotCast=+:modules/mx_shotcast/=+:mxBB ShotCast=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:71=+:85=+:ShotCast Front=+:=+:shotcast_front.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:ShotCast Front=+:Demo block=+:85=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:71=+:87=+:ShotCast Last 10=+:ShotCast Last 10 Block =+:shotcast_last10.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:ShotCast Last 10=+:Demo block=+:87=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:71=+:88=+:Shotcast Stats=+:ShotCast Statinstics Block =+:shotcast_stats.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:ShotCast Stats=+:Demo block=+:88=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:71=+:89=+:Radio Player=+:Radio Player or Index=+:radioplayer.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Radio Player=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: OryNider <ory...@us...> - 2008-03-06 03:14:58
|
Update of /cvsroot/mxbb/mx_shotcast/images/default In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14198/images/default Added Files: playerbg.png Log Message: --- NEW FILE: playerbg.png --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2008-03-06 03:14:58
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14198 Removed Files: shotcast.pak Log Message: --- shotcast.pak DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-06 03:12:49
|
Update of /cvsroot/mxbb/mx_shotcast/images/purple In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5080/images/purple Removed Files: player.png player2.png player3_real.png player3_wmp.png small_real.png small_wmp.png Log Message: version 2.0 --- player3_real.png DELETED --- --- small_real.png DELETED --- --- small_wmp.png DELETED --- --- player2.png DELETED --- --- player.png DELETED --- --- player3_wmp.png DELETED --- |
|
From: OryNider <ory...@us...> - 2008-03-06 03:11:52
|
Update of /cvsroot/mxbb/mx_shotcast/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5080/includes Modified Files: common.php Added Files: detectScript.htm Removed Files: shotcast_class.php Log Message: version 2.0 --- shotcast_class.php DELETED --- --- NEW FILE: detectScript.htm --- <?php // // Security check // if( !defined('IN_PORTAL') ) { die("Hacking attempt"); } ?> <!-- // Create ActiveX objects for later checks for WMP versions. --> <OBJECT CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" HEIGHT="0" ID="WMP64" WIDTH="0" STYLE="visibility: hidden;"></OBJECT> <OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" HEIGHT="0" ID="WMP7" WIDTH="0" STYLE="visibility: hidden;"></OBJECT> <SCRIPT TYPE="text/javascript"> <!-- // var detectableWithVB = false; var pluginFound = false; var cType = '<?=$mimetype;?>'; var radioStat = '<?=$radio->stat;?>'; function checkSong(){ var xmlHttp; try{ xmlHttp = new XMLHttpRequest(); } catch (e){ try{ xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ return false; } } } xmlHttp.onreadystatechange = function(){ if(xmlHttp.readyState == 4){ document.getElementById('songtitle').innerHTML = xmlHttp.responseText; setTimeout('Ajax()',25000); } } xmlHttp.open("GET","<?=$module_root_path;?>cur_song.<?=$phpEx;?>",true); xmlHttp.send(null); } function embedInfo(embed){ var player = ''; var plugin = ''; if(embed == 'real'){ player = '<b>Real player</b>'; if(!detectReal()){ plugin = '<a href="http://www.real.com/realplayer.html">» Download Realplayer</a>'; } else{ plugin = '» No plugins seems<br> to be needed'; } } else if(embed == 'wmp6'){ player = '<b>Windows Media</b>'; if(!detectWindowsMedia()){ plugin = '<a href="http://www.microsoft.com/windows/windowsmedia/">» Download WMP</a>'; if(AXcompatible()){ plugin += '<br><a href="http://activex.microsoft.com/activex/controls/mplayer/sv/nsmp2inf.cab#Version=6,4,5,715">»Download Plugin</a>'; } } else{ plugin = '» No plugins seems<br> to be needed'; } } else if(embed == 'wmp7'){ player = '<b>Windows Media</b>'; if(!detectWindowsMedia()){ plugin = '<a href="http://www.microsoft.com/windows/windowsmedia/">» Download WMP</a>'; } else{ plugin = '» No plugins seems<br> to be needed'; } } else if(embed == 'wmpo'){ player = '<b>Windows Media</b>'; if(!detectWindowsMedia()){ plugin = '<a href="http://www.microsoft.com/windows/windowsmedia/">» Download WMP</a>'; } else{ plugin = '» No plugins seems<br> to be needed'; } } else if(embed == 'quicktime'){ player = '<b>QuickTime</b><br><div style="font-size: 8px;">(Enable mp3 mime-type)</div>'; if(!detectQuickTime()){ plugin = '<a href="http://www.apple.com/quicktime/download/">» Download QT</a>'; if(AXcompatible()){ plugin += '<br><a href="http://www.apple.com/qtactivex/qtplugin.cab">» Download Plugin</a>'; } } else{ plugin = '» No plugins seems<br> to be needed'; } } else if(embed == 'aac_wmp'){ player = '<b>Windows Media</b>'; plugin = ''; if(!detectWindowsMedia()){ plugin += '<a href="http://www.microsoft.com/windows/windowsmedia/">» Download WMP</a><br>'; } plugin += '<a href="http://retro-radio.net/plugin/setup_AAC_aacPlus_plugin_1_0_36.exe">» AAC plugin f. WMP</a>'; } else if(embed == 'winampX'){ player = 'Winamp ActiveX'; if(AXcompatible()){ plugin = '<a href="http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab">» Download Plugin</a>'; } } document.getElementById('infoPlayer').innerHTML = player; document.getElementById('infoPlugin').innerHTML = plugin; } function changeEmbed(){ var embed = document.getElementById('embedchoise'); if(embed.value && embed.value != "auto" && embed.value != "wmp"){ embedInfo(embed.value); } else if(embed.value == "wmp"){ embedInfo(detectWMPEmbed(embed.value)); } else{ embedInfo(detectEmbed()); } } function playR(){ var embed = document.getElementById('embedchoise'); var frame = document.getElementById('embedFrame'); if(embed.value && embed.value != "auto" && embed.value != "wmp"){ frame.src = "<?=$module_root_path;?>play.<?=$phpEx;?>?embed=" + embed.value; embedInfo(embed.value); } else if(embed.value == "wmp"){ frame.src = "play.<?=$phpEx;?>?embed=" + detectWMPEmbed(embed.value); embedInfo(detectWMPEmbed(embed.value)); embedFrame.reload(true); } else{ frame.src = "<?=$module_root_path;?>play.<?=$phpEx;?>"; embedInfo(detectEmbed()); } document.getElementById('eq').src = '<?=$module_root_path;?>images/<?=SKIN;?>/equalizer_play.gif'; } function stopR(){ document.getElementById('embedFrame').src = ""; document.getElementById('eq').src = '<?=$module_root_path;?>images/<?=SKIN;?>/equalizer_stop.gif'; } function stopWinampx() { winampx.Deinitialize(); } function AXcompatible(){ if (window.ActiveXObject) { return true; } return false; } function canDetectPlugins() { if( detectableWithVB || (navigator.plugins && navigator.plugins.length > 0) ) { return true; } else { return false; } } function detectQuickTime() { pluginFound = detectPlugin('QuickTime'); // if not found, try to detect with VisualBasic if(!pluginFound && detectableWithVB) { pluginFound = detectQuickTimeActiveXControl(); } return pluginFound; } function detectReal() { pluginFound = detectPlugin('RealPlayer'); // if not found, try to detect with VisualBasic if(!pluginFound && detectableWithVB) { pluginFound = (detectActiveXControl('rmocx.RealPlayer G2 Control') || detectActiveXControl('RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)') || detectActiveXControl('RealVideo.RealVideo(tm) ActiveX Control (32-bit)')); } return pluginFound; } function detectWindowsMedia() { pluginFound = detectPlugin('Windows Media Player'); // if not found, try to detect with VisualBasic if(!pluginFound && detectableWithVB) { pluginFound = detectActiveXControl('MediaPlayer.MediaPlayer.1'); } return pluginFound; } function detectPlugin() { // allow for multiple checks in a single pass var daPlugins = detectPlugin.arguments; // consider pluginFound to be false until proven true var pluginFound = false; // if plugins array is there and not fake if (navigator.plugins && navigator.plugins.length > 0) { var pluginsArrayLength = navigator.plugins.length; // for each plugin... for (pluginsArrayCounter=0; pluginsArrayCounter < pluginsArrayLength; pluginsArrayCounter++ ) { // loop through all desired names and check each against the current plugin name var numFound = 0; for(namesCounter=0; namesCounter < daPlugins.length; namesCounter++) { // if desired plugin name is found in either plugin name or description if( (navigator.plugins[pluginsArrayCounter].name.indexOf(daPlugins[namesCounter]) >= 0) || (navigator.plugins[pluginsArrayCounter].description.indexOf(daPlugins[namesCounter]) >= 0) ) { // this name was found numFound++; } } // now that we have checked all the required names against this one plugin, // if the number we found matches the total number provided then we were successful if(numFound == daPlugins.length) { pluginFound = true; // if we've found the plugin, we can stop looking through at the rest of the plugins break; } } } return pluginFound; } // detectPlugin // Here we write out the VBScript block for MSIE Windows if ((navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1)) { document.writeln('<script language="VBscript">'); document.writeln('\'do a one-time test for a version of VBScript that can handle this code'); document.writeln('detectableWithVB = False'); document.writeln('If ScriptEngineMajorVersion >= 2 then'); document.writeln(' detectableWithVB = True'); document.writeln('End If'); document.writeln('\'this next function will detect most plugins'); document.writeln('Function detectActiveXControl(activeXControlName)'); document.writeln(' on error resume next'); document.writeln(' detectActiveXControl = False'); document.writeln(' If detectableWithVB Then'); document.writeln(' detectActiveXControl = IsObject(CreateObject(activeXControlName))'); document.writeln(' End If'); document.writeln('End Function'); document.writeln('\'and the following function handles QuickTime'); document.writeln('Function detectQuickTimeActiveXControl()'); document.writeln(' on error resume next'); document.writeln(' detectQuickTimeActiveXControl = False'); document.writeln(' If detectableWithVB Then'); document.writeln(' detectQuickTimeActiveXControl = False'); document.writeln(' hasQuickTimeChecker = false'); document.writeln(' Set hasQuickTimeChecker = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")'); document.writeln(' If IsObject(hasQuickTimeChecker) Then'); document.writeln(' If hasQuickTimeChecker.IsQuickTimeAvailable(0) Then '); document.writeln(' detectQuickTimeActiveXControl = True'); document.writeln(' End If'); document.writeln(' End If'); document.writeln(' End If'); document.writeln('End Function'); document.writeln('</scr' + 'ipt>'); } function detectOS(){ var OS = "unknown"; if (navigator.appVersion.indexOf("Win")!=-1) OS = "win"; if (navigator.appVersion.indexOf("Mac")!=-1) OS = "mac"; if (navigator.appVersion.indexOf("X11")!=-1) OS = "unix"; if (navigator.appVersion.indexOf("Linux")!=-1) OS = "linux"; return OS; } function detectWMPEmbed(){ if(this.cType == "audio/aacp"){ return 'aac_wmp'; } if(canDetectPlugins() && detectWindowsMedia() && AXcompatible()){ fHasWMP = false; WMPVer = "unknown"; try{ if (document.WMP64.FileName == ""){ WMPVer = "6.4"; } fHasWMP = true; } catch(e){}; try{ if(document.WMP7.URL == ""){ WMPVer = document.WMP7.versionInfo; } fHasWMP = true; } catch(e){}; if(fHasWMP == true && WMPVer != 'unknown'){ WMPVer = parseFloat(WMPVer); if(WMPVer == 6.4){ return 'wmp6'; } } } return 'wmp7'; } function detectEmbed() { if(this.cType == "audio/aacp"){ if(AXcompatible()){ return 'winampX'; } return detectWMPEmbed(); } if(canDetectPlugins()){ if(detectReal()){ return 'real'; } else if(detectWindowsMedia()){ return detectWMPEmbed(); } else if(detectQuickTime()){ return 'quicktime'; } } if(AXcompatible()){ return 'winampX'; } var OS = detectOS(); if(OS == "mac"){ return 'quicktime'; } else if(OS == "unix" || OS == "linux"){ return 'real'; } return detectWMPEmbed(); } // --> </SCRIPT> Index: common.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/includes/common.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** common.php 1 Mar 2008 18:32:11 -0000 1.6 --- common.php 6 Mar 2008 03:09:36 -0000 1.7 *************** *** 29,33 **** } ! $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x // --- 29,36 ---- } ! //$mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x ! ! // Cache settings ! $use_cache = 1; // *************** *** 38,47 **** $sql = "SELECT * FROM " . MODULE_TABLE . " WHERE module_name = '$module_name'"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain the module informations from database", '', __LINE__, __FILE__, $sql); } ! while( $module = $db->sql_fetchrow($result) ) { $music_module_copy = $module['module_copy']; --- 41,50 ---- $sql = "SELECT * FROM " . MODULE_TABLE . " WHERE module_name = '$module_name'"; ! if(!($result = $db->sql_query($sql))) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain shotcast module informations from database", '', __LINE__, __FILE__, $sql); } ! while($module = $db->sql_fetchrow($result)) { $music_module_copy = $module['module_copy']; *************** *** 63,82 **** // Load language files. // ! if( file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx) ) ! { ! include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx); ! } ! else { ! include($module_root_path . 'language/lang_english/lang_admin.' . $phpEx); } ! //Load main laguage file ! if( file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) ) { ! include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); } else { ! include($module_root_path . 'language/lang_english/lang_main.' . $phpEx); } --- 66,89 ---- // Load language files. // ! $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : (($board_config['default_lang']) ? $board_config['default_lang'] : 'english'); ! ! //Main module lang ! if ((@include $module_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx") === false) { ! if ((@include $module_root_path . "language/lang_english/lang_main.$phpEx") === false) ! { ! mx_message_die(CRITICAL_ERROR, 'Language file ' . $module_root_path . "language/lang_" . $default_lang . "/lang_main.$phpEx" . ' couldn\'t be opened.'); ! } ! $default_lang = 'english'; } ! ! //Admin Module Lang ! if( file_exists($module_root_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx") ) { ! include($module_root_path . "language/lang_" . $default_lang . "/lang_admin.$phpEx"); } else { ! include($module_root_path . "language/lang_english/lang_admin.$phpEx"); } *************** *** 117,135 **** // Get radio Settings from config table // ! if( defined('IN_SHOTCAST') ) { $shotcast_config = array(); ! $sql = "SELECT * FROM ".SHOTCAST_CONFIG_TABLE; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, "Couldn't query shotcast config table", "", __LINE__, __FILE__, $sql); ! } ! else { ! while( $row = $db->sql_fetchrow($result) ) { ! $shotcast_config[$row['config_name']] = $row['config_value']; } } } --- 124,158 ---- // Get radio Settings from config table // ! if (($mx_cache->get('shotcast_config')) && ($use_cache)) ! { ! $shotcast_config = $mx_cache->get('shotcast_config'); ! } ! else if(defined('IN_SHOTCAST')) { $shotcast_config = array(); ! $sql = "SELECT * FROM " . SHOTCAST_CONFIG_TABLE; ! ! if (!($result = $db->sql_query($sql))) { ! if (!function_exists('mx_message_die')) { ! die("Couldnt query shotcast_config information, Allso this hosting or server is using a cache optimizer not compatible with MX-Publisher or just lost connection to database wile query."); } + else + { + mx_message_die( GENERAL_ERROR, 'Couldnt query shotcast_config information', '', __LINE__, __FILE__, $sql ); + } + } + + while ($row = $db->sql_fetchrow($result)) + { + $shotcast_config[$row['config_name']] = $row['config_value']; + } + $db->sql_freeresult($result); + + if ($use_cache) + { + $mx_cache->put('shotcast_config', $shotcast_config); } } |
|
From: OryNider <ory...@us...> - 2008-03-06 03:11:50
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5080/templates/_core Modified Files: shotcast_front.tpl Log Message: version 2.0 Index: shotcast_front.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/_core/shotcast_front.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_front.tpl 2 Oct 2007 04:49:37 -0000 1.1 --- shotcast_front.tpl 6 Mar 2008 03:09:39 -0000 1.2 *************** *** 27,33 **** <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> ! [ <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_STATION}','','scrollbars=no,resizable=yes,width=350,height=96')">{L_CLICK_TO_LISTEN_STATION}</a> ] ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_WMP}','','scrollbars=no,resizable=yes,width=350,height=96')"><img src="{WMP_IMG}" alt="{L_CLICK_TO_LISTEN_WMP}" border="0" /></a> ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_REAL}','','scrollbars=no,resizable=yes,width=350,height=96')"><img src="{REAL_IMG}" alt="{L_CLICK_TO_LISTEN_REAL}" border="0" /></a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_listening --> --- 27,33 ---- <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> ! [ <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_STATION}', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=1, width=320, height=142 left = 100, top = 100')">{L_CLICK_TO_LISTEN_STATION}</a> ] ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_WMP}', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=1, width=320, height=142 left = 100, top = 100')"><img src="{WMP_IMG}" alt="{L_CLICK_TO_LISTEN_WMP}" border="0" /></a> ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_REAL}', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=1, width=320, height=142 left = 100, top = 100')"><img src="{REAL_IMG}" alt="{L_CLICK_TO_LISTEN_REAL}" border="0" /></a> <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_listening --> |