|
From: OryNider <ory...@us...> - 2008-04-20 07:22:17
|
Update of /cvsroot/mxbb/mx_shotcast In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19604 Modified Files: db_install.php db_upgrade.php getinfo.php radioplayer.php shotcast_front.php Log Message: 3.0.0-RC Index: shotcast_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/shotcast_front.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** shotcast_front.php 28 Feb 2008 06:26:39 -0000 1.7 --- shotcast_front.php 20 Apr 2008 07:21:40 -0000 1.8 *************** *** 224,227 **** --- 224,231 ---- $template->pparse('body'); + + // REMOVE OLD SESSIONS + drop_shotcast_users($period); + unset($liteners, $sql, $howmanylisten, $listeners_list, $block_size, $module_root_path, $isimler, $can_listen); ?> Index: radioplayer.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/radioplayer.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** radioplayer.php 6 Mar 2008 03:20:54 -0000 1.9 --- radioplayer.php 20 Apr 2008 07:21:40 -0000 1.10 *************** *** 53,58 **** user_listensc($nick); ?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ! "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> --- 53,57 ---- user_listensc($nick); ?> ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> *************** *** 70,74 **** margin: 0; padding: 0; ! font-family: Verdana; font-size: 10px; } --- 69,73 ---- margin: 0; padding: 0; ! font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; } *************** *** 76,84 **** margin: 0; padding: 0; ! font-family: Verdana; font-size: 10px; color: #ffffff; BACKGROUND-IMAGE: url('<?=$module_root_path;?>images/<?=SKIN;?>/playerbg.png'); } a, a:visited, a:active{ text-decoration: none; --- 75,106 ---- margin: 0; padding: 0; ! font-family: Trebuchet MS, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; color: #ffffff; BACKGROUND-IMAGE: url('<?=$module_root_path;?>images/<?=SKIN;?>/playerbg.png'); } + /* 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; *************** *** 87,95 **** } select{ ! font-family: Verdana; font-size: 10px; background-color: #f1f1f1; border: 0px; } #shell{ background-image: url('<?=$module_root_path;?>images/<?=SKIN;?>/shell.jpg'); --- 109,128 ---- } select{ ! font-family: Helvetica, Lucida Grande, Verdana, Helvetica, Arial, sans-serif; font-size: 10px; background-color: #f1f1f1; border: 0px; } + station{ + font-weight: bold; + font-size: 12px; + font-family: Calibri, Helvetica, sans-serif; + + } + #station{ + font-weight: bold; + font-size: 12px; + font-family: Calibri, Helvetica, sans-serif; + } #shell{ background-image: url('<?=$module_root_path;?>images/<?=SKIN;?>/shell.jpg'); *************** *** 106,117 **** } #songtitle{ - left: 10px; - top: 30px; - position: absolute; - } - #songtitle{ width: 305px; left: 10px; ! top: 28px; position: absolute; } --- 139,148 ---- } #songtitle{ width: 305px; left: 10px; ! top: 30px; ! font-weight: bold; ! font-size: 12px; ! font-family: Calibri, Trebuchet MS, Lucida Grande, Helvetica, Verdana, sans-serif; position: absolute; } *************** *** 157,161 **** } #closeButton{ ! left: 305px; top: 2px; position: absolute; --- 188,192 ---- } #closeButton{ ! left: 300px; top: 2px; position: absolute; *************** *** 169,175 **** --- 200,216 ---- loadimg2 = new Image(19,19); loadimg2.src = "<?=$module_root_path;?>images/<?=SKIN;?>/stop_h.jpg"; + loadimg3 = new Image(18,18); + loadimg3.src = "<?=$module_root_path;?>images/<?=SKIN;?>/close_h.png"; window.onload = function(){ checkSong(); embedInfo(detectEmbed()); + <?php + if($autoplay) + { + ?> + playR(); + <?php + } + ?> } //--> *************** *** 181,186 **** <body> <div id="shell"> ! <div id="station">Radio Player :: <?=$station;?></div> ! <div id="songtitle"> <?php --- 222,226 ---- <body> <div id="shell"> ! <div style="font-weight: bold; font-size: 12px; font-family: Calibri, Helvetica, sans-serif;" id="station">Radio Player :: <?=$station;?></div> <div id="songtitle"> <?php *************** *** 202,215 **** <div id="infoPlugin"></div> ! <div id="equalizer"><img src="<?=$module_root_path;?>images/<?=SKIN;?>/equalizer_stop.gif" id="eq"></div> ! <div id="closeButton"><a href="javascript:window.close()"><img src="<?=$module_root_path;?>images/<?=SKIN;?>/close.jpg" border="0"></a></div> <div id="play"><img id="playB" src="<?=$module_root_path;?>images/<?=SKIN;?>/play.jpg" onclick="javascript:playR()" onmouseover="javascript:document.getElementById('playB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/play_h.jpg';" ! onmouseout="javascript:document.getElementById('playB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/play.jpg';"> </div> <div id="stop"><img id="stopB" src="<?=$module_root_path;?>images/<?=SKIN;?>/stop.jpg" onclick="javascript:stopR()" ! onmouseover="document.getElementById('stopB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/stop_h.jpg';" ! onmouseout="document.getElementById('stopB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/stop.jpg';"> </div> --- 242,258 ---- <div id="infoPlugin"></div> ! <div id="equalizer"><img id="eq" src="<?=$module_root_path;?>images/<?=SKIN;?>/equalizer_stop.gif" /></div> ! <div id="closeButton"><img id="closeB" src="<?=$module_root_path;?>images/<?=SKIN;?>/close.png" onclick="javascript:window.close()" ! onmouseover="javascript:document.getElementById('closeB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/close_h.png';" ! onmouseout="javascript:document.getElementById('closeB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/close.png';" /> ! </div> <div id="play"><img id="playB" src="<?=$module_root_path;?>images/<?=SKIN;?>/play.jpg" onclick="javascript:playR()" onmouseover="javascript:document.getElementById('playB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/play_h.jpg';" ! onmouseout="javascript:document.getElementById('playB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/play.jpg';" /> </div> <div id="stop"><img id="stopB" src="<?=$module_root_path;?>images/<?=SKIN;?>/stop.jpg" onclick="javascript:stopR()" ! onmouseover="document.getElementById('stopB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/stop_h.jpg';" ! onmouseout="document.getElementById('stopB').src = '<?=$module_root_path;?>images/<?=SKIN;?>/stop.jpg';" /> </div> Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/db_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_install.php 6 Mar 2008 03:09:18 -0000 1.7 --- db_install.php 20 Apr 2008 07:21:39 -0000 1.8 *************** *** 35,39 **** } ! $mx_module_version = '2.0.0-RC1'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 35,39 ---- } ! $mx_module_version = '3.0.0-RC'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/db_upgrade.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_upgrade.php 6 Mar 2008 03:09:28 -0000 1.7 --- db_upgrade.php 20 Apr 2008 07:21:39 -0000 1.8 *************** *** 31,35 **** } ! $mx_module_version = '2.0.0-RC1'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; --- 31,35 ---- } ! $mx_module_version = '3.0.0-RC'; $mx_module_copy = 'mxBB <i> - Shotcast</i> module by OryNider & <a href="http://www.mxbb.net" target="_blank">Mx Team</a>'; Index: getinfo.php =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/getinfo.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** getinfo.php 7 Mar 2008 03:28:33 -0000 1.9 --- getinfo.php 20 Apr 2008 07:21:39 -0000 1.10 *************** *** 15,19 **** //require($module_root_path . "includes/common.$phpEx"); ! $shotcast_config['skin'] = 'default'; //$accplugin = 'http://' . $_SERVER['SERVER_NAME'] . substr($_SERVER['PHP_SELF'], 0, -strlen(basename(__FILE__))) . 'install/setup_AAC_aacPlus_plugin.exe'; --- 15,20 ---- //require($module_root_path . "includes/common.$phpEx"); ! $shotcast_config['skin'] = 'aero'; ! $autoplay = true; //$accplugin = 'http://' . $_SERVER['SERVER_NAME'] . substr($_SERVER['PHP_SELF'], 0, -strlen(basename(__FILE__))) . 'install/setup_AAC_aacPlus_plugin.exe'; *************** *** 428,431 **** --- 429,434 ---- } + $station = empty($station) ? $station_name : $station; + if (preg_match("/Unauthorized/", $servertitle)) { |