Compare commits
3 Commits
lmbrowse-1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d270f2e2b4 | |||
| 1d03dc1df3 | |||
| b722d620e4 |
@@ -1,13 +1,7 @@
|
||||
<?
|
||||
// $RCSfile: lmbrowse.php,v $
|
||||
// $Revision: 1.17 $
|
||||
// $Name: lmbrowse-1_7_5-1 $
|
||||
// $Date: 2016/03/21 16:07:30 $
|
||||
// $Author: agibert $
|
||||
|
||||
/*
|
||||
* LMBrowse - Langueur Monotone Browser
|
||||
* Copyright (C) 2012-2022 Arnaud G. GIBERT
|
||||
* Copyright (C) 2012-2026 Arnaud G. GIBERT
|
||||
* mailto:arnaud@rx3.net
|
||||
* http://www.rx3.org/dvp/lmbrowse
|
||||
*
|
||||
@@ -26,6 +20,8 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
function microtime_float()
|
||||
{
|
||||
list($usec, $sec) = explode(" ", microtime());
|
||||
@@ -41,9 +37,7 @@ $time_start = microtime_float();
|
||||
include "lmbrowse_config.inc";
|
||||
|
||||
$lmb_myname="LMBrowse";
|
||||
$lmb_tag_tab=explode( " ", "\$Name: lmbrowse-1_7_5-1 $");
|
||||
$lmb_tag_tab=explode( "-", $lmb_tag_tab[1]);
|
||||
$lmb_myver=strtr( "$lmb_tag_tab[1]-$lmb_tag_tab[2]", "_", ".");
|
||||
$lmb_myver="1.9.0-1";
|
||||
|
||||
|
||||
|
||||
@@ -309,6 +303,7 @@ function lmb_size_convert( $size)
|
||||
function lmb_html_text_format( $input_text)
|
||||
{
|
||||
$search_tab = array(
|
||||
"#",
|
||||
"&",
|
||||
"\n",
|
||||
"< >",
|
||||
@@ -323,11 +318,13 @@ function lmb_html_text_format( $input_text)
|
||||
"<LM>",
|
||||
"</LM>",
|
||||
"<F+1/>",
|
||||
"<MSF/>",
|
||||
"<TW/>"
|
||||
"<TW/>",
|
||||
"<BC/>",
|
||||
"<YT/>"
|
||||
);
|
||||
|
||||
$replace_tab = array(
|
||||
"",
|
||||
"&",
|
||||
"<br/>\n ",
|
||||
" ",
|
||||
@@ -341,18 +338,10 @@ function lmb_html_text_format( $input_text)
|
||||
"</span>",
|
||||
"<span style=\"font-family:CustomFont; font-weight:normal;\">",
|
||||
"</span>",
|
||||
"
|
||||
<div id=\"fb-root\"></div>
|
||||
<script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/en_EN/sdk.js#xfbml=1&version=v9.0\" nonce=\"8VpYfMEc\"></script>
|
||||
<img src=\"icons/f_logo_RGB-Blue_58.png\" style=\"width: 20px\" /> <div class=\"fb-like\" data-href=\"https://www.facebook.com/langueur.monotone\" data-width=\"\" data-layout=\"button\" data-action=\"like\" data-size=\"small\" data-share=\"true\" style=\"width:auto;\"></div>",
|
||||
"
|
||||
<form method=\"post\" action=\"http://www.myspace.com/my/friends/addtofriends/langueur-monotone\">
|
||||
<input type=\"submit\" value=\"myspace Friend\">
|
||||
<style type=\"text/css\">input {background-color: 000000; border-width:1px; border-style:groove; border-color: 444444; color: FFFFFF; font-family:;}
|
||||
</style>
|
||||
</form>
|
||||
",
|
||||
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a href=\"https://twitter.com/langueurmon?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" style=\"vertical-align: top;\" data-show-screen-name=\"false\" data-show-count=\"false\">Follow @langueurmon</a><script async src=\"https://platform.twitter.com/widgets.js\" charset=\"utf-8\"></script></div>"
|
||||
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a class=\"button-item\" href=\"http://www.facebook.com/langueur.monotone\" style=\"vertical-align: text-bottom;\" title=\"Langueur Monotone on FaceBook\"><i class=\"sprite-icon-facebook-16x16\" style=\"display:block;\"></i></a></div>",
|
||||
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a class=\"button-item\" href=\"http://www.twitter.com/langueurmon\" style=\"vertical-align: text-bottom;\" title=\"Langueur Monotone on X\"><i class=\"sprite-icon-twitter-16x16\" style=\"display:block;\"></i></a></div>",
|
||||
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a class=\"button-item\" href=\"https://langueur-monotone.bandcamp.com/\" style=\"vertical-align: text-bottom;\" title=\"Langueur Monotone on BandCamp\"><i class=\"sprite-icon-bandcamp-16x16\" style=\"display:block;\"></i></a></div>",
|
||||
"<div style=\"text-align: right; vertical-align: top; display:block;\"><a class=\"button-item\" href=\"https://www.youtube.com/c/langueur-monotone\" style=\"vertical-align: text-bottom;\" title=\"Langueur Monotone on YouTube\"><i class=\"sprite-icon-youtube-16x16\" style=\"display:block;\"></i></a></div>",
|
||||
);
|
||||
|
||||
return( str_replace( $search_tab, $replace_tab, $input_text));
|
||||
@@ -384,7 +373,9 @@ function lmb_xml_text_format( $input_text)
|
||||
"</LM>",
|
||||
"<F+1/>",
|
||||
"<MSF/>",
|
||||
"<TW/>"
|
||||
"<TW/>",
|
||||
"<BC/>",
|
||||
"<YT/>"
|
||||
);
|
||||
|
||||
$replace_tab = array(
|
||||
@@ -404,6 +395,7 @@ function lmb_xml_text_format( $input_text)
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
);
|
||||
|
||||
@@ -449,7 +441,7 @@ function lmb_play_validate( $play_type, $play_id, $play_priority)
|
||||
/* Make Tab */
|
||||
/*--------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
function lmb_make_tab( $tab_id, $css_id, $tab_side, $logo_path, $data, $skin_path)
|
||||
function lmb_make_tab( $tab_id, $css_id, $tab_side, $logo_path, $img_path, $data, $skin_path)
|
||||
{
|
||||
$tab_class = "sprite-tab-{$tab_id}-{$tab_side}";
|
||||
|
||||
@@ -465,9 +457,16 @@ function lmb_make_tab( $tab_id, $css_id, $tab_side, $logo_path, $data, $skin_pat
|
||||
$tab_tag = "<td class=\"{$css_id}0\"><div class=\"{$tab_class}\"></div></td>";
|
||||
|
||||
if( $logo_path[0] == "/")
|
||||
{
|
||||
if( $img_path[0] == "/")
|
||||
{
|
||||
$logo_tag = "<td class=\"logo-{$logo_side}\" style=\"width: 20%;\"><img class=\"button-item\" src=\"{$logo_path}\" alt=\"\" onclick=\"openModal('{$img_path}')\" style=\"cursor:pointer\"/></td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$logo_tag = "<td class=\"logo-{$logo_side}\" style=\"width: 20%;\"><img src=\"{$logo_path}\" alt=\"\"/></td>";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$logo_tag = "<td class=\"logo-{$logo_side}\" style=\"width: 20%;\"><div class=\"{$logo_path}\"></div></td>";
|
||||
@@ -664,6 +663,7 @@ function lmb_header( $page_id, $page_name, $page_title, $description, $keywords,
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
<meta name=\"Description\" content=\"$description\"/>
|
||||
<meta name=\"keywords\" content=\"$keywords\"/>
|
||||
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
|
||||
<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{$skin_path}/images/favicon.ico\"/>
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"{$skin_path}/default.css\"/>
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"/jplayer/skin/pink.flag/css/jplayer.pink.flag.css\"/>
|
||||
@@ -704,6 +704,40 @@ echo " </head>
|
||||
echo " <body style=\"background-image:url(''); background-repeat:repeat;\">
|
||||
";
|
||||
|
||||
/* Modal Window */
|
||||
echo " <script type=\"text/javascript\" class=\"init\">
|
||||
function openModal(src)
|
||||
{
|
||||
document.getElementById('modal-img').src = src;
|
||||
document.getElementById('overlay').style.display = 'block';
|
||||
}
|
||||
|
||||
function closeModal()
|
||||
{
|
||||
document.getElementById('overlay').style.display = 'none';
|
||||
}
|
||||
|
||||
// Close when clicking the dark backdrop
|
||||
document.getElementById('overlay').addEventListener('click', function(e)
|
||||
{
|
||||
if (e.target === this) closeModal();
|
||||
});
|
||||
|
||||
// Close with Escape key
|
||||
document.addEventListener('keydown', e =>
|
||||
{
|
||||
if (e.key === 'Escape') closeModal();
|
||||
});
|
||||
</script>
|
||||
";
|
||||
|
||||
echo " <div id=\"overlay\" class=\"overlay\">
|
||||
<div class=\"modal\">
|
||||
<button class=\"modal\" onclick=\"closeModal()\">✕</button>
|
||||
<img id=\"modal-img\" class=\"modal\" src=\"\" alt=\"\">
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"{$mw_tag}\">
|
||||
<tbody>
|
||||
@@ -929,8 +963,7 @@ function lmb_welcome_tab( $skin_path)
|
||||
$data = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
lmb_make_tab( "welcome", "welcome", "l", "{$skin_path}/images/lm-logo1-border-220.png", $data, $skin_path);
|
||||
// lmb_make_tab( "welcome", "welcome", "l", "sprite-lm-logo1-border-220", $data, $skin_path);
|
||||
lmb_make_tab( "welcome", "welcome", "l", "{$skin_path}/images/lm-logo1-border-220.png", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1096,64 +1129,7 @@ function lmb_news_tab( $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "news", "news", "r", "{$skin_path}/images/lm_logo2-border-220.png", $data, $skin_path);
|
||||
lmb_make_tab( "news", "news", "r", "sprite-lm-logo2-border-220", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------------------------*/
|
||||
/* Twitter Tab */
|
||||
/*--------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
function lmb_twitter_tab( $skin_path)
|
||||
{
|
||||
global $lmb_url_post;
|
||||
|
||||
|
||||
ob_start();
|
||||
|
||||
|
||||
|
||||
echo " <tr class=\"twitter1\">
|
||||
<td class=\"twitter01\"></td>
|
||||
<td class=\"twitter0\"></td>
|
||||
<td class=\"twitter01\"></td>
|
||||
</tr>
|
||||
<tr class=\"twitter1\">
|
||||
<td class=\"twitter01\"> </td>
|
||||
<td class=\"twitter0\">
|
||||
|
||||
<a class=\"twitter-timeline\" data-width=\"640\" data-height=\"900\" data-theme=\"dark\" href=\"https://twitter.com/langueurmon?ref_src=twsrc%5Etfw\">Tweets by langueurmon</a>
|
||||
<script async src=\"https://platform.twitter.com/widgets.js\" charset=\"utf-8\"></script>
|
||||
|
||||
</td>
|
||||
<td class=\"twitter01\"> </td>
|
||||
</tr>
|
||||
<tr class=\"twitter1\">
|
||||
<td class=\"twitter01\"></td>
|
||||
<td class=\"twitter0\"></td>
|
||||
<td class=\"twitter01\"></td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
/*
|
||||
|
||||
<div class=\"button-item\" style=\"display: inline-block; border-radius: 5px;\"><a class=\"twitter-timeline\" href=\"https://twitter.com/langueurmon\" data-widget-id=\"544258336741670912\">Tweets by @langueurmon</a></div>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\"://platform.twitter.com/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");</script>
|
||||
|
||||
echo " <tr class=\"twitter1\">
|
||||
<td class=\"twitter01\"></td>
|
||||
<td class=\"twitter1\">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</td>
|
||||
<td class=\"twitter01\"></td>
|
||||
</tr>
|
||||
";
|
||||
*/
|
||||
|
||||
$data = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "twitter", "twitter", "l", "{$skin_path}/images/lm_logo1-border-220.png", $data, $skin_path);
|
||||
lmb_make_tab( "twitter", "twitter", "l", "sprite-lm-logo1-border-220", $data, $skin_path);
|
||||
lmb_make_tab( "news", "news", "r", "sprite-lm-logo2-border-220", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1169,10 +1145,6 @@ function lmb_main_body( $skin_path)
|
||||
lmb_spacer(4);
|
||||
|
||||
lmb_news_tab( $skin_path);
|
||||
|
||||
lmb_spacer(4);
|
||||
|
||||
lmb_twitter_tab( $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1514,7 +1486,7 @@ function lmb_about_tab( $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "about", "about", "l", "{$skin_path}/images/lm_logo2-border-220.png", $data, $skin_path);
|
||||
lmb_make_tab( "about", "about", "l", "sprite-lm-logo2-border-220", $data, $skin_path);
|
||||
lmb_make_tab( "about", "about", "l", "sprite-lm-logo2-border-220", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1561,7 +1533,7 @@ function lmb_history_tab( $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "history", "history", "r", "{$skin_path}/images/lm_logo1-border-220.png", $data, $skin_path);
|
||||
lmb_make_tab( "history", "history", "r", "sprite-lm-logo1-border-220", $data, $skin_path);
|
||||
lmb_make_tab( "history", "history", "r", "sprite-lm-logo1-border-220", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1725,7 +1697,7 @@ function lmb_playlist( $play_type, $side, $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "{$play_type}", "play", $side, "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
|
||||
lmb_make_tab( "{$play_type}", "play", $side, "sprite-lm-logo1-96", $data, $skin_path);
|
||||
lmb_make_tab( "{$play_type}", "play", $side, "sprite-lm-logo1-96", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -1795,7 +1767,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
|
||||
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-1-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-1-400.png\" alt=\"\"/></a></td>
|
||||
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><img class=\"button-item-big\" src=\"{$cover_path}-1-400.png\" alt=\"\" onclick=\"openModal('{$cover_path}-1-1024.png')\" style=\"cursor:pointer\"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -1830,7 +1802,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
|
||||
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class=\"logo\"><img src=\"{$logo_path}-1-128.png\" alt=\"\"/><br/></td>
|
||||
<td class=\"logo\"><img class=\"button-item\" src=\"{$logo_path}-1-128.png\" alt=\"\" onclick=\"openModal('{$logo_path}-1-1024.png')\" style=\"cursor:pointer\"/><br/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -1839,7 +1811,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
|
||||
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-2-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-2-400.png\" alt=\"\"/></a></td>
|
||||
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><img class=\"button-item-big\" src=\"{$cover_path}-2-400.png\" alt=\"\" onclick=\"openModal('{$cover_path}-2-1024.png')\" style=\"cursor:pointer\"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -2218,7 +2190,7 @@ function lmb_tracklist( $play_type, $play_id, $play_priority, $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "tracks", "tracks", "r", "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
|
||||
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo1-96", $data, $skin_path);
|
||||
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo1-96", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -2372,7 +2344,7 @@ function lmb_coverlist( $play_type, $play_id, $play_priority, $skin_path)
|
||||
$css_row = $i % 2 + 1;
|
||||
|
||||
$entry_tag = " <tr class=\"covers{$css_row}\" style=\"height: {$height}px\">
|
||||
<td class=\"covers1\"><a href=\"{$file_tab[0]["url"]}\"><img class=\"button-item\" src=\"{$cover_path}-{$sheet_tab[$i]}-icon.png\" alt=\"\"/></a></td>
|
||||
<td class=\"covers1\"><img class=\"button-item\" src=\"{$cover_path}-{$sheet_tab[$i]}-icon.png\" alt=\"\" onclick=\"openModal('{$file_tab[0]["url"]}')\" style=\"cursor:pointer\"/></td>
|
||||
<td class=\"covers2\"> {$sheet_name} </td>";
|
||||
|
||||
lmb_file_entry_print( $file_tab, "covers3", "covers4", "{$entry_tag}", count( $file_tab));
|
||||
@@ -2383,7 +2355,7 @@ function lmb_coverlist( $play_type, $play_id, $play_priority, $skin_path)
|
||||
$data = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
lmb_make_tab( "covers", "covers", "l", "/{$logo_path}-2-128.png", $data, $skin_path);
|
||||
lmb_make_tab( "covers", "covers", "l", "/{$logo_path}-2-128.png", "/{$logo_path}-2-1024.png", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -2578,7 +2550,7 @@ ${title_tag} <td class=\"videos4\">&nbs
|
||||
$data = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
lmb_make_tab( "videos", "videos", "r", "/{$logo_path}-1-128.png", $data, $skin_path);
|
||||
lmb_make_tab( "videos", "videos", "r", "/{$logo_path}-1-128.png", "/{$logo_path}-1-1024.png", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -2709,7 +2681,7 @@ ${title_tag} <td class=\"extras4\">&nbs
|
||||
$css_row = $i % 2 + 1;
|
||||
|
||||
$entry_tag = " <tr class=\"extras{$css_row}\" style=\"height: {$height}px\">
|
||||
<td class=\"extras1\"><a href=\"{$file_tab[2]["url"]}\"><img class=\"button-item\" src=\"{$extra_prefix}-icon.png\" alt=\"\"/></a></td>
|
||||
<td class=\"extras1\"><img class=\"button-item\" src=\"{$extra_prefix}-icon.png\" alt=\"\" onclick=\"openModal('{$file_tab[array_key_last($file_tab)]["url"]}')\" style=\"cursor:pointer\"/></td>
|
||||
<td class=\"extras2\"> {$extra_type} </td>
|
||||
<td class=\"extras3\"> {$extra_subid} </td>
|
||||
<td class=\"extras4\"> {$extra_format} </td>
|
||||
@@ -2723,7 +2695,7 @@ ${title_tag} <td class=\"extras4\">&nbs
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "extras", "extras", "l", "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
|
||||
lmb_make_tab( "extras", "extras", "l", "sprite-lm-logo1-96", $data, $skin_path);
|
||||
lmb_make_tab( "extras", "extras", "l", "sprite-lm-logo1-96", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -2963,7 +2935,7 @@ function lmb_play_page( $play_type, $play_id, $play_priority)
|
||||
|
||||
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
|
||||
|
||||
if( file_exists( $play_path))
|
||||
if( file_exists( $play_path) && ( ! file_exists( "{$play_path}/.hide" ) || lmb_admin_is()))
|
||||
{
|
||||
|
||||
$play_info = lmb_play_info_get( $play_type, $play_id, $play_priority);
|
||||
@@ -3053,7 +3025,7 @@ function lmb_tracklist_body( $skin_path)
|
||||
ob_end_clean();
|
||||
|
||||
// lmb_make_tab( "tracks", "tracks", "r", "{$skin_path}/images/lm_logo2-96.png", $data, $skin_path);
|
||||
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo2-96", $data, $skin_path);
|
||||
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo2-96", "", $data, $skin_path);
|
||||
}
|
||||
|
||||
|
||||
@@ -3470,7 +3442,7 @@ function lmb_track_intro( $play_type, $play_id, $play_priority, $track_id, $trac
|
||||
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><a href=\"{$cover_path}-1-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-1-{$cover_size}.png\" alt=\"\"/></a></td>
|
||||
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><img class=\"button-item-big\" src=\"{$cover_path}-1-{$cover_size}.png\" alt=\"\" onclick=\"openModal('{$cover_path}-1-1024.png')\" style=\"cursor:pointer\"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -3541,7 +3513,7 @@ echo " </td>
|
||||
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><a href=\"{$cover_path}-2-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-2-{$cover_size}.png\" alt=\"\"/></a></td>
|
||||
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><img class=\"button-item-big\" src=\"{$cover_path}-2-{$cover_size}.png\" alt=\"\" onclick=\"openModal('{$cover_path}-2-1024.png')\" style=\"cursor:pointer\"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -3693,7 +3665,7 @@ Your browser does not support the video tag.
|
||||
$data = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
lmb_make_tab( "video", "videos", "r", "/{$logo_path}-1-128.png", $data, $skin_path);
|
||||
lmb_make_tab( "video", "videos", "r", "/{$logo_path}-1-128.png", "/{$logo_path}-1-1024.png", $data, $skin_path);
|
||||
|
||||
echo " </tr>
|
||||
<tr><td><br/><br/><br/><br/><br/></td></tr>
|
||||
@@ -3884,6 +3856,9 @@ function lmb_track_page( $play_type, $play_id, $play_priority, $track_id)
|
||||
|
||||
|
||||
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
|
||||
|
||||
if( file_exists( $play_path) && ( ! file_exists( "{$play_path}/.hide" ) || lmb_admin_is()))
|
||||
{
|
||||
$skin_path = "{$play_path}/skin";
|
||||
$track_title = lmb_title_get( $play_type, $play_id, $play_priority, $track_id);
|
||||
$track_fulltitle = lmb_fulltitle_get( $play_type, $play_id, $play_priority, $track_id);
|
||||
@@ -3892,6 +3867,11 @@ function lmb_track_page( $play_type, $play_id, $play_priority, $track_id)
|
||||
lmb_track_body( $play_type, $play_id, $play_priority, $track_id, $skin_path);
|
||||
lmb_footer( $skin_path);
|
||||
}
|
||||
else
|
||||
{
|
||||
lmb_redirect_page( "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user