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...> - 2007-10-02 05:03:19
|
Update of /cvsroot/mxbb/mx_shotcast/templates/SwiftBlue/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15272/admin Modified Files: Tag: core28x shotcast_config_body.tpl Log Message: upgrading... Index: shotcast_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/SwiftBlue/admin/shotcast_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** shotcast_config_body.tpl 6 Jun 2007 23:20:32 -0000 1.1 --- shotcast_config_body.tpl 2 Oct 2007 05:03:14 -0000 1.1.2.1 *************** *** 31,34 **** --- 31,38 ---- <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> + <tr> + <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> + <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> + </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> |
|
From: OryNider <ory...@us...> - 2007-10-02 05:03:00
|
Update of /cvsroot/mxbb/mx_shotcast/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14793/lang_english Modified Files: Tag: core28x lang_admin.php lang_main.php Log Message: upgrading... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/language/lang_english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** lang_main.php 6 Jun 2007 23:20:11 -0000 1.1 --- lang_main.php 2 Oct 2007 05:02:55 -0000 1.1.2.1 *************** *** 36,40 **** $lang['Now_Playing'] = "Now Playing"; $lang['Before_that_you_heard'] = "Before that you heard"; ! $lang['Off_Air'] = "The server is <b>Off-Air</b>, try again later."; // // That's all Folks! --- 36,42 ---- $lang['Now_Playing'] = "Now Playing"; $lang['Before_that_you_heard'] = "Before that you heard"; ! $lang['Off_Air'] = "The server is <b>Off-Air</b>, try again later."; ! $lang['Socket_functions_disabled'] = 'Unable to use socket functions.'; ! // // That's all Folks! |
|
From: OryNider <ory...@us...> - 2007-10-02 05:03:00
|
Update of /cvsroot/mxbb/mx_shotcast/language/lang_romanian In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14793/lang_romanian Modified Files: Tag: core28x lang_main.php Log Message: upgrading... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/language/lang_romanian/lang_main.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** lang_main.php 6 Jun 2007 23:20:14 -0000 1.1 --- lang_main.php 2 Oct 2007 05:02:56 -0000 1.1.2.1 *************** *** 28,31 **** --- 28,33 ---- $lang['Before_that_you_heard'] = "Ultimele nouã melodii"; $lang['Off_Air'] = "Serverul este <b>Off-Air</b>, incearcã mai târziu."; + $lang['Socket_functions_disabled'] = 'Unable to use socket functions.'; + // // That's all Folks! |
|
From: OryNider <ory...@us...> - 2007-10-02 05:02:22
|
Update of /cvsroot/mxbb/mx_shotcast/doc/contrib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14421/contrib Modified Files: Tag: core28x getinfo2_fadisabled.php getinfo2_faenabled.php Log Message: upgrading... |
|
From: OryNider <ory...@us...> - 2007-10-02 05:01:45
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12867 Modified Files: Tag: core28x cur_song.php db_install.php db_uninstall.php db_upgrade.php getinfo.php moreinfo.php play_real.php play_wmp.php radio_update.php radioplayer.php shotcast.pak shotcast_config.php shotcast_front.php shotcast_stats.php Log Message: upgrading... Index: shotcast_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_stats.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** shotcast_stats.php 6 Jun 2007 23:18:16 -0000 1.1 --- shotcast_stats.php 2 Oct 2007 05:00:31 -0000 1.1.2.1 *************** *** 9,17 **** */ // -------------------------------------------------------------------------------- // Security check // ! if( !defined('IN_PORTAL') ) { die("Hacking attempt"); --- 9,23 ---- */ + // + // ERROR HANDLING + // + //error_reporting( E_ALL ); + @ini_set( 'display_errors', '1' ); + // -------------------------------------------------------------------------------- // Security check // ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); *************** *** 23,47 **** if( !file_exists($module_root_path . 'includes/common.'.$phpEx) ) { ! message_die(GENERAL_ERROR, "Could not find mx_shotcast includes folder.", "", __LINE__, __FILE__); } ! define('_SHOTCAST_CONFIG', true); include_once($module_root_path . 'includes/common.'.$phpEx); ! include_once($module_root_path . 'getinfo2.'.$phpEx); - if ($text[1]==1) - { - $state = "Up"; - $shotcast_state_icon = 'online.gif'; - } - else - { - $state = "Down"; - $shotcast_state_icon = 'offline.gif'; - } ! if ($text[2]=="") { $text[2] = $currentlisteners; } ! if ($text[3]=="") { $text[3] = $maxlisteners; } ! if ($text[5]=="") { $text[5] = $bitrate; } ! if ($song[0]=="") { $song[0] = $text[6]; } // --- 29,45 ---- if( !file_exists($module_root_path . 'includes/common.'.$phpEx) ) { ! mx_message_die(GENERAL_ERROR, "Could not find mx_shotcast includes folder.", "", __LINE__, __FILE__); } ! @define('_SHOTCAST_CONFIG', true); include_once($module_root_path . 'includes/common.'.$phpEx); ! include_once($module_root_path . 'getinfo.'.$phpEx); ! $state = ($text[1] == 1) ? 'Up' : 'Down'; ! $shotcast_state_icon = ($text[1] == 1) ? 'online.gif' : 'offline.gif'; ! $text[2] = !empty($text[2]) ? $text[2] : $currentlisteners; ! $text[3] = !empty($text[3]) ? $text[3] : $maxlisteners; ! $text[5] = !empty($text[5]) ? $text[5] : $bitrate; ! $song[0] = !empty($song[0]) ? $song[0] : $text[6]; // *************** *** 60,64 **** $template->assign_vars(array( ! 'SHOTCAST_STATE_IMG' => $module_root_path.'templates/images/'.$shotcast_state_icon, 'L_STATION' => $lang['Stats_for'], --- 58,62 ---- $template->assign_vars(array( ! 'SHOTCAST_STATE_IMG' => $module_root_path.'images/'.$shotcast_state_icon, 'L_STATION' => $lang['Stats_for'], *************** *** 76,81 **** 'L_MAX_LISTENERS' => $lang['Max_listeners'], 'S_MAX_LISTENERS' => $text[3], ! 'L_SERVERGENRE' => $lang['Server_genre'], ! 'S_SERVERGENRE' => $servergenre, 'L_SONGURL' => $lang['Stream_URL'], 'S_SONGURL' => $songurl, --- 74,79 ---- 'L_MAX_LISTENERS' => $lang['Max_listeners'], 'S_MAX_LISTENERS' => $text[3], ! 'L_SERVERGENRE' => $lang['Server_genre'], ! 'S_SERVERGENRE' => $servergenre, 'L_SONGURL' => $lang['Stream_URL'], 'S_SONGURL' => $songurl, Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/db_upgrade.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** db_upgrade.php 6 Jun 2007 23:17:58 -0000 1.1 --- db_upgrade.php 2 Oct 2007 05:00:20 -0000 1.1.2.1 *************** *** 31,35 **** } ! $mx_module_version = '1.0.0 RC 3'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 31,35 ---- } ! $mx_module_version = '1.0'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; *************** *** 38,47 **** $sql = array(); ! $sql[] = "UPDATE " . $mx_table_prefix . "module" . " ! SET module_version = '" . $mx_module_version . "', ! module_copy = '" . $mx_module_copy . "' ! WHERE module_id = '" . $mx_module_id . "'"; ! $message .= mx_do_install_upgrade( $sql ); echo "<br /><br />"; --- 38,87 ---- $sql = array(); ! // ! // Precheck ! // ! if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "shotcast_config" ) ) ! { ! // ! // Upgrade checks ! // ! $upgrade_100 = 0; ! // ! // validate before 1.0 Gold ! // ! $result = $db->sql_query( "SELECT config_value from " . $mx_table_prefix . "shotcast_config WHERE config_name = 'force_online'" ); ! if ( $db->sql_numrows( $result ) == 0 ) ! { ! $upgrade_100 = 1; ! } ! ! $message = "<b>Upgrading!</b><br/><br/>"; ! ! if ( $upgrade_100 == 1 ) ! { ! $message .= "<b>Upgrading to v. 1.0 (Gold)...</b><br/><br/>"; ! ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config VALUES ('force_online', '1')"; ! } ! else ! { ! $message .= "<b>Nothing to upgrade...</b><br/><br/>"; ! } ! ! $sql[] = "UPDATE " . $mx_table_prefix . "module" . " ! SET module_version = '" . $mx_module_version . "', ! module_copy = '" . $mx_module_copy . "' ! WHERE module_id = '" . $mx_module_id . "'"; ! ! $message .= mx_do_install_upgrade( $sql ); ! } ! else ! { ! // ! // If not installed ! // ! $message = "<b>Module is not installed...and thus cannot be upgraded ;)</b><br/><br/>"; ! } echo "<br /><br />"; Index: shotcast_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_front.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** shotcast_front.php 6 Jun 2007 23:18:15 -0000 1.1 --- shotcast_front.php 2 Oct 2007 05:00:30 -0000 1.1.2.1 *************** *** 16,19 **** --- 16,24 ---- * -modified by OryNider to shotcast_front ***************************************************************************/ + // + // ERROR HANDLING + // + //error_reporting( E_ALL ); + @ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- *************** *** 21,25 **** // ! if( !defined('IN_PORTAL') ) { die("Hacking attempt"); --- 26,30 ---- // ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); *************** *** 35,50 **** if( !file_exists($module_root_path . 'includes/common.'.$phpEx) ) { ! message_die(GENERAL_ERROR, "Could not find mx_shotcast includes folder.", "", __LINE__, __FILE__); } ! define('_SHOTCAST_CONFIG', true); include_once($module_root_path . 'includes/common.'.$phpEx); ! if ( empty($shotcast_config['shotcast_host']) ) { ! include_once($module_root_path . 'getinfo1.'.$phpEx); } else { ! include_once($module_root_path . 'getinfo2.'.$phpEx); } --- 40,56 ---- if( !file_exists($module_root_path . 'includes/common.'.$phpEx) ) { ! mx_message_die(GENERAL_ERROR, "Could not find mx_shotcast includes folder.", "", __LINE__, __FILE__); } ! @define('_SHOTCAST_CONFIG', true); include_once($module_root_path . 'includes/common.'.$phpEx); ! if ( !empty($shotcast_config['shotcast_host']) ) { ! include_once($module_root_path . 'getinfo.'.$phpEx); } else { ! $shotcast_config['shotcast_host'] = '127.0.0.1'; ! include_once($module_root_path . 'getinfo.'.$phpEx); } *************** *** 69,98 **** if (!$sol = $db->sql_query($sql)) { ! message_die(GENERAL_ERROR, "Could not query shotcast Session information", "", __LINE__, __FILE__, $sql); } if( empty($currentlisteners) && empty($text[2]) ) { ! $text[2] = $shotcast_config['currentlisteners']; } ! elseif (empty($currentlisteners) && !empty($text[2])) { ! $currentlisteners = $text[2]; } ! ! ! // if( $currentlisteners != "" ) ! if( !empty($currentlisteners)) { ! $howmanylisten = $db->sql_numrows($sol); ! $howmanypeak = $currentlisteners; } else { ! $howmanylisten = $db->sql_numrows($sol); // Return this ! $howmanypeak="0"; } ! $isimler[0] = $db->sql_numrows($sol); $i = 1; --- 75,99 ---- if (!$sol = $db->sql_query($sql)) { ! mx_message_die(GENERAL_ERROR, "Could not query shotcast Session information", "", __LINE__, __FILE__, $sql); } if( empty($currentlisteners) && empty($text[2]) ) { ! $howmanypeak = $currentlisteners = $text[2] = $shotcast_config['currentlisteners']; } ! else if (empty($currentlisteners) && ($text[2] > 0)) { ! $howmanypeak = $currentlisteners = $text[2]; } ! else if( ($currentlisteners > 0) && ($text[2] > 0)) { ! $howmanypeak = ($currentlisteners > $text[2]) ? $currentlisteners : $text[2]; } else { ! $howmanypeak = $text[2]; } ! $isimler[0] = $howmanylisten = $db->sql_numrows($sol); // Return this $i = 1; *************** *** 159,165 **** $template->assign_vars(array( ! 'SHOTCAST_IMG' => $module_root_path.'templates/images/'.$shotcast_icon, ! 'WMP_IMG' => $module_root_path.'templates/images/'.$wmp_icon, ! 'REAL_IMG' => $module_root_path.'templates/images/'.$real_icon, 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), --- 160,166 ---- $template->assign_vars(array( ! 'SHOTCAST_IMG' => $module_root_path.'images/'.$shotcast_icon, ! 'WMP_IMG' => $module_root_path.'images/'.$wmp_icon, ! 'REAL_IMG' => $module_root_path.'images/'.$real_icon, 'TOTAL_LISTENERS_ONLINE' => sprintf($lang['How_Many_Listeners'], $howmanylisten), Index: shotcast_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_config.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** shotcast_config.php 6 Jun 2007 23:18:14 -0000 1.1 --- shotcast_config.php 2 Oct 2007 05:00:28 -0000 1.1.2.1 *************** *** 9,27 **** */ ! define('IN_PORTAL', 1); ! ! $mx_root_path = "../../"; ! $mx_module_path = "./"; ! ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! // $mx_user->init($user_ip, PAGE_INDEX); ! define('_SHOTCAST_CONFIG', true); ! include_once($mx_module_path .'includes/common.'.$phpEx); // --- 9,26 ---- */ ! if( !defined('IN_PORTAL')) ! { ! die("Hacking attempt"); ! } ! if( !is_object($mx_block)) ! { ! $mx_root_path = "../../"; ! include_once($mx_root_path . 'common.'.$phpEx); ! $mx_user->init($user_ip, PAGE_INDEX); ! } ! @define('_SHOTCAST_CONFIG', true); ! include_once($module_root_path .'includes/common.'.$phpEx); // *************** *** 32,40 **** $nick = str_replace(" ", "_", $userdata['username']); - //read check period ! $period=$shotcast_config['check_period']*1000; $station = $shotcast_config['shotcast_name']; // Station name ! $scip = $shotcast_config['shotcast_host']; // IP adress or domain $scport = $shotcast_config['shotcast_port']; // Port $scpass = $shotcast_config['shotcast_pass']; // SHOUTcast Password --- 31,38 ---- $nick = str_replace(" ", "_", $userdata['username']); //read check period ! $period = $shotcast_config['check_period'] * 1000; $station = $shotcast_config['shotcast_name']; // Station name ! $scip = $shotcast_config['shotcast_host']; // IP adress or domain $scport = $shotcast_config['shotcast_port']; // Port $scpass = $shotcast_config['shotcast_pass']; // SHOUTcast Password Index: cur_song.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/cur_song.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** cur_song.php 6 Jun 2007 23:17:56 -0000 1.1 --- cur_song.php 2 Oct 2007 05:00:17 -0000 1.1.2.1 *************** *** 1,2 **** ! <?php include "getinfo.php";?> ! <b><?=$song[0];?></b> \ No newline at end of file --- 1,60 ---- ! <?php ! ! define( 'IN_PORTAL', 1 ); ! ! $module_root_path = './'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! include($module_root_path . 'shotcast_config.'.$phpEx); ! include($module_root_path . 'getinfo.'.$phpEx); ! ! $song[0] = !empty($song[0]) ? $song[0] : $text[6]; ! ! ?> ! <HTML> ! <HEAD> ! <META http-equiv="pragma" content="no-cache"> ! <META HTTP-EQUIV="refresh" CONTENT="60"> ! <META name="robots" content="noindex"> ! <script> ! <!-- ! ! /* ! Auto Refresh Page with Time script ! By JavaScript Kit (javascriptkit.com) ! Over 200+ free scripts here! ! */ ! ! //enter refresh time in "minutes:seconds" Minutes should range from 0 to inifinity. Seconds should range from 0 to 59 ! var limit="0:60" ! ! if (document.images){ ! var parselimit=limit.split(":") ! parselimit=parselimit[0]*60+parselimit[1]*1 ! } ! function beginrefresh(){ ! if (!document.images) ! return ! if (parselimit==1) ! window.location.reload() ! else{ ! parselimit-=1 ! curmin=Math.floor(parselimit/60) ! cursec=parselimit%60 ! if (curmin!=0) ! curtime=curmin+" minutes and "+cursec+" seconds left until page refresh!" ! else ! curtime=cursec+" seconds left until page refresh!" ! window.status=curtime ! setTimeout("beginrefresh()",1000) ! } ! } ! ! window.onload=beginrefresh ! //--> ! </script> ! </HEAD> ! <body> ! <span style="font-weight : bold;"><?=$song[0];?></span> ! </body> ! </HTML> \ No newline at end of file Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/db_install.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** db_install.php 6 Jun 2007 23:17:57 -0000 1.1 --- db_install.php 2 Oct 2007 05:00:18 -0000 1.1.2.1 *************** *** 35,39 **** } ! $mx_module_version = '1.0.0 RC 3'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 35,39 ---- } ! $mx_module_version = '1.0'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; *************** *** 63,69 **** ) TYPE=MyISAM"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_name', 'Radio Cezareea Romania')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_host', 'tv3.stream-music.net')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_port', '8188')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_pass', 'thejoyfm')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('play_list', 'listen.pls')"; --- 63,69 ---- ) TYPE=MyISAM"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_name', 'The Joy Fm')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_host', '209.85.88.199')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_port', '10040')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('shotcast_pass', 'thejoyfm')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('play_list', 'listen.pls')"; *************** *** 71,74 **** --- 71,75 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('check_period', '960')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('show_listen_select', '1')"; + $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('force_online', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "shotcast_config ( config_name , config_value ) VALUES ('show_status', 'true')"; Index: radio_update.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/radio_update.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** radio_update.php 6 Jun 2007 23:18:10 -0000 1.1 --- radio_update.php 2 Oct 2007 05:00:26 -0000 1.1.2.1 *************** *** 19,44 **** // ini_set( 'display_errors', '1' ); ! define('IN_PORTAL', true); ! $mx_root_path = '../../'; $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); - include_once($mx_root_path . 'common.'.$phpEx); - - $mx_user->init($user_ip, PAGE_INDEX); ! define('_SHOTCAST_CONFIG', true); ! include_once($module_root_path . 'includes/common.'.$phpEx); ! include_once($module_root_path . 'getinfo2.'.$phpEx); - $time=date("U"); - $nick = str_replace(" ", "_", $userdata['username']); ! if ($_POST['update']==true) { ! update_shotcast_users($nick,$time); } else { ! update_shotcast_users($nick,$time); } --- 19,38 ---- // ini_set( 'display_errors', '1' ); ! define( 'IN_PORTAL', 1 ); ! $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include($module_root_path . 'shotcast_config.'.$phpEx); ! include($module_root_path . 'getinfo.'.$phpEx); ! if (isset($_POST['update'])) { ! update_shotcast_users($nick,$time); } else { ! update_shotcast_users($nick,$time); } *************** *** 58,68 **** } ! if( $currentlisteners != "" ) { ! update_total_users($currentlisteners); } //read check period ! $period=$shotcast_config['check_period']*1000; //radio_update.php (send to the db the user statue "listening" every $period seconds) --- 52,62 ---- } ! if( !empty($currentlisteners)) { ! update_total_users($currentlisteners); } //read check period ! $period = $shotcast_config['check_period'] * 1000; //radio_update.php (send to the db the user statue "listening" every $period seconds) *************** *** 104,108 **** echo "</script>\n"; echo "</head>"; ! echo "<body background=\"templates/gateway_files/iframe_bg.png\">"; echo "<form name=\"update\" action=\"radio_update.php\" method=\"POST\">"; echo "<input type=\"hidden\" name=\"update\" value=\"true\">"; --- 98,102 ---- echo "</script>\n"; echo "</head>"; ! echo "<body background=\"images/iframe_bg.png\">"; echo "<form name=\"update\" action=\"radio_update.php\" method=\"POST\">"; echo "<input type=\"hidden\" name=\"update\" value=\"true\">"; Index: radioplayer.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/radioplayer.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** radioplayer.php 6 Jun 2007 23:18:12 -0000 1.1 --- radioplayer.php 2 Oct 2007 05:00:27 -0000 1.1.2.1 *************** *** 9,17 **** */ ! include "getinfo.php"; ! if ($currentlisteners=="") { $currentlisteners = $text[2]; } ! if ($bitrate=="") { $bitrate = $text[5]; } ! if ($song[0]=="") { $song[0] = $text[6]; } user_listensc($nick); ?> --- 9,24 ---- */ ! define( 'IN_PORTAL', 1 ); ! $module_root_path = './'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! include($module_root_path . 'shotcast_config.'.$phpEx); ! include($module_root_path . 'getinfo.'.$phpEx); ! ! $state = ($text[1] == 1) ? 'Up' : 'Down'; ! $text[2] = !empty($text[2]) ? $text[2] : $currentlisteners; ! $text[5] = !empty($text[5]) ? $text[5] : $bitrate; ! $song[0] = !empty($song[0]) ? $song[0] : $text[6]; user_listensc($nick); ?> *************** *** 27,31 **** <style type="text/css"> <!-- ! body {margin:0; padding: 0; BACKGROUND-IMAGE: url(templates/gateway_files/iframe_bg.png); font-family: Verdana; font-size: 10px;} a{text-decoration:none; background-color:inherit; color:#26c;} a:hover{text-decoration:underline;} --- 34,38 ---- <style type="text/css"> <!-- ! body {margin:0; padding: 0; BACKGROUND-IMAGE: url(images/iframe_bg.png); font-family: Verdana; font-size: 10px;} a{text-decoration:none; background-color:inherit; color:#26c;} a:hover{text-decoration:underline;} Index: getinfo.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/getinfo.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** getinfo.php 6 Jun 2007 23:17:59 -0000 1.1 --- getinfo.php 2 Oct 2007 05:00:22 -0000 1.1.2.1 *************** *** 9,93 **** */ ! include "shotcast_config.php"; - $mx_user->init($user_ip, PAGE_INDEX); $nick = str_replace(" ", "_", $userdata['username']); ! $time=date("U"); ! if ($_POST['update']==true) { ! update_shotcast_user($nick,$time); } ! ini_set("display_errors", "0"); ! if (@phpversion() >= '5.0.0') { ! $open = fsockopen($scip,$scport); ! if ($open) { ! fputs($open,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n"); ! $read = fread($open,1000); ! $text = explode("content-type:text/html",$read); ! $text = explode(",",$text[1]); ! fclose($open); ! } else { $er="Connection Refused!"; } } ! //$scfp = fsockopen($scip, $scport, &$errno, &$errstr, 1); ! $scfp = fsockopen($scip, $scport); ! if(!$scfp) { ! $scsuccs=1; ! } ! if($scsuccs!=1){ ! fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n"); ! while(!feof($scfp)) { ! $page .= fgets($scfp, 1000); ! } ! $loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS", "MAXLISTENERS", "BITRATE", "SERVERGENRE", "SONGURL", "SERVERURL", "REPORTEDLISTENERS"); ! $y=0; ! while($loop[$y]!=''){ ! $pageed = ereg_replace(".*<$loop[$y]>", "", $page); ! $scphp = strtolower($loop[$y]); ! $$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed); ! if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE || $loop[$y]==SERVERTITLE) ! $$scphp = urldecode($$scphp); ! $y++; ! } ! $pageed = ereg_replace(".*<SONGHISTORY>", "", $page); ! $pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed); ! $songatime = explode("<SONG>", $pageed); ! $r=1; ! while($songatime[$r]!=""){ ! $t=$r-1; ! $playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]); ! $playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]); ! $song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]); ! $song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]); ! $song[$t] = urldecode($song[$t]); ! $dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page); ! $dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed); ! $r++; ! } ! fclose($scfp); } ! if(isset($_GET['status'])){ ! $status = $_GET['status']; ! } else{ ! $status = "stop"; } ! if(isset($_GET['z'])){ ! $z = $_GET['z']; ! } else{ ! $z = "wmp"; } ! if ($z == 'wmp'){ ! $mode = 'real'; ! } elseif ($z == 'real'){ ! $mode = 'wmp'; } ?> \ No newline at end of file --- 9,166 ---- */ ! if( !defined('IN_PORTAL')) ! { ! die("Hacking attempt"); ! } $nick = str_replace(" ", "_", $userdata['username']); ! $period = !empty($period) ? $period : $shotcast_config['check_period'] * 1000; ! $station = !empty($station) ? $station : $shotcast_config['shotcast_name']; // Station name ! $scip = !empty($scip) ? $scip : $shotcast_config['shotcast_host']; // IP adress or domain ! $scport = !empty($scport) ? $scport : $shotcast_config['shotcast_port']; // Port ! $scpass = !empty($scpass) ? $scpass : $shotcast_config['shotcast_pass']; // SHOUTcast Password ! $time = date("U"); ! $errno = 0; ! $errstr = ''; ! $connect_timeout = 5; ! ! if ( isset($_POST['update']) ) { ! update_shotcast_user($nick, $time); } ! if (@phpversion() >= '5.0.0') ! { ! //$open = fsockopen($scip, $scport, &$errno, &$errstr, $connect_timeout); //open connection ! $open = @fsockopen($scip, $scport); //open connection ! if(!$open) ! { ! //if connection could not be made ! @fclose($open); ! $text = array(); ! if ($shotcast_config['force_online'] == 1) ! { ! $text[1] = '1,1,4,32,1,128,Unknon Artist'; ! $text = explode(",",$text[1]); ! } ! $er = '<p>' . $lang['Socket_functions_disabled'] . '</p>'; ! } ! else ! { ! //$request = "GET /7.html HTTP/1.1\r\nHost:" . $scip . ":" . $scport . "\r\nUser-Agent: SHOUTcast DNAS Status [7] * XML Getter (Mozilla Compatible)\r\nConnection: close\r\n\r\n"; //get 7.html ! @fputs($open,"GET /7 HTTP/1.1\r\nUser-Agent:Mozilla\r\n\r\n"); ! $read = @fread($open, 1000); ! $text = explode("content-type:text/html", $read); ! $text = explode(",",$text[1]); ! @fclose($open); ! } ! } ! else ! { ! $text = array(); ! $er = '<p> Old php version! </p>'; } ! /* ! $scfp = fsockopen($scip, $scport, &$errno, &$errstr, $connect_timeout); ! if (!$scfp) ! { ! $scsuccs = 1; ! } ! */ + $scfp = @fsockopen($scip, $scport); + $scsuccs = ($scfp) ? '' : 1; ! if ($scfp) ! { ! @fputs($scfp, "GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n"); ! while(!feof($scfp)) ! { ! $page .= @fgets($scfp, 1000); ! } ! $loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS", "MAXLISTENERS", "BITRATE", "SERVERGENRE", "SONGURL", "SERVERURL", "REPORTEDLISTENERS"); ! $y=0; ! while($loop[$y] != '') ! { ! $pageed = ereg_replace(".*<$loop[$y]>", "", $page); ! $scphp = strtolower($loop[$y]); ! $$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed); ! if($loop[$y] == STREAMSTATUS || $loop[$y] == BITRATE || $loop[$y] == SERVERTITLE || $loop[$y] == SERVERGENRE || $loop[$y] == CURRENTLISTENERS || $loop[$y] == MAXLISTENERS || $loop[$y] == SONGURL || $loop[$y] == SERVERURL || $loop[$y] == SONGTITLE || $loop[$y] == REPORTEDLISTENERS) ! { ! $$scphp = urldecode($$scphp); ! } ! $y++; ! } ! $pageed = ereg_replace(".*<SONGHISTORY>", "", $page); ! $pageed = ereg_replace("</SONGHISTORY>.*", "", $pageed); ! $songatime = explode("<SONG>", $pageed); ! //$streamstatus = ereg_replace(".*<STREAMSTATUS>", "", $page); ! //$streamstatus = ereg_replace("</STREAMSTATUS>.*", "", $pageed); ! $r = 1; ! while($songatime[$r] != "") ! { ! $t = $r - 1; ! $playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]); ! $playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]); ! $song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]); ! $song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]); ! $song[$t] = urldecode($song[$t]); ! $dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page); ! $dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed); ! $r++; ! } ! @fclose($scfp); ! ! $text[1] = ($text[1] == 1) ? $text[1] : $streamstatus; ! //$text[2] = !empty($text[2]) ? $text[2] : $currentlisteners; ! $text[3] = !empty($text[3]) ? $text[3] : $maxlisteners; ! $text[5] = !empty($text[5]) ? $text[5] : $bitrate; ! $text[6] = !empty($text[6]) ? $text[6] : $song[0]; ! } ! else ! { ! $shoutcastserver = $station = $servertitle = $shotcast_config['shotcast_name']; ! $currentlisteners = "0"; ! $bitrate = "56"; ! $song[0] = "Unknon Artist"; ! $maxlisteners = "32"; ! $servergenre = ""; ! $songurl = ""; ! $serverurl = ""; ! $reportedlisteners = ""; ! $er = '<p>' . $lang['Socket_functions_disabled'] . '</p>'; } ! if (isset($_GET['status'])) ! { ! $status = $_GET['status']; ! } ! else ! { ! $status = "stop"; } ! ! if (isset($_GET['z'])) ! { ! $z = $_GET['z']; ! } ! else ! { ! $z = "wmp"; } ! if ($z == 'wmp') ! { ! $mode = 'real'; ! } ! elseif ($z == 'real') ! { ! $mode = 'wmp'; } + ?> \ No newline at end of file Index: moreinfo.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/moreinfo.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** moreinfo.php 6 Jun 2007 23:18:01 -0000 1.1 --- moreinfo.php 2 Oct 2007 05:00:23 -0000 1.1.2.1 *************** *** 9,17 **** */ ! include "getinfo.php"; ! if ($text[1]==1) { $state = "Up"; } else { $state = "Down"; } ! if ($text[2]=="") { $text[2] = $currentlisteners; } ! if ($text[5]=="") { $text[5] = $bitrate; } ! if ($song[0]=="") { $song[0] = $text[6]; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" --- 9,24 ---- */ ! @define('IN_PORTAL', 1); ! ! $module_root_path = './'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! include($module_root_path . 'shotcast_config.'.$phpEx); ! include($module_root_path . 'getinfo.'.$phpEx); ! ! $state = ($text[1] == 1) ? 'Up' : 'Down'; ! $text[2] = !empty($text[2]) ? $text[2] : $currentlisteners; ! $text[5] = !empty($text[5]) ? $text[5] : $bitrate; ! $song[0] = !empty($song[0]) ? $song[0] : $text[6]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" Index: play_real.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/play_real.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** play_real.php 6 Jun 2007 23:18:03 -0000 1.1 --- play_real.php 2 Oct 2007 05:00:24 -0000 1.1.2.1 *************** *** 1,3 **** ! <?php include "getinfo.php";?> <html> <head> --- 1,17 ---- ! <?php ! ! define( 'IN_PORTAL', 1 ); ! ! $module_root_path = './'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! include($module_root_path . 'shotcast_config.'.$phpEx); ! ! if (empty($song[0])) ! { ! $song[0] = $text[6]; ! } ! ! ?> <html> <head> Index: play_wmp.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/play_wmp.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** play_wmp.php 6 Jun 2007 23:18:05 -0000 1.1 --- play_wmp.php 2 Oct 2007 05:00:24 -0000 1.1.2.1 *************** *** 1,3 **** ! <?php include "getinfo.php";?> <html><head> <STYLE type=text/css>BODY { --- 1,17 ---- ! <?php ! ! define( 'IN_PORTAL', 1 ); ! ! $module_root_path = './'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! include($module_root_path . 'shotcast_config.'.$phpEx); ! ! if (empty($song[0])) ! { ! $song[0] = $text[6]; ! } ! ! ?> <html><head> <STYLE type=text/css>BODY { Index: shotcast.pak =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast.pak,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** shotcast.pak 6 Jun 2007 23:18:13 -0000 1.1 --- shotcast.pak 2 Oct 2007 05:00:28 -0000 1.1.2.1 *************** *** 1,18 **** ! module=+:1000=+:shotcast=+:modules/mx_shotcast/=+:mx_shotcast=+:1 ! New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:1000=+:1010=+:shotcast Front=+:=+:shotcast_front.php=+: ! parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:1020=+:shotcast Front=+:=+:1010=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:45=+:45=+:Shotcast Save Front=+:=+:shotcast_save_front.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:37=+:Shotcast Save Front=+:Demo block=+:45=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:46=+:99=+:Last 10=+:Shotcast Last 10 block =+:last10.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Last 10=+:Demo block=+:99=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:71=+:191=+:Shotcast Stats=+:Shotcast Statinstics block =+:shotcast_stats.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Shotcast Stats=+:Demo block=+:99=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,14 ---- ! 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 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: OryNider <ory...@us...> - 2007-10-02 05:01:11
|
Update of /cvsroot/mxbb/mx_shotcast/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12867/includes Modified Files: Tag: core28x common.php Log Message: upgrading... |
|
From: OryNider <ory...@us...> - 2007-10-02 05:00:53
|
Update of /cvsroot/mxbb/mx_shotcast/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12867/admin Modified Files: Tag: core28x admin_shotcast.php Log Message: upgrading... Index: admin_shotcast.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/admin/admin_shotcast.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** admin_shotcast.php 6 Jun 2007 23:17:56 -0000 1.1 --- admin_shotcast.php 2 Oct 2007 05:00:13 -0000 1.1.2.1 *************** *** 27,31 **** if( !empty($setmodules) ) { ! $module['shotcast']['Settings'] = 'modules/mx_shotcast/admin/' . @basename(__FILE__); return; } --- 27,31 ---- if( !empty($setmodules) ) { ! $module['ShotCast']['Settings'] = 'modules/mx_shotcast/admin/' . @basename(__FILE__); return; } *************** *** 82,86 **** if( !$db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Failed to update shotcast configuration for $config_name", "", __LINE__, __FILE__, $sql); } } --- 82,86 ---- if( !$db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Failed to update shotcast configuration for $config_name", "", __LINE__, __FILE__, $sql); } } *************** *** 91,99 **** if ($new['show_status']=="true") { ! $show_status="<select name=\"show_status\" size=1><option value=\"true\" selected>on<option value=\"false\">off</select>"; } else { ! $show_status="<select name=\"show_status\" size=1><option value=\"true\">on<option value=\"false\" selected>off</select>"; } --- 91,99 ---- if ($new['show_status']=="true") { ! $show_status = "<select name=\"show_status\" size=1><option value=\"true\" selected>on<option value=\"false\">off</select>"; } else { ! $show_status = "<select name=\"show_status\" size=1><option value=\"true\">on<option value=\"false\" selected>off</select>"; } *************** *** 121,124 **** --- 121,125 ---- 'L_SHOW_LISTEN' => $lang['show_listen'], 'L_SHOW_LISTEN_INFO' => $lang['show_listen_info'], + 'L_FORCE_ONLINE' => !empty($lang['Force_Online']) ? $lang['Force_Online'] : 'Force Online', "L_NO" => $lang['No'], "L_YES" => $lang['Yes'], *************** *** 132,139 **** ! //GUI_SETTING 'USER_STATE_BUTTON' => $user_state_button, ! 'S_LISTEN_YES' => $show_listen_select_yes, 'S_LISTEN_NO' => $show_listen_select_no, 'SHOW_STATUS' => $show_status) ); --- 133,142 ---- ! //GUI_SETTING 'USER_STATE_BUTTON' => $user_state_button, ! 'S_LISTEN_YES' => $show_listen_select_yes, 'S_LISTEN_NO' => $show_listen_select_no, + 'FORCE_ON_ENABLED' => ($new['force_online'] == 1) ? 'checked="checked"' : '', + 'FORCE_ON_DISABLED' => ($new['force_online'] == 0) ? 'checked="checked"' : '', 'SHOW_STATUS' => $show_status) ); |
|
From: OryNider <ory...@us...> - 2007-10-02 05:00:42
|
Update of /cvsroot/mxbb/mx_shotcast/doc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12867/doc Modified Files: Tag: core28x test.txt Log Message: upgrading... Index: test.txt =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/doc/test.txt,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** test.txt 6 Jun 2007 23:18:18 -0000 1.1 --- test.txt 2 Oct 2007 05:00:33 -0000 1.1.2.1 *************** *** 1,2 **** ! 84.19.182.24:8000 ! 67.15.50.243:10040 \ No newline at end of file --- 1,3 ---- ! 209.85.88.199:10040 ! tv3.stream-music.net:8188 ! lewebradio3.net:9060 |
|
From: OryNider <ory...@us...> - 2007-10-02 04:57:34
|
Update of /cvsroot/mxbb/mx_shotcast/templates/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10105/templates/images Removed Files: Tag: core28x icon_radio.gif icon_radio_hot.gif offline.gif online.gif real_front.gif shotcast_front_01.gif shotcast_front_02.gif shotcast_front_03.gif spacer.gif wmp_front.gif Log Message: remouving/moving files... --- spacer.gif DELETED --- --- icon_radio_hot.gif DELETED --- --- online.gif DELETED --- --- wmp_front.gif DELETED --- --- offline.gif DELETED --- --- real_front.gif DELETED --- --- shotcast_front_01.gif DELETED --- --- shotcast_front_03.gif DELETED --- --- shotcast_front_02.gif DELETED --- --- icon_radio.gif DELETED --- |
|
From: OryNider <ory...@us...> - 2007-10-02 04:57:33
|
Update of /cvsroot/mxbb/mx_shotcast/templates/gateway_files In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10105/templates/gateway_files Removed Files: Tag: core28x adview.gif adx.js iframe_bg.png mp3.gif scripts.css wmp.gif Log Message: remouving/moving files... --- iframe_bg.png DELETED --- --- mp3.gif DELETED --- --- adx.js DELETED --- --- adview.gif DELETED --- --- scripts.css DELETED --- --- wmp.gif DELETED --- |
|
From: OryNider <ory...@us...> - 2007-10-02 04:57:29
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10105 Removed Files: Tag: core28x last10.php Log Message: remouving/moving files... --- last10.php DELETED --- |
|
From: OryNider <ory...@us...> - 2007-10-02 04:52:39
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4141 Modified Files: shotcast_config.php shotcast_front.php shotcast_last10.php shotcast_stats.php Log Message: Index: shotcast_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_front.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shotcast_front.php 2 Oct 2007 04:40:17 -0000 1.2 --- shotcast_front.php 2 Oct 2007 04:52:17 -0000 1.3 *************** *** 20,24 **** // //error_reporting( E_ALL ); ! ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- --- 20,24 ---- // //error_reporting( E_ALL ); ! @ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- Index: shotcast_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_config.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shotcast_config.php 2 Oct 2007 04:40:16 -0000 1.2 --- shotcast_config.php 2 Oct 2007 04:52:16 -0000 1.3 *************** *** 21,25 **** } ! define('_SHOTCAST_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); --- 21,25 ---- } ! @define('_SHOTCAST_CONFIG', true); include_once($module_root_path .'includes/common.'.$phpEx); Index: shotcast_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_stats.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shotcast_stats.php 2 Oct 2007 04:40:20 -0000 1.2 --- shotcast_stats.php 2 Oct 2007 04:52:18 -0000 1.3 *************** *** 13,17 **** // //error_reporting( E_ALL ); ! ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- --- 13,17 ---- // //error_reporting( E_ALL ); ! @ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- Index: shotcast_last10.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_last10.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_last10.php 2 Oct 2007 04:48:40 -0000 1.1 --- shotcast_last10.php 2 Oct 2007 04:52:18 -0000 1.2 *************** *** 13,17 **** // //error_reporting( E_ALL ); ! ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- --- 13,17 ---- // //error_reporting( E_ALL ); ! @ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- |
|
From: OryNider <ory...@us...> - 2007-10-02 04:49:42
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1069 Added Files: shotcast_front.tpl shotcast_stats.tpl Log Message: adding file back. --- NEW FILE: shotcast_front.tpl --- <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="forumline"> <tr> <th class="thHead" align="center"> {L_TITLE} </th> </tr> <tr> <td> <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border:none; padding:4px;"> <tr> <!-- BEGIN switch_listeners_list_on --> <td class="row1" align="center" valign="middle" rowspan="3"> <!-- END switch_listeners_list_on --> <!-- BEGIN switch_listeners_list_off --> <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=112')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> <span class="gensmall">{TOTAL_LISTENERS_ONLINE}, {TOTAL_LISTENERS_PEAK}</span> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall"> <!-- BEGIN switch_user_logged_out --> [ {L_LOGIN_TO_LISTEN_STATION} ] <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> [ <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_STATION}','','scrollbars=no,resizable=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 --> [ {L_ALREADY_LISTENING} ] <!-- END switch_user_listening --> </span> </td> </tr> <!-- BEGIN switch_listeners_list_on --> <tr> <td class="row1" align="left"> <span class="gensmall">{LISTENERS_LIST}</span> </td> </tr> <!-- END switch_listeners_list_on --> </table> </td> </tr> </table> <br clear="all" /> --- NEW FILE: shotcast_stats.tpl --- <head> <style type="text/css"> <!-- .table {font-family: Verdana; font-size: 10px;} td.nav { border-top: 1px solid #FFFFFF; border-bottom: 1px solid #859288; padding: 1px 0 1px 5px; font-weight: bold; font-size: 12px} td.stat { border-top: 1px solid #FFFFFF; border-bottom: 1px solid #859288; padding: 1px 0 1px 5px; color: #000e88;} --> </style> </head> <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="forumline"> <tr> <td> <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border:none; padding:4px;"> <tr> <td class="row1" align="center" valign="middle" rowspan="1"> <img src="{SHOTCAST_STATE_IMG}" alt="{L_VERSION}" border="0" /> </td> </tr> <tr> <td class="row1" align="left"> <span class="gensmall"> <tr class="table"> <td class="nav" align="left" valign="bottom"> <h8><b>{L_STATION} <i>{S_STATION}</i></b></h8> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <b>{L_STATE} <i>{S_STATE}</i></b> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_SERVER_TITLE} <b>{S_SERVER_TITLE}</b></i> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_SERVERGENRE} <b>{S_SERVERGENRE}</b></i> </td> </tr> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_SONGURL} <b><a href="{S_SONGURL}">{S_SONGURL}</a></b></i> </td> </tr> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_SONG} <b>{S_SONG}</b></i> </td> </tr> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_BITRATE} <b>{S_BITRATE} kbps</b></i> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_REPORTEDLISTENERS} <b>{S_REPORTEDLISTENERS}</b></i> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_PEAK_LISTENERS} <b>{S_PEAK_LISTENERS}</b></i> </td> </tr> <tr class="table"> <td class="stat" align="left" valign="bottom"> <i>{L_MAX_LISTENERS} <b>{S_MAX_LISTENERS}</b></i></td> </tr> </span> </td> </tr> </table> </td> </tr> </table> <br clear="all" /> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:49:40
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1069/admin Added Files: shotcast_config_body.tpl Log Message: adding file back. --- NEW FILE: shotcast_config_body.tpl --- <center><h1>{L_SHOTCAST_SETTINGS}</h1> <p>{L_SHOTCAST_SETTINGS_EXPLAIN}<br /></p></center> <form enctype="multipart/form-data" action="{S_ACTION}" method=post> <table width="640" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_SHOTCAST_SETTINGS}</th> </tr> <tr> <td class="row1"><p><b>{L_SHOTCAST}:</b><br></p></td> <td class="row2"><input type="text" maxlength="64" size="54" name="shotcast_name" value="{STATION_NAME}" /></td> </tr> <tr> <td class="row1"><p><b>{L_STREAM}:</b><br></p></td> <td class="row2"><input type="text" maxlength="64" size="54" name="shotcast_host" value="{STATION_HOST}" /></td> </tr> <tr> <td class="row1"><p><b>{L_PORT}:</b><br></p></td> <td class="row2"><input type="text" maxlength="64" size="54" name="shotcast_port" value="{STATION_PORT}" /></td> </tr> <tr> <td class="row1"><p><b>{L_PASS}:</b><br></p></td> <td class="row2"><input type="text" maxlength="64" size="54" name="shotcast_pass" value="{STATION_PASS}" /></td> </tr> <tr> <td class="row1"><p><b>{L_PLAY_LIST}:</b><br></p></td> <td class="row2"><input type="text" maxlength="64" size="54" name="play_list" value="{PLAY_LIST}" /></td> </tr> <tr> <td class="row1"><p><b>{L_CHECK_PERIOD}:</b><br><span class="gensmall">{L_CHECK_PERIOD_EXPLAIN}</span></p></td> <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> <tr> <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> <td class="row2"> <select name="show_listen_select" class="forminput"> <option value="1"{S_LISTEN_YES}>{L_YES}</option> <option value="0"{S_LISTEN_NO}>{L_NO}</option> </select></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /> </td> </tr> </table> <br> </form> <br clear="all" /> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:49:27
|
Update of /cvsroot/mxbb/mx_shotcast/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv617 Added Files: adview.gif icon_radio.gif icon_radio_hot.gif iframe_bg.png mp3.gif offline.gif online.gif real_front.gif shotcast_front_01.gif shotcast_front_02.gif shotcast_front_03.gif spacer.gif wmp.gif wmp_front.gif Log Message: adding file back. --- NEW FILE: iframe_bg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mp3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_radio_hot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wmp_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: real_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shotcast_front_01.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wmp.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: adview.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shotcast_front_03.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shotcast_front_02.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_radio.gif --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2007-10-02 04:48:49
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32315 Added Files: shotcast_last10.php stop_real.php stop_wmp.php Log Message: adding file back. --- NEW FILE: stop_wmp.php --- <?php define( 'IN_PORTAL', 1 ); $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($module_root_path . 'shotcast_config.'.$phpEx); if (empty($song[0])) { $song[0] = $text[6]; } ?> <html><head> <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; } </STYLE> </head><body> <TABLE cellSpacing=0 cellPadding=0 width=315 border=0> <TBODY> <TR> <TD vAlign=top align=left> <TABLE cellSpacing=0 cellPadding=0 width=300 border=0> <TBODY> <!-- Check Media Player Version --> <SCRIPT LANGUAGE="JavaScript"> var WMP7; var Mac; var Win; var Unix; var Linux; Win = navigator.userAgent.indexOf("Win") > -1; Mac = navigator.userAgent.indexOf("Mac") > -1; Unix = navigator.appVersion.indexOf("X11") > -1; Linux = navigator.appVersion.indexOf("Linux") > -1; if (Mac) { if ( navigator.appName == "Netscape" ){ //Netscape code document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="http://<?=$scip;?>:<?=$scport;?>"'); document.write (' src="http://<?=$scip;?>:<?=$scport;?>"'); 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=354>'); document.write (' </Embed>'); } if ( navigator.appName != "Netscape" ){ document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="332" height="354" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="1" src="http://<?=$scip;?>:<?=$scport;?>" ></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="354">'); document.write ('<PARAM NAME="url" VALUE="http://<?=$scip;?>:<?=$scport;?>">'); document.write ('<PARAM NAME="AutoStart" VALUE="false">'); 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="http://<?=$scip;?>:<?=$scport;?>"'); document.write (' src="http://<?=$scip;?>:<?=$scport;?>"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' width="332"'); document.write (' height="354">'); 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="354">'); document.write (' <PARAM NAME="FileName" VALUE="http://<?=$scip;?>:<?=$scport;?>">'); document.write ('<PARAM NAME="url" VALUE="http://<?=$scip;?>:<?=$scport;?>"> '); 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="http://<?=$scip;?>:<?=$scport;?>"'); document.write (' src="http://<?=$scip;?>:<?=$scport;?>"'); document.write (' Name="MediaPlayer"'); document.write (' ShowControls="1"'); document.write (' ShowDisplay="1"'); document.write (' ShowStatusBar="1"'); document.write (' AUTOSTART="false"'); document.write (' width="332"'); document.write (' height="354">'); document.write (' </embed>'); document.write ('</OBJECT>'); } } else { document.write(' <embed type="audio/mpeg" width="332" height="354" AUTOSTART="1" filename="http://<?=$scip;?>:<?=$scport;?>" src="http://<?=$scip;?>:<?=$scport;?>" ></embed>'); } </SCRIPT> </TD></TR> </TBODY></TABLE> </body> </html> --- NEW FILE: stop_real.php --- <?php define( 'IN_PORTAL', 1 ); $module_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($module_root_path . 'shotcast_config.'.$phpEx); if (empty($song[0])) { $song[0] = $text[6]; } ?> <html> <head> <title>RealMedia</title> </head> <body> <p> <object id="RVOCX" classid="CLSID:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="320" height="172"> <param name="SRC" value="http://<?=$scip;?>:<?=$scport;?>/<?=$playlist;?>"> <param name="CONTROLS" value="ImageWindow"> <param name="CONSOLE" value="cons"> <embed autostart="true" src="http://<?=$scip;?>:<?=$scport;?>/<?=$playlist;?>" type="audio/x-pn-realaudio-plugin" width="320" height="172" controls="ImageWindow" console="cons"> </embed> <param name="autostart" value="false"> </object> </p> <p> <object id=RVOCX classid="CLSID:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" width="320" height="30" > <param name="SRC" value="http://<?=$scip;?>:<?=$scport;?>/<?=$playlist;?>"> <param name="CONTROLS" value="ControlPanel"> <param name="CONSOLE" value="cons"> <embed src="http://<?=$scip;?>:<?=$scport;?>/<?=$playlist;?>" type="audio/x-pn-realaudio-plugin" width="320" height="30" controls="ControlPanel" console="cons" > </embed> </object> </p> </body> </html> --- NEW FILE: shotcast_last10.php --- <?php /** * * @package mxBB Portal Module - mx_shotcast * @version $Id: shotcast_last10.php,v 1.1 2007/10/02 04:48:40 orynider Exp $ * @copyright (c) 2002-2006 [OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ERROR HANDLING // //error_reporting( E_ALL ); ini_set( 'display_errors', '1' ); // -------------------------------------------------------------------------------- // Security check // if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Common Includes and Read Module Settings // if( !file_exists($module_root_path . 'includes/common.'.$phpEx) ) { mx_message_die(GENERAL_ERROR, "Could not find mx_shotcast includes folder.", "", __LINE__, __FILE__); } @define('_SHOTCAST_CONFIG', true); include_once($module_root_path . 'includes/common.'.$phpEx); include_once($module_root_path . 'getinfo.'.$phpEx); $bgcolor = '#ffffff'; // Page background color $tablew = '100%'; // Table width $tableh = '1'; $toprow = '#c0c0c0'; // Top background color $bottom = '#ffffff'; // Bottom background color $border = '#000000'; // Border color $thickness = '2'; // Border thickness $padding = '4'; // Cell padding $font = 'Verdana'; // Font $fontsize = '2'; // Font size $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); $refresh = '30'; // How often should it refresh? (seconds) // Return JavaScript or HTML $jsOutput=FALSE; // TRUE=js | FALSE=HTML // try to get the target from the url... /* $host = $_REQUEST[host]; if (!$host) $host = $yourIP; $port = $_REQUEST[port]; if (!$port) $port = $yourPORT; */ $host = $shotcast_config['shotcast_host']; // IP adress or domain $port = $shotcast_config['shotcast_port']; // Port if( empty($lang['Before_that_you_heard']) && empty($lang['Now_Playing']) ) { $lang['Before_that_you_heard'] = "Before that you heard"; $lang['Now_Playing'] = "Now Playing"; $lang['Off_Air'] = "The server is <b>Off-Air</b>, try again later."; } $lf = chr(10); // 0x0A [\n] // The lastN is configurable at the DNAS with, ShowLastSongs= it defaults to 10 and has a maximum of 20 $t_max = $_REQUEST[n]; if (!t_max || $t_max<1 || $t_max>19) $t_max=10; //19 is the max here because 20=current_track+19 // Let's get /index.html first... to keep this short, there is no code to handle the dnas being down // or not running, so the script will display nothing in those cases. $connect_timeout=5; $success=0; if (@phpversion() >= '5.0.0' && ($text[1] == 1)) { $state = "Up"; } else { $state = "Down"; } if (@phpversion() < '5.0.0') { $state = "Up"; } $fp1 = @fsockopen($host, $port, &$errno, &$errstr, $connect_timeout); //open connection if (!$fp1) { //if this fails, I'm done.... $er = '<p>' . $lang['Socket_functions_disabled'] . '</p>'; @fclose($fp1); $success++; } else { $er = ''; $request="GET /index.html HTTP/1.1\r\nHost:" . $host . ":" . $port . "\r\nUser-Agent: SHOUTcast DNAS Status [index] * (Mozilla/PHP)\r\nConnection: close\r\n\r\n"; //get index.html @fputs($fp1,$request,strlen($request)); $page=''; while(!feof($fp1)) { $page .= fread($fp1, 16384); } @fclose($fp1); // now I have the entire /index.html in $page -- all I want from here is the current track... // (hint-hint) $song00 = ereg_replace("</b></td>.*", "", ereg_replace(".*Current Song: </font></td><td><font class=default><b>", "", $page)); // easy, right <img src="images/smilies/smile.gif" border="0" alt=""> // now let's get /played.html... (this is kinda long) $fp = @fsockopen($host, $port, &$errno, &$errstr, $connect_timeout); if(!$fp) { //if connection could not be made @fclose($fp); $success++; } else { $request="GET /played.html HTTP/1.1\r\nHost: " . $host . ":" . $port . "\r\nUser-Agent: SHOUTcast DNAS Status [played] * (Mozilla/PHP)\r\n"."Connection: close\r\n\r\n"; @fputs($fp,$request,strlen($request)); $page=''; while (!feof($fp)) { $page .= @fread($fp, 16384); } @fclose($fp); //close connection $played_html=$page; if ($played_html) { $played_html = ereg_replace('<x>','|-|',ereg_replace('</tr>','',ereg_replace('</td><td>','<x>',ereg_replace('<tr><td>','',ereg_replace('</tr>','</tr>' . $lf,ereg_replace('-->','--]',ereg_replace('<!--','[!--',ereg_replace('</table><br><br>.*','',ereg_replace('.*<b>Current Song</b></td></tr>','',$played_html))))))))); $xxn = strlen($played_html); $r = 2; $t_count = 0; $reading = 0; $track[0] = $song00; while ($r<$xxn & $t_count<=$t_max) { $cur = substr($played_html,$r,1); if ($cur == $lf) { $reading=0; } if ($reading == 1) { $track[$t_count] .= $cur; } if ($cur == "|" & substr($played_html,$r-1,1) == "-" & substr($played_html,$r-2,1) == "|") { $reading = 1; $t_count++; } $r++; } } } } // I now have $track[0-N] containg the current plus last N tracks... // Output time... if (!empty($er)) { // I couldn't connect to the DNAS $r = 0; $output_string = ''; $output_string .= '<table width="' . $tablew . '" height="' . $tableh . '" class="forumline" border="' . $thickness . '" bordercolor="' . $border . '"><tr bgcolor="' . $toprow . '"><td vAlign=top> <table width="100%" border="0" cellpadding="' . $padding . '"><tr><td> <font face=' . $font . ' size=' . $fontsize . '>' . $er; //Now playing... if ($success != 0) { $output_string .= '<td><tr>'; } if ($success == 0) { while ($r <= $t_max) { if ($r==0) { $output_string .= '<tr><td vAlign=top> ' . $lang['Before_that_you_heard'] . ' :</i><br><br>'; } else { $output_string .= str_replace("'", "'",str_replace('"', '"',$track[$r])) . '<br>'; } $r++; } } // I also want to close the table code now.... $output_string .= '</td></tr></font></td></tr></table></td></tr></table>'; echo $output_string . ''; } else if ($success == 0 && $state == "Up") { echo " <table width=\" . $block_size . \" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"forumline\">\n"; $r = 0; $output_string=''; //tweak the output string (the table init) here.... $output_string .= '<table width="' . $tablew . '" height="' . $tableh . '" class="forumline" border="' . $thickness . '" bordercolor="' . $border . '"><tr bgcolor="' . $toprow . '"><td vAlign=top> <table width="100%" border="0" cellpadding="' . $padding . '"><tr><td vAlign=top> <font face=' . $font . ' size=' . $fontsize . '>'; //Now playing... while ($r<=$t_max) { if ($r==0) { $output_string .= $lang['Now_Playing'] . ': <A><b>'.str_replace("'", "'",str_replace('"', '"',$track[$r])).'</b></A></td></tr></table></td></tr><tr><td><table bgcolor=' . $bottom . ' width="100%" border="0" cellpadding="' . $padding . '"><tr><td><br><font face=' . $font . ' size=' . $fontsize . '> ' . $lang['Before_that_you_heard'] . ' :<b><br><br>'; } else { $output_string .= str_replace("'", "'",str_replace('"', '"',$track[$r])) . '<br>'; } $r++; } // I also want to close the table code now.... $output_string .= '</b></font></td></tr></table></td></tr></table>'; echo $output_string . ''; } else { // I couldn't connect to the DNAS $r = 0; $output_string = ''; $output_string .= '<table width="' . $tablew . '" height="' . $tableh . '" class="forumline" border="' . $thickness . '" bordercolor="' . $border . '"><tr bgcolor="' . $toprow . '"><td vAlign=top> <table width="100%" border="0" cellpadding="' . $padding . '"><tr><td> <font face=' . $font . ' size=' . $fontsize . '>' . $lang['Off_Air']; //Now playing... if ($success != 0) { $output_string .= '<td><tr>'; } if ($success == 0) { while ($r <= $t_max) { if ($r==0) { $output_string .= '<tr><td vAlign=top> ' . $lang['Before_that_you_heard'] . ' :</i><br><br>'; } else { $output_string .= str_replace("'", "'",str_replace('"', '"',$track[$r])) . '<br>'; } $r++; } } // I also want to close the table code now.... $output_string .= '</td></tr></font></td></tr></table></td></tr></table>'; echo $output_string . ''; } ?> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:47:04
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30477/admin Log Message: Directory /cvsroot/mxbb/mx_shotcast/templates/_core/admin added to the repository |
|
From: OryNider <ory...@us...> - 2007-10-02 04:46:49
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30305/_core Log Message: Directory /cvsroot/mxbb/mx_shotcast/templates/_core added to the repository |
|
From: OryNider <ory...@us...> - 2007-10-02 04:44:41
|
Update of /cvsroot/mxbb/mx_shotcast/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28390 Modified Files: shotcast_front.tpl Log Message: upgrading... Index: shotcast_front.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/subSilver/shotcast_front.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_front.tpl 6 Jun 2007 23:21:16 -0000 1.1 --- shotcast_front.tpl 2 Oct 2007 04:44:36 -0000 1.2 *************** *** 14,18 **** <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=200')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> --- 14,18 ---- <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=112')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> *************** *** 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=200')">{L_CLICK_TO_LISTEN_STATION}</a> ] ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_WMP}','','scrollbars=no,resizable=yes,width=350,height=200')"><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=200')"><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}','','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 --> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:44:40
|
Update of /cvsroot/mxbb/mx_shotcast/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28390/admin Modified Files: shotcast_config_body.tpl Log Message: upgrading... Index: shotcast_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/subSilver/admin/shotcast_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_config_body.tpl 6 Jun 2007 23:21:44 -0000 1.1 --- shotcast_config_body.tpl 2 Oct 2007 04:44:36 -0000 1.2 *************** *** 31,34 **** --- 31,38 ---- <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> + <tr> + <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> + <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> + </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:44:12
|
Update of /cvsroot/mxbb/mx_shotcast/templates/pubOry In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28002 Modified Files: shotcast_front.tpl Log Message: upgrading... Index: shotcast_front.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/pubOry/shotcast_front.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_front.tpl 6 Jun 2007 23:21:15 -0000 1.1 --- shotcast_front.tpl 2 Oct 2007 04:44:07 -0000 1.2 *************** *** 14,18 **** <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=200')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> --- 14,18 ---- <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=112')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> *************** *** 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=200')">{L_CLICK_TO_LISTEN_STATION}</a> ] ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_WMP}','','scrollbars=no,resizable=yes,width=350,height=200')"><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=200')"><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}','','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 --> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:44:12
|
Update of /cvsroot/mxbb/mx_shotcast/templates/pubOry/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28002/admin Modified Files: shotcast_config_body.tpl Log Message: upgrading... Index: shotcast_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/pubOry/admin/shotcast_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_config_body.tpl 6 Jun 2007 23:21:32 -0000 1.1 --- shotcast_config_body.tpl 2 Oct 2007 04:44:06 -0000 1.2 *************** *** 31,34 **** --- 31,38 ---- <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> + <tr> + <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> + <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> + </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:43:45
|
Update of /cvsroot/mxbb/mx_shotcast/templates/blueGray In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27336 Modified Files: shotcast_front.tpl Log Message: upgrading... Index: shotcast_front.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/blueGray/shotcast_front.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_front.tpl 6 Jun 2007 23:20:47 -0000 1.1 --- shotcast_front.tpl 2 Oct 2007 04:43:39 -0000 1.2 *************** *** 14,18 **** <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=200')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> --- 14,18 ---- <td class="row1" align="center" valign="middle" rowspan="2"> <!-- END switch_listeners_list_off --> ! <a href="javascript:void(0);" onClick="window.open('{S_MOREINFO}','','scrollbars=no,resizable=yes,width=350,height=112')"><img src="{SHOTCAST_IMG}" alt="{L_VERSION}" border="0" /></a> </td> <td class="row1" align="left"> *************** *** 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=200')">{L_CLICK_TO_LISTEN_STATION}</a> ] ! <a href="javascript:void(0);" onClick="window.open('{S_LISTEN_WMP}','','scrollbars=no,resizable=yes,width=350,height=200')"><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=200')"><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}','','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 --> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:43:43
|
Update of /cvsroot/mxbb/mx_shotcast/templates/blueGray/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27336/admin Modified Files: shotcast_config_body.tpl Log Message: upgrading... Index: shotcast_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/blueGray/admin/shotcast_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_config_body.tpl 6 Jun 2007 23:20:46 -0000 1.1 --- shotcast_config_body.tpl 2 Oct 2007 04:43:37 -0000 1.2 *************** *** 31,34 **** --- 31,38 ---- <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> + <tr> + <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> + <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> + </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> |
|
From: OryNider <ory...@us...> - 2007-10-02 04:43:16
|
Update of /cvsroot/mxbb/mx_shotcast/templates/SwiftBlue/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26138/admin Modified Files: shotcast_config_body.tpl Log Message: upgrading... Index: shotcast_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/SwiftBlue/admin/shotcast_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** shotcast_config_body.tpl 6 Jun 2007 23:20:32 -0000 1.1 --- shotcast_config_body.tpl 2 Oct 2007 04:42:40 -0000 1.2 *************** *** 31,34 **** --- 31,38 ---- <td class="row2"><input type="text" maxlength="16" size="16" name="check_period" value="{CHECK_PERIOD}" /></td> </tr> + <tr> + <td class="row1"><span class="genmed">{L_FORCE_ONLINE}:</span></td> + <td class="row2"><span class="genmed"><input type="radio" {FORCE_ON_ENABLED} name="force_online" value="1" />{L_YES} <input type="radio" {FORCE_ON_DISABLED} name="force_online" value="0" />{L_NO}</span></td> + </tr> <tr> <td class="row1">{L_SHOW_LISTEN}<br><span class="gensmall">{L_SHOW_LISTEN_INFO}</span></td> |