You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Florin C B. <ory...@us...> - 2013-07-22 18:12:43
|
Update of /cvsroot/mxbb/mx_radiocast/templates/_core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23915/_core Modified Files: radiocast_player_body.tpl Added Files: _core.cfg mx_radiocast.css Removed Files: mx_radiocast.cfg Log Message: Version 2.9.3 --- mx_radiocast.cfg DELETED --- --- NEW FILE: _core.cfg --- <?php /** * * @package mxBB Portal Module - mx_radiocast * @version $Id: _core.cfg,v 1.1 2013/07/22 18:12:40 orynider Exp $ * @copyright (c) 2002-2006 mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: _core.cfg,v 1.1 2013/07/22 18:12:40 orynider Exp $ // // Please note that to enable support of different languages // the ". LANG ." place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // Do not alter this line! $mx_template_config = true; // ------------------------------------------------------------------------- // Do some checks // ------------------------------------------------------------------------- $current_template_path = file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); $current_template_root_path = str_replace($module_root_path, "", $current_template_path); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); $current_module_images = !empty($current_template_root_path) && file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- $mx_images['post_station'] = "$current_template_images/{LANG}/icon_add_station.gif"; $mx_images['real_front'] = "$current_template_images/real_front.gif"; $mx_images['wmp_front'] = "$current_template_images/wmp_front.gif"; $mx_images['iframe_bg'] = "$current_template_images/iframe_bg.png"; $mx_images['no_image'] = "$current_template_images/no_image.gif"; $mx_images['radio_front'] = "$current_template_images/radio_front.gif"; // Use standard phpBB graphics // $mx_images['icon_quote'] = "$current_template_theme_images/{LANG}/icon_quote.gif"; $mx_images['icon_edit'] = "$current_template_theme_images/{LANG}/icon_edit.gif"; $mx_images['icon_search'] = "$current_template_theme_images/{LANG}/icon_search.gif"; $mx_images['icon_profile'] = "$current_template_theme_images/{LANG}/icon_profile.gif"; $mx_images['icon_pm'] = "$current_template_theme_images/{LANG}/icon_pm.gif"; $mx_images['icon_email'] = "$current_template_theme_images/{LANG}/icon_email.gif"; $mx_images['icon_delpost'] = "$current_template_theme_images/icon_delete.gif"; $mx_images['icon_ip'] = "$current_template_theme_images/{LANG}/icon_ip.gif"; $mx_images['icon_www'] = "$current_template_theme_images/{LANG}/icon_www.gif"; $mx_images['icon_icq'] = "$current_template_theme_images/{LANG}/icon_icq_add.gif"; $mx_images['icon_aim'] = "$current_template_theme_images/{LANG}/icon_aim.gif"; $mx_images['icon_yim'] = "$current_template_theme_images/{LANG}/icon_yim.gif"; $mx_images['icon_msnm'] = "$current_template_theme_images/{LANG}/icon_msnm.gif"; $mx_images['icon_minipost'] = "$current_template_theme_images/icon_minipost.gif"; $mx_images['icon_gotopost'] = "$current_template_theme_images/icon_minipost.gif"; $mx_images['icon_minipost_new'] = "$current_template_theme_images/icon_minipost_new.gif"; $mx_images['icon_latest_reply'] = "$current_template_theme_images/icon_latest_reply.gif"; $mx_images['icon_newest_reply'] = "$current_template_theme_images/icon_newest_reply.gif"; $mx_images['forum'] = "$current_template_theme_images/folder_big.gif"; $mx_images['forum_new'] = "$current_template_theme_images/folder_new_big.gif"; $mx_images['forum_locked'] = "$current_template_theme_images/folder_locked_big.gif"; ?> Index: radiocast_player_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/templates/_core/radiocast_player_body.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** radiocast_player_body.tpl 7 Dec 2011 19:46:59 -0000 1.4 --- radiocast_player_body.tpl 22 Jul 2013 18:12:40 -0000 1.5 *************** *** 419,422 **** --- 419,436 ---- <!-- END flv --> + <!-- BEGIN m3u8 --> + <div id="my-video">Loading the player...</div> + <script type='text/javascript'> + jwplayer('my-video').setup({ + file: '{STATION_URL}', + image: '{U_IMG}', + width: '{WIDTH}', + height: '{HEIGHT}', + autostart:'true', + stretching:'fill' + }); + </script> + <!-- END m3u8 --> + <!-- BEGIN xmod --> <div class="wordtube playlist2" id="WT999"> *************** *** 465,469 **** <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="{U_STATION}" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="true" kioskmode="true" cache="false"> </embed> </object> --- 479,483 ---- <param name="kioskmode" value="true"> <param name="cache" value="false"> ! <embed src="templates/_core/images/uneedqt41.jpg" qtsrc="{U_STATION}" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="true" kioskmode="true" cache="false"> </embed> </object> --- NEW FILE: mx_radiocast.css --- ul li, ul.menu li, .item-list ul li, li.leaf { padding: 0 0 0 0; list-style-type: none; list-style-image: none; } /* Thumbs Frame & Shadow - BEGIN */ .picframe{ display: block; } .picshadow{ display: block; } /* Thumbs Frame & Shadow - END */ /* Pic LightBox Preview - BEGIN */ #loader_container { text-align: center; position: absolute; top: 40%; width: 100%; } #loader { font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 10px; color: #000000; background-color: #FFFFFF; padding: 10px 0 16px 0; margin: 0 auto; display: block; width: 135px; border: 1px solid #777777; text-align: left; z-index: 255; } #progress { height: 5px; font-size: 1px; width: 10px; position: relative; top: 1px; left: 10px; background-color: #999999; } #loader_bg { background-color: #EEEEEE; position: relative; top: 8px; left: 8px; height: 7px; width: 113px; font-size: 1px } .border_preview{ font-family: "Trebuchet MS", Verdana, Tahoma, Helvetica, sans; font-size: 16px; color: #444444; padding: 10px 10px 10px 10px; z-index: 100; position: absolute; background: #FFFFFF; border: 2px dotted #336699; } .preview_temp_load { vertical-align: middle; text-align: center; padding: 10px; } .preview_temp_load img{ vertical-align: middle; text-align: center; } /* Pic LightBox Preview - END */ /* ACP - BEGIN */ .forumline_left { background-color: #F8F8F8; border-bottom: 2px #224488 solid; border-left: 2px #224488 solid; } .tab_links, a.tab_links:hover, a.tab_links:link, a.tab_links:active, a.tab_links:visited { font-size: 11px; color: #FF7722; text-decoration: none; } .tab_links_unsel, a.tab_links_unsel:hover, a.tab_links_unsel:link, a.tab_links_unsel:active, a.tab_links_unsel:visited { font-size: 11px; color: #333333; text-decoration: none; } a.tab_links:hover, a.tab_links_unsel:hover { color: #FFFFAA; text-decoration: underline; } .tab_headers, th.tab_headers { color: #FF7722; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #003366; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #006699; } .tab_headers_unsel, th.tab_headers_unsel { color: #333333; font-size: 11px; font-weight : bold; padding-left: 4px; padding-right: 8px; border: #336699; border-style: solid; border-width: 1px 1px 0px 1px; background-color: #6699AA; } .tab_border { background-color: #888888; border: 1px; } .filler, th.filler { background-color:#6699AA; background-image:none; } /* ACP - END */ |
|
From: Florin C B. <ory...@us...> - 2013-07-22 18:12:29
|
Update of /cvsroot/mxbb/mx_radiocast/language/lang_english In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23897/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Version 2.9.3 Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/language/lang_english/lang_main.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** lang_main.php 29 Jul 2009 19:58:27 -0000 1.6 --- lang_main.php 22 Jul 2013 18:12:26 -0000 1.7 *************** *** 1,6 **** ! <?php /** * ! * @package mxBB Portal Module - mx_radiocast * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team --- 1,6 ---- ! <?php /** * ! * @package MX Publisher Module - mx_radiocast * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team *************** *** 9,20 **** */ - // // Radio Cast - // $lang['Radio'] = 'Radio Cast'; - // // Radio Index - // $lang['Radio_Cast'] = 'Radio Cast'; $lang['Stations'] = 'Stations'; --- 9,16 ---- *************** *** 31,37 **** $lang['Singer'] = 'WebSite / Dj'; $lang['Poster'] = 'Posted by'; ! // // Category View - // $lang['Category_not_exist'] = 'This category does not exist'; $lang['Add_Station'] = 'Add Station'; --- 27,32 ---- $lang['Singer'] = 'WebSite / Dj'; $lang['Poster'] = 'Posted by'; ! // Category View $lang['Category_not_exist'] = 'This category does not exist'; $lang['Add_Station'] = 'Add Station'; *************** *** 59,65 **** $lang['Not_rated'] = '<i>not rated</i>'; - // // Upload - // $lang['Station_url'] = 'Station URL'; $lang['Station_Desc'] = 'Station Description'; --- 54,58 ---- *************** *** 110,116 **** $lang['Stations_deleted_successfully'] = 'These station(s) have been deleted successfully'; - // // ModCP - // $lang['Approval'] = 'Approval'; $lang['Approve'] = 'Approve'; --- 103,107 ---- *************** *** 127,133 **** $lang['Stations_unapproved_successfully'] = 'Your song(s) have been unapproved successfully'; - // // Rate - // $lang['Current_Rating'] = 'Current Rating'; $lang['Please_Rate_It'] = 'Please Rate It'; --- 118,122 ---- *************** *** 135,141 **** $lang['RadioCast_rate_successfully'] = 'Your song has been rated successfully'; - // // Comment - // $lang['Comment_no_text'] = 'Please enter your comment'; $lang['Comment_too_long'] = 'Your comment is too long'; --- 124,128 ---- *************** *** 143,149 **** $lang['Station_Locked'] = 'Sorry, this song was locked. So you cannot post comment for this song anymore'; - // // Station Image - // $lang['Station_image'] = 'Station Image'; $lang['Station_image_desc'] = 'The Image of this station<br />(such as Logo, Banner, Photo...)'; --- 130,134 ---- *************** *** 156,162 **** $lang['Upload_image_size_toobig'] = 'Your uploaded image size is too big'; - // // Search Station - // $lang['Search_station'] = 'Search station'; --- 141,145 ---- Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/language/lang_english/lang_admin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_admin.php 21 Mar 2008 08:51:08 -0000 1.3 --- lang_admin.php 22 Jul 2013 18:12:26 -0000 1.4 *************** *** 1,6 **** ! <?php /** * ! * @package mxBB Portal Module - mx_radiocast * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team --- 1,6 ---- ! <?php /** * ! * @package MX Publisher Module - mx_radiocast * @version $Id$ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team *************** *** 16,25 **** // Specify your language character encoding... [optional] // ! // setlocale(LC_ALL, "en"); ! ! $lang['display_most_posts'] = "Display most posts"; ! $lang['display_random_posts'] = "Display random posts"; ! $lang['display_top_ranked'] = "Display top ranked"; ! $lang['display_latest_posts'] = "Display latest posts"; $lang['num_of_cols'] = "Num of cols"; $lang['num_of_rows'] = "Num of rows"; --- 16,24 ---- // Specify your language character encoding... [optional] // ! //setlocale(LC_ALL, "en"); ! $lang['display_most_posts'] = "Display most posts"; ! $lang['display_random_posts'] = "Display random posts"; ! $lang['display_top_ranked'] = "Display top ranked"; ! $lang['display_latest_posts'] = "Display latest posts"; $lang['num_of_cols'] = "Num of cols"; $lang['num_of_rows'] = "Num of rows"; *************** *** 28,37 **** $lang['Click_return_radiocast_config'] = 'Click %sHere%s to return to mx_radiocast Configuration'; ! $lang['index'] = 'Mx RC Album Index'; ! $lang['mx_radiocast_admin'] = 'mxBB RC Integration'; $lang['mx_radiocast_admin_explain'] = 'Here, you can do radiocast index and mxBB page mappings.'; ! $lang['default_pages_title'] = 'mxBB and RC integration'; $lang['default_pages_title_explain'] = ''; --- 27,36 ---- $lang['Click_return_radiocast_config'] = 'Click %sHere%s to return to mx_radiocast Configuration'; ! $lang['index'] = 'MXP RC Album Index'; ! $lang['mx_radiocast_admin'] = 'MXP RC Integration'; $lang['mx_radiocast_admin_explain'] = 'Here, you can do radiocast index and mxBB page mappings.'; ! $lang['default_pages_title'] = 'MXP and RC integration'; $lang['default_pages_title_explain'] = ''; *************** *** 51,57 **** $lang['override_no'] = 'Use fixed mappings (see below)'; ! // // Configuration - // $lang['RadioCast_config'] = 'RadioCast Configuration'; $lang['RadioCast_config_explain'] = 'You can change the general settings of your RadioCast here'; --- 50,55 ---- $lang['override_no'] = 'Use fixed mappings (see below)'; ! // Configuration $lang['RadioCast_config'] = 'RadioCast Configuration'; $lang['RadioCast_config_explain'] = 'You can change the general settings of your RadioCast here'; *************** *** 76,82 **** $lang['Default_Sort_Order'] = 'Default Sort Order'; - // // Categories - // $lang['RadioCast_Categories_Title'] = 'RadioCast Categories Control'; $lang['RadioCast_Categories_Explain'] = 'On this screen you can manage your categories: create, alter, delete, sort, etc.'; --- 74,78 ---- *************** *** 101,107 **** $lang['Create_sub_radio'] = 'Create sub-radio'; - // // Permissions - // $lang['RadioCast_Auth_Title'] = 'RadioCast Permissions'; $lang['RadioCast_Auth_Explain'] = 'Here you can choose which usergroup(s) can be the moderators for each RadioCast category or just has the private access'; --- 97,101 ---- *************** *** 115,121 **** $lang['Comment'] = 'Comment'; - // // Stations Image - // $lang['Max_image_size'] = 'Max station image size (bytes)'; $lang['Max_image_width'] = 'Max station image width (pixel)'; --- 109,113 ---- |
|
From: Florin C B. <ory...@us...> - 2013-07-22 18:12:17
|
Update of /cvsroot/mxbb/mx_radiocast/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23830/admin Modified Files: admin_radio_auth.php admin_radio_cat.php admin_radio_cfg.php admin_radio_ext.php Log Message: Version 2.9.3 Index: admin_radio_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_ext.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_radio_ext.php 17 Jun 2013 16:11:28 -0000 1.6 --- admin_radio_ext.php 22 Jul 2013 18:12:14 -0000 1.7 *************** *** 16,22 **** } - // // Let's set the root dir for phpBB ! // $module_root_path = '../'; $mx_root_path = '../../../'; --- 16,21 ---- } // Let's set the root dir for phpBB ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 26,32 **** require($mx_root_path . 'admin/pagestart.' . $phpEx); - // // Get general radiocast information - // include($radiocast_root_path . 'radiocast_common.'.$phpEx); // include_once( $module_root_path . 'radiocast_mod/radiocast_constants.'.$phpEx ); --- 25,29 ---- Index: admin_radio_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_cat.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_radio_cat.php 17 Jun 2013 16:11:28 -0000 1.6 --- admin_radio_cat.php 22 Jul 2013 18:12:14 -0000 1.7 *************** *** 16,22 **** } - // // Let's set the root dir for phpBB ! // $module_root_path = './../'; $mx_root_path = './../../../'; --- 16,21 ---- } // Let's set the root dir for phpBB ! @define('IN_PORTAL', 1); $module_root_path = './../'; $mx_root_path = './../../../'; *************** *** 26,32 **** require($mx_root_path . 'admin/pagestart.' . $phpEx); - // // Get general music information - // include($radiocast_root_path . 'radiocast_common.'.$phpEx); --- 25,29 ---- Index: admin_radio_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_auth.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_radio_auth.php 17 Jun 2013 16:11:28 -0000 1.5 --- admin_radio_auth.php 22 Jul 2013 18:12:14 -0000 1.6 *************** *** 16,22 **** } ! // // Let's set the root dir for phpBB - // $module_root_path = '../'; $mx_root_path = '../../../'; --- 16,21 ---- } ! @define('IN_PORTAL', 1); // Let's set the root dir for phpBB $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 26,32 **** require($mx_root_path . 'admin/pagestart.' . $phpEx); - // // Get general radiocast information - // include($radiocast_root_path . 'radiocast_common.'.$phpEx); --- 25,29 ---- *************** *** 121,128 **** ); // Get the list of phpBB usergroups $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " ! WHERE group_single_user <> " . TRUE ." ORDER BY group_name ASC"; if ( !($result = $db->sql_query($sql)) ) --- 118,136 ---- ); + switch (PORTAL_BACKEND) + { + case 'internal': + case 'phpbb2': + $sql_where = 'group_single_user <> " . true . "'; + break; + + case 'phpbb3': + $sql_where = 'group_id <> " . true . "'; + break; + } // Get the list of phpBB usergroups $sql = "SELECT group_id, group_name FROM " . GROUPS_TABLE . " ! WHERE " . $sql_where . " ORDER BY group_name ASC"; if ( !($result = $db->sql_query($sql)) ) Index: admin_radio_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/admin/admin_radio_cfg.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_radio_cfg.php 17 Jun 2013 16:11:28 -0000 1.5 --- admin_radio_cfg.php 22 Jul 2013 18:12:14 -0000 1.6 *************** *** 16,22 **** } - // // Let's set the root dir for phpBB ! // $module_root_path = '../'; $mx_root_path = '../../../'; --- 16,21 ---- } // Let's set the root dir for phpBB ! @define('IN_PORTAL', 1); $module_root_path = '../'; $mx_root_path = '../../../'; *************** *** 26,32 **** require($mx_root_path . 'admin/pagestart.' . $phpEx); - // // Get general music information - // include($radiocast_root_path . 'radiocast_common.'.$phpEx); --- 25,29 ---- |
|
From: Florin C B. <ory...@us...> - 2013-07-22 18:09:21
|
Update of /cvsroot/mxbb/mx_radiocast/language/lang_romanian In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23537/lang_romanian Log Message: Directory /cvsroot/mxbb/mx_radiocast/language/lang_romanian added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-07-21 14:01:14
|
Update of /cvsroot/mxbb/mx_music In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17103 Modified Files: db_install.php db_upgrade.php Log Message: Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_install.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** db_install.php 9 Apr 2013 12:15:22 -0000 1.16 --- db_install.php 21 Jul 2013 14:01:11 -0000 1.17 *************** *** 33,37 **** } ! $mx_module_version = '2.9.5'; $mx_module_copy = 'Mx-Publisher <i> - Music Center</i> module based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> & <a href="http://mxpcms.sourceforge.net/" target="_blank">OryNider</a>'; --- 33,37 ---- } ! $mx_module_version = '2.9.6'; $mx_module_copy = 'Mx-Publisher <i> - Music Center</i> module based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> & <a href="http://mxpcms.sourceforge.net/" target="_blank">OryNider</a>'; *************** *** 55,60 **** song_imagename varchar(255) NOT NULL, song_title varchar(255) NOT NULL, ! song_url varchar(255) NOT NULL, ! song_desc text, song_singer varchar(255) NOT NULL, song_user_id mediumint(8) NOT NULL, --- 55,60 ---- song_imagename varchar(255) NOT NULL, song_title varchar(255) NOT NULL, ! song_url TEXT, ! song_desc TEXT, song_singer varchar(255) NOT NULL, song_user_id mediumint(8) NOT NULL, Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_upgrade.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** db_upgrade.php 9 Apr 2013 12:15:22 -0000 1.12 --- db_upgrade.php 21 Jul 2013 14:01:12 -0000 1.13 *************** *** 30,34 **** } ! $mx_module_version = '2.9.5'; $mx_module_copy = 'Mx-Publisher <i> - Music Center</i> module by Cf Manager & <a href="http://www.mx-publisher.com/" target="_blank">OryNider</a>'; $sql = array(); --- 30,34 ---- } ! $mx_module_version = '2.9.6'; $mx_module_copy = 'Mx-Publisher <i> - Music Center</i> module by Cf Manager & <a href="http://www.mx-publisher.com/" target="_blank">OryNider</a>'; $sql = array(); *************** *** 44,47 **** --- 44,48 ---- $upgrade_206 = 0; $upgrade_207 = 0; + $upgrade_296 = 1; // *************** *** 62,72 **** $upgrade_207 = 1; } ! $message = "<b>Upgrading!</b><br/><br/>"; ! if ( $upgrade_206 == 1 ) { $message .= "<b>Upgrading to v. 2.01(2.06)...</b><br/><br/>"; ! $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_imagename VARCHAR(255) not null AFTER song_filename"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_download_count VARCHAR(255) not null DEFAULT '0' AFTER song_approval"; --- 63,73 ---- $upgrade_207 = 1; } ! $message = "<b>Upgrading!</b><br/><br/>"; ! if ( $upgrade_206 == 1 ) { $message .= "<b>Upgrading to v. 2.01(2.06)...</b><br/><br/>"; ! $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_imagename VARCHAR(255) not null AFTER song_filename"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_download_count VARCHAR(255) not null DEFAULT '0' AFTER song_approval"; *************** *** 81,85 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('qt_allowed', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rm_allowed', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '10240')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '800')"; --- 82,86 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('qt_allowed', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rm_allowed', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '10240')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '800')"; *************** *** 90,98 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('index', '5')"; } ! if ( $upgrade_207 == 1 ) { $message .= "<b>Upgrading to v. 2.0.7...</b><br/><br/>"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('img_allowed', '1')"; --- 91,99 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('index', '5')"; } ! if ( $upgrade_207 == 1 ) { $message .= "<b>Upgrading to v. 2.0.7...</b><br/><br/>"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('xs_enabled', '1')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('img_allowed', '1')"; *************** *** 103,115 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rows_per_page_media', '10')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('cols_per_page_media', '1')"; ! $sql[] = "ALTER TABLE " . $mx_table_prefix . "music_cat ADD cat_parent mediumint(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_id"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music_cat ADD cat_type tinyint NOT NULL DEFAULT '0' AFTER cat_parent"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_filetype varchar(255) NOT NULL AFTER song_filename"; ! $sql[] = "UPDATE ". $mx_table_prefix ."music_config SET config_value = '0.7' WHERE config_name = 'music_version'"; } else { --- 104,123 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rows_per_page_media', '10')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('cols_per_page_media', '1')"; ! $sql[] = "ALTER TABLE " . $mx_table_prefix . "music_cat ADD cat_parent mediumint(8) UNSIGNED NOT NULL DEFAULT '0' AFTER cat_id"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music_cat ADD cat_type tinyint NOT NULL DEFAULT '0' AFTER cat_parent"; $sql[] = "ALTER TABLE " . $mx_table_prefix . "music ADD song_filetype varchar(255) NOT NULL AFTER song_filename"; ! $sql[] = "UPDATE ". $mx_table_prefix ."music_config SET config_value = '0.7' WHERE config_name = 'music_version'"; } + + if ( $upgrade_296 == 1 ) + { + $message .= "<b>Upgrading to v. 2.9.6...</b><br/><br/>"; + + $sql[] = "ALTER TABLE " . $mx_table_prefix . "music CHANGE song_url song_url TEXT"; + } else { *************** *** 121,125 **** module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; ! $message .= mx_do_install_upgrade( $sql ); } --- 129,133 ---- module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; ! $message .= mx_do_install_upgrade( $sql ); } |
|
From: Florin C B. <ory...@us...> - 2013-07-07 02:41:04
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22922 Added Files: mx_textblock_blog.php Log Message: --- NEW FILE: mx_textblock_blog.php --- <?php /** * * @package mxBB Portal Module - mx_textblocks * @version $Id: mx_textblock_blog.php,v 1.16 2013/07/07 02:41:02 orynider Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // NOTE: This script is NOT updated for mxBB 2.8 // if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } if( isset($HTTP_POST_VARS['u']) || isset($HTTP_GET_VARS['u']) ) { $sub_id = ( isset($HTTP_POST_VARS['u']) ) ? intval($HTTP_POST_VARS['u']) : intval($HTTP_GET_VARS['u']); $blog_mode = 'user'; } else if( isset($HTTP_POST_VARS['g']) || isset($HTTP_GET_VARS['g']) ) { $sub_id = ( isset($HTTP_POST_VARS['g']) ) ? intval($HTTP_POST_VARS['g']) : intval($HTTP_GET_VARS['g']); $blog_mode = 'group'; } else { // $sub_id = $userdata['user_id']; // $blog_mode = 'user'; $block_rows[$block]['show_title'] = 0; $block_rows[$block]['show_block'] = 0; return; } $block_config = read_block_config($block_id, false, $sub_id); $title = $block_config[$block_id]['block_title']; $message = $block_config[$block_id]['Blog']['parameter_value']; $blog_id = $block_config[$block_id]['blog_id']['parameter_value']; // ********************************************************************** // Read language definition // ********************************************************************** if( !file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) ) { include($module_root_path . 'language/lang_english/lang_main.' . $phpEx); } else { include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); } // // Block Pages/toc // if( isset($HTTP_POST_VARS['page_num']) || isset($HTTP_GET_VARS['page_num']) ) { $page_num = ( isset($HTTP_POST_VARS['page_num']) ) ? $HTTP_POST_VARS['page_num'] : $HTTP_GET_VARS['page_num']; $page_num = $page_num - 1; } else { $page_num = 0; } $art_pages = explode('[page]', $message); $message = trim($art_pages[$page_num]); $message = str_replace('[toc]', '', $message); // // End Pages/TOC // $bbcode_uid = $block_config[$block_id]['Blog']['bbcode_uid']; $message = mx_decode($message, $bbcode_uid); // // EDIT BLOG // $iss_auth_ary = block_auth(AUTH_EDIT, $block_id, $userdata, $block_config[$block_id]['auth_edit'], $block_config[$block_id]['auth_edit_group']); $blog_validate = ( $blog_mode == 'user' ) ? $sub_id == $userdata['user_id'] : mx_auth_group($sub_id, true); if( $blog_validate || $iss_auth_ary['auth_edit'] ) { $ss_hidden_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; $ss_hidden_fields .= '<input type="hidden" name="block_id" value="' . $block_id . '" />'; $ss_hidden_fields .= '<input type="hidden" name="portalpage" value="' . $page_id . '" />'; $ss_hidden_fields .= '<input type="hidden" name="mode" value="editblog" />'; //$ss_hidden_fields .= '<input type="hidden" name="u" value="' . intval($HTTP_GET_VARS['u']) . '" />'; //$ss_hidden_fields .= '<input type="hidden" name="g" value="' . intval($HTTP_GET_VARS['g']) . '" />'; $ss_hidden_fields .= '<input type="hidden" name="u" value="' . $sub_id. '" />'; $ss_hidden_fields .= '<input type="hidden" name="g" value="' . $sub_id. '" />'; $ss_hidden_fields .= '<input type="hidden" name="sub_id" value="' . $sub_id . '" />'; $ss_hidden_fields .= '<input type="hidden" name="blog_mode" value="' . $blog_mode . '" />'; $splitt_admin_file = 'modules/mx_textblocks/admin/mx_textblock_edit.php'; $editt_url = append_sid( $mx_root_path . $splitt_admin_file . "?sid=" . $userdata['session_id'] ); $editt_img = '<input type="image" src="' . PORTAL_URL . TEMPLATE_ROOT_PATH . 'images/block_icons/block_edit.gif" alt="' . $lang['Block_Edit'] . '" title="' . $lang['Block_Edit'] . ' :: ' . $block_config[$block_id]['block_title'] . '"></input>'; $template->assign_block_vars('switch_blog_edit', array( 'EDIT_ACTION' => $editt_url, 'EDIT_IMG' => $editt_img, 'S_HIDDEN_FORM_FIELDS' => $ss_hidden_fields )); } else { $template->assign_block_vars('switch_blog_noedit', array()); } // // Start output of page // $template->set_filenames(array( 'body_block' => 'mx_textblock_blog.tpl') ); if( $show_title == 'TRUE' ) { if( $title_style == 'TRUE' ) { $template->assign_block_vars('switch_standard_style', array()); } else { $template->assign_block_vars('switch_no_style', array()); } } $block_style = ( ( $block_style == '' ) || ( $block_style == 'FALSE' ) ) ? '' : 'forumline'; $text_style = ( ( $text_style == '' ) || ( $text_style == 'none' ) ) ? 'genmed' : $text_style; if( !empty($blog_id) && $userdata['session_logged_in'] && $blog_mode == 'user' ) { $template->assign_block_vars('switch_blog_id', array( 'BLOG_ID' => sprintf($blog_id, $userdata['username']) )); } $template->assign_vars(array( 'BLOCK_SIZE' => ( !empty($block_size) ? $block_size : '100%' ), 'L_TITLE' => ( !empty($lang[$title]) ? $lang[$title] : $title ), 'U_TEXT' => $message, 'BLOCK_ID' => $block_id, 'BLOCK_STYLE' => $block_style, 'TEXT_STYLE' => $text_style, 'TITLE_STYLE' => $block_style, 'S_HIDDEN_FORM_FIELDS' => $s_hidden_fields, 'L_TOC' => $lang['Toc_title'], 'L_GOTO_PAGE' => $lang['Goto_page'] )); // // article pages table of contents // if( count($art_pages) > 1 ) { $template->assign_block_vars('switch_toc', array()); $i = 0; while( $i < count($art_pages) ) { $page_number = $i + 1; $art_split = explode('[toc]', $art_pages[$i]); $article_toc = $art_split[0]; // $article_body = $art_split[1]; // Fix up the toc title if( !$board_config['allow_html'] ) { $article_toc = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $article_toc); } // // Parse message // // $bbcode_uid = $row['bbcode_uid']; // $article_toc = preg_replace('/\:[0-9a-z\:]+\]/si', ']', $article_toc); $article_toc = preg_replace("/\[(\S+)\]/e", "", $article_toc); // $txt = preg_replace("/<a href=\"(.*)\">(.*)<\/a>/i", "\\2 (\\1)", $txt); $article_toc = make_clickable($article_toc); // // Parse smilies // if( $board_config['allow_smilies'] ) { $article_toc = mx_smilies_pass($article_toc); } // // Replace naughty words // if( count($orig_word) ) { $article_toc = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$orig_word, \$replacement_word, '\\0')", '>' . $article_toc . '<'), 1, -1)); } // Replace newlines (we use this rather than nl2br because // till recently it wasn't XHTML compliant) // $article_toc = str_replace("\n", "\n<br />\n", $article_toc); $page_toc = $art_pages[$i]; if( $page_num != $i ) { $temp_url = append_sid(PORTAL_URL . "index.php?page=$page_id&mode=article&page_num=$page_number"); $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . ' - ' . $article_toc . '</a>'; } else { $page_link = $page_number . ' - ' . $article_toc; } if( $i < count($art_pages) - 1 ) { $page_link .= '<br />'; } $template->assign_block_vars('switch_toc.pages', array( 'TOC_ITEM' => $page_link) ); $i++; } } // // article pages // if( count($art_pages) > 1 ) { $template->assign_block_vars('switch_pages', array()); $i = 0; while( $i < count($art_pages) ) { $page_number = $i + 1; if( $page_num != $i ) { $temp_url = append_sid(PORTAL_URL . "index.php?page=$page_id&mode=article&page_num=$page_number"); $page_link = '<a href="' . $temp_url . '" class="nav">' . $page_number . '</a>'; } else { $page_link = $page_number; } if( $i < count($art_pages) - 1 ) { $page_link .= ', '; } $template->assign_block_vars('switch_pages.pages', array( 'PAGE_LINK' => $page_link) ); $i++; } } $template->pparse('body_block'); ?> |
|
From: Florin C B. <ory...@us...> - 2013-07-07 02:21:18
|
Update of /cvsroot/mxbb/core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21976 Modified Files: config.php Log Message: Index: config.php =================================================================== RCS file: /cvsroot/mxbb/core/config.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** config.php 28 Jun 2013 15:32:37 -0000 1.16 --- config.php 7 Jul 2013 02:21:15 -0000 1.17 *************** *** 6,21 **** // This file must be put into the MX-Publisher Modular System directory, not into the phpBB directory. - $dbms = 'mysql4'; - - $dbhost = 'localhost'; - $dbname = 'caleacrestina_uv_ro01'; - $dbuser = 'caleacrestina_01'; - $dbpasswd = 'tZDvL7A2'; - - $mx_table_prefix = 'ms_'; - - define('UTF_STATUS', 'phpbb3'); - - define('MX_INSTALLED', true); ?> \ No newline at end of file --- 6,9 ---- |
|
From: Florin C B. <ory...@us...> - 2013-07-07 02:13:54
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21325 Modified Files: mx_functions_style.php Log Message: Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.137 retrieving revision 1.138 diff -C2 -d -r1.137 -r1.138 *** mx_functions_style.php 2 Jul 2013 07:01:09 -0000 1.137 --- mx_functions_style.php 7 Jul 2013 02:13:52 -0000 1.138 *************** *** 1060,1063 **** --- 1060,1068 ---- $this->style = $style; // To main style init. Should be correct and valid. + // What template to use? + $template = new mx_Template($mx_root_path . $this->template_path . $this->template_name); + //todo@ remove redefination + @define('TEMPLATE_ROOT_PATH', $this->template_path . $this->template_name . '/'); + /* * Load template settings *************** *** 1069,1072 **** --- 1074,1086 ---- $row['cloned_template_name'] = $template_config_row['cloned_template']; $row['border_graphics'] = $template_config_row['border_graphics']; + + /* + * Load template settings + * - pass cloned template name to $theme + */ + $this->cloned_template_name = $row['cloned_template_name']; + $this->cloned_current_template_path = !empty($this->cloned_template_name) ? $this->template_path . $this->cloned_template_name : ''; + $this->cloned_style_phpbb_path = !empty($this->cloned_template_name) ? $this->style_path . $this->cloned_template_name : ''; //new + switch (PORTAL_BACKEND) *************** *** 1084,1096 **** } - $this->cloned_template_name = $row['cloned_template_name']; - $this->cloned_current_template_path = !empty($this->cloned_template_name) ? $this->template_path . $this->cloned_template_name : ''; - $this->cloned_style_phpbb_path = !empty($this->cloned_template_name) ? $this->style_path . $this->cloned_template_name : ''; //new - - // What template to use? - $template = new mx_Template($mx_root_path . $this->template_path . $this->template_name); - //todo@ remove redefination - @define('TEMPLATE_ROOT_PATH', $this->template_path . $this->template_name . '/'); - // Get missing theme colors from *.cfg file (sort of desperate fix) foreach($row as $key => $value) --- 1098,1101 ---- *************** *** 1101,1110 **** } } - // Load images - $this->_load_phpbb_images(); - $this->_load_mxbb_images(); - - // Load backend specific style defs. - $this->setup_style(); return $row; } --- 1106,1109 ---- *************** *** 1176,1180 **** function _load_template_config() { ! global $board_config, $template, $phpbb_root_path, $mx_root_path; //unset($GLOBALS['MX_TEMPLATE_CONFIG']); --- 1175,1179 ---- function _load_template_config() { ! global $board_config, $images, $theme, $template, $phpbb_root_path, $mx_root_path; //unset($GLOBALS['MX_TEMPLATE_CONFIG']); *************** *** 1187,1190 **** --- 1186,1203 ---- $template_name = $template_name_d = $this->template_name; + /* + * Load phpBB3 images + **/ + switch (PORTAL_BACKEND) + { + case 'internal': + case 'phpbb2': + $phpbb_images = $images; + break; + case 'phpbb3': + $phpbb_images = $this->_load_phpbb_images(); + break; + } + $images = (is_array($phpbb_images) && is_array($images)) ? array_merge($phpbb_images, @$images) : (is_array($images) ? $images: $phpbb_images); $template_config_filename = $mx_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'; *************** *** 1196,1220 **** print('template config filename ' . $template_config_filename . ' couldn\'t be opened.'); } - /* */ - // We include common temlate config file here to not load it every time a module template config file is included - /* - $this->theme['body_bgcolor'] = $theme['body_bgcolor']; - $this->theme['body_text'] = $theme['body_text']; - $this->theme['body_link'] = $theme['body_link']; - $this->theme['body_vlink'] = $theme['body_vlink']; - $this->theme['body_alink'] = $theme['body_alink']; - $this->theme['body_hlink'] = $theme['body_hlink']; - $this->theme['tr_color1'] = $theme['tr_color1']; // row1 - $this->theme['tr_color2'] = $theme['tr_color2']; // row2 - $this->theme['tr_color3'] = $theme['tr_color3']; // row3 - $this->theme['th_color1'] = $theme['th_color1']; // bodyline border color - $this->theme['th_color2'] = $theme['th_color2']; // forumline border color - $this->theme['th_color3'] = $theme['th_color3']; // boxes border color - $this->theme['td_color1'] = $theme['td_color1']; // code/quote boxes background - $this->theme['td_color2'] = $theme['td_color2']; // post box background - $this->theme['fontface1'] = $theme['fontface1']; - $this->theme['fontcolor1'] = $theme['fontcolor1']; // Main font color - $this->theme['fontcolor2'] = $theme['fontcolor2']; - */ $this->theme = (is_array($this->theme) && is_array($theme)) ? array_merge($this->theme, @$theme) : (is_array($theme) ? $theme: $this->theme); --- 1209,1212 ---- *************** *** 1279,1286 **** $current_template_phpbb_images = $current_template_path . $this->template_name . "/images"; $template_name = $this->template_name; ! @include($phpbb_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); } ! /* * Since we have no current Template Config file, try the cloned template instead --- 1271,1278 ---- $current_template_phpbb_images = $current_template_path . $this->template_name . "/images"; $template_name = $this->template_name; ! @include($phpbb_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); } ! /* * Since we have no current Template Config file, try the cloned template instead *************** *** 1291,1295 **** $current_template_phpbb_images = $current_template_path . "/images"; $template_name = $this->cloned_template_name; ! @include($phpbb_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg'); } --- 1283,1287 ---- $current_template_phpbb_images = $current_template_path . "/images"; $template_name = $this->cloned_template_name; ! @include($phpbb_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg'); } *************** *** 1335,1338 **** --- 1327,1331 ---- //$this->template_name = $this->theme['imageset_path']; //trigger_error("Could not get style data: $this->template_name", E_USER_ERROR); + // // Load phpBB Template configuration data *************** *** 1342,1378 **** { $cfg_data_imageset_data = phpBB3::parse_cfg_file("{$phpbb_root_path}styles/{$this->template_name}/imageset/{$this->img_lang}/imageset.cfg"); ! foreach ($cfg_data_imageset_data as $image_name => $value) ! { ! if (strpos($value, '*') !== false) ! { ! if (substr($value, -1, 1) === '*') ! { ! list($image_filename, $image_height) = explode('*', $value); ! $image_width = 0; ! } ! else ! { ! list($image_filename, $image_height, $image_width) = explode('*', $value); ! } ! } ! else ! { ! $image_filename = $value; ! $image_height = $image_width = 0; ! } ! ! if (strpos($image_name, 'img_') === 0 && $image_filename) ! { ! $image_name = substr($image_name, 4); ! $sql_ary[] = array( ! 'image_name' => (string) $image_name, ! 'image_filename' => (string) $image_filename, ! 'image_height' => (int) $image_height, ! 'image_width' => (int) $image_width, ! 'imageset_id' => (int) $this->theme['imageset_id'], ! 'image_lang' => (string) $this->img_lang, ! ); ! } ! } $template_name = $this->template_name; $default_style_name = $this->default_style_name; --- 1335,1339 ---- { $cfg_data_imageset_data = phpBB3::parse_cfg_file("{$phpbb_root_path}styles/{$this->template_name}/imageset/{$this->img_lang}/imageset.cfg"); ! $template_name = $this->template_name; $default_style_name = $this->default_style_name; *************** *** 1389,1394 **** else if (@file_exists($phpbb_root_path . $this->style_path . $this->cloned_template_name . "/imageset" )) { $template_name = $this->cloned_template_name; ! $default_style_name = $this->default_style_name; $cloned_style_phpbb_path = $this->cloned_style_phpbb_path = $this->style_path . $this->cloned_template_name; //new --- 1350,1357 ---- else if (@file_exists($phpbb_root_path . $this->style_path . $this->cloned_template_name . "/imageset" )) { + $cfg_data_imageset_data = phpBB3::parse_cfg_file("{$phpbb_root_path}styles/{$this->cloned_template_name}/imageset/{$this->img_lang}/imageset.cfg"); + $template_name = $this->cloned_template_name; ! $default_style_name = $this->default_style_name; $cloned_style_phpbb_path = $this->cloned_style_phpbb_path = $this->style_path . $this->cloned_template_name; //new *************** *** 1403,1406 **** --- 1366,1371 ---- else if (@file_exists($phpbb_root_path . $this->style_path . $this->default_style_name . "/imageset" )) { + $cfg_data_imageset_data = phpBB3::parse_cfg_file("{$phpbb_root_path}styles/{$this->default_template_name}/imageset/{$this->img_lang}/imageset.cfg"); + $template_name = $this->default_template_name; $default_style_name = $this->default_style_name; *************** *** 1411,1457 **** //@include($phpbb_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); @define('TEMPLATE_CONFIG', file_exists($phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg') ? $phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg' : false); ! } ! /**/ //Here we overwrite phpBB images from the template configuration file with images from database ! $images['icon_quote'] = $this->images('icon_quote'); ! $images['icon_edit'] = $this->images('icon_edit'); ! $images['icon_search'] = $this->images('icon_search'); ! $images['icon_profile'] = $this->images('icon_profile'); ! $images['icon_pm'] = $this->images('icon_pm'); ! $images['icon_email'] = $this->images('icon_email'); ! $images['icon_delpost'] = $this->images('icon_delpost'); ! $images['icon_ip'] = $this->images('icon_ip'); ! $images['icon_www'] = $this->images('icon_www'); ! $images['icon_icq'] = $this->images('icon_icq'); ! $images['icon_aim'] = $this->images('icon_aim'); ! $images['icon_yim'] = $this->images('icon_yim'); ! $images['icon_msnm'] = $this->images('icon_msnm'); ! $images['icon_minipost'] = $this->images('icon_minipost'); ! $images['icon_gotopost'] = $this->images('icon_gotopost'); ! $images['icon_minipost_new'] = $this->images('icon_minipost_new'); ! $images['icon_latest_reply'] = $images['icon_topic_latest'] = $this->images('icon_topic_latest'); ! $images['icon_newest_reply'] = $this->images('icon_newest_reply'); ! ! $images['forum'] = $this->images('forum'); ! $images['forums'] = $this->images('forums'); ! $images['forum_new'] = $this->images('forum_new'); ! $images['forum_locked'] = $this->images('forum_locked'); ! $images['folder'] = $images['topic_read'] = $this->images('topic_read'); ! $images['folder_new'] = $images['topic_unread'] = $this->images('topic_unread'); ! $images['folder_hot'] = $images['topic_hot'] = $this->images('topic_hot'); ! $images['folder_hot_new'] = $images['topic_hot_unread'] = $this->images('topic_hot_unread'); ! $images['folder_locked'] = $images['topic_locked'] = $this->images('topic_locked'); ! $images['folder_locked_new'] = $images['topic_locked_unread'] = $this->images('topic_locked_unread'); ! $images['folder_sticky'] = $images['topic_sticky'] = $this->images('topic_sticky'); ! $images['folder_sticky_new'] = $images['topic_sticky_unread'] = $this->images('topic_sticky_unread'); ! $images['folder_announce'] = $images['topic_announce'] = $this->images('topic_announce'); ! $images['folder_announce_new'] = $images['topic_announce_unread'] = $this->images('topic_announce_unread'); ! $images['post_new'] = $this->images('post_new'); ! $images['post_locked'] = $this->images('post_locked'); ! $images['reply_new'] = $this->images('reply_new'); ! $images['reply_locked'] = $this->images('reply_locked'); $images['pm_inbox'] = $this->images('pm_inbox'); $images['pm_outbox'] = $this->images('pm_outbox'); --- 1376,1464 ---- //@include($phpbb_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); @define('TEMPLATE_CONFIG', file_exists($phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg') ? $phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg' : false); ! } ! ! foreach ($cfg_data_imageset_data as $image_name => $value) ! { ! if (strpos($value, '*') !== false) ! { ! if (substr($value, -1, 1) === '*') ! { ! list($image_filename, $image_height) = explode('*', $value); ! $image_width = 0; ! } ! else ! { ! list($image_filename, $image_height, $image_width) = explode('*', $value); ! } ! } ! else ! { ! $image_filename = $value; ! $image_height = $image_width = 0; ! } ! ! if (strpos($image_name, 'img_') === 0 && $image_filename) ! { ! $image_name = substr($image_name, 4); ! /* ! $image_ary[] = array( ! 'image_name' => (string) $image_name, ! 'image_filename' => (string) $image_filename, ! 'image_height' => (int) $image_height, ! 'image_width' => (int) $image_width, ! 'imageset_id' => (int) $this->theme['imageset_id'], ! 'image_lang' => (string) $this->img_lang, ! ); ! */ ! //Here we overwrite phpBB3 images names from the template configuration file with images file names from database ! //$phpbb_images[$image_name] = $image_filename; ! $images[$image_name] = $this->images($image_name); ! //$images = is_array($images) ? array_merge($phpbb_images, $images) : $phpbb_images; ! } ! } ! ! /**/ //Here we overwrite phpBB images from the template configuration file with images from database ! $images['icon_quote'] = $this->images('img_icon_post_quote'); ! $images['icon_edit'] = $this->images('img_icon_post_edit'); ! $images['icon_search'] = $this->images('img_icon_user_search'); ! $images['icon_profile'] = $this->images('img_icon_user_profile'); ! $images['icon_pm'] = $this->images('img_icon_contact_pm'); ! $images['icon_email'] = $this->images('img_icon_contact_email'); ! $images['icon_delpost'] = $this->images('img_icon_post_delete'); ! //$images['icon_ip'] = $this->images('icon_ip'); ! $images['icon_www'] = $this->images('img_icon_contact_www'); ! $images['icon_icq'] = $this->images('img_icon_contact_icq'); ! $images['icon_aim'] = $this->images('img_icon_contact_aim'); ! $images['icon_yim'] = $this->images('img_icon_contact_yahoo'); ! $images['icon_msnm'] = $this->images('img_icon_contact_msnm'); ! $images['icon_minipost'] = $this->images('img_icon_minipost'); ! $images['icon_gotopost'] = $this->images('img_icon_gotopost'); ! $images['icon_minipost_new'] = $this->images('img_icon_minipost_new'); ! $images['icon_latest_reply'] = $images['img_icon_topic_latest'] = $this->images('img_icon_topic_latest'); ! $images['icon_newest_reply'] = $this->images('img_icon_newest_reply'); ! $images['forum'] = $this->images('img_forum_read'); ! $images['forums'] = $this->images('img_forum_read_subforum'); ! $images['forum_new'] = $this->images('img_forum_unread'); ! $images['forum_locked'] = $this->images('img_forum_read_locked'); ! $images['folder'] = $images['topic_read'] = $this->images('img_topic_read'); ! $images['folder_new'] = $images['topic_unread'] = $this->images('img_topic_unread'); ! $images['folder_hot'] = $images['topic_hot'] = $this->images('img_topic_read_hot'); ! $images['folder_hot_new'] = $images['topic_hot_unread'] = $this->images('img_topic_unread_hot'); ! $images['folder_locked'] = $images['topic_locked'] = $this->images('img_topic_unread_locked'); ! $images['folder_locked_new'] = $images['topic_locked_unread'] = $this->images('img_topic_locked_unread'); ! $images['folder_sticky'] = $images['topic_sticky'] = $this->images('img_topic_read_mine'); ! $images['folder_sticky_new'] = $images['topic_sticky_unread'] = $this->images('img_topic_unread_mine'); ! $images['folder_announce'] = $images['topic_announce'] = $this->images('img_announce_read'); ! $images['folder_announce_new'] = $images['topic_announce_unread'] = $this->images('img_announce_unread'); + $images['post_new'] = $this->images('img_button_topic_new'); + $images['post_locked'] = $this->images('img_button_topic_locked'); + $images['reply_new'] = $this->images('img_button_topic_reply'); + $images['reply_locked'] = $this->images('img_icon_post_target_unread'); + + /* $images['pm_inbox'] = $this->images('pm_inbox'); $images['pm_outbox'] = $this->images('pm_outbox'); *************** *** 1466,1470 **** $images['pm_new_msg'] = $this->images('pm_new_msg'); $images['pm_no_new_msg'] = $this->images('pm_no_new_msg'); ! $images['Topic_watch'] = $this->images('Topic_watch'); $images['topic_un_watch'] = $this->images('topic_un_watch'); --- 1473,1477 ---- $images['pm_new_msg'] = $this->images('pm_new_msg'); $images['pm_no_new_msg'] = $this->images('pm_no_new_msg'); ! $images['Topic_watch'] = $this->images('Topic_watch'); $images['topic_un_watch'] = $this->images('topic_un_watch'); *************** *** 1474,1487 **** $images['topic_mod_move'] = $this->images('topic_mod_move'); $images['topic_mod_delete'] = $this->images('topic_mod_delete'); ! $images['voting_graphic'] = $this->images('voting_graphic'); ! @define('TEMPLATE_CONFIG', TRUE); // We include common temlate config file here to not load it every time a module template config file is included //$this->theme = is_array($this->theme) ? array_merge($this->theme, $theme) : $theme; ! //$this->theme = &$theme; ! break; } /* * We have no template to use - die --- 1481,1496 ---- $images['topic_mod_move'] = $this->images('topic_mod_move'); $images['topic_mod_delete'] = $this->images('topic_mod_delete'); ! $images['voting_graphic'] = $this->images('voting_graphic'); ! /**/ ! @define('TEMPLATE_CONFIG', TRUE); // We include common temlate config file here to not load it every time a module template config file is included //$this->theme = is_array($this->theme) ? array_merge($this->theme, $theme) : $theme; ! //$this->theme = &$theme; ! break; } + /* * We have no template to use - die *************** *** 1491,1497 **** mx_message_die(CRITICAL_ERROR, "Could not open phpBB $this->template_name template config file", '', __LINE__, __FILE__); } ! $img_lang = ( file_exists($phpbb_root_path . $this->current_template_path . '/images/lang_' . $this->encode_lang($this->lang['default_lang'])) ) ? $this->encode_lang($this->lang['default_lang']) : 'english'; ! /* * Import phpBB Graphics, prefix with PHPBB_URL, and apply LANG info --- 1500,1506 ---- mx_message_die(CRITICAL_ERROR, "Could not open phpBB $this->template_name template config file", '', __LINE__, __FILE__); } ! $img_lang = ( file_exists($phpbb_root_path . $this->current_template_path . '/images/lang_' . $this->encode_lang($this->lang['default_lang'])) ) ? $this->encode_lang($this->lang['default_lang']) : 'english'; ! /* * Import phpBB Graphics, prefix with PHPBB_URL, and apply LANG info *************** *** 1511,1515 **** $images[$key] = str_replace(PHPBB_URL . PHPBB_URL, PHPBB_URL, PHPBB_URL . $images[$key]); } ! } } --- 1520,1525 ---- $images[$key] = str_replace(PHPBB_URL . PHPBB_URL, PHPBB_URL, PHPBB_URL . $images[$key]); } ! } ! return $images; } *************** *** 1524,1539 **** global $images, $board_config, $template, $phpbb_root_path, $mx_root_path, $theme, $current_module_images; global $mx_block, $mx_user, $phpEx; ! //This will keep loaded images $mx3_images = $images; ! //unset($GLOBALS['MX_TEMPLATE_CONFIG']); $mx_template_config = false; ! /* * Load module cfg */ $moduleCfgFile = str_replace('/', '', str_replace('modules/', '', $mx_block->module_root_path)); ! switch (PORTAL_BACKEND) { --- 1534,1549 ---- global $images, $board_config, $template, $phpbb_root_path, $mx_root_path, $theme, $current_module_images; global $mx_block, $mx_user, $phpEx; ! //This will keep loaded images $mx3_images = $images; ! //unset($GLOBALS['MX_TEMPLATE_CONFIG']); $mx_template_config = false; ! /* * Load module cfg */ $moduleCfgFile = str_replace('/', '', str_replace('modules/', '', $mx_block->module_root_path)); ! switch (PORTAL_BACKEND) { *************** *** 1542,1687 **** break; case 'phpbb2': ! /* ! * Load phpBB Template configuration data ! * - First try current template ! */ ! if ( file_exists( $phpbb_root_path . $this->current_template_path . "/images" ) ) ! { ! $current_template_path = $current_template_phpbb_path = $this->current_template_path; ! $current_template_phpbb_images = "styles/" . $this->template_name . "/images"; ! $template_name = $this->template_name; ! @include($phpbb_root_path . $this->current_template_path . '/' . $this->template_name . '.cfg'); ! } ! /* ! * Since we have no current Template Config file, try the cloned template instead ! */ ! if ( file_exists( $phpbb_root_path . $this->cloned_current_template_path . "/images" ) && !defined('TEMPLATE_CONFIG') ) ! { ! $current_template_path = $current_template_phpbb_path = $this->cloned_current_template_path; ! $current_template_phpbb_images = $current_template_path . "/images"; ! $template_name = $this->cloned_template_name; ! @include($phpbb_root_path . $this->cloned_current_template_path . '/' . $this->cloned_template_name . '.cfg'); ! } ! /* ! * Last attempt, use default template intead ! */ ! if ( file_exists( $phpbb_root_path . $this->default_current_template_path . "/images" ) && !defined('TEMPLATE_CONFIG') ) ! { ! $current_template_path = $current_template_phpbb_path = $this->default_current_template_path; ! $current_template_phpbb_images = $this->default_current_template_path . "/images"; ! $template_name = $this->default_template_name; ! ! @include($phpbb_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); ! } ! break; case 'phpbb3': ! /* ! * Load phpBB Template configuration data ! * - First prepare the variables ! */ ! if (!$this->template_name) ! { ! trigger_error("Could not get style data: $this->template_name", E_USER_ERROR); ! } ! if ($this->data['session_logged_in']) ! { ! $this->lang_name = (file_exists($phpbb_root_path . 'language/' . $this->encode_lang($this->data['user_lang']) . "/common.$phpEx")) ? $this->encode_lang($this->data['user_lang']) : ((file_exists($phpbb_root_path . 'language/' . $this->encode_lang($this->lang['default_lang']) . "/common.$phpEx")) ? $this->encode_lang($this->lang['default_lang']) : 'en'); ! $this->lang_path = $phpbb_root_path . 'language/' . $this->lang_name . '/'; ! ! $this->date_format = $this->data['user_dateformat']; ! $this->timezone = $this->data['user_timezone'] * 3600; ! $this->dst = $this->data['user_dst'] * 3600; ! } ! else ! { ! $this->lang_name = (file_exists($phpbb_root_path . 'language/' . $this->encode_lang($this->lang['default_lang']) . "/common.$phpEx")) ? $this->encode_lang($this->lang['default_lang']) : 'en'; ! $this->lang_path = $phpbb_root_path . 'language/' . $this->lang_name . '/'; ! $this->date_format = $board_config['default_dateformat']; ! $this->timezone = $board_config['board_timezone'] * 3600; ! $this->dst = $board_config['board_dst'] * 3600; ! } ! $this->img_lang = (@file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $this->encode_lang($board_config['default_lang']); ! /* ! * Load phpBB Template configuration data ! * - Try current template ! */ ! if (file_exists("{$phpbb_root_path}styles/{$this->template_name}/imageset/{$this->img_lang}/imageset.cfg")) ! { ! $cfg_data_imageset_data = phpBB3::parse_cfg_file("{$phpbb_root_path}styles/{$this->template_name}/imageset/{$this->img_lang}/imageset.cfg"); ! foreach ($cfg_data_imageset_data as $image_name => $value) ! { ! if (strpos($value, '*') !== false) ! { ! if (substr($value, -1, 1) === '*') ! { ! list($image_filename, $image_height) = explode('*', $value); ! $image_width = 0; ! } ! else ! { ! list($image_filename, $image_height, $image_width) = explode('*', $value); ! } ! } ! else ! { ! $image_filename = $value; ! $image_height = $image_width = 0; ! } ! ! if (strpos($image_name, 'img_') === 0 && $image_filename) ! { ! $image_name = substr($image_name, 4); ! $sql_ary[] = array( ! 'image_name' => (string) $image_name, ! 'image_filename' => (string) $image_filename, ! 'image_height' => (int) $image_height, ! 'image_width' => (int) $image_width, ! 'imageset_id' => (int) $this->theme['imageset_id'], ! 'image_lang' => (string) $this->img_lang, ! ); ! } ! } ! ! $template_name = $this->template_name; ! $default_style_name = $this->default_style_name; ! ! $current_style_phpbb_path = $this->current_style_phpbb_path = $this->style_path . $this->template_name; //new ! $current_template_phpbb_path = $current_style_phpbb_path . "/templates"; ! $current_template_phpbb_images = @file_exists($phpbb_root_path . $current_style_phpbb_path . "/imageset") ? $current_style_phpbb_path. "/imageset" : (@file_exists($phpbb_root_path . $this->default_style2_name . "/imageset") ? $phpbb_root_path . $this->default_style2_name . "/imageset" : $phpbb_root_path . $this->default_template_name . "/imageset"); ! //@include($phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg'); ! @define('TEMPLATE_CONFIG', true); ! ! } ! /* ! * Since we have no current Template Config file, try the cloned template instead ! **/ ! else if ( @file_exists($phpbb_root_path . $this->style_path . $this->cloned_template_name . "/imageset") && !defined('TEMPLATE_CONFIG') ) ! { ! $template_name = $this->cloned_template_name; ! $default_style_name = $this->default_style_name; ! ! $cloned_style_phpbb_path = $this->cloned_style_phpbb_path = $this->style_path . $this->cloned_template_name; //new ! $current_template_phpbb_path = $cloned_style_phpbb_path . "/templates"; ! $current_template_phpbb_images = @file_exists($phpbb_root_path . $cloned_style_phpbb_path . "/imageset") ? $this->style_path . $this->cloned_template_name . "/imageset" : (@file_exists($phpbb_root_path . $this->default_style2_name . "/imageset") ? $phpbb_root_path . $this->default_style2_name . "/imageset" : $phpbb_root_path . $this->default_template_name . "/imageset"); ! //@include($phpbb_root_path . $this->cloned_current_template_path . '/imageset.cfg'); ! @define('TEMPLATE_CONFIG', file_exists($phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg') ? $phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg' : false); ! //print_r($phpbb_root_path . $this->cloned_current_template_path . '/imageset.cfg'); ! } ! /** ! * Last attempt, use default template intead ! **/ ! else if ( @file_exists($phpbb_root_path . $this->style_path . $this->default_style_name . "/imageset") && !defined('TEMPLATE_CONFIG') ) ! { ! $template_name = $this->default_template_name; ! $default_style_name = $this->default_style_name; ! ! $default_style_phpbb_path = $this->default_style_phpbb_path = $this->style_path . $this->default_style_name; //new ! $current_template_phpbb_path = $default_style_phpbb_path . "/templates"; ! $current_template_phpbb_images = @file_exists($phpbb_root_path . $default_style_phpbb_path . "/imageset") ? $this->style_path . $this->default_style_name . "/imageset" : (@file_exists($phpbb_root_path . $this->default_style2_name . "/imageset") ? $phpbb_root_path . $this->default_style2_name . "/imageset" : $phpbb_root_path . $this->default_template_name . "/imageset"); ! //@include($phpbb_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); ! @define('TEMPLATE_CONFIG', file_exists($phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg') ? $phpbb_root_path . $current_template_phpbb_images . '/imageset.cfg' : false); ! //print_r($phpbb_root_path . $this->default_current_template_path . '/' . $this->default_template_name . '.cfg'); ! } /**/ // Here we overwrite phpBB images from the template configuration file with images from database --- 1552,1559 ---- break; case 'phpbb2': ! break; case 'phpbb3': ! /**/ // Here we overwrite phpBB images from the template configuration file with images from database *************** *** 1704,1713 **** $images['icon_latest_reply'] = $images['icon_topic_latest'] = $this->images('icon_topic_latest'); $images['icon_newest_reply'] = $this->images('icon_newest_reply'); ! $images['forum'] = $this->images('forum'); $images['forums'] = $this->images('forums'); $images['forum_new'] = $this->images('forum_new'); $images['forum_locked'] = $this->images('forum_locked'); ! $images['folder'] = $images['topic_read'] = $this->images('topic_read'); $images['folder_new'] = $images['topic_unread'] = $this->images('topic_unread'); --- 1576,1585 ---- $images['icon_latest_reply'] = $images['icon_topic_latest'] = $this->images('icon_topic_latest'); $images['icon_newest_reply'] = $this->images('icon_newest_reply'); ! $images['forum'] = $this->images('forum'); $images['forums'] = $this->images('forums'); $images['forum_new'] = $this->images('forum_new'); $images['forum_locked'] = $this->images('forum_locked'); ! $images['folder'] = $images['topic_read'] = $this->images('topic_read'); $images['folder_new'] = $images['topic_unread'] = $this->images('topic_unread'); *************** *** 1720,1729 **** $images['folder_announce'] = $images['topic_announce'] = $this->images('topic_announce'); $images['folder_announce_new'] = $images['topic_announce_unread'] = $this->images('topic_announce_unread'); ! $images['post_new'] = $this->images('post_new'); $images['post_locked'] = $this->images('post_locked'); $images['reply_new'] = $this->images('reply_new'); $images['reply_locked'] = $this->images('reply_locked'); ! $images['pm_inbox'] = $this->images('pm_inbox'); $images['pm_outbox'] = $this->images('pm_outbox'); --- 1592,1601 ---- $images['folder_announce'] = $images['topic_announce'] = $this->images('topic_announce'); $images['folder_announce_new'] = $images['topic_announce_unread'] = $this->images('topic_announce_unread'); ! $images['post_new'] = $this->images('post_new'); $images['post_locked'] = $this->images('post_locked'); $images['reply_new'] = $this->images('reply_new'); $images['reply_locked'] = $this->images('reply_locked'); ! $images['pm_inbox'] = $this->images('pm_inbox'); $images['pm_outbox'] = $this->images('pm_outbox'); *************** *** 1738,1742 **** $images['pm_new_msg'] = $this->images('pm_new_msg'); $images['pm_no_new_msg'] = $this->images('pm_no_new_msg'); ! $images['Topic_watch'] = $this->images('Topic_watch'); $images['topic_un_watch'] = $this->images('topic_un_watch'); --- 1610,1614 ---- $images['pm_new_msg'] = $this->images('pm_new_msg'); $images['pm_no_new_msg'] = $this->images('pm_no_new_msg'); ! $images['Topic_watch'] = $this->images('Topic_watch'); $images['topic_un_watch'] = $this->images('topic_un_watch'); *************** *** 1746,1753 **** $images['topic_mod_move'] = $this->images('topic_mod_move'); $images['topic_mod_delete'] = $this->images('topic_mod_delete'); ! ! $images['voting_graphic'] = $this->images('voting_graphic'); ! } ! // // Load MX-Publisher Template configuration data --- 1618,1626 ---- $images['topic_mod_move'] = $this->images('topic_mod_move'); $images['topic_mod_delete'] = $this->images('topic_mod_delete'); ! ! $images['voting_graphic'] = $this->images('voting_graphic'); ! /**/ ! } ! // // Load MX-Publisher Template configuration data *************** *** 1762,1766 **** //@define('MX_TEMPLATE_CONFIG', false); $mx_template_config = false; - if (@file_exists($mx_root_path . $module_root_path . $this->current_template_path . '/' . $template_name . '.cfg')) { --- 1635,1638 ---- *************** *** 1772,1776 **** include($mx_root_path . $module_root_path . $this->current_template_path . '/' . $moduleCfgFile . '.cfg'); } ! /* * Since we have no current Template Config file, try the cloned template instead --- 1644,1648 ---- include($mx_root_path . $module_root_path . $this->current_template_path . '/' . $moduleCfgFile . '.cfg'); } ! /* * Since we have no current Template Config file, try the cloned template instead *************** *** 1780,1791 **** $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; ! ! @require($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $template_name . '.cfg'); if (!$mx_template_config) { ! @require($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } ! /* * If use default template intead --- 1652,1663 ---- $current_template_path = $module_root_path . $this->cloned_current_template_path; $template_name = $this->cloned_template_name; ! ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $template_name . '.cfg'); if (!$mx_template_config) { ! @include($mx_root_path . $module_root_path . $this->cloned_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } ! /* * If use default template intead *************** *** 1795,1820 **** $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! ! @require($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $template_name . '.cfg'); if (!$mx_template_config) { ! @require($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } ! // ! // If old version 2 module search for subSilver template intead ! // if (!$mx_template_config) { $template_name2 = 'subSilver'; ! $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! ! @require($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $template_name2 . '.cfg'); if (!$mx_template_config) { ! @require($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } --- 1667,1692 ---- $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $template_name . '.cfg'); if (!$mx_template_config) { ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } ! /* ! * If old version 2 module search for subSilver template intead ! */ if (!$mx_template_config) { $template_name2 = 'subSilver'; ! $current_template_path = $module_root_path . $this->default_current_template_path; $template_name = $this->default_template_name; ! ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $template_name2 . '.cfg'); if (!$mx_template_config) { ! @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $moduleCfgFile . '.cfg'); } } *************** *** 1829,1833 **** $img_lang = ( file_exists($mx_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english'; ! while( list($key, $value) = @each($mx_images) ) { --- 1701,1705 ---- $img_lang = ( file_exists($mx_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english'; ! while( list($key, $value) = @each($mx_images) ) { *************** *** 1844,1848 **** } } ! // // What template is the module using? --- 1716,1720 ---- } } ! // // What template is the module using? *************** *** 1850,1854 **** $module_key = !empty($module_root_path) ? $module_root_path : '_core'; $this->template_names[$module_key] = $template_name; ! //This will keep loaded images $images = &$mx3_images; --- 1722,1726 ---- $module_key = !empty($module_root_path) ? $module_root_path : '_core'; $this->template_names[$module_key] = $template_name; ! //This will keep loaded images $images = &$mx3_images; *************** *** 1991,1997 **** global $images; ! // ! // The User class must first be initiated. ! // if (empty($this->page_id)) { --- 1863,1869 ---- global $images; ! /* ! * The User class must first be initiated. ! */ if (empty($this->page_id)) { *************** *** 1999,2010 **** } ! // ! // Inititate User style ! // $this->_init_style(); ! // ! // Load images ! // switch (PORTAL_BACKEND) { --- 1871,1882 ---- } ! /* ! * Inititate User style ! */ $this->_init_style(); ! /* ! * Load images ! **/ switch (PORTAL_BACKEND) { *************** *** 2016,2026 **** case 'phpbb2': break; ! case 'phpbb3': ! ! $this->_load_phpbb_images(); $this->_load_mxbb_images(); break; ! } } --- 1888,1906 ---- case 'phpbb2': break; ! case 'phpbb3': ! ! //$this->_load_phpbb_images(); $this->_load_mxbb_images(); break; ! } ! /**/ ! ! // Load images ! //$this->_load_phpbb_images(); ! //$this->_load_mxbb_images(); ! ! // Load backend specific style defs. ! $this->setup_style(); } |
|
From: Florin C B. <ory...@us...> - 2013-07-04 01:13:42
|
Update of /cvsroot/mxbb/mx_clock In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23951 Modified Files: localtimesclock.php mx_clock.pak Log Message: Index: localtimesclock.php =================================================================== RCS file: /cvsroot/mxbb/mx_clock/localtimesclock.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** localtimesclock.php 26 Apr 2013 14:11:51 -0000 1.6 --- localtimesclock.php 4 Jul 2013 01:13:40 -0000 1.7 *************** *** 29,32 **** --- 29,33 ---- $flash_wmode_trasparent = $mx_block->get_parameters('flash_wmode_trasparent'); $comunity = $mx_block->get_parameters('comunity'); + $country_code = $mx_block->get_parameters('country_code'); $country = $mx_block->get_parameters('country'); $province = $mx_block->get_parameters('province'); *************** *** 139,142 **** --- 140,144 ---- 'ONLINEDESIGN' => (!empty($design) ? $design : 'design01'), 'COMUNITY' => ( !empty($comunity) ? $comunity : 'asia' ), //continent=North America + 'FLAGCODE' => ( !empty($country_code) ? $country_code : 'il'), 'COUNTRY' => ( !empty($country) ? $country : 'Israel' ), //&country=United States 'STATE' => ( !empty($province) ? $province : $city), //&province=Massachusetts Index: mx_clock.pak =================================================================== RCS file: /cvsroot/mxbb/mx_clock/mx_clock.pak,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_clock.pak 26 Apr 2013 14:11:51 -0000 1.7 --- mx_clock.pak 4 Jul 2013 01:13:40 -0000 1.8 *************** *** 1,3 **** ! module=+:86=+:Mx Clock=+:modules/mx_clock/=+:Clock for MxP-CMS=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:86=+:145=+:Local Times Clock=+:Local Times Block=+:localtimesclock.php=+: --- 1,3 ---- ! module=+:86=+:Mx Clock=+:modules/mx_clock/=+:Clock for MXP-CMS=+: New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:86=+:145=+:Local Times Clock=+:Local Times Block=+:localtimesclock.php=+: |
|
From: Florin C B. <ory...@us...> - 2013-07-04 00:38:37
|
Update of /cvsroot/mxbb/mx_clock/templates/nt2007 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22189/templates/nt2007 Removed Files: clock_body.tpl localtimesclock.tpl Log Message: --- localtimesclock.tpl DELETED --- --- clock_body.tpl DELETED --- |
|
From: Florin C B. <ory...@us...> - 2013-07-04 00:38:36
|
Update of /cvsroot/mxbb/mx_clock In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22189 Modified Files: mx_clock.php Removed Files: profile_clocks.php Log Message: Index: mx_clock.php =================================================================== RCS file: /cvsroot/mxbb/mx_clock/mx_clock.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** mx_clock.php 26 Apr 2013 14:11:51 -0000 1.11 --- mx_clock.php 4 Jul 2013 00:38:34 -0000 1.12 *************** *** 29,32 **** --- 29,33 ---- $flash_wmode_trasparent = $mx_block->get_parameters('flash_wmode_trasparent'); $comunity = $mx_block->get_parameters('comunity'); + $country_code = $mx_block->get_parameters('country_code'); $country = $mx_block->get_parameters('country'); $province = $mx_block->get_parameters('province'); *************** *** 140,147 **** 'COMUNITY' => ( !empty($comunity) ? $comunity : 'asia' ), //continent=North America 'COUNTRY' => ( !empty($country) ? $country : 'Israel' ), //&country=United States 'STATE' => ( !empty($province) ? $province : $city), //&province=Massachusetts 'CITY' => ( !empty($city) ? $city : 'Jerusalem' ), //&city=Boston ! 'G_HOURS' => $gh, ! 'G_MINUTES' => $gm, 'GBC' => $gbc, 'GFC' => $gfc, --- 141,149 ---- 'COMUNITY' => ( !empty($comunity) ? $comunity : 'asia' ), //continent=North America 'COUNTRY' => ( !empty($country) ? $country : 'Israel' ), //&country=United States + 'FLAGCODE' => ( !empty($country_code) ? $country_code : 'il'), 'STATE' => ( !empty($province) ? $province : $city), //&province=Massachusetts 'CITY' => ( !empty($city) ? $city : 'Jerusalem' ), //&city=Boston ! 'G_HOURS' => $gh, ! 'G_MINUTES' => $gm, 'GBC' => $gbc, 'GFC' => $gfc, --- profile_clocks.php DELETED --- |
|
From: Florin C B. <ory...@us...> - 2013-07-04 00:26:51
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21407 Modified Files: mx_functions_core.php Log Message: this commented fix submiting block_cp content Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.138 retrieving revision 1.139 diff -C2 -d -r1.138 -r1.139 *** mx_functions_core.php 2 Jul 2013 02:24:03 -0000 1.138 --- mx_functions_core.php 4 Jul 2013 00:26:48 -0000 1.139 *************** *** 2613,2617 **** } } ! return true; } } --- 2613,2617 ---- } } ! //return $mx_module_defs->is_parameter; } } |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:49:52
|
Update of /cvsroot/mxbb/mx_radio/language/lang_romanian In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26791/lang_romanian Modified Files: lang_main.php Log Message: Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/language/lang_romanian/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 3 Jul 2013 04:47:58 -0000 1.2 --- lang_main.php 3 Jul 2013 04:49:50 -0000 1.3 *************** *** 2,16 **** $lang['Radio'] = "Radio"; $lang['Player'] = "Player"; ! $lang['Off_Air'] = "Serverul este <b>Off-Air</b>, incearcã mai târziu."; $lang['Edit_Config'] = "Player <b>NU</b> e configurat."; ! $lang['Socket_functions_disabled'] = 'Nu am putut folosi funcþiile socket.'; ! $lang['checking_title'] = "Se verificã titlul..."; $lang['media_player'] = "Media Player"; ! $lang['auto_detect'] = "Auto detecteazã"; ! $lang['download'] = "Descarcã"; $lang['no_plugins_seems_to_be_needed'] = "Nu necesita <br> plugine"; $lang['Plugin'] = "Plugine"; $lang['stop'] = "Stop"; ! $lang['listeners'] = "ascultãtori"; $lang['Radio_Player'] = "Radio Player"; $lang['How_Many_Listeners'] = "There are <b>%d</b> listener(s) from this site now"; --- 2,16 ---- $lang['Radio'] = "Radio"; $lang['Player'] = "Player"; ! $lang['Off_Air'] = "Serverul este <b>Off-Air</b>, incearcÄ mai târziu."; $lang['Edit_Config'] = "Player <b>NU</b> e configurat."; ! $lang['Socket_functions_disabled'] = 'Nu am putut folosi funcÅ£iile socket.'; ! $lang['checking_title'] = "Se verificÄ titlul..."; $lang['media_player'] = "Media Player"; ! $lang['auto_detect'] = "Auto detecteazÄ"; ! $lang['download'] = "DescarcÄ"; $lang['no_plugins_seems_to_be_needed'] = "Nu necesita <br> plugine"; $lang['Plugin'] = "Plugine"; $lang['stop'] = "Stop"; ! $lang['listeners'] = "ascultÄtori"; $lang['Radio_Player'] = "Radio Player"; $lang['How_Many_Listeners'] = "There are <b>%d</b> listener(s) from this site now"; *************** *** 24,42 **** $lang['radio_Options'] = "radio Options"; $lang['About'] = "Despre"; ! $lang['Options'] = "Opþiuni"; $lang['Stats_for'] = "Statistice pt.:"; $lang['Server_state'] = "Stare server:"; ! $lang['Station'] = "Staþie:"; $lang['Current_song'] = "Acum:"; $lang['Bitrate'] = "BitRate:"; ! $lang['Listeners_peak'] = "Conectaþi:"; ! $lang['Max_listeners'] = "Maxim ascultãtori:"; $lang['Server_genre'] = "Gen:"; $lang['Stream_URL'] = "URL Flux:"; $lang['Unique'] = "Unici:"; ! $lang['Now_Playing'] = "Acum cântã"; ! $lang['Before_that_you_heard'] = "Ultimele nouã melodii"; $lang['Socket_functions_disabled'] = "Functiile socket sunt dezactivate."; ! $lang['require_password'] = "necesitã parolã"; $lang['Unknown'] = "Unknown"; $lang['Unknown_Artist'] = "Unknown Artist"; --- 24,42 ---- $lang['radio_Options'] = "radio Options"; $lang['About'] = "Despre"; ! $lang['Options'] = "OpÅ£iuni"; $lang['Stats_for'] = "Statistice pt.:"; $lang['Server_state'] = "Stare server:"; ! $lang['Station'] = "StaÅ£ie:"; $lang['Current_song'] = "Acum:"; $lang['Bitrate'] = "BitRate:"; ! $lang['Listeners_peak'] = "ConectaÅ£i:"; ! $lang['Max_listeners'] = "Maxim ascultÄtori:"; $lang['Server_genre'] = "Gen:"; $lang['Stream_URL'] = "URL Flux:"; $lang['Unique'] = "Unici:"; ! $lang['Now_Playing'] = "Acum cântÄ"; ! $lang['Before_that_you_heard'] = "Ultimele nouÄ melodii"; $lang['Socket_functions_disabled'] = "Functiile socket sunt dezactivate."; ! $lang['require_password'] = "necesitÄ parolÄ"; $lang['Unknown'] = "Unknown"; $lang['Unknown_Artist'] = "Unknown Artist"; |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:48:01
|
Update of /cvsroot/mxbb/mx_radio/language/lang_romanian In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26239/lang_romanian Modified Files: lang_main.php Log Message: Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/language/lang_romanian/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_main.php 6 Jun 2007 23:33:49 -0000 1.1 --- lang_main.php 3 Jul 2013 04:47:58 -0000 1.2 *************** *** 1,4 **** --- 1,17 ---- <?php $lang['Radio'] = "Radio"; + $lang['Player'] = "Player"; + $lang['Off_Air'] = "Serverul este <b>Off-Air</b>, incearcã mai târziu."; + $lang['Edit_Config'] = "Player <b>NU</b> e configurat."; + $lang['Socket_functions_disabled'] = 'Nu am putut folosi funcþiile socket.'; + $lang['checking_title'] = "Se verificã titlul..."; + $lang['media_player'] = "Media Player"; + $lang['auto_detect'] = "Auto detecteazã"; + $lang['download'] = "Descarcã"; + $lang['no_plugins_seems_to_be_needed'] = "Nu necesita <br> plugine"; + $lang['Plugin'] = "Plugine"; + $lang['stop'] = "Stop"; + $lang['listeners'] = "ascultãtori"; + $lang['Radio_Player'] = "Radio Player"; $lang['How_Many_Listeners'] = "There are <b>%d</b> listener(s) from this site now"; $lang['Who_Are_Listening' ] = "Who's on Radio: <b>%s</b>"; *************** *** 10,17 **** $lang['About_radio'] = "About radio"; $lang['radio_Options'] = "radio Options"; ! $lang['About'] = "About"; ! $lang['Options'] = "Options"; // // That's all Folks! // ------------------------------------------------- ! ?> --- 23,47 ---- $lang['About_radio'] = "About radio"; $lang['radio_Options'] = "radio Options"; ! $lang['About'] = "Despre"; ! $lang['Options'] = "Opþiuni"; ! $lang['Stats_for'] = "Statistice pt.:"; ! $lang['Server_state'] = "Stare server:"; ! $lang['Station'] = "Staþie:"; ! $lang['Current_song'] = "Acum:"; ! $lang['Bitrate'] = "BitRate:"; ! $lang['Listeners_peak'] = "Conectaþi:"; ! $lang['Max_listeners'] = "Maxim ascultãtori:"; ! $lang['Server_genre'] = "Gen:"; ! $lang['Stream_URL'] = "URL Flux:"; ! $lang['Unique'] = "Unici:"; ! $lang['Now_Playing'] = "Acum cântã"; ! $lang['Before_that_you_heard'] = "Ultimele nouã melodii"; ! $lang['Socket_functions_disabled'] = "Functiile socket sunt dezactivate."; ! $lang['require_password'] = "necesitã parolã"; ! $lang['Unknown'] = "Unknown"; ! $lang['Unknown_Artist'] = "Unknown Artist"; ! $lang['Description_Status'] = "Fluxul e sus la %s"; // // That's all Folks! // ------------------------------------------------- ! ?> \ No newline at end of file |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:48:00
|
Update of /cvsroot/mxbb/mx_radio/language/lang_english In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26239/lang_english Modified Files: lang_main.php Log Message: Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_radio/language/lang_english/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_main.php 28 Feb 2008 06:26:35 -0000 1.3 --- lang_main.php 3 Jul 2013 04:47:58 -0000 1.4 *************** *** 1,4 **** --- 1,17 ---- <?php $lang['Radio'] = "Radio"; + $lang['Player'] = "Player"; + $lang['Off_Air'] = "The server is <b>Off-Air</b>, try again later."; + $lang['Edit_Config'] = "Player configuration is <b>NOT</b>set."; + $lang['Socket_functions_disabled'] = 'Unable to use socket functions.'; + $lang['checking_title'] = "Checking for song title..."; + $lang['media_player'] = "Media Player"; + $lang['auto_detect'] = "Auto detect"; + $lang['download'] = "Download"; + $lang['no_plugins_seems_to_be_needed'] = " <br>Plugins OK"; + $lang['Plugin'] = "Plugin"; + $lang['stop'] = "Stop"; + $lang['listeners'] = "listeners"; + $lang['Radio_Player'] = "Radio Player"; $lang['How_Many_Listeners'] = "There are <b>%d</b> listener(s) from this site now"; $lang['Who_Are_Listening' ] = "Who's on Radio: <b>%s</b>"; *************** *** 10,17 **** $lang['About_radio'] = "About radio"; $lang['radio_Options'] = "radio Options"; ! $lang['About'] = "About"; ! $lang['Options'] = "Options"; // // That's all Folks! // ------------------------------------------------- ! ?> --- 23,47 ---- $lang['About_radio'] = "About radio"; $lang['radio_Options'] = "radio Options"; ! $lang['About'] = "About"; ! $lang['Options'] = "Options"; ! $lang['Stats_for'] = "Stats For:"; ! $lang['Server_state'] = "Server State:"; ! $lang['Station'] = "Station:"; ! $lang['Current_song'] = "Current Song:"; ! $lang['Bitrate'] = "BitRate:"; ! $lang['Listeners_peak'] = "Listeners Peak:"; ! $lang['Max_listeners'] = "Max Listeners:"; ! $lang['Server_genre'] = "Genre:"; ! $lang['Stream_URL'] = "Stream URL:"; ! $lang['Unique'] = "Unique Listeners:"; ! $lang['Now_Playing'] = "Now Playing"; ! $lang['Before_that_you_heard'] = "Before that you heard"; ! $lang['Socket_functions_disabled'] = "Unable to use socket functions."; ! $lang['require_password'] = "require password"; ! $lang['Unknown'] = "Unknown"; ! $lang['Unknown_Artist'] = "Unknown Artist"; ! $lang['Description_Status'] = "Stream is up at %s"; // // That's all Folks! // ------------------------------------------------- ! ?> \ No newline at end of file |
Update of /cvsroot/mxbb/mx_radio/skins/system In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25130/system Added Files: cast_front.gif close.png close_h.png controller_bg.png equalizer_play.gif equalizer_stop.gif index.html mute_off.gif mute_on.gif offline.gif online.gif pause_off.gif pause_on.gif play.jpg play.png play_h.jpg play_h.png play_off.gif play_on.gif playerbg.png real_front.gif screenshot.png screenshot_firefox.png shell.jpg shell.png skin_config.php spacer.gif stop.jpg stop.png stop_h.jpg stop_h.png stop_off.gif stop_on.gif wmp_front.gif Log Message: --- NEW FILE: close_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot_firefox.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: playerbg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.png --- (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: play_h.png --- (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: cast_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.html --- <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META name="GENERATOR" content="3D Editor 1.03 Copyright (c) 2003 by Albu Cristian"> <META name="robots" content="INDEX, FOLLOW"> <TITLE>Index of /radioplayer/v4/skins/aero</TITLE> </HEAD> <BODY text="#FCFCFC" bgcolor="#0055AA" link="#147AEB" vlink="#144ABB" alink="#14FFBB"> <H1><HR><CENTER>Index of /radioplayer/v4/skins/aero<P>Last Updated: Saturday, May 11th, 2013</CENTER><HR></H1><P><TABLE WIDTH=100%> <TD WIDTH=20% BGCOLOR=#147AEB><FONT COLOR=#EB8514><B>File name</B></FONT> <TD WIDTH=10% BGCOLOR=#005ACB><FONT COLOR=#EB8514><B>Size</B></FONT> <TD WIDTH=20% BGCOLOR=#003AAB><FONT COLOR=#EB8514><B>Last update</B></FONT> <TD WIDTH=50% BGCOLOR=#001A8B><FONT COLOR=#EB8514><B>Description</B></FONT></TR> <TR VALIGN=TOP><TD><A HREF="../index.html">[..]</A><TD ALIGN=CENTER><DIR><TD ALIGN=CENTER>5/11/2013, 16:3<TD>Parent directory <TR VALIGN=TOP><TD><A HREF="close.png">close.png</A><TD ALIGN=RIGHT>1,029<TD ALIGN=CENTER>4/19/2008, 9:17<TD> <TR VALIGN=TOP><TD><A HREF="close_h.png">close_h.png</A><TD ALIGN=RIGHT>882<TD ALIGN=CENTER>4/19/2008, 9:30<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_play.gif">equalizer_play.gif</A><TD ALIGN=RIGHT>11,975<TD ALIGN=CENTER>2/24/2008, 23:50<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_stop.gif">equalizer_stop.gif</A><TD ALIGN=RIGHT>545<TD ALIGN=CENTER>2/24/2008, 23:52<TD> <TR VALIGN=TOP><TD><A HREF="play.jpg">play.jpg</A><TD ALIGN=RIGHT>1,834<TD ALIGN=CENTER>4/19/2008, 8:58<TD> <TR VALIGN=TOP><TD><A HREF="play.png">play.png</A><TD ALIGN=RIGHT>2,080<TD ALIGN=CENTER>4/19/2008, 8:40<TD> <TR VALIGN=TOP><TD><A HREF="play_h.jpg">play_h.jpg</A><TD ALIGN=RIGHT>1,843<TD ALIGN=CENTER>4/19/2008, 9:0<TD> <TR VALIGN=TOP><TD><A HREF="play_h.png">play_h.png</A><TD ALIGN=RIGHT>2,006<TD ALIGN=CENTER>4/19/2008, 8:49<TD> <TR VALIGN=TOP><TD><A HREF="playerbg.png">playerbg.png</A><TD ALIGN=RIGHT>297<TD ALIGN=CENTER>4/19/2008, 7:27<TD> <TR VALIGN=TOP><TD><A HREF="shell.jpg">shell.jpg</A><TD ALIGN=RIGHT>18,095<TD ALIGN=CENTER>4/19/2008, 7:25<TD> <TR VALIGN=TOP><TD><A HREF="skin_config.php">skin_config.php</A><TD ALIGN=RIGHT>134<TD ALIGN=CENTER>11/19/2008, 21:39<TD> <TR VALIGN=TOP><TD><A HREF="stop.jpg">stop.jpg</A><TD ALIGN=RIGHT>1,123<TD ALIGN=CENTER>4/19/2008, 13:4<TD> <TR VALIGN=TOP><TD><A HREF="stop_h.jpg">stop_h.jpg</A><TD ALIGN=RIGHT>808<TD ALIGN=CENTER>2/21/2008, 2:16<TD> </TABLE><P ALIGN=RIGHT><SMALL>There are 13 files and 1 directories<BR ALIGN=RIGHT>for a total of 42651 bytes.</SMALL></BODY> </HTML> --- NEW FILE: controller_bg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: skin_config.php --- <?php /** Original skin by: * * copyright (C) 2007-2013 OryNider * www.pubory.uv.ro * < ory...@rd... > (Florin C Bodin) * */ $text_color = "#FF5000"; $current_color = "#ffbf9a"; $normalbg = "#000000"; $selectedbg = "#808000"; $displayfont = "Arial Narrow"; $background_color = "#ffffff"; $link_color = "#8a99f4"; $vlink_color = "#006699"; $alink_color = "#006699"; $hlink_color = "#f3a625"; $selectbox_color = "#0c4596"; $selectbox_text_color = "#ffffff"; // Skin Graphics $skininfo = array(); //Do not edit here $current_color = (@song_siteInfo($artist, $song, $no_cover_url, 'url_info') !== $no_cover_url) ? $link_color : $current_color; $skininfo['body_bgcolor'] = $background_color; $skininfo['body_text'] = $text_color; $skininfo['body_link'] = $link_color; $skininfo['body_vlink'] = $vlink_color; $skininfo['body_alink'] = $alink_color; $skininfo['body_hlink'] = $hlink_color; $skininfo['display_text'] = $current_color; $skininfo['display_font'] = $displayfont; $skininfo['display_fontSize'] = "12"; $skininfo['display_width'] = "298"; $skininfo['display_height'] = "24"; $skininfo['display_left'] = "10"; $skininfo['display_right'] = "10"; $skininfo['display_top'] = "30"; $skininfo['display_style'] = "white-space:nowrap;color:".$current_color." !important;background-color:transparent;text-align:center;blabla:5;"; $skininfo['image'] = "1"; //Valid values are: 0 for small; 1 for medium; 2 for large; and 3 for eXtrem large; $skininfo['version'] = "3"; $skininfo['subversion'] = "5"; $skininfo['name'] = "system"; $skininfo['comment'] = "This is the skin based on original skin v2.0 made by Niklas Pull aka Little Frog."; $skininfo['author'] = "OryNider"; $skininfo['email'] = "ory...@rd..."; $skininfo['homepage'] = "http://pubory.uv.ro/"; $skininfo['screenshot'] = "screenshot.png"; $css = " <style type=\"text/css\"> <!-- * { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; } body { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; color: " . $background_color . "; BACKGROUND-IMAGE: url('" . $module_root_path . "skins/" . $radio_skin . "/playerbg.png'); } a, a:visited, a:active{ text-decoration: none; color: #8a99f4; border: 0px; } /* General markup styles ---------------------------------------- */ * { font-size: 100%; } body, div, p, th, td, li, dd { voice-family: \"\\\"}\\\"\"; voice-family: inherit; } html { /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */ height: 100%; margin-bottom: 1px; } /* General font families for common tags */ font,th,td,p { font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; } img { border: 0; } a, a:visited, a:active{ text-decoration: none; color: " . $link_color . "; border: 0px; } select{ font-family: Helvetica, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; background-color: " . $selectbox_color . "; color: " . $selectbox_text_color . "; border: 0px; } station{ font-weight: bold; font-size: 12px; font-family: Calibri, Helvetica, sans-serif; } #shell{ background-image: url('" . $module_root_path . "skins/" . $radio_skin . "/shell.png'); width: 320px; height: 142px; left: 0px; top: 0px; position: absolute; } #station{ left: 5px; top: 5px; position: absolute; } #display{ width: 300px; height: 24px; left: 10px; right: 10px; top: 30px; font-weight: bold; font-size: 12px; font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; display: inline; position: absolute; } #songtitle{ right: 8px; top: 30px; display: inline; position: absolute; font-weight: bold; width: 214px; } #songtitle{ width: 305px; } #currentlisteners{ } #streamtitle{ width: 211px; left: 10px; top: 37px; font-weight: bold; font-size: 12px; font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; position: absolute; } #listeners{ left: 123px; top: 89px; position: absolute; width: 130px; } #servergenre{ left: 137px; top: 65px; position: absolute; } #bitrate{ left: 138px; top: 53px; position: absolute; } #contentType{ left: 138px; top: 77px; position: absolute; } #firstinfo{ left: 135px; top: 53px; position: absolute; float:left; } #secondinfo{ left: 135px; top: 66px; position: absolute; } #thirdinfo{ left: 135px; top: 79px; position: absolute; } #forthinfo{ left: 135px; top: 92px; position: absolute; } #play{ left: 10px; top: 110px; position: absolute; } #stop{ left: 45px; top: 115px; position: absolute; } #select{ right: 10px; top: 117px; position: absolute; } #select{ left: 220px; top: 110px; position: absolute; } #infoPlayer{ left: 10px; top: 60px; position: absolute; } #infoPlayer{ left: 8px; top: 60px; position: absolute; } #embedFrame{ left: 4px; right: 4px; top: 70px; position: absolute; } #infoPlugin{ left: 20px; top: 74px; position: absolute; } #infoPlugin{ left: 8px; top: 79px; position: absolute; } #equalizer{ left: 214px; bottom: 39px; position: absolute; } #equalizer{ left: 214px; top: 54px; position: absolute; } #eq{ left: -1px; top: -4px; width: 95px; height: 48px; display: inline; position: absolute; } #cover_url{ text-decoration: underline; color: " . $link_color . "; } #closeButton{ left: 300px; top: 2px; position: absolute; } --> </style>"; ?> --- NEW FILE: close.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_off.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/mx_radio/skins/retro In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25130/retro Added Files: cast_front.gif close.jpg close.png close_h.png controller_bg.png equalizer_play.gif equalizer_play95x55.gif equalizer_play95x95.gif equalizer_stop.gif equalizer_stop95x55.gif equalizer_stop95x95.gif index.html mute_off.gif mute_on.gif offline.gif online.gif pause_off.gif pause_on.gif play.jpg play.png play_h.jpg play_h.png play_off.gif play_on.gif playerbg.png real_front.gif screenshot.png screenshot_mozilla.png screenshot_safari.png shell.jpg shell.png skin_config.php spacer.gif stop.jpg stop.png stop_h.jpg stop_h.png stop_off.gif stop_on.gif wmp_front.gif Log Message: --- NEW FILE: screenshot_mozilla.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: close_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: close.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play95x55.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot_safari.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: playerbg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play95x95.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.png --- (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: play_h.png --- (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: cast_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop95x55.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop95x95.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.html --- <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META name="GENERATOR" content="3D Editor 1.03 Copyright (c) 2003 by Albu Cristian"> <META name="robots" content="INDEX, FOLLOW"> <TITLE>Index of /radioplayer/v4/skins/aero</TITLE> </HEAD> <BODY text="#FCFCFC" bgcolor="#0055AA" link="#147AEB" vlink="#144ABB" alink="#14FFBB"> <H1><HR><CENTER>Index of /radioplayer/v4/skins/aero<P>Last Updated: Saturday, May 11th, 2013</CENTER><HR></H1><P><TABLE WIDTH=100%> <TD WIDTH=20% BGCOLOR=#147AEB><FONT COLOR=#EB8514><B>File name</B></FONT> <TD WIDTH=10% BGCOLOR=#005ACB><FONT COLOR=#EB8514><B>Size</B></FONT> <TD WIDTH=20% BGCOLOR=#003AAB><FONT COLOR=#EB8514><B>Last update</B></FONT> <TD WIDTH=50% BGCOLOR=#001A8B><FONT COLOR=#EB8514><B>Description</B></FONT></TR> <TR VALIGN=TOP><TD><A HREF="../index.html">[..]</A><TD ALIGN=CENTER><DIR><TD ALIGN=CENTER>5/11/2013, 16:3<TD>Parent directory <TR VALIGN=TOP><TD><A HREF="close.png">close.png</A><TD ALIGN=RIGHT>1,029<TD ALIGN=CENTER>4/19/2008, 9:17<TD> <TR VALIGN=TOP><TD><A HREF="close_h.png">close_h.png</A><TD ALIGN=RIGHT>882<TD ALIGN=CENTER>4/19/2008, 9:30<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_play.gif">equalizer_play.gif</A><TD ALIGN=RIGHT>11,975<TD ALIGN=CENTER>2/24/2008, 23:50<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_stop.gif">equalizer_stop.gif</A><TD ALIGN=RIGHT>545<TD ALIGN=CENTER>2/24/2008, 23:52<TD> <TR VALIGN=TOP><TD><A HREF="play.jpg">play.jpg</A><TD ALIGN=RIGHT>1,834<TD ALIGN=CENTER>4/19/2008, 8:58<TD> <TR VALIGN=TOP><TD><A HREF="play.png">play.png</A><TD ALIGN=RIGHT>2,080<TD ALIGN=CENTER>4/19/2008, 8:40<TD> <TR VALIGN=TOP><TD><A HREF="play_h.jpg">play_h.jpg</A><TD ALIGN=RIGHT>1,843<TD ALIGN=CENTER>4/19/2008, 9:0<TD> <TR VALIGN=TOP><TD><A HREF="play_h.png">play_h.png</A><TD ALIGN=RIGHT>2,006<TD ALIGN=CENTER>4/19/2008, 8:49<TD> <TR VALIGN=TOP><TD><A HREF="playerbg.png">playerbg.png</A><TD ALIGN=RIGHT>297<TD ALIGN=CENTER>4/19/2008, 7:27<TD> <TR VALIGN=TOP><TD><A HREF="shell.jpg">shell.jpg</A><TD ALIGN=RIGHT>18,095<TD ALIGN=CENTER>4/19/2008, 7:25<TD> <TR VALIGN=TOP><TD><A HREF="skin_config.php">skin_config.php</A><TD ALIGN=RIGHT>134<TD ALIGN=CENTER>11/19/2008, 21:39<TD> <TR VALIGN=TOP><TD><A HREF="stop.jpg">stop.jpg</A><TD ALIGN=RIGHT>1,123<TD ALIGN=CENTER>4/19/2008, 13:4<TD> <TR VALIGN=TOP><TD><A HREF="stop_h.jpg">stop_h.jpg</A><TD ALIGN=RIGHT>808<TD ALIGN=CENTER>2/21/2008, 2:16<TD> </TABLE><P ALIGN=RIGHT><SMALL>There are 13 files and 1 directories<BR ALIGN=RIGHT>for a total of 42651 bytes.</SMALL></BODY> </HTML> --- NEW FILE: controller_bg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: skin_config.php --- <?php /** Original skin by: * * copyright (C) 2007-2013 OryNider * www.pubory.uv.ro * < ory...@rd... > (Florin C Bodin) * */ // Define common skin colors $text_color = "#aff5ff"; $current_color = "#0c4596"; $normalbg = "#000000"; $selectedbg = "#808000"; $displayfont = "Arial Narrow"; $background_color = "#ffffff"; $link_color = "#8a99f4"; $vlink_color = "#006699"; $alink_color = "#006699"; $hlink_color = "#f3a625"; $selectbox_color = "#0c4596"; $selectbox_text_color = "#aff5ff"; // Skin Graphics $skininfo = array(); //Do not edit here $current_color = (@song_siteInfo($artist, $song, $no_cover_url, 'url_info') !== $no_cover_url) ? $link_color : $current_color; $skininfo['body_bgcolor'] = $background_color; $skininfo['body_text'] = $text_color; $skininfo['body_link'] = $link_color; $skininfo['body_vlink'] = $vlink_color; $skininfo['body_alink'] = $alink_color; $skininfo['body_hlink'] = $hlink_color; $skininfo['display_text'] = $current_color; $skininfo['display_font'] = $displayfont; $skininfo['display_fontSize'] = "12"; $skininfo['display_width'] = "211"; $skininfo['display_height'] = "24"; $skininfo['display_left'] = "10"; $skininfo['display_right'] = "10"; $skininfo['display_top'] = "30"; $skininfo['display_style'] = "white-space:nowrap;color:".$current_color." !important;background-color:transparent;text-align:center;blabla:5;"; $skininfo['image'] = "1"; //Valid values are: 0 for small; 1 for medium; 2 for large; and 3 for eXtrem large; $skininfo['version'] = "3"; $skininfo['subversion'] = "5"; $skininfo['name'] = "retro"; $skininfo['cloned_skin'] = 'aero'; $skininfo['comment'] = "This is the skin based on original skin v2.0 made by Niklas Pull aka Little Frog."; $skininfo['author'] = "OryNider"; $skininfo['email'] = "ory...@rd..."; $skininfo['homepage'] = "http://pubory.uv.ro/"; $skininfo['screenshot'] = "screenshot.png"; $css = " <style type=\"text/css\"> <!-- * { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; } body { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; color: " . $background_color . "; BACKGROUND-IMAGE: url('" . $module_root_path . "skins/" . $radio_skin . "/playerbg.png'); } a, a:visited, a:active{ text-decoration: none; color: #8a99f4; border: 0px; } /* General markup styles ---------------------------------------- */ * { font-size: 100%; } body, div, p, th, td, li, dd { voice-family: \"\\\"}\\\"\"; voice-family: inherit; } html { /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */ height: 100%; margin-bottom: 1px; } /* General font families for common tags */ font,th,td,p { font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; } img { border: 0; } a, a:visited, a:active{ text-decoration: none; color: " . $link_color . "; border: 0px; } select{ font-family: Helvetica, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; background-color: " . $selectbox_color . "; color: " . $selectbox_text_color . "; border: 0px; } station{ font-weight: bold; font-size: 12px; font-family: Calibri, Helvetica, sans-serif; } #shell{ background-image: url('" . $module_root_path . "skins/" . $radio_skin . "/shell.png'); width: 320px; height: 142px; left: 0px; top: 0px; position: absolute; } #station{ left: 4px; top: 4px; position: absolute; } #display{ width: 300px; height: 24px; left: 10px; right: 10px; top: 30px; font-weight: bold; font-size: 12px; color: " . $text_color . "; font-family: ".$displayfont.", Trebuchet MS, Calibri, Lucida Grande, Helvetica, Verdana, sans-serif; display: inline; position: absolute; } #songtitle{ right: 8px; top: 30px; font-family: ".$displayfont.", Trebuchet MS, Calibri, Lucida Grande, Helvetica, Verdana, sans-serif; font-weight: bold; color: " . $current_color . "; display: inline; position: absolute; width: 614px; } #songtitle{ width: 305px; } #currentlisteners{ } #streamtitle{ width: 211px; left: 10px; top: 37px; font-weight: bold; font-size: 12px; font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; position: absolute; } #listeners{ left: 120px; top: 53px; position: absolute; width: 130px; } #servergenre{ left: 132px; top: 65px; position: absolute; } #contentType{ left: 133px; top: 77px; position: absolute; } #bitrate{ left: 136px; top: 89px; position: absolute; } #firstinfo{ left: 137px; top: 53px; position: absolute; float:left; } #secondinfo{ left: 137px; top: 66px; position: absolute; } #thirdinfo{ left: 137px; top: 79px; position: absolute; } #forthinfo{ left: 137px; top: 92px; position: absolute; } #play{ left: 10px; top: 110px; position: absolute; } #stop{ left: 45px; top: 115px; position: absolute; } #select{ right: 10px; top: 117px; position: absolute; } #select{ left: 220px; top: 110px; position: absolute; } #infoPlayer{ left: 10px; top: 60px; position: absolute; } #infoPlayer{ left: 8px; top: 60px; position: absolute; } #embedFrame{ left: 4px; right: 4px; top: 70px; position: absolute; } #infoPlugin{ left: 20px; top: 74px; position: absolute; } #infoPlugin{ left: 8px; top: 79px; position: absolute; } #equalizer{ left: 214px; top: 60px; position: absolute; } #eq{ top: -35px; width: 98px; height: 80px; display: inline; position: absolute; } #cover_url{ text-decoration: underline; color: " . $link_color . "; } #closeButton{ left: 300px; top: 2px; position: absolute; } --> </style>"; ?> --- NEW FILE: close.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_off.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/mx_radio/skins/default In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25130/default Added Files: cast_front.gif close.jpg close.png close_h.jpg close_h.png controller_bg.png eq.psd equalizer.psd equalizer_play.gif equalizer_stop.gif index.html mute_off.gif mute_on.gif offline.gif online.gif pause_off.gif pause_on.gif play.jpg play.png play_h.jpg play_h.png play_off.gif play_on.gif player.psd playerbg.png real_front.gif screenshot.png shell.jpg shell.png skin_config.php spacer.gif stop.jpg stop.png stop_h.jpg stop_h.png stop_off.gif stop_on.gif wmp_front.gif Log Message: --- NEW FILE: close_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: player.psd --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: close.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer.psd --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: playerbg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: eq.psd --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.png --- (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: play_h.png --- (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: cast_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: close_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.html --- <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META name="GENERATOR" content="3D Editor 1.03 Copyright (c) 2003 by Albu Cristian"> <META name="robots" content="INDEX, FOLLOW"> <TITLE>Index of /radioplayer/v4/skins/aero</TITLE> </HEAD> <BODY text="#FCFCFC" bgcolor="#0055AA" link="#147AEB" vlink="#144ABB" alink="#14FFBB"> <H1><HR><CENTER>Index of /radioplayer/v4/skins/aero<P>Last Updated: Saturday, May 11th, 2013</CENTER><HR></H1><P><TABLE WIDTH=100%> <TD WIDTH=20% BGCOLOR=#147AEB><FONT COLOR=#EB8514><B>File name</B></FONT> <TD WIDTH=10% BGCOLOR=#005ACB><FONT COLOR=#EB8514><B>Size</B></FONT> <TD WIDTH=20% BGCOLOR=#003AAB><FONT COLOR=#EB8514><B>Last update</B></FONT> <TD WIDTH=50% BGCOLOR=#001A8B><FONT COLOR=#EB8514><B>Description</B></FONT></TR> <TR VALIGN=TOP><TD><A HREF="../index.html">[..]</A><TD ALIGN=CENTER><DIR><TD ALIGN=CENTER>5/11/2013, 16:3<TD>Parent directory <TR VALIGN=TOP><TD><A HREF="close.png">close.png</A><TD ALIGN=RIGHT>1,029<TD ALIGN=CENTER>4/19/2008, 9:17<TD> <TR VALIGN=TOP><TD><A HREF="close_h.png">close_h.png</A><TD ALIGN=RIGHT>882<TD ALIGN=CENTER>4/19/2008, 9:30<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_play.gif">equalizer_play.gif</A><TD ALIGN=RIGHT>11,975<TD ALIGN=CENTER>2/24/2008, 23:50<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_stop.gif">equalizer_stop.gif</A><TD ALIGN=RIGHT>545<TD ALIGN=CENTER>2/24/2008, 23:52<TD> <TR VALIGN=TOP><TD><A HREF="play.jpg">play.jpg</A><TD ALIGN=RIGHT>1,834<TD ALIGN=CENTER>4/19/2008, 8:58<TD> <TR VALIGN=TOP><TD><A HREF="play.png">play.png</A><TD ALIGN=RIGHT>2,080<TD ALIGN=CENTER>4/19/2008, 8:40<TD> <TR VALIGN=TOP><TD><A HREF="play_h.jpg">play_h.jpg</A><TD ALIGN=RIGHT>1,843<TD ALIGN=CENTER>4/19/2008, 9:0<TD> <TR VALIGN=TOP><TD><A HREF="play_h.png">play_h.png</A><TD ALIGN=RIGHT>2,006<TD ALIGN=CENTER>4/19/2008, 8:49<TD> <TR VALIGN=TOP><TD><A HREF="playerbg.png">playerbg.png</A><TD ALIGN=RIGHT>297<TD ALIGN=CENTER>4/19/2008, 7:27<TD> <TR VALIGN=TOP><TD><A HREF="shell.jpg">shell.jpg</A><TD ALIGN=RIGHT>18,095<TD ALIGN=CENTER>4/19/2008, 7:25<TD> <TR VALIGN=TOP><TD><A HREF="skin_config.php">skin_config.php</A><TD ALIGN=RIGHT>134<TD ALIGN=CENTER>11/19/2008, 21:39<TD> <TR VALIGN=TOP><TD><A HREF="stop.jpg">stop.jpg</A><TD ALIGN=RIGHT>1,123<TD ALIGN=CENTER>4/19/2008, 13:4<TD> <TR VALIGN=TOP><TD><A HREF="stop_h.jpg">stop_h.jpg</A><TD ALIGN=RIGHT>808<TD ALIGN=CENTER>2/21/2008, 2:16<TD> </TABLE><P ALIGN=RIGHT><SMALL>There are 13 files and 1 directories<BR ALIGN=RIGHT>for a total of 42651 bytes.</SMALL></BODY> </HTML> --- NEW FILE: controller_bg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: skin_config.php --- <?php /** Original skin by: * copyright (C) 2007-2010 DrKnas * http://forums.winamp.com/member.php?u=271283 * * */ $text_color = "#fFFFFf"; $current_color = "#8s89f4"; $normalbg = "#000000"; $selectedbg = "#808000"; $displayfont = "Arial Narrow"; $background_color = "#ffffff"; $link_color = "#aa66ff"; $vlink_color = "#006699"; $alink_color = "#006699"; $hlink_color = "#f3a625"; $selectbox_color = "#0c4596"; $selectbox_text_color = "#ffffff"; // Skin Graphics $current_color = (@song_siteInfo($artist, $song, $no_cover_url, 'url_info') !== $no_cover_url) ? $link_color : $current_color; $skininfo = array(); //Do not edit here $skininfo['body_bgcolor'] = $background_color; $skininfo['body_text'] = $text_color; $skininfo['body_link'] = $link_color; $skininfo['body_vlink'] = $vlink_color; $skininfo['body_alink'] = $alink_color; $skininfo['body_hlink'] = $hlink_color; $skininfo['display_text'] = $current_color; $skininfo['display_font'] = $displayfont; $skininfo['display_fontSize'] = "12"; $skininfo['display_width'] = "211"; $skininfo['display_height'] = "24"; $skininfo['display_left'] = "10"; $skininfo['display_right'] = "10"; $skininfo['display_top'] = "30"; $skininfo['display_style'] = "white-space:nowrap;color:".$current_color." !important;background-color:transparent;text-align:center;blabla:5;"; $skininfo['image'] = "0"; //Valid values are: 0 for small; 1 for medium; 2 for large; and 3 for eXtrem large; $skininfo['version'] = "4"; $skininfo['subversion'] = "9"; $skininfo['name'] = "system"; $skininfo['comment'] = "This is the skin based on original skin v2.0 made by Niklas Pull aka Little Frog."; $skininfo['author'] = "DrKnas"; $skininfo['email'] = ""; $skininfo['homepage'] = ""; $skininfo['screenshot'] = "screenshot.png"; ?> --- NEW FILE: close.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_off.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mxbb/mx_radio/skins/aero In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25130/aero Added Files: Bitmap_278_set.png cast_front.gif close.png close_h.png controller_bg.png equalizer_play.gif equalizer_play3.gif equalizer_stop.gif equalizer_stop2.gif index.html mute_off.gif mute_on.gif offline.gif online.gif pause_off.gif pause_on.gif play.jpg play.png play_h.jpg play_h.png play_off.gif play_on.gif playerbg.png real_front.gif screenshot.png screenshot_firefox.png shell.jpg shell.png skin_config.php spacer.gif stop.jpg stop.png stop_h.jpg stop_h.png stop_off.gif stop_on.gif wmp_front.gif Log Message: --- NEW FILE: close_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: online.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: pause_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot_firefox.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: playerbg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_off.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: screenshot.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: shell.png --- (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: play_h.png --- (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: cast_front.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mute_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Bitmap_278_set.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.html --- <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META name="GENERATOR" content="3D Editor 1.03 Copyright (c) 2003 by Albu Cristian"> <META name="robots" content="INDEX, FOLLOW"> <TITLE>Index of /radioplayer/v4/skins/aero</TITLE> </HEAD> <BODY text="#FCFCFC" bgcolor="#0055AA" link="#147AEB" vlink="#144ABB" alink="#14FFBB"> <H1><HR><CENTER>Index of /radioplayer/v4/skins/aero<P>Last Updated: Saturday, May 11th, 2013</CENTER><HR></H1><P><TABLE WIDTH=100%> <TD WIDTH=20% BGCOLOR=#147AEB><FONT COLOR=#EB8514><B>File name</B></FONT> <TD WIDTH=10% BGCOLOR=#005ACB><FONT COLOR=#EB8514><B>Size</B></FONT> <TD WIDTH=20% BGCOLOR=#003AAB><FONT COLOR=#EB8514><B>Last update</B></FONT> <TD WIDTH=50% BGCOLOR=#001A8B><FONT COLOR=#EB8514><B>Description</B></FONT></TR> <TR VALIGN=TOP><TD><A HREF="../index.html">[..]</A><TD ALIGN=CENTER><DIR><TD ALIGN=CENTER>5/11/2013, 16:3<TD>Parent directory <TR VALIGN=TOP><TD><A HREF="close.png">close.png</A><TD ALIGN=RIGHT>1,029<TD ALIGN=CENTER>4/19/2008, 9:17<TD> <TR VALIGN=TOP><TD><A HREF="close_h.png">close_h.png</A><TD ALIGN=RIGHT>882<TD ALIGN=CENTER>4/19/2008, 9:30<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_play.gif">equalizer_play.gif</A><TD ALIGN=RIGHT>11,975<TD ALIGN=CENTER>2/24/2008, 23:50<TD> <TR VALIGN=TOP><TD><A HREF="equalizer_stop.gif">equalizer_stop.gif</A><TD ALIGN=RIGHT>545<TD ALIGN=CENTER>2/24/2008, 23:52<TD> <TR VALIGN=TOP><TD><A HREF="play.jpg">play.jpg</A><TD ALIGN=RIGHT>1,834<TD ALIGN=CENTER>4/19/2008, 8:58<TD> <TR VALIGN=TOP><TD><A HREF="play.png">play.png</A><TD ALIGN=RIGHT>2,080<TD ALIGN=CENTER>4/19/2008, 8:40<TD> <TR VALIGN=TOP><TD><A HREF="play_h.jpg">play_h.jpg</A><TD ALIGN=RIGHT>1,843<TD ALIGN=CENTER>4/19/2008, 9:0<TD> <TR VALIGN=TOP><TD><A HREF="play_h.png">play_h.png</A><TD ALIGN=RIGHT>2,006<TD ALIGN=CENTER>4/19/2008, 8:49<TD> <TR VALIGN=TOP><TD><A HREF="playerbg.png">playerbg.png</A><TD ALIGN=RIGHT>297<TD ALIGN=CENTER>4/19/2008, 7:27<TD> <TR VALIGN=TOP><TD><A HREF="shell.jpg">shell.jpg</A><TD ALIGN=RIGHT>18,095<TD ALIGN=CENTER>4/19/2008, 7:25<TD> <TR VALIGN=TOP><TD><A HREF="skin_config.php">skin_config.php</A><TD ALIGN=RIGHT>134<TD ALIGN=CENTER>11/19/2008, 21:39<TD> <TR VALIGN=TOP><TD><A HREF="stop.jpg">stop.jpg</A><TD ALIGN=RIGHT>1,123<TD ALIGN=CENTER>4/19/2008, 13:4<TD> <TR VALIGN=TOP><TD><A HREF="stop_h.jpg">stop_h.jpg</A><TD ALIGN=RIGHT>808<TD ALIGN=CENTER>2/21/2008, 2:16<TD> </TABLE><P ALIGN=RIGHT><SMALL>There are 13 files and 1 directories<BR ALIGN=RIGHT>for a total of 42651 bytes.</SMALL></BODY> </HTML> --- NEW FILE: controller_bg.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_h.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: offline.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_play.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stop_h.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: skin_config.php --- <?php /** Original skin by: * * copyright (C) 2007-2013 OryNider * www.pubory.uv.ro * < ory...@rd... > (Florin C Bodin) * */ $text_color = "#FFFF00"; $current_color = "#fffff4"; $normalbg = "#000000"; $selectedbg = "#808000"; $displayfont = "Arial Narrow"; $background_color = "#ffffff"; $link_color = "#8a99f4"; $vlink_color = "#006699"; $alink_color = "#006699"; $hlink_color = "#f3a625"; $selectbox_color = "#0c4596"; $selectbox_text_color = "#ffffff"; // Skin Graphics $skininfo = array(); //Do not edit here $current_color = (@song_siteInfo($artist, $song, $no_cover_url, 'url_info') !== $no_cover_url) ? $link_color : $current_color; $skininfo['body_bgcolor'] = $background_color; $skininfo['body_text'] = $text_color; $skininfo['body_link'] = $link_color; $skininfo['body_vlink'] = $vlink_color; $skininfo['body_alink'] = $alink_color; $skininfo['body_hlink'] = $hlink_color; $skininfo['display_text'] = $current_color; $skininfo['display_font'] = $displayfont; $skininfo['display_fontSize'] = "12"; $skininfo['display_width'] = "211"; $skininfo['display_height'] = "24"; $skininfo['display_left'] = "10"; $skininfo['display_right'] = "10"; $skininfo['display_top'] = "30"; $skininfo['display_style'] = "white-space:nowrap;color:".$current_color." !important;background-color:transparent;text-align:center;blabla:5;"; $skininfo['image'] = "1"; //Valid values are: 0 for small; 1 for medium; 2 for large; and 3 for eXtrem large; $skininfo['version'] = "3"; $skininfo['subversion'] = "5"; $skininfo['name'] = "aero"; $skininfo['comment'] = "This is the skin based on original skin v2.0 made by Niklas Pull aka Little Frog."; $skininfo['author'] = "OryNider"; $skininfo['email'] = "ory...@rd..."; $skininfo['homepage'] = "http://pubory.uv.ro/"; $skininfo['screenshot'] = "screenshot.png"; $css = " <style type=\"text/css\"> <!-- * { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; } body { margin: 0; padding: 0; font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; color: " . $background_color . "; BACKGROUND-IMAGE: url('" . $module_root_path . "skins/" . $radio_skin . "/playerbg.png'); } a, a:visited, a:active{ text-decoration: none; color: #8a99f4; border: 0px; } /* General markup styles ---------------------------------------- */ * { font-size: 100%; } body, div, p, th, td, li, dd { voice-family: \"\\\"}\\\"\"; voice-family: inherit; } html { /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */ height: 100%; margin-bottom: 1px; } /* General font families for common tags */ font,th,td,p { font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; } img { border: 0; } a, a:visited, a:active{ text-decoration: none; color: " . $link_color . "; border: 0px; } select{ font-family: Helvetica, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; background-color: " . $selectbox_color . "; color: " . $selectbox_text_color . "; border: 0px; } station{ font-weight: bold; font-size: 12px; font-family: Calibri, Helvetica, sans-serif; } #shell{ background-image: url('" . $module_root_path . "skins/" . $radio_skin . "/shell.png'); width: 320px; height: 142px; left: 0px; top: 0px; position: absolute; } #station{ left: 5px; top: 5px; position: absolute; } #display{ width: 300px; height: 24px; left: 10px; right: 10px; top: 30px; font-weight: bold; font-size: 12px; font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; display: inline; position: absolute; } #songtitle{ right: 8px; top: 30px; display: inline; position: absolute; font-family: ".$displayfont.", Trebuchet MS, Calibri, Lucida Grande, Helvetica, Verdana, sans-serif; font-weight: bold; color: " . $current_color . "; width: 214px; } #songtitle{ width: 305px; } #currentlisteners{ } #streamtitle{ width: 211px; left: 10px; top: 37px; font-weight: bold; font-size: 12px; font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; position: absolute; } #listeners{ left: 123px; top: 53px; position: absolute; width: 130px; } #servergenre{ left: 143px; top: 65px; position: absolute; } #contentType{ left: 143px; top: 77px; position: absolute; } #bitrate{ left: 143px; top: 89px; position: absolute; } #firstinfo{ left: 137px; top: 56px; position: absolute; float:left; } #secondinfo{ left: 133px; top: 67px; position: absolute; } #thirdinfo{ left: 133px; top: 80px; position: absolute; } #forthinfo{ left: 137px; top: 92px; position: absolute; } #play{ left: 10px; top: 110px; position: absolute; } #stop{ left: 45px; top: 115px; position: absolute; } #select{ right: 10px; top: 117px; position: absolute; } #select{ left: 220px; top: 110px; position: absolute; } #infoPlayer{ left: 10px; top: 60px; position: absolute; } #infoPlayer{ left: 8px; top: 60px; position: absolute; } #embedFrame{ left: 4px; right: 4px; top: 70px; position: absolute; } #infoPlugin{ left: 20px; top: 74px; position: absolute; } #infoPlugin{ left: 8px; top: 79px; position: absolute; } #equalizer{ left: 236px; top: 54px; position: absolute; } #equalizer{ left: 220px; top: 34px; position: absolute; } #eq{ left: -7px; top: -7px; width: 98px; height: 80px; display: inline; position: absolute; } #cover_url{ text-decoration: underline; color: " . $link_color . "; } #closeButton{ left: 300px; top: 2px; position: absolute; } --> </style>"; ?> --- NEW FILE: close.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: equalizer_stop2.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: play_off.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:30:07
|
Update of /cvsroot/mxbb/mx_radio/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25055/includes Modified Files: common.php Added Files: cast_functions.php cd_cover_getter.php css.php cur_display.php cur_listeners.php cur_picture.php cur_song.php cur_url.php getinfo_ice.php getinfo_shout.php index.htm index.html java_script.php Log Message: --- NEW FILE: index.html --- <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <META name="GENERATOR" content="3D Editor 1.03 Copyright (c) 2003 by Albu Cristian"> <META name="robots" content="INDEX, FOLLOW"> <TITLE>Index of /radioplayer/v4/includes</TITLE> </HEAD> <BODY text="#FCFCFC" bgcolor="#0055AA" link="#147AEB" vlink="#144ABB" alink="#14FFBB"> <H1><HR><CENTER>Index of /radioplayer/v4/includes<P>Last Updated: Saturday, May 11th, 2013</CENTER><HR></H1><P><TABLE WIDTH=100%> <TD WIDTH=20% BGCOLOR=#147AEB><FONT COLOR=#EB8514><B>File name</B></FONT> <TD WIDTH=10% BGCOLOR=#005ACB><FONT COLOR=#EB8514><B>Size</B></FONT> <TD WIDTH=20% BGCOLOR=#003AAB><FONT COLOR=#EB8514><B>Last update</B></FONT> <TD WIDTH=50% BGCOLOR=#001A8B><FONT COLOR=#EB8514><B>Description</B></FONT></TR> <TR VALIGN=TOP><TD><A HREF="../index.html">[..]</A><TD ALIGN=CENTER><DIR><TD ALIGN=CENTER>5/11/2013, 16:3<TD>Parent directory <TR VALIGN=TOP><TD><A HREF="cd_cover_getter.php">cd_cover_getter.php</A><TD ALIGN=RIGHT>2,272<TD ALIGN=CENTER>11/22/2008, 0:10<TD> <TR VALIGN=TOP><TD><A HREF="common.php">common.php</A><TD ALIGN=RIGHT>6,035<TD ALIGN=CENTER>3/3/2011, 0:57<TD> <TR VALIGN=TOP><TD><A HREF="css.php">css.php</A><TD ALIGN=RIGHT>3,977<TD ALIGN=CENTER>11/22/2008, 0:9<TD> <TR VALIGN=TOP><TD><A HREF="cur_display.php">cur_display.php</A><TD ALIGN=RIGHT>2,653<TD ALIGN=CENTER>11/22/2008, 0:9<TD> <TR VALIGN=TOP><TD><A HREF="getinfo_ice.php">getinfo_ice.php</A><TD ALIGN=RIGHT>5,313<TD ALIGN=CENTER>2/17/2009, 19:39<TD> <TR VALIGN=TOP><TD><A HREF="getinfo_shout.php">getinfo_shout.php</A><TD ALIGN=RIGHT>3,106<TD ALIGN=CENTER>3/3/2011, 0:44<TD> <TR VALIGN=TOP><TD><A HREF="java_script.php">java_script.php</A><TD ALIGN=RIGHT>19,746<TD ALIGN=CENTER>12/27/2008, 1:9<TD> </TABLE><P ALIGN=RIGHT><SMALL>There are 7 files and 1 directories<BR ALIGN=RIGHT>for a total of 43102 bytes.</SMALL></BODY> </HTML> --- NEW FILE: getinfo_shout.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: getinfo_shout.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (Current maintainer v 4.0 -) if( !defined('IN_PORTAL') ) { die( "Hacking attempt(shout)" ); } $errno = "0"; $errstr = ""; $connect_timeout = "5"; $state = ""; $currentsong = ""; $currentlisteners = ""; $maxlisteners = ""; $mimetype = ""; $stream_genre = ""; $bitrate = ""; $peaklisteners = ""; $server_name = ""; $server_description = ""; $quality = ""; $video_quality = ""; $frame_size = ""; $frame_rate = ""; $server_url = ""; $artist = ""; $stream_title = ""; if(empty($caster_internal_ip)) { $shout_caster_ip = $caster_ip; $shout_caster_port = $caster_port; } else { $shout_caster_ip = $caster_internal_ip; $shout_caster_port = $caster_internal_port; } $stream_url = $server_url = "http://".$shout_caster_ip.":".$shout_caster_port; #error_reporting(0); $fp = @fsockopen($shout_caster_ip, $shout_caster_port, $errno, $errstr, 5); if(!$fp) { $data = @file_get_contents("http://".$shout_caster_ip.":".$shout_caster_port."/2XS/?format=csv"); if(!$data) { $data = @file_get_contents("http://".$shout_caster_ip.":".$shout_caster_port."/index.html"); } if(!$data) { $state = "Down"; $peaklisteners = 1; $bitrate = "56"; $stream_title = "Stream"; $currentsong = "Track"; //$mimetype = "audio/mpeg"; $lang['Off_Air'] = $lang['Socket_functions_disabled']; } else { $state = "Up"; //Shoutcast Name $regex = '/Shoutcast-Name:(.*)/'; @preg_match($regex, $data, $name); $nameclean = str_replace("%20", " ", $name[1]); //var_dump($name); //echo $name[1]; //Ascoltatori $regex = '/Listeners:(.*)\/(.*)/'; preg_match($regex, $data, $peaklisteners); //var_dump($peaklisteners); //echo $peaklisteners[1]; //echo $peaklisteners[2]; //Bitrate $regex = '/Shoutcast-Bitrate:(.*)/'; preg_match($regex, $data, $bitrate); //var_dump($bitrate); //echo $bitrate[1]; //mimetype $regex = '/Content Type:(.*)/'; preg_match($regex, $data, $mimetype); //Genere $regex = '/Shoutcast-Genre:(.*)/'; preg_match($regex, $data, $stream_genre); //var_dump($stream_genre); //echo $stream_genre[1]; //$server_url $regex = '/Stream-URL:(.*)/'; preg_match($regex, $data, $stream_url); //var_dump($server_url); //echo $server_url[1]; //currentsong $regex = '/Current Song:(.*)/'; preg_match($regex, $data, $currentsong); //Stream Title NOT WORKING NOW! $regex = '/Shoutcast-StreamTitle:(.*)/'; preg_match($regex, $data, $stream_title); //var_dump($stream_title); //echo $stream_title[1]; // ADD Current Song: $stream_title[1] } } else { fputs($fp, "GET /index.html HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n"); $page = ""; while(!feof($fp)) { $page .= fgets($fp, 1000); } $page = preg_replace("~.*Server Status:~", "", $page); //extract data $page = preg_replace("~</b></td></tr></table><br>.*~", "", $page); //extract data $page_array = preg_split('~(</?[^>]+>)~' , $page, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); if(count($page_array) > 10) { for( $i = 0; $i < count( $page_array ); $i++ ) { $state = "Up"; if($page_array[$i] == "Server Status: ") { $server_status = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Stream Status: ") { $bitrate = preg_replace("/ kbps.*/", "", preg_replace("/.*at /", "", $page_array[$i+6])); $currentlisteners = preg_replace("/of.*/", "", $page_array[$i+8]); $maxlisteners = preg_replace("/ listeners.*/", "", preg_replace("/.*of/", "", $page_array[$i+8])); } if($page_array[$i] == "Listener Peak: ") { $peaklisteners = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Stream Title: ") { $stream_title = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Content Type: ") { $mimetype = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Stream Genre: ") { $stream_genre = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Stream URL: ") { $stream_url = strip_tags($page_array[$i+6]); } if($page_array[$i] == "Current Song: ") { $currentsong = strip_tags($page_array[$i+6]); } } } else { $state = $server_status = "Down"; $peaklisteners = 1; $bitrate = "56"; $stream_title = "Stream"; $currentsong = "Track"; $server_url = "http://".$shout_caster_ip.":".$shout_caster_port."/"; //$mimetype = "audio/mpeg"; $lang['Off_Air'] = $lang['Socket_functions_disabled']; } } @fclose($fp); $x = explode(" - ", $currentsong); $artist = !empty($x[0]) ? $x[0] : $currentsong; $song = !empty($x[1]) ? $x[1] : $currentsong; $server_description[1] = sprintf($lang['Description_Status'] ." kbps - ". $lang['listeners'] .": %s", $bitrate, $peaklisteners); $server_description[2] = !empty($server_status) ? $server_status : $stream_title; $server_description[3] = $stream_title; $choice = rand(1, 3); $server_description = $server_description[$choice]; $server_url = !empty($stream_url) ? $stream_url : "http://".$shout_caster_ip.":".$shout_caster_port."/"; // The "i" after the pattern delimiter indicates a case-insensitive search if (preg_match("/Unauthorized/", $stream_title)) { $servertitle = $stream_title = $station_name; } if (preg_match("/Unauthorized/", $stream_genre)) { $servergenre = $stream_genre = "genre"; } if (preg_match("/Unauthorized/", $stream_url)) { $songurl = $stream_url = ""; } if (preg_match("/Unauthorized/", $server_url)) { $serverurl = $server_url = $lang['require_password']; } if (@preg_match("/Unauthorized/", $currentlisteners)) { $currentlisteners = 'n/a'; } if (preg_match("/Unauthorized/", $bitrate)) { $bitrate = 'n/a'; } #error_reporting(E_ALL ^ E_NOTICE); ?> --- NEW FILE: cur_display.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: cur_display.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (v 4.0 - 4.2.x) // OryNider (Current maintainer: 3.5.x & 4.9.x & mxpcms versions)) @define('_RADIO_CONFIG', true); define('STRIP_URL', (@ini_get('allow_url_fopen')) ? false : true); //fopen_url not allowed $module_root_path = "./../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($module_root_path ."includes/common." . $phpEx); //* MX-CMS Code Start if(defined('IN_PORTAL')) { update_radio_users($nick); //Update web listen users } //* MX-CMS Code End if(isset($_GET["skin"])) { $radio_skin = $_GET["skin"]; $module_root_bang = "./"; //Hardcoded for Security } elseif(isset($_GET["style"])) { $radio_skin = $_GET["style"]; $module_root_bang = "./"; //Hardcoded for Security } else { if(empty($radio_skin)) { $radio_skin = "default"; } $module_root_bang = STRIP_URL ? "./" : $module_root_path; } @define('SKIN', $radio_skin); $url_picture = $parsed_xml = "nochange"; $url_info = $caster_url; if(isset($_GET["old_title"])) { $old_title = $_GET["old_title"]; } else { if(empty($old_title)) { $old_title = asc2hex($title); } } //Search: Music; MusicTracks; MP3Downloads; DVD; //$song = "O Jah"; //$artist = "Paul Wilbur"; //$title = (!empty($song) ? trim($song) : trim($title)) . " - " . (!empty($artist) ? trim($artist) : trim($title)); if($picture == "cover") { if(isset($old_title) || STRIP_URL) { //Try site url inside song title $url_info = song_siteInfo($artist, $song, $no_cover_url, 'url_info'); if(($old_title != asc2hex($title)) || STRIP_URL) { //Try Last.FM Api $url_picture = aws_getInfo($artist, $song, 'track', 'url_picture', $url_picture); $url_info = aws_getInfo($artist, $song, 'track', 'url_info', $no_cover_url, false); //Try Amazone Commerce Service Api if ($url_picture === $parsed_xml) { $search = "DigitalMusic"; $parsed_xml = aws_signed_request(array("AssociateTag"=>"knas-20", "Operation"=>"ItemSearch", "SearchIndex"=>$search, "ResponseGroup"=>"Medium,Offers", "Keywords"=>clean_string_alpha_num($title)), $title, $curl); if ($parsed_xml === false) { $search = "MP3Downloads"; $parsed_xml = aws_search_album(array("AssociateTag"=>"knas-20", "Operation"=>"ItemSearch", "SearchIndex"=>$search, "ResponseGroup"=>"Medium,Offers", "Keywords"=>clean_string_alpha_num($title)), $title, $curl); } $data = @is_object($parsed_xml) ? aws_get_wanted_data($parsed_xml) : ""; if(is_array($data)) { $url_picture = ($url_picture != 'nochange') ? $url_picture : $data[0]; if(!empty($data[1]) && ($data[0] != $data[1])) { $url_info = ($url_info != $no_cover_url) ? $url_info : $data[1]; } } /* if (isset($parsed_xml->Items->Item->SmallImage->URL)) { $url_picture = ($url_picture != 'nochange') ? $url_picture : $parsed_xml->Items->Item->SmallImage->URL; $url_info = ($url_info != 'nochange') ? $url_picture : (isset($parsed_xml->Items->Item->DetailPageURL) ? $parsed_xml->Items->Item->DetailPageURL : $url_picture); } */ } if ($url_picture == "nochange") { if($fallback == "logo") { $url_picture = (empty($full_logo_url)) ? $module_root_bang . "logos/" . $logo_name : $full_logo_url; } else { $url_picture = $module_root_bang. "skins/" . SKIN . "/equalizer_play.gif"; } } } } } if($picture == "logo") { $url_picture = (empty($full_logo_url)) ? $module_root_bang . "logos/" . $logo_name : $full_logo_url; //Try FavIcon.Ico if a site is found in song title $url_picture = song_siteInfo($artist, $song, $url_picture, 'url_picture'); } //Blank Picture check for Curenct Picture ver 3.x if(empty($url_picture)) { if($fallback == "logo") { $url_picture = (empty($full_logo_url)) ? $module_root_bang . "logos/" . $logo_name : $full_logo_url; } else { $url_picture = $module_root_bang. "skins/" . SKIN . "/equalizer_play.gif"; } } $old_title = asc2hex($currentsong); // generate the XML headers header('Content-type: text/xml'); echo '<?xml version="1.0" ?>'; if($disable_clean_string == "no") { $title = clean_string($title); $server_description = clean_string($server_description); $server_url = clean_string($server_url); $firstinfo = clean_string($firstinfo); $secondinfo = clean_string($secondinfo); $thirdinfo = clean_string($thirdinfo); $forthinfo = clean_string($forthinfo); } else { $title = trim($title); $server_description = trim($server_description); $server_url = trim($server_url); $firstinfo = trim($firstinfo); $secondinfo = trim($secondinfo); $thirdinfo = trim($thirdinfo); $forthinfo = trim($forthinfo); } // generate the XML Response print " <message> <content>".htmlentities(clean_string($title))."</content> <firstinfo>".htmlentities(clean_string($firstinfo))."</firstinfo> <secondinfo>".htmlentities(clean_string($secondinfo))."</secondinfo> <thirdinfo>".htmlentities(clean_string($thirdinfo))."</thirdinfo> <forthinfo>".htmlentities(clean_string($forthinfo))."</forthinfo> <reload>".htmlentities($update_title)."</reload> <url_picture>".htmlentities($url_picture)."</url_picture> <url_info>".htmlentities($url_info)."</url_info> <description>".htmlentities($server_description)."</description> <url>".htmlentities($server_url)."</url> <old_title>".htmlentities($old_title)."</old_title> </message> "; ?> --- NEW FILE: cur_url.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: cur_url.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (Current maintainer v 4.0 -) @define('_RADIO_CONFIG', true); define('STRIP_URL', (@ini_get('allow_url_fopen')) ? false : true); //fopen_url not allowed $module_root_path = "./../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($module_root_path ."includes/common." . $phpEx); if(isset($_GET["mode"])) { $mode = $_GET["mode"]; } else { $mode = 'url_info'; } if(isset($_GET["skin"])) { $radio_skin = $_GET["skin"]; $module_root_bang = "./"; //Hardcoded for Security } elseif(isset($_GET["style"])) { $radio_skin = $_GET["style"]; $module_root_bang = "./"; //Hardcoded for Security } else { if(empty($radio_skin)) { $radio_skin = "default"; } $module_root_bang = STRIP_URL ? "./" : $module_root_path; } @define('SKIN', $radio_skin); $url_picture = $parsed_xml = "nochange"; $url_info = $caster_url; if(isset($_GET["old_title"])) { $old_title = $_GET["old_title"]; } else { if(empty($old_title)) { $old_title = asc2hex($title); } } //Search: Music; MusicTracks; MP3Downloads; DVD; //$song = "O Jah"; //$artist = "Paul Wilbur"; //$title = (!empty($song) ? trim($song) : trim($title)) . " - " . (!empty($artist) ? trim($artist) : trim($title)); if($picture == "cover") { //Try FavIcon.Ico if a site is found in song title as temp Logo if(isset($old_title) || STRIP_URL) { //Try site url inside song title $url_info = song_siteInfo($artist, $song, $no_cover_url, 'url_info'); if(($old_title != asc2hex($title)) || STRIP_URL) { //Try Last.FM Api $url_info = aws_getInfo($artist, $song, 'track', 'url_info', $no_cover_url); //Try Amazone Commerce Service Api if ($url_picture === $parsed_xml) { $search = "DigitalMusic"; $parsed_xml = aws_signed_request(array("AssociateTag"=>"knas-20", "Operation"=>"ItemSearch", "SearchIndex"=>$search, "ResponseGroup"=>"Medium,Offers", "Keywords"=>clean_string_alpha_num($title)), $title, $curl); if ($parsed_xml === false) { $search = "MP3Downloads"; $parsed_xml = aws_search_album(array("AssociateTag"=>"knas-20", "Operation"=>"ItemSearch", "SearchIndex"=>$search, "ResponseGroup"=>"Medium,Offers", "Keywords"=>clean_string_alpha_num($title)), $title, $curl); } $data = @is_object($parsed_xml) ? aws_get_wanted_data($parsed_xml) : ""; if(is_array($data)) { $url_info = ($url_info != $no_cover_url) ? $url_info : $data[1]; } if (isset($parsed_xml->Items->Item->SmallImage->URL)) { $url_info = ($url_picture != 'nochange') ? $url_picture : $parsed_xml->Items->Item->DetailPageURL; } } } } } $old_title = asc2hex($currentsong); if($mode == 'url_info') { die("$url_info"); } else { die("$$mode "); } ?> --- NEW FILE: cur_song.php --- <?php /** * * @package Mx-Publisher StandAllone - radioplayer * @version $Id: cur_song.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2002-2006 [OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ $module_root_path = "./../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); @define('_RADIO_CONFIG', true); define('STRIP_URL', (@ini_get('allow_url_fopen')) ? false : true); //fopen_url not allowed $module_root_path = "./../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($module_root_path ."includes/common." . $phpEx); if(isset($_GET["skin"])) { $radio_skin = $_GET["skin"]; $module_root_bang = "./"; //Hardcoded for Security } elseif(isset($_GET["style"])) { $radio_skin = $_GET["style"]; $module_root_bang = "./"; //Hardcoded for Security } else { if(empty($radio_skin)) { $radio_skin = "default"; } $module_root_bang = STRIP_URL ? "./" : $module_root_path; } @define('SKIN', $radio_skin); $url_picture = "nochange"; $url_info = $no_cover_url; $currentsong = (!empty($song) ? trim($song) : trim($title)) . " - " . (!empty($artist) ? trim($artist) : trim($title)); $title = !empty($title) ? $currentsong : $no_cover_url; die("$title"); //Remove this line if your hosting supports frames header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); print ' <HTML> <HEAD> <META http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" /> <META http-equiv="pragma" content="no-cache"> <META HTTP-EQUIV="refresh" CONTENT="159"> <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="1:59" 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()",15900) } } window.onload=beginrefresh //--> </script> </HEAD> <body> <span style="font-weight: bold;">' . $title . ' </span> </body> </HTML>'; ?> --- NEW FILE: cd_cover_getter.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: cd_cover_getter.php,v 1.1 2013/07/03 04:30:03 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (Current maintainer v 4.0 -) // Get image thingy by drknas... function Radio_Search_Album($params, $title, $curl) { static $response, $request; $method = "GET"; $host = "ecs.amazonaws.com"; $uri = "/onca/xml"; $params["Service"] = "AWSECommerceService"; $params["AWSAccessKeyId"] = "0ZYCZQTQW9GRW4AY2602"; $params["Timestamp"] = gmdate("Y-m-d\TH:i:s\Z"); $params["Version"] = "2013-05-16"; ksort($params); $canonicalized_query = array(); foreach ($params as $param=>$value) { $param = str_replace("%7E", "~", rawurlencode($param)); $value = str_replace("%7E", "~", rawurlencode($value)); $canonicalized_query[] = $param."=".$value; } $canonicalized_query = implode("&", $canonicalized_query); $string_to_sign = $method."\n".$host."\n".$uri."\n".$canonicalized_query; $signature = base64_encode(hash_hmac("sha256", $string_to_sign, "LFpXAmTy+mZjDWISXr7bGkTVMapgrgUorRKEUOin", true)); $signature = str_replace("%7E", "~", rawurlencode($signature)); $request = "http://".$host.$uri."?".$canonicalized_query."&Signature=".$signature; if($curl == "yes") { $response = curl_file_get_contents($request); } if ($response === false) { $response = @file_get_contents($request); } if ($response === false) { $canonicalized_query = "Service=AWSECommerceService&AWSAccessKeyId=0ZYCZQTQW9GRW4AY2602&AssociateTag=knas-20&Operation=ItemSearch&ResponseGroup=Medium,Offers&SearchIndex=Music&Keywords=".$title."&ItemPage="; $fp = @fsockopen($host, 80, $errno, $errstr, 5); if($fp) { @fputs($fp,"GET /".$uri."?".$canonicalized_query." HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n"); while(!feof($fp)) { $response .= fgets($fp, 1000); } $response = substr($response, 7); $response = substr($response, 0, strlen($response) - 6); } } if ($response === false) { return false; } else { $parsed_xml = @simplexml_load_string($response); if ($parsed_xml === false) { return false; } else { return $parsed_xml; } } } function radio_get_wanted_data($parsed_xml) { $numOfItems = $parsed_xml->Items->TotalResults; if($numOfItems > 0) { $first = $parsed_xml->Items->Item[0]; $wanted_data[] = $first->SmallImage->URL; $wanted_data[] = $first->DetailPageURL; return $wanted_data; } if($numOfItems < 1) { return false; } } ?> --- NEW FILE: java_script.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: java_script.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (Current maintainer v 4.0 -) if( !defined('IN_PORTAL') ) { die( "Hacking attempt(java)" ); } function java_template($module_root_path, $phpEx, $mimetype, $clean_config, $radio_skin, $autoplay, $state, $lang, $java_debug, $update_title) { static $allow_url_config, $allow_url_info, $allow_url_picture; global $skininfo; if(@ini_get('allow_url_fopen')) { $allow_url_config = "?config=".$clean_config; $allow_url_info = "?config=" . $clean_config . "&mode=url_info"; $allow_url_picture = "?config=".$clean_config."&mode=url_picture&style=".$radio_skin; } //some overwrite $java_script = " <SCRIPT TYPE=\"text/javascript\"> <!--// onerror=handleErr; "; if($java_debug == "yes") { $java_script .= " var txt=\"\"; function handleErr(msg, url, l) { txt=\"There was an error on this page.\\n\\n\"; txt+=\"Error: \" + msg + \"\\n\"; txt+=\"URL: \" + url + \"\\n\"; txt+=\"Line: \" + l + \"\\n\\n\"; txt+=\"Click OK to continue.\\n\\n\"; alert(txt); return true; } "; } else { $java_script .= " function handleErr() { clearTimeout(to); setTimeout(\"updateInfo()\", 15900); } "; } $java_script .= " var detectableWithVB = false; var pluginFound = false; var cType = '" . $mimetype . "'; var gecko = !(navigator.appName == 'Internet Explorer'); if (!gecko) { if(document.getElementById(\"IWinAmpActiveX\") != null) { var winampx = document.getElementById(\"IWinAmpActiveX\"); } } else { if (document.getElementById(\"IWinAmpActiveXG\") != null) { var winampx = document.getElementById(\"IWinAmpActiveXG\"); } } "; if(basename($_SERVER['PHP_SELF']) !== "play.php") { $java_script .= " var oMarquees = [], oMrunning, oMInterv = 20, //interval between increments oMStep = 1, //number of pixels to move between increments oStopMAfter = 0, //how many seconds should marquees run (0 for no limit) oResetMWhenStop = false, //set to true to allow linewrapping when stopping oMDirection = 'left'; //'left' for LTR text, 'right' for RTL text /*** Do not edit anything after here ***/ function doMStop() { clearInterval(oMrunning); for( var i = 0; i < oMarquees.length; i++ ) { oDiv = oMarquees[i]; oDiv.mchild.style[oMDirection] = '0px'; if( oResetMWhenStop ) { oDiv.mchild.style.cssText = oDiv.mchild.style.cssText.replace(/;white-space:nowrap;/g,''); oDiv.mchild.style.whiteSpace = ''; oDiv.style.height = ''; oDiv.style.overflow = ''; oDiv.style.position = ''; oDiv.mchild.style.position = ''; oDiv.mchild.style.top = ''; } } oMarquees = []; } function doDMarquee() { if( oMarquees.length || !document.getElementsByTagName ) { return; } var oDivs = document.getElementsByTagName('div'); for( var i = 0, oDiv; i < oDivs.length; i++ ) { oDiv = oDivs[i]; if( oDiv.className && oDiv.className.match(/\bdmarquee\b/) ) { if( !( oDiv = oDiv.getElementsByTagName('div')[0] ) ) { continue; } if( !( oDiv.mchild = oDiv.getElementsByTagName('div')[0] ) ) { continue; } oDiv.mchild.style.cssText += ';".$skininfo['display_style']."'; oDiv.mchild.style.whiteSpace = 'nowrap'; oDiv.style.height = oDiv.offsetHeight + 'px'; oDiv.style.overflow = 'hidden'; oDiv.style.position = 'relative'; oDiv.style.width = '".$skininfo['display_width']."' + 'px'; oDiv.style.height = '".$skininfo['display_height']."' + 'px'; oDiv.style.left = '".$skininfo['display_left']."' + 'px'; oDiv.style.right = '".$skininfo['display_right']."' + 'px'; oDiv.style.top = '".$skininfo['display_top']."' + 'px'; oDiv.style.fontWeight = 'bold'; oDiv.style.fontSize = '".$skininfo['display_fontSize']."' + 'px'; oDiv.style.fontFamily = '".$skininfo['display_font'].",Calibri,Trebuchet MS,Lucida Grande,Helvetica,Verdana,sans-serif'; oDiv.mchild.style.position = 'absolute'; oDiv.mchild.style.top = '0px'; oDiv.mchild.style[oMDirection] = oDiv.offsetWidth + 'px'; oMarquees[oMarquees.length] = oDiv; i += 2; } } oMrunning = setInterval('aniMarquee()',oMInterv); if( oStopMAfter ) { setTimeout('doMStop()',oStopMAfter*1000); } } function aniMarquee() { var oDiv, oPos; for( var i = 0; i < oMarquees.length; i++ ) { oDiv = oMarquees[i].mchild; oPos = parseInt(oDiv.style[oMDirection]); if( oPos <= -1 * oDiv.offsetWidth ) { oDiv.style[oMDirection] = oMarquees[i].offsetWidth + 'px'; } else { oDiv.style[oMDirection] = ( oPos - oMStep ) + 'px'; } } } if( window.addEventListener ) { window.addEventListener('load',doDMarquee,false); } else if( document.addEventListener ) { document.addEventListener('load',doDMarquee,false); } else if( window.attachEvent ) { window.attachEvent('onload',doDMarquee); } function playR() { var oDivs = document.getElementsByTagName('div'); for( var i = 0, oDiv; i < oDivs.length; i++ ) { oDiv = oDivs[i]; if( oDiv.className && oDiv.className.match(/\bdmarquee\b/) ) { if( !( oDiv = oDiv.getElementsByTagName('div')[0] ) ) { continue; } if( !( oDiv.mchild = oDiv.getElementsByTagName('div')[0] ) ) { continue; } oDiv.getElementsByTagName('div')[0].innerHTML = '" . $lang['checking_title'] . "'; i += 2; } } intervalID = window.top.setInterval( 'updateInfo()', " . $update_title . " ); doDMarquee(); document.getElementById('eq').src = '" . $module_root_path . "skins/" . SKIN . "/equalizer_play.gif'; var embed = document.getElementById('embedchoise'); var frame = document.getElementById('embedFrame'); if(embed.value != \"auto\" && embed.value != \"wmp\"){ frame.src = \"" . $module_root_path . "play." . $phpEx . "?config=" . $clean_config . "&embed=\" + embed.value; embedInfo(embed.value); } else if(embed.value == \"wmp\"){ frame.src = \"play." . $phpEx . "?config=" . $clean_config . "&embed=\" + detectWMPEmbed(embed.value); embedInfo(detectWMPEmbed(embed.value)); embedFramereload(); } else{ frame.src = \"" . $module_root_path . "play." . $phpEx . "?config=" . $clean_config . (isset($_GET['embed']) ? $_GET['embed'] : '') . "\"; embedInfo(detectEmbed()); } } function stopR(){ document.getElementById('eq').src = '" . $module_root_path . "skins/" . SKIN . "/equalizer_stop.gif'; document.getElementById('embedFrame').src = \"\"; window.top.clearInterval(intervalID); doMStop(); var oDivs = document.getElementsByTagName('div'); for( var i = 0, oDiv; i < oDivs.length; i++ ) { oDiv = oDivs[i]; if( oDiv.className && oDiv.className.match(/\bdmarquee\b/) ) { if( !( oDiv = oDiv.getElementsByTagName('div')[0] ) ) { continue; } if( !( oDiv.mchild = oDiv.getElementsByTagName('div')[0] ) ) { continue; } oDiv.getElementsByTagName('div')[0].innerHTML = '" . $lang['stop'] . "'; i += 2; } } document.getElementById('firstinfo').innerHTML = \"\"; document.getElementById('secondinfo').innerHTML = \"\"; document.getElementById('thirdinfo').innerHTML = \"\"; document.getElementById('forthinfo').innerHTML = \"\"; } "; } $java_script .= " 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\">» " . $lang['download'] . " Realplayer<\/a>'; } else { plugin = '» " . $lang['no_plugins_seems_to_be_needed'] . "'; } } else if(embed == 'wmp6') { player = '<b>Windows Media<\/b>'; if(!detectWindowsMedia()){ plugin = '<a href=\"http://www.microsoft.com/windows/windowsmedia/\">» " . $lang['download'] . " WMP<\/a>'; if(AXcompatible()){ plugin += '<br><a href=\"http://activex.microsoft.com/activex/controls/mplayer/sv/nsmp2inf.cab#Version=6,4,5,715\">»" . $lang['download'] . " WMP ". $lang['Plugin'] . "<\/a>'; } } else{ plugin = '» " . $lang['no_plugins_seems_to_be_needed'] . "'; } } else if(embed == 'wmp7') { player = '<b>Windows Media<\/b>'; if(!detectWindowsMedia()) { plugin = '<a href=\"http://www.microsoft.com/windows/windowsmedia/\">» " . $lang['download'] . " WMP<\/a>'; } else { plugin = '» " . $lang['no_plugins_seems_to_be_needed'] . "'; } } else if(embed == 'wmpo') { player = '<b>Windows Media<\/b>'; if(!detectWindowsMedia()) { plugin = '<a href=\"http://www.microsoft.com/windows/windowsmedia/\">» " . $lang['download'] . " WMP<\/a>'; } else { plugin = '» " . $lang['no_plugins_seems_to_be_needed'] . "'; } } else if(embed == 'quicktime') { player = '<b>QuickTime<\/b>'; if(!detectQuickTime()) { plugin = '<a href=\"http://www.apple.com/quicktime/download/\">» " . $lang['download'] . " QT<\/a>'; if(AXcompatible()) { plugin += '<br><a href=\"http://www.apple.com/qtactivex/qtplugin.cab\">» " . $lang['download'] . " QT " . $lang['Plugin'] . "<\/a>'; } } else { plugin = '» " . $lang['no_plugins_seems_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/\">» " . $lang['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=\"".ADDON_URL."addonsx/ampx_en_dl.cab\">» " . $lang['download'] . " WinampX<\/a>'; } }"; if(basename($_SERVER['PHP_SELF']) !== "play.php") { $java_script .= " document.getElementById('infoPlayer').innerHTML = player; document.getElementById('infoPlugin').innerHTML = plugin; "; } $java_script .= " } 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 stopWinampx() { if((document.getElementById(\"IWinAmpActiveXG\") != null) || (document.getElementById(\"IWinAmpActiveX\") != null)) { winampx.Deinitialize(); } } function stopWMP() { if((document.getElementById(\"IWinAmpActiveXG\") != null) || (document.getElementById(\"IWinAmpActiveX\") != null)) { winampx.Deinitialize(); } } function AXcompatible() { if (window.ActiveXObject) { // ActiveXObject is supported return true; } else if (window.GeckoActiveXObject) { // GeckoActiveXObject is supported return true; } else if (document.all) { // use ActiveXObject or write IE only OBJECT markup return true; } // use Netscape Plugins 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(){ var cType = '" . $mimetype . "'; if(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() { var cType = '" . $mimetype . "'; if(cType == \"audio/aacp\") { if(AXcompatible()) { return 'winampX'; } return detectWMPEmbed(); } if(canDetectPlugins()) { if(cType == \"audio/mpeg\"){ return detectWMPEmbed(); } 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(); }"; if(basename($_SERVER['PHP_SELF']) !== "play.php") { $java_script .= " var old_title = '73746172745f66617274'; "; } $java_script .= " function makeHttpRequest(url, callback_function, return_xml) { //Create a boolean variable to check for a valid Internet Explorer instance. var xmlHttp = false; //Check if we are using IE. try { //If the JavaScript version is greater than 5. xmlHttp = new ActiveXObject(\"Msxml2.XMLHTTP\"); } catch(e) { //If not, then use the older ActiveX object. try { //If we are using Internet Explorer. xmlHttp = new ActiveXObject(\"Microsoft.XMLHTTP\"); } catch(E) { //Else we must be using a non-IE browser. xmlHttp = false; } } // If we are not using IE, create a JavaScript instance of the object. if (!xmlHttp && typeof XMLHttpRequest != 'undefined') { xmlHttp = new XMLHttpRequest(); } if (!xmlHttp) { alert('Browser doesn\'t support Ajax'); return false; } xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4) { if (xmlHttp.status == 200) { if (return_xml) { eval(callback_function + '(xmlHttp.responseXML)'); } else { eval(callback_function + '(xmlHttp.responseText)'); } } else { setTimeout(\"updateInfo()\",15900); } } } xmlHttp.open('GET', url, true); xmlHttp.send(null); } function loadXML(xml) { var html_title = xml.getElementsByTagName('content').item(0).firstChild.nodeValue; var html_firstinfo = xml.getElementsByTagName('firstinfo').item(0).firstChild.nodeValue; var html_secondinfo = xml.getElementsByTagName('secondinfo').item(0).firstChild.nodeValue; var html_thirdinfo = xml.getElementsByTagName('thirdinfo').item(0).firstChild.nodeValue; var html_forthinfo = xml.getElementsByTagName('forthinfo').item(0).firstChild.nodeValue; var reload_after = xml.getElementsByTagName('reload').item(0).firstChild.nodeValue; var url_picture = xml.getElementsByTagName('url_picture').item(0).firstChild.nodeValue; var url_info = xml.getElementsByTagName('url_info').item(0).firstChild.nodeValue; old_title = xml.getElementsByTagName('old_title').item(0).firstChild.nodeValue; if(url_picture != 'nochange') { document.getElementById('eq').src = url_picture; document.getElementById('cover_url').href = url_info; document.getElementById('cover_url').target = \"_blank\"; } document.getElementById('firstinfo').innerHTML = html_firstinfo; document.getElementById('secondinfo').innerHTML = html_secondinfo; document.getElementById('thirdinfo').innerHTML = html_thirdinfo; document.getElementById('forthinfo').innerHTML = html_forthinfo; var oDivs = document.getElementsByTagName('div'); for(var i = 0, oDiv; i < oDivs.length; i++) { oDiv = oDivs[i]; if(oDiv.className && oDiv.className.match(/\bdmarquee\b/)) { if(!(oDiv = oDiv.getElementsByTagName('div')[0])) { continue; } if(!(oDiv.mchild = oDiv.getElementsByTagName('div')[0])) { continue; } oDiv.getElementsByTagName('div')[0].innerHTML = html_title; i += 2; } } //to = setTimeout(\"updateInfo()\", parseInt(reload_after)); } function checkSong() { //Create a boolean variable to check for a valid Internet Explorer instance. var xmlHttp = false; //Check if we are using IE. try { //If the JavaScript version is greater than 5. xmlHttp = new ActiveXObject(\"Msxml2.XMLHTTP\"); } catch(e) { //If not, then use the older ActiveX object. try { //If we are using Internet Explorer. xmlHttp = new ActiveXObject(\"Microsoft.XMLHTTP\"); } catch(E) { //Else we must be using a non-IE browser. xmlHttp = false; } } // If we are not using IE, create a JavaScript instance of the object. if (!xmlHttp && typeof XMLHttpRequest != 'undefined') { xmlHttp = new XMLHttpRequest(); } var songtitle = document.getElementById('songtitle'); var url = '".$module_root_path."includes/cur_song.".$phpEx.$allow_url_config."'; //xmlHttp.open(\"GET\", url); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { songtitle.innerHTML = xmlHttp.responseText; setTimeout('checkSong()', 25000); } } xmlHttp.open(\"GET\", url, true); xmlHttp.send(null); } function checkSong2() { 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); } } var url = '".$module_root_path."includes/cur_song.".$phpEx.$allow_url_config."'; xmlHttp.open(\"GET\", url, true); xmlHttp.send(null); } function checkcover_url() { 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('cover_url').href = xmlHttp.responseText; //setTimeout('checkcover_url()', 100); } } var url = '".$module_root_path."includes/cur_url.".$phpEx.$allow_url_info."'; xmlHttp.open(\"GET\", url, true); xmlHttp.send(null); } function checkCover() { 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 && xmlHttp.status == 200) { document.getElementById('eq').src = xmlHttp.responseText; //setTimeout('checkCover()', 100); } } var url = '".$module_root_path."includes/cur_picture.".$phpEx.$allow_url_picture."'; xmlHttp.open(\"GET\", url, true); xmlHttp.send(null); } function checklisteners() { 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('currentlisteners').innerHTML = xmlHttp.responseText; setTimeout('checklisteners()',15900); } } xmlHttp.open(\"GET\",\"".$module_root_path."includes/cur_listeners.".$phpEx."\",true); xmlHttp.send(null); } function updateInfo() { var now = new Date(); "; if($autoplay) { //if($state == "Up") //{ $java_script .= " var url = '" . $module_root_path . "includes/cur_display.php?old_title=' + old_title + '&config=" . $clean_config . "&skin=". SKIN ."&ts=' + now.getTime(); "; //} } else { //if($state == "Up") //{ $java_script .= " var url = '" . $module_root_path . "includes/cur_display.php?old_title=' + old_title + '&config=" . $clean_config . "&skin=". SKIN ."&ts=' + now.getTime(); "; //} } $java_script .= " makeHttpRequest(url, 'loadXML', true); }"; //End of functions $java_script2 = ""; $java_script2 .= " loadimg = new Image(27,27); loadimg.src = \"" . $module_root_path . "skins/" . SKIN . "/play_h.jpg\"; loadimg2 = new Image(19,19); loadimg2.src = \"" . $module_root_path . "skins/" . SKIN . "/stop_h.jpg\"; loadimg3 = new Image(18,18); loadimg3.src = \"" . $module_root_path . "skins/" . SKIN . "/close_h.png\"; window.onunload = function(){ stopWinampx(); } window.onload = function(){ embedInfo(detectEmbed()); "; if(basename($_SERVER['PHP_SELF']) !== "play.php") { $java_script2 .= " updateInfo(); "; if($autoplay) { //if($state == "Up") //{ $java_script2 .= " playR();"; //} } } $java_script2 .= " } "; return $java_script . "// --></SCRIPT>"; } ?> --- NEW FILE: getinfo_ice.php --- <?php /** * * @package StandAllone - Radiplayer. * @version $Id: getinfo_ice.php,v 1.1 2013/07/03 04:30:04 orynider Exp $ * @copyright (c) 2006-2013 Little Frog, FlorinCB [aka OryNider], drknas * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // History: // Little Frog (v 1.x - 2.x) // OryNider (v 1.x - 3.x) // DrKnas (Current maintainer v 4.0 -) if( !defined('IN_PORTAL') ) { die( "Hacking attempt(ice)" ); } $state = ""; $currentsong = ""; $currentlisteners = ""; $maxlisteners = ""; $mimetype = ""; $stream_genre = ""; $bitrate = ""; $peaklisteners = ""; $server_name = ""; $server_description = ""; $quality = ""; $video_quality = ""; $frame_size = ""; $frame_rate = ""; $server_url = ""; $artist = ""; $stream_title = ""; if(empty($caster_internal_ip)) { $ice_caster_ip = $caster_ip; $ice_caster_port = $caster_port; } else { $ice_caster_ip = $caster_internal_ip; $ice_caster_port = $caster_internal_port; } $stream_url = $server_url = "http://".$ice_caster_ip.":".$ice_caster_port; //error_reporting(0); define('SERVER', "http://".$ice_caster_ip.":".$ice_caster_port); //your icecast server address, without the ending "/" define('MOUNT', $icecast_mount_point); //your radio\'s mount point, with the leading "/" #error_reporting(0); $stream = radio_getStreamInfo($ice_caster_ip, $ice_caster_port, $icecast_mount_point); if($icecast_status = radio_icecast_status($ice_caster_ip, $ice_caster_port, $icecast_mount_point)) { $state = "Up"; foreach ($icecast_status as $value) { if(isset($value['server_name'])) { if($value['mount'] === $icecast_mount_point) { $currentsong = $value['title']; $stream_title = strip_tags($value['title']); $currentlisteners = $value['listeners']; $peaklisteners = $value['listener_peak']; $max_listeners = $value['max_listeners']; $mimetype = $value['server_type']; $stream_genre = $value['genre']; $server_name = $value['server_name']; $server_description = $value['server_description']; $bitrate = $value['bitrate']; $quality = $value['quality']; $video_quality = $value['video_quality']; $frame_size = $value['frame_size']; $frame_rate = $value['frame_rate']; $server_url = $value['server_url']; $title = strip_tags($value['title']); $artist = $value['artist']; if(empty($bitrate)) { $bitrate = "VBR"; } else { $bitrate = $value['bitrate']; } $state = $value['status']; } } } } elseif($stream['']['status'] == 'Down') { $state = "Down"; $peaklisteners = 1; $bitrate = "56"; $stream_title = "Stream"; $currentsong = "Track"; //$mimetype = "audio/mpeg"; } elseif($stream['']['status'] == 'Socket') { $state = "Down"; $peaklisteners = 1; $bitrate = "56"; $stream_title = "Stream"; $currentsong = "Track"; //$mimetype = "audio/mpeg"; $lang['Off_Air'] = $lang['Socket_functions_disabled']; } if($stream['']['status'] == 'Up') { $state = "Up"; $currentsong = $stream['']['artist_song']; $maxlisteners = $stream['']['max_listeners']; $currentlisteners = $stream['']['listeners']; $peaklisteners = $stream['']['listener_peak']; $mimetype = $stream['']['type']; $stream_genre = $stream['']['genre']; $server_name = $stream['']['title']; $stream_title = strip_tags($stream['']['title']); //Station Name $server_description = $stream['']['description']; $bitrate = $stream['']['bitrate']; $quality = !empty($quality) ? $quality : ""; //$stream['']['quality']; $video_quality = !empty($video_quality) ? $video_quality : ""; //$stream['']['video_quality']; $frame_size = !empty($frame_size) ? $frame_size : ""; //$stream['']['frame_size']; $frame_rate = !empty($frame_rate) ? $frame_rate : ""; //$stream['']['frame_rate']; $server_url = !empty($server_url) ? $server_url : ""; //$stream['']['server_url']; $start = $stream['']['start']; $stream_url = $stream['']['stream_url']; $title = $artist_song = $stream['']['artist_song']; $artist = $stream['']['artist']; $song = $stream['']['song']; } #error_reporting(E_ALL ^ E_NOTICE); function radio_icecast_status($caster_ip, $caster_port, $icecast_mount_point) { static $streamdata; $errno = 0; $errstr = ''; $connect_timeout = 5; $page = ""; # error_reporting(0); $fp = @fsockopen($caster_ip, $caster_port, $errno, $errstr, 5); if($fp) { fputs($fp,"GET /short_status.xsl HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n"); while(!feof($fp)) { $page .= fgets($fp, 1000); } //$mount_points = explode("_END_", $page); //$page_array = preg_split('/<td\s[^>]*class=\"streamdata\">(.*)<\/td>/isU' , $page, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); ////die("$page"); //for( $i = 0; $i < $n = count($page_array); $i++ ) //{ // $state = "Up"; //} $mount_points = explode("_END_",$page); if(count($mount_points) < 2) { return FALSE; } foreach ($mount_points as $value) { if ( ( $value !== '_END_' ) && !empty( $value ) ) { $info = explode("|",$value); if(isset($info[0])) { $mountpoint = explode("_START_", $info[0]); if(count($mountpoint) > 1) { $status[$info[0]]['mount'] = preg_replace("/[\n\r]/","",$mountpoint[1]) ; } else { $status[$info[0]]['mount'] = preg_replace("/[\n\r]/","",$mountpoint[0]) ; } } if(isset($info[1])) { $status[$info[0]]['server_name'] = preg_replace("/[\n\r]/","",$info[1]) ; } if(isset($info[2])) { $status[$info[0]]['server_description'] = preg_replace("/[\n\r]/","",$info[2]) ; } if(isset($info[3])) { $status[$info[0]]['server_type'] = preg_replace("/[\n\r]/","",$info[3]) ; } if(isset($info[4])) { $status[$info[0]]['bitrate'] = preg_replace("/[\n\r]/","",$info[4]) ; } if(isset($info[5])) { $status[$info[0]]['quality'] = preg_replace("/[\n\r]/","",$info[5]) ; } if(isset($info[6])) { $status[$info[0]]['video_quality'] = preg_replace("/[\n\r]/","",$info[6]) ; } if(isset($info[7])) { $status[$info[0]]['frame_size'] = preg_replace("/[\n\r]/","",$info[7]) ; } if(isset($info[8])) { $status[$info[0]]['frame_rate'] = preg_replace("/[\n\r]/","",$info[8]) ; } if(isset($info[9])) { $status[$info[0]]['listeners'] = preg_replace("/[\n\r]/","",$info[9]) ; } if(isset($info[10])) { $status[$info[0]]['listener_peak'] = preg_replace("/[\n\r]/","",$info[10]) ; } if(isset($info[11])) { $status[$info[0]]['genre'] = preg_replace("/[\n\r]/","",$info[11]) ; } if(isset($info[12])) { $status[$info[0]]['server_url'] = preg_replace("/[\n\r]/","",$info[12]) ; } if(isset($info[13])) { $status[$info[0]]['artist'] = preg_replace("/[\n\r]/","",$info[13]) ; } if(isset($info[14])) { $status[$info[0]]['title'] = preg_replace("/[\n\r]/","",$info[14]) ; } $status[$streamdata]['status'] = 'Up'; } } if(isset($status)) { return $status; } else { return FALSE; } } else { $status[$streamdata]['status'] = 'Socket'; return $status; } @fclose($fp); # error_reporting(E_ALL ^ E_NOTICE); } /* based on function by Jude <sur...@gm...> http://jude.im/ FlorinCB <ory...@gm...> works with Icecast 2.3.2 */ function radio_getStreamInfo($ice_caster_ip, $ice_caster_port, $icecast_mount_point) { static $streamdata; $status = array(); $str = @file_get_contents('http://'.$ice_caster_ip.":".$ice_caster_port.'/status.xsl?mount='.$icecast_mount_point); if(!$str) { $fp = @fsockopen($ice_caster_ip, $ice_caster_port, $errno, $errstr, 5); if($fp) { @fputs($fp,"GET /status.xsl?mount=".$icecast_mount_point." HTTP/1.0\r\nUser-Agent: XML Getter (Mozilla Compatible)\r\n\r\n"); while(!@feof($fp)) { $str .= @fgets($fp, 1000); } } else { $status[$streamdata]['status'] = 'Down'; } } if(preg_match_all('/<td\s[^>]*class=\"streamdata\">(.*)<\/td>/isU', $str, $match)) { //Stream Title: title 1,0 //Stream Description: description 1.1 //Content Type: audio/mpeg ... [truncated message content] |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:30:05
|
Update of /cvsroot/mxbb/mx_radio/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25055/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.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_radio.php 21 Sep 2009 21:01:47 -0000 1.5 --- admin_radio.php 3 Jul 2013 04:30:02 -0000 1.6 *************** *** 31,44 **** } - // // Setup basic portal stuff... ! // define('IN_PORTAL', true); $mx_root_path = '../../../'; $module_root_path = "../"; - // // Security and page header... - // // require($mx_root_path . 'extension.inc'); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 31,41 ---- } // Setup basic portal stuff... ! define('_RADIO_CONFIG', true); define('IN_PORTAL', true); $mx_root_path = '../../../'; $module_root_path = "../"; // Security and page header... // require($mx_root_path . 'extension.inc'); $phpEx = substr(strrchr(__FILE__, '.'), 1); |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:28:01
|
Update of /cvsroot/mxbb/mx_radio/skins/system In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24921/system Log Message: Directory /cvsroot/mxbb/mx_radio/skins/system added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-07-03 04:27:38
|
Update of /cvsroot/mxbb/mx_radio/config In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24899/config Log Message: Directory /cvsroot/mxbb/mx_radio/config added to the repository |
|
From: Florin C B. <ory...@us...> - 2013-07-02 23:13:00
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10309/_core Modified Files: shotcast_front.tpl Log Message: Index: shotcast_front.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/_core/shotcast_front.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** shotcast_front.tpl 29 May 2013 05:00:56 -0000 1.4 --- shotcast_front.tpl 2 Jul 2013 23:12:58 -0000 1.5 *************** *** 1,2 **** --- 1,4 ---- + <div class="clear"></div> + <div width="{BLOCK_SIZE}" class="forabg block" style="vertical-align:top;"> <table width="{BLOCK_SIZE}" cellpadding="0" cellspacing="0" border="0" class="forumline"> <tr> *************** *** 6,13 **** <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 --> --- 8,15 ---- <td> ! <table 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"></td> <!-- END switch_listeners_list_on --> <!-- BEGIN switch_listeners_list_off --> *************** *** 45,52 **** <!-- END switch_listeners_list_on --> </table> ! </td> </tr> </table> ! <br clear="all" /> --- 47,55 ---- <!-- END switch_listeners_list_on --> </table> ! </td> </tr> </table> ! </div> <br clear="all" /> + <div class="clear"></div> \ No newline at end of file |
|
From: Florin C B. <ory...@us...> - 2013-07-02 23:12:41
|
Update of /cvsroot/mxbb/mx_shotcast/config In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10283/config Modified Files: config.php Log Message: Index: config.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/config/config.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** config.php 2 Jul 2013 12:56:43 -0000 1.3 --- config.php 2 Jul 2013 23:12:38 -0000 1.4 *************** *** 341,352 **** // Port of the server where the play lists are located. Leave blank if they // are on the same server as the caster ip. - $playlist_port = isset($portal_config['play_port']) ? (int) trim($portal_config['play_port']) : ""; - //If other then port 80 where the play lists are located. Leave blank if they $server_port = ($portal_config['server_port'] <> 80) ? ':' . (int) trim($portal_config['server_port']) . '/' : '/'; ! // ! // Logo config parameters ! // // Logo should be put in the root of "/logos". U can use any format tha works --- 341,351 ---- // Port of the server where the play lists are located. Leave blank if they // are on the same server as the caster ip. //If other then port 80 where the play lists are located. Leave blank if they $server_port = ($portal_config['server_port'] <> 80) ? ':' . (int) trim($portal_config['server_port']) . '/' : '/'; + $playlist_port = isset($radio_config['play_port']) ? (int) trim($radio_config['play_port']) : $server_port; ! /* ! * Logo config parameters ! */ // Logo should be put in the root of "/logos". U can use any format tha works *************** *** 368,377 **** /************************ IF U DON'T KNOW WHAT U ARE DOING *****************/ ! // ! // Advanced config parameters ! // // Use Curl to get cd cover data (yes/no) ! $curl = isset($portal_config['allow_curl']) ? $shotcast_config['allow_curl'] : false; // If both web server and icecast are behind a router and the web server needs --- 367,376 ---- /************************ IF U DON'T KNOW WHAT U ARE DOING *****************/ ! /* ! * Advanced config parameters ! */ // Use Curl to get cd cover data (yes/no) ! $curl = isset($shotcast_config['allow_curl']) ? $shotcast_config['allow_curl'] : false; // If both web server and icecast are behind a router and the web server needs |