- Add sprite support,

- Add hover link effect,
- Fix many display position bugs.
This commit is contained in:
agibert 2015-09-07 19:23:56 +00:00
parent e32b04199d
commit 632df6012d

View File

@ -1,8 +1,8 @@
<? <?
// $RCSfile: lmbrowse.php,v $ // $RCSfile: lmbrowse.php,v $
// $Revision: 1.14 $ // $Revision: 1.15 $
// $Name: $ // $Name: $
// $Date: 2015/08/06 23:43:15 $ // $Date: 2015/09/07 19:23:56 $
// $Author: agibert $ // $Author: agibert $
/* /*
@ -468,9 +468,7 @@ function lmb_play_path_get( $play_type, $play_id, $play_priority)
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, $data, $skin_path)
{ {
$tab_file = "tab-{$tab_id}-{$tab_side}.png"; $tab_class = "sprite-tab-{$tab_id}-{$tab_side}";
$image_path = "{$skin_path}/images";
$tab_path = "{$image_path}/{$tab_file}";
if( "$tab_side" == "l") if( "$tab_side" == "l")
{ {
@ -481,8 +479,16 @@ function lmb_make_tab( $tab_id, $css_id, $tab_side, $logo_path, $data, $skin_pat
$logo_side="l"; $logo_side="l";
} }
$tab_tag = "<td class=\"{$css_id}0\"><img src=\"{$tab_path}\" alt=\"\"/></td>"; $tab_tag = "<td class=\"{$css_id}0\"><div class=\"{$tab_class}\"></div></td>";
$logo_tag = "<td class=\"logo-{$logo_side}\" style=\"width: 20%;\"><img src=\"{$logo_path}\" alt=\"\"/></td>";
if( $logo_path[0] == "/")
{
$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>";
}
if( "$tab_side" == "l") if( "$tab_side" == "l")
{ {
@ -570,13 +576,12 @@ function lmb_menu( $menu_id, $skin_path)
{ {
if( $i == $menu_id) if( $i == $menu_id)
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-home_page-off.png\" alt=\"Home Page\"/></td> echo " <td class=\"menu-item\" style=\"width: 128px;\"><div class=\"sprite-menu-home_page-off\"></div></td>
"; ";
} }
else else
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"button-item\" href=\"{$lmb_url_post}\"><div class=\"sprite-menu-home_page-on\"></div></a></td>
echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"menu-home_page\" href=\"{$lmb_url_post}\"></a></td>
"; ";
} }
break; break;
@ -586,12 +591,12 @@ function lmb_menu( $menu_id, $skin_path)
{ {
if( $i == $menu_id) if( $i == $menu_id)
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-about-off.png\" alt=\"About\"/></td> echo " <td class=\"menu-item\" style=\"width: 128px;\"><div class=\"sprite-menu-about-off\"></div></td>
"; ";
} }
else else
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"menu-about\" href=\"{$lmb_url_post}?page=about\"></a></td> echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"button-item\" href=\"{$lmb_url_post}?page=about\"><div class=\"sprite-menu-about-on\"></div></a></td>
"; ";
} }
break; break;
@ -601,12 +606,12 @@ function lmb_menu( $menu_id, $skin_path)
{ {
if( $i == $menu_id) if( $i == $menu_id)
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-discography-off.png\" alt=\"Discography\"/></td> echo " <td class=\"menu-item\" style=\"width: 128px;\"><div class=\"sprite-menu-discography-off\"></div></td>
"; ";
} }
else else
{ {
echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"menu-discography\" href=\"{$lmb_url_post}?page=discography\"></a></td> echo " <td class=\"menu-item\" style=\"width: 128px;\"><a class=\"button-item\" href=\"{$lmb_url_post}?page=discography\"><div class=\"sprite-menu-discography-on\"></div></a></td>
"; ";
} }
break; break;
@ -620,7 +625,7 @@ function lmb_menu( $menu_id, $skin_path)
if( $i < 2) if( $i < 2)
{ {
echo " <td class=\"menu-item\" style=\"width: 20px;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-bg.png\" alt=\"\"/></td> echo " <td class=\"sprite-menu-bg\" style=\"width: 20px;\"></td>
"; ";
} }
} }
@ -693,21 +698,17 @@ function lmb_header( $page_id, $page_name, $page_title, $description, $keywords,
echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"{$mw_tag}\"> echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"{$mw_tag}\">
<tbody> <tbody>
<tr> <tr>
<td class=\"border\" colspan=\"2\"><img src=\"{$skin_path}/images/border-top-left.png\" alt=\"\"/></td> <td class=\"border\" colspan=\"2\"><div class=\"sprite-border-top-left\"></div></td>
<td></td> <td></td>
<td class=\"border\"><img src=\"{$skin_path}/images/title-1.png\" alt=\"\"/></td> <td class=\"border sprite-title_line-l\"></td>
";
/*
echo " <td class=\"border\" style=\"width: 540px;\"><img src=\"{$skin_path}/images/title-3.png\" alt=\"Langueur Monotone\"/></td>
";
*/
echo " <td class=\"title\" style=\"width: 580px;\"><h1 class=\"lm\">Langueur Monotone</h1></td>
"; ";
echo " <td class=\"border\"><img src=\"{$skin_path}/images/title-5.png\" alt=\"\"/></td> echo " <td class=\"sprite-title_line-m\" style=\"width: 580px;\"><h1 class=\"lm\">Langueur Monotone</h1></td>
";
echo " <td class=\"border sprite-title_line-r\"></td>
<td></td> <td></td>
<td class=\"border\" colspan=\"2\"><img src=\"{$skin_path}/images/border-top-right.png\" alt=\"\"/></td> <td class=\"border\" colspan=\"2\"><div class=\"sprite-border-top-right\"></div></td>
</tr> </tr>
<tr> <tr>
<td colspan=\"2\"></td> <td colspan=\"2\"></td>
@ -719,33 +720,32 @@ function lmb_header( $page_id, $page_name, $page_title, $description, $keywords,
echo " <td colspan=\"2\"></td> echo " <td colspan=\"2\"></td>
</tr> </tr>
<tr> <tr>
<td colspan=\"1\" rowspan=\"3\" style=\"vertical-align: middle; height: 16px;\"><img src=\"{$skin_path}/images/border-left.png\" alt=\"\"/></td> <td colspan=\"1\" rowspan=\"4\" style=\"vertical-align: middle; height: 16px;\"><div class=\"sprite-border-left\"></div></td>
<td colspan=\"2\"></td> <td colspan=\"7\" style=\"height: 16px;\"></td>
<td></td> <td colspan=\"1\" rowspan=\"4\" style=\"vertical-align: middle; height: 16px;\"><div class=\"sprite-border-right\"></div></td>
<td style=\"height: 16px;\"></td>
<td></td>
<td colspan=\"2\"></td>
<td colspan=\"1\" rowspan=\"3\" style=\"vertical-align: middle; height: 16px;\"><img src=\"{$skin_path}/images/border-right.png\" alt=\"\"/></td>
</tr> </tr>
<tr> <tr>
<td style=\"vertical-align: top; height: 30px; text-align: center; \" rowspan=\"1\" colspan=\"7\"> <td style=\"vertical-align: top; height: 20px; text-align: center; \" rowspan=\"1\" colspan=\"7\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"\"> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"menu-item\" style=\"width: 16px; vertical-align: top;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-begin.png\" alt=\"\"/></td> <td class=\"menu-left\" style=\"width: 16px; vertical-align: top;\"><div class=\"sprite-menu-begin\"></div></td>
<td class=\"menu-bg\"></td> <td class=\"sprite-menu-bg\" style=\"width: 50%;\"></td>
"; ";
lmb_menu( $page_id, $skin_path); lmb_menu( $page_id, $skin_path);
echo " <td class=\"menu-bg\"></td> echo " <td class=\"sprite-menu-bg\" style=\"width: 50%;\"></td>
<td class=\"menu-item\" style=\"width: 16px; vertical-align: top;\"><img class=\"menu-item\" src=\"{$skin_path}/images/menu-end.png\" alt=\"\"/></td> <td class=\"menu-item\" style=\"width: 16px; vertical-align: top;\"><div class=\"sprite-menu-end\"></div></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</td> </td>
</tr> </tr>
<tr>
<td colspan=\"7\" style=\"height: 10px;\"></td>
</tr>
<tr> <tr>
<td colspan=\"7\" rowspan=\"1\" style=\"vertical-align: top;\"> <td colspan=\"7\" rowspan=\"1\" style=\"vertical-align: top;\">
<table style=\"text-align: left; width: 100%; height: 100%;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table style=\"text-align: left; width: 100%; height: 100%;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
@ -787,34 +787,33 @@ function lmb_footer( $skin_path)
</td> </td>
</tr> </tr>
<tr> <tr>
<td style=\"vertical-align: top; height: 20px; text-align: right;\" colspan=\"2\"><img src=\"{$skin_path}/images/line-l.png\" alt=\"\"/> </td> <td class=\"sprite-bottom_line-l\" style=\"vertical-align: top; height: 20px;\" colspan=\"2\"></td>
<td class=\"line-bg\" colspan=\"5\"></td> <td class=\"sprite-bottom_line-m\" colspan=\"5\"></td>
<td style=\"vertical-align: top; height: 20px; text-align: left;\" colspan=\"2\"><img src=\"{$skin_path}/images/line-r.png\" alt=\"\"/> </td> <td class=\"sprite-bottom_line-r\" style=\"vertical-align: top; height: 20px; text-align: left;\" colspan=\"2\"></td>
</tr> </tr>
<tr class=\"border\" style=\"height: 35px;\"> <tr class=\"border\" style=\"height: 35px;\">
<td colspan=\"2\" rowspan=\"2\"><img src=\"{$skin_path}/images/border-bottom-left.png\" alt=\"\"/></td> <td colspan=\"2\" rowspan=\"2\"><div class=\"sprite-border-bottom-left\"></div></td>
<td colspan=\"5\"> <td colspan=\"5\">
<table style=\"text-align: left; width: 100%; height: auto;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table style=\"text-align: left; width: 100%; height: auto;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr> <tr>
<td class=\"body\"> <td>
<table style=\"width: 100%; height: auto; text-align: left; \" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table style=\"width: 100%; height: auto; \" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr> <tr>
<td style=\"width: 16px;\"></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://{$lmb_url_pre}/?page=rss\" title=\"Langueur Monotone RSS feed\"><div class=\"sprite-button-rss-on\" style=\"\"></div></a></td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-rss\" href=\"http://{$lmb_url_pre}/?page=rss\" title=\"Langueur Monotone RSS feed\"></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 96px;\"><a rel=\"\" class=\"button-rx3\" href=\"http://www.rx3.net/\" title=\"Rx3.Net\"></a></td> <td class=\"button-item\" style=\"width: 96px;\"><a rel=\"\" class=\"button-item\" href=\"http://www.rx3.net/\" title=\"Rx3.Net\"><div class=\"sprite-button-rx3-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-safe_creative\" href=\"http://www.safecreative.org/\" title=\"SafeCreative\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://www.safecreative.org/\" title=\"SafeCreative\"><div class=\"sprite-button-safe_creative-on\"></div></a></td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</td> </td>
<td style=\"width: 30%;\"> <td style=\"width: 338px;\">
<table style=\"width: 100%; height: auto; text-align: left; \" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table style=\"width: 100%; height: auto; text-align: left; \" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr> <tr>
@ -822,30 +821,30 @@ function lmb_footer( $skin_path)
if( lmb_admin_is()) if( lmb_admin_is())
{ {
echo " <td></td> echo " <td style=\"width: 13px;\"></td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-w3c-html\" href=\"http://validator.w3.org/check?uri=referer\" title=\"W3C HTML Validator\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://validator.w3.org/check?uri=referer\" title=\"W3C HTML Validator\"><div class=\"sprite-button-w3c-html-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-w3c-css\" href=\"http://jigsaw.w3.org/css-validator/check/referer\" title=\"W3C CSS Validator\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://jigsaw.w3.org/css-validator/check/referer\" title=\"W3C CSS Validator\"><div class=\"sprite-button-w3c-css-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-w3c-rss\" href=\"http://feed1.w3.org/check.cgi?url=http%3A//{$lmb_url_pre}/%3Fpage%3Drss\" title=\"W3C RSS Validator\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://feed1.w3.org/check.cgi?url=http%3A//{$lmb_url_pre}/%3Fpage%3Drss\" title=\"W3C RSS Validator\"><div class=\"sprite-button-w3c-rss-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-stats\" href=\"/www-stats/\" title=\"Rx3 Statistics\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"/www-stats/\" title=\"Rx3 Statistics\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-stats\" href=\"https://www.google.com/analytics/web/?hl=en&amp;pli=1#dashboard//a37642754w66067134p67926512\" title=\"Google Analytics\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/analytics/web/?hl=en&amp;pli=1#dashboard//a37642754w66067134p67926512\" title=\"Google Analytics\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-stats\" href=\"https://www.google.com/webmasters/tools/dashboard?hl=fr&amp;siteUrl=http%3A%2F%2F{$lmb_url_pre}%2F\" title=\"Google Webmaster Tools\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a class=\"button-item\" href=\"https://www.google.com/webmasters/tools/dashboard?hl=fr&amp;siteUrl=http%3A%2F%2F{$lmb_url_pre}%2F\" title=\"Google Webmaster Tools\"><div class=\"sprite-button-stats-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-rss\" href=\"http://{$lmb_url_pre}/?page=sitemap\" title=\"SiteMap\"></a></td> <td class=\"button-item\" style=\"width: 32px;\"><a rel=\"nofollow\" class=\"button-item\" href=\"http://{$lmb_url_pre}/?page=sitemap\" title=\"SiteMap\"><div class=\"sprite-button-rss-on\"></div></a></td>
<td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td> <td style=\"width: 8px;\">&nbsp;&nbsp;&nbsp;</td>
<td class=\"button-item\" style=\"width: 32px;\"> <td class=\"button-item\" style=\"width: 32px;\">
<form action=\"{$lmb_url_post}\" method=\"post\"> <form action=\"{$lmb_url_post}\" method=\"post\">
<div> <div>
<input type=\"hidden\" name=\"password\" value=\"XXX\"/> <input type=\"hidden\" name=\"password\" value=\"XXX\"/>
<input class=\"logout\" type=\"submit\" value=\"\" title=\"Logout\"/> <div class=\"sprite-button-login-on\" style=\"display:inline-block; vertical-align: middle\"><input class=\"logout\" type=\"submit\" value=\"\" title=\"Logout\"/></div>
</div> </div>
</form> </form>
</td> </td>
<td></td> <td style=\"width: 13px;\"></td>
"; ";
} }
else else
@ -853,8 +852,8 @@ function lmb_footer( $skin_path)
echo " <td class=\"button-item\" style=\"\"> echo " <td class=\"button-item\" style=\"\">
<form action=\"{$lmb_url_post}\" method=\"post\"> <form action=\"{$lmb_url_post}\" method=\"post\">
<div> <div>
<input class=\"password\" type=\"password\" name=\"password\" size=\"8\" title=\"Password\"/> <div style=\"display: inline-block; vertical-align: middle;\"><input class=\"password\" type=\"password\" name=\"password\" size=\"8\" title=\"Password\"/></div>
<input class=\"login\" type=\"submit\" value=\"\" title=\"Login\"/> <div class=\"sprite-button-login-on\" style=\"display:inline-block; vertical-align: middle\"><input class=\"login\" type=\"submit\" value=\"\" title=\"Login\"/></div>
</div> </div>
</form> </form>
</td> </td>
@ -869,18 +868,18 @@ function lmb_footer( $skin_path)
</tbody> </tbody>
</table> </table>
</td> </td>
<td class=\"bottext\">Page generated in $time_elaps seconds by <a href=\"http://www.rx3.org/dvp/?dvp=".strtolower($lmb_myname)."\">{$lmb_myname}</a> V {$lmb_myver}</td> <td class=\"bottext\">Page generated in $time_elaps seconds by <div class=\"link-item\"><a href=\"http://www.rx3.org/dvp/?dvp=".strtolower($lmb_myname)."\">{$lmb_myname}</a></div> V {$lmb_myver}</td>
"; ";
echo " </tr> echo " </tr>
</tbody> </tbody>
</table> </table>
</td> </td>
<td class=\"border\" colspan=\"2\" rowspan=\"2\"><img src=\"{$skin_path}/images/border-bottom-right.png\" alt=\"\"/></td> <td class=\"border\" colspan=\"2\" rowspan=\"2\"><div class=\"sprite-border-bottom-right\"></div></td>
</tr> </tr>
<tr> <tr>
<td style=\"vertical-align: top;\"></td> <td style=\"vertical-align: top;\"></td>
<td colspan=\"3\" rowspan=\"1\" style=\"height: 15px; vertical-align: top; text-align: center;\"><img src=\"{$skin_path}/images/border-bottom.png\" alt=\"\"/></td> <td class=\"border\" colspan=\"3\" rowspan=\"1\" style=\"height: 15px; vertical-align: top; text-align: center;\"><div class=\"sprite-border-bottom\" style=\"background-color: transparent;\"></div></td>
<td style=\"vertical-align: top;\"></td> <td style=\"vertical-align: top;\"></td>
</tr> </tr>
</tbody> </tbody>
@ -917,7 +916,8 @@ function lmb_welcome_tab( $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$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);
} }
@ -1001,10 +1001,11 @@ function lmb_news_tab( $skin_path)
if( "{$news_tab[$i]["name"]}" != "") if( "{$news_tab[$i]["name"]}" != "")
{ {
$height = 110; $height = 110;
$link_tag = "<a href=\"{$news_tab[$i]["rlink"]}\">"; $link1_tag = "<div class=\"link-item\"><a href=\"{$news_tab[$i]["rlink"]}\">";
$img_tag = "<img src=\"{$news_tab[$i]["rimg"]}\" alt=\"\"/>"; $link2_tag = "<a href=\"{$news_tab[$i]["rlink"]}\">";
$play_tag=" <td class=\"news3\">{$link_tag}{$news_tab[$i]["name"]}</a></td> $img_tag = "<img class=\"button-item\" src=\"{$news_tab[$i]["rimg"]}\" alt=\"\"/>";
<td class=\"news4\" style=\"height: {$height}px\">{$link_tag}{$img_tag}</a></td>"; $play_tag=" <td class=\"news3\">{$link1_tag}{$news_tab[$i]["name"]}</a></div></td>
<td class=\"news4\" style=\"height: {$height}px; width: 96px;\">{$link2_tag}{$img_tag}</a></td>";
$colspan_tag = ""; $colspan_tag = "";
} }
else else
@ -1035,7 +1036,8 @@ function lmb_news_tab( $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$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);
} }
@ -1060,7 +1062,7 @@ function lmb_twitter_tab( $skin_path)
<tr class=\"twitter1\"> <tr class=\"twitter1\">
<td class=\"twitter01\">&nbsp;</td> <td class=\"twitter01\">&nbsp;</td>
<td class=\"twitter0\"> <td class=\"twitter0\">
<a class=\"twitter-timeline\" href=\"https://twitter.com/langueurmon\" data-widget-id=\"544258336741670912\">Tweets by @langueurmon</a> <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> <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>
</td> </td>
<td class=\"twitter01\">&nbsp;</td> <td class=\"twitter01\">&nbsp;</td>
@ -1084,7 +1086,8 @@ function lmb_twitter_tab( $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$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);
} }
@ -1443,7 +1446,8 @@ function lmb_about_tab( $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$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);
} }
@ -1489,7 +1493,8 @@ function lmb_history_tab( $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$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);
} }
@ -1580,7 +1585,7 @@ function lmb_playlist_cur( $play_type, $path, $row, $skin_path)
$url = "{$lmb_url_post}?page=play&amp;type={$play_type}&amp;id={$play_tab[1]}&amp;priority={$play_tab[0]}"; $url = "{$lmb_url_post}?page=play&amp;type={$play_type}&amp;id={$play_tab[1]}&amp;priority={$play_tab[0]}";
echo " <tr class=\"play{$css_row}\"><td class=\"play1\"><a href=\"{$url}\"><img src=\"/{$path}/{$play_tab[0]}-{$play_tab[1]}/covers/{$play_tab[1]}-cover-1-icon.png\" alt=\"\"/></a></td><td class=\"play2\"><a href=\"{$url}\">{$play_info["name"]}</a></td><td class=\"play3\">&nbsp;{$play_info["month"]}</td><td class=\"play3\">&nbsp;{$play_info["year"]}&nbsp;</td><td class=\"play4\">{$play_info["comment"]}</td><td>&nbsp;</td></tr> echo " <tr class=\"play{$css_row}\"><td class=\"play1\"><a href=\"{$url}\"><img class=\"button-item\" src=\"/{$path}/{$play_tab[0]}-{$play_tab[1]}/covers/{$play_tab[1]}-cover-1-icon.png\" alt=\"\"/></a></td><td class=\"play2\"><div class=\"link-item\"><a href=\"{$url}\">{$play_info["name"]}</a></div></td><td class=\"play3\">&nbsp;{$play_info["month"]}</td><td class=\"play3\">&nbsp;{$play_info["year"]}&nbsp;</td><td class=\"play4\">{$play_info["comment"]}</td><td>&nbsp;</td></tr>
"; ";
} }
else else
@ -1611,11 +1616,11 @@ function lmb_playlist_next( $play_type, $path, $row, $skin_path)
if( ( count($tab) > 4 ) && ( "{$tab[4]}" != "")) if( ( count($tab) > 4 ) && ( "{$tab[4]}" != ""))
{ {
$icon = "{$skin_path}/images/{$tab[4]}"; $icon_tag = "<img src=\"{$skin_path}/images/{$tab[4]}\" alt=\"\"/>";
} }
else else
{ {
$icon = "{$skin_path}/images/unknown-cover-96.png"; $icon_tag = "<div class=\"sprite-unknown-cover-96\"></div>";
} }
$css_row = ($row + 1) % 2 + 1; $css_row = ($row + 1) % 2 + 1;
@ -1629,7 +1634,7 @@ function lmb_playlist_next( $play_type, $path, $row, $skin_path)
$comment = ""; $comment = "";
} }
echo " <tr class=\"play{$css_row}\"><td class=\"play1\"><img src=\"{$icon}\" alt=\"\"/></td><td class=\"play2\">{$tab[0]}</td><td class=\"play3\">&nbsp;{$tab[1]}</td><td class=\"play3\">&nbsp;{$tab[2]}&nbsp;</td><td class=\"play4\">{$comment}</td><td>&nbsp;</td></tr> echo " <tr class=\"play{$css_row}\"><td class=\"play1\">{$icon_tag}</td><td class=\"play2\">{$tab[0]}</td><td class=\"play3\">&nbsp;{$tab[1]}</td><td class=\"play3\">&nbsp;{$tab[2]}&nbsp;</td><td class=\"play4\">{$comment}</td><td>&nbsp;</td></tr>
"; ";
} }
} }
@ -1652,7 +1657,8 @@ function lmb_playlist( $play_type, $side, $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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, "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
lmb_make_tab( "{$play_type}", "play", $side, "sprite-lm-logo1-96", $data, $skin_path);
} }
@ -1722,7 +1728,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-1-1024.png\"><img src=\"{$cover_path}-1-256.png\" alt=\"\"/></a></td> <td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-1-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-1-256.png\" alt=\"\"/></a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -1766,7 +1772,7 @@ function lmb_play_intro( $play_type, $play_id, $play_priority, $skin_path)
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-2-1024.png\"><img src=\"{$cover_path}-2-256.png\" alt=\"\"/></a></td> <td class=\"cover\" style=\"width: 266px; height: 266px;\"><a href=\"{$cover_path}-2-1024.png\"><img class=\"button-item-big\" src=\"{$cover_path}-2-256.png\" alt=\"\"/></a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -1944,7 +1950,7 @@ function lmb_track_file_tag_get( $play_type, $play_id, $play_priority, $track_id
$size_tab = lmb_size_convert( filesize( "{$file_url}")); $size_tab = lmb_size_convert( filesize( "{$file_url}"));
} }
$file_tag = "{$file_tag}<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td class=\"tracks7\"><a href=\"{$download_url}\">{$file_type} {$file_subtype}</a></td></tr><tr><td class=\"tracks8\">(${size_tab["size"]} {$size_tab["unit"]})</td></tr></tbody></table>"; $file_tag = "{$file_tag}<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td class=\"tracks7\"><div class=\"link-item\"><a href=\"{$download_url}\">{$file_type} {$file_subtype}</a></div></td></tr><tr><td class=\"tracks8\">(${size_tab["size"]} {$size_tab["unit"]})</td></tr></tbody></table>";
} }
$file_tag = "{$file_tag}</td> $file_tag = "{$file_tag}</td>
@ -2079,7 +2085,7 @@ function lmb_tracklist( $play_type, $play_id, $play_priority, $skin_path)
$height = 220/$size; $height = 220/$size;
$file_tag = lmb_track_file_tag_get( "{$play_type}", "{$play_id}", "{$play_priority}", "00"); $file_tag = lmb_track_file_tag_get( "{$play_type}", "{$play_id}", "{$play_priority}", "00");
$title_tag = "<td class=\"tracks00\" rowspan=\"$size\">&nbsp;</td><td class=\"tracks0\" rowspan=\"$size\"><img src=\"{$skin_path}/images/tab-tracks-r.png\" alt=\"\"/></td>"; // $title_tag = "<td class=\"tracks00\" rowspan=\"$size\">&nbsp;</td><td class=\"tracks0\" rowspan=\"$size\"><img src=\"{$skin_path}/images/tab-tracks-r.png\" alt=\"\"/></td>";
echo " <tr class=\"tracks0\" style=\"height: {$height}px;\"> echo " <tr class=\"tracks0\" style=\"height: {$height}px;\">
@ -2106,14 +2112,15 @@ function lmb_tracklist( $play_type, $play_id, $play_priority, $skin_path)
echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">"; echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">";
echo "<td class=\"tracks1\">&nbsp;{$track_info["id"]}&nbsp;</td><td class=\"tracks2\">&nbsp;<a href=\"{$track_url}\">{$track_info["title"]}</a>&nbsp;</td><td class=\"tracks3\">&nbsp;<a href=\"{$track_url}\">{$track_info["mix"]}</a>&nbsp;</td><td class=\"tracks4\">&nbsp;{$track_info["length"]}&nbsp;</td><td class=\"tracks5\">&nbsp;{$track_info["composer"]}&nbsp;</td><td class=\"tracks6\">&nbsp;{$track_info["comment"]}&nbsp;</td>{$file_tag}</tr> echo "<td class=\"tracks1\">&nbsp;{$track_info["id"]}&nbsp;</td><td class=\"tracks2\">&nbsp;<div class=\"link-item\"><a href=\"{$track_url}\">{$track_info["title"]}</a></div>&nbsp;</td><td class=\"tracks3\">&nbsp;<div class=\"link-item\"><a href=\"{$track_url}\">{$track_info["mix"]}</a></div>&nbsp;</td><td class=\"tracks4\">&nbsp;{$track_info["length"]}&nbsp;</td><td class=\"tracks5\">&nbsp;{$track_info["composer"]}&nbsp;</td><td class=\"tracks6\">&nbsp;{$track_info["comment"]}&nbsp;</td>{$file_tag}</tr>
"; ";
} }
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo1-96", $data, $skin_path);
} }
@ -2131,7 +2138,7 @@ function lmb_file_entry_print( $file_tab, $format_css_id, $size_css_id, $entry_t
echo " <td class=\"{$format_css_id}\"> echo " <td class=\"{$format_css_id}\">
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr><td class=\"{$format_css_id}\"><a href=\"{$file["url"]}\">{$file["format"]}</a></td></tr> <tr><td class=\"{$format_css_id}\"><div class=\"link-item\"><a href=\"{$file["url"]}\">{$file["format"]}</a></div></td></tr>
<tr><td class=\"{$size_css_id}\">(${file["size"]} {$file["unit"]})</td></tr> <tr><td class=\"{$size_css_id}\">(${file["size"]} {$file["unit"]})</td></tr>
</tbody> </tbody>
</table> </table>
@ -2267,7 +2274,7 @@ function lmb_coverlist( $play_type, $play_id, $play_priority, $skin_path)
$css_row = $i % 2 + 1; $css_row = $i % 2 + 1;
$entry_tag = " <tr class=\"covers{$css_row}\" style=\"height: {$height}px\"> $entry_tag = " <tr class=\"covers{$css_row}\" style=\"height: {$height}px\">
<td class=\"covers1\"><a href=\"{$file_tab[0]["url"]}\"><img src=\"{$cover_path}-{$sheet_tab[$i]}-icon.png\" alt=\"\"/></a></td> <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=\"covers2\">&nbsp;{$sheet_name}&nbsp;</td>"; <td class=\"covers2\">&nbsp;{$sheet_name}&nbsp;</td>";
lmb_file_entry_print( $file_tab, "covers3", "covers4", "{$entry_tag}", count( $file_tab)); lmb_file_entry_print( $file_tab, "covers3", "covers4", "{$entry_tag}", count( $file_tab));
@ -2278,7 +2285,7 @@ function lmb_coverlist( $play_type, $play_id, $play_priority, $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", $data, $skin_path);
} }
@ -2351,7 +2358,7 @@ function lmb_videolist( $play_type, $play_id, $play_priority, $skin_path)
if( count($video_tab) == 0 || ( file_exists( "{$video_path}/.hide" ) && ! lmb_admin_is())) if( count($video_tab) == 0 || ( file_exists( "{$video_path}/.hide" ) && ! lmb_admin_is()))
{ {
echo " <tr class=\"videos2\" style=\"height: 60px\"><td class=\"videos1\"></td><td class=\"videos2\">&nbsp;&nbsp;</td></tr> echo " <tr class=\"videos2\" style=\"height: 60px\"><td class=\"videos1\"></td><td class=\"videos2\">&nbsp;&nbsp;</td></tr>
<tr class=\"videos1\" style=\"height: 110px\"><td class=\"videos1\"><img src=\"/images/unknown-cover-96.png\" alt=\"\"/></td><td class=\"videos2\">&nbsp;No video found...&nbsp;</td></tr> <tr class=\"videos1\" style=\"height: 110px\"><td class=\"videos1\"><div class=\"sprite-unknown-cover-96\"></div></td><td class=\"videos2\">&nbsp;No video found...&nbsp;</td></tr>
<tr class=\"videos2\" style=\"height: 60px\"><td class=\"videos1\"></td><td class=\"videos2\">&nbsp;&nbsp;</td></tr> <tr class=\"videos2\" style=\"height: 60px\"><td class=\"videos1\"></td><td class=\"videos2\">&nbsp;&nbsp;</td></tr>
"; ";
} }
@ -2388,7 +2395,7 @@ function lmb_videolist( $play_type, $play_id, $play_priority, $skin_path)
$css_row = $i % 2 + 1; $css_row = $i % 2 + 1;
$entry_tag = " <tr class=\"videos{$css_row}\" style=\"height: {$height}px\"> $entry_tag = " <tr class=\"videos{$css_row}\" style=\"height: {$height}px\">
<td class=\"videos1\"><a href=\"{$file_tab[0]["url"]}\"><img src=\"{$video_path}/{$video_file}-icon.png\" alt=\"\"/></a></td> <td class=\"videos1\"><a href=\"{$file_tab[0]["url"]}\"><img class=\"button-item\" src=\"{$video_path}/{$video_file}-icon.png\" alt=\"\"/></a></td>
<td class=\"videos2\">&nbsp;{$video_id}&nbsp;</td> <td class=\"videos2\">&nbsp;{$video_id}&nbsp;</td>
<td class=\"videos3\">&nbsp;{$video_track_name}&nbsp;</td> <td class=\"videos3\">&nbsp;{$video_track_name}&nbsp;</td>
<td class=\"videos4\">&nbsp;{$video_mix_name}&nbsp;</td> <td class=\"videos4\">&nbsp;{$video_mix_name}&nbsp;</td>
@ -2402,7 +2409,7 @@ function lmb_videolist( $play_type, $play_id, $play_priority, $skin_path)
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", $data, $skin_path);
} }
@ -2479,7 +2486,7 @@ function lmb_extralist( $play_type, $play_id, $play_priority, $skin_path)
if( count($format_tab) == 0 || ( file_exists( "{$extra_path}/.hide" ) && ! lmb_admin_is())) if( count($format_tab) == 0 || ( file_exists( "{$extra_path}/.hide" ) && ! lmb_admin_is()))
{ {
echo " <tr class=\"extras2\" style=\"height: 60px\"><td class=\"extras1\"></td><td class=\"extras2\">&nbsp;&nbsp;</td></tr> echo " <tr class=\"extras2\" style=\"height: 60px\"><td class=\"extras1\"></td><td class=\"extras2\">&nbsp;&nbsp;</td></tr>
<tr class=\"extras1\" style=\"height: 110px\"><td class=\"extras1\"><img src=\"/images/unknown-cover-96.png\" alt=\"\"/></td><td class=\"extras2\">&nbsp;No extra found...&nbsp;</td></tr> <tr class=\"extras1\" style=\"height: 110px\"><td class=\"extras1\"><div class=\"sprite-unknown-cover-96\"></div></td><td class=\"extras2\">&nbsp;No extra found...&nbsp;</td></tr>
<tr class=\"extras2\" style=\"height: 60px\"><td class=\"extras1\"></td><td class=\"extras2\">&nbsp;&nbsp;</td></tr> <tr class=\"extras2\" style=\"height: 60px\"><td class=\"extras1\"></td><td class=\"extras2\">&nbsp;&nbsp;</td></tr>
"; ";
} }
@ -2533,7 +2540,7 @@ ${title_tag} <td class=\"extras4\">&nbs
$css_row = $i % 2 + 1; $css_row = $i % 2 + 1;
$entry_tag = " <tr class=\"extras{$css_row}\" style=\"height: {$height}px\"> $entry_tag = " <tr class=\"extras{$css_row}\" style=\"height: {$height}px\">
<td class=\"extras1\"><a href=\"{$file_tab[1]["url"]}\"><img src=\"{$extra_prefix}-icon.png\" alt=\"\"/></a></td> <td class=\"extras1\"><a href=\"{$file_tab[1]["url"]}\"><img class=\"button-item\" src=\"{$extra_prefix}-icon.png\" alt=\"\"/></a></td>
<td class=\"extras2\">&nbsp;{$extra_type}&nbsp;</td> <td class=\"extras2\">&nbsp;{$extra_type}&nbsp;</td>
<td class=\"extras3\">&nbsp;{$extra_subid}&nbsp;</td> <td class=\"extras3\">&nbsp;{$extra_subid}&nbsp;</td>
<td class=\"extras4\">&nbsp;{$extra_format}&nbsp;</td> <td class=\"extras4\">&nbsp;{$extra_format}&nbsp;</td>
@ -2546,7 +2553,8 @@ ${title_tag} <td class=\"extras4\">&nbs
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$skin_path}/images/lm_logo1-96.png", $data, $skin_path);
lmb_make_tab( "extras", "extras", "l", "sprite-lm-logo1-96", $data, $skin_path);
} }
@ -2598,12 +2606,22 @@ function lmb_links_tab( $play_type, $play_id, $play_priority)
$attr = ""; $attr = "";
} }
if( $image[0] == "/")
{
$image_tag = "<img class=\"button-item\" src=\"{$image}\" width=\"16\" height=\"16\" alt=\"\"/>";
}
else
{
$image_tag = "<div class=\"{$image}\" style=\" width:16px; height:16px; \"></div>";
}
echo " <tr class=\"links1\"> echo " <tr class=\"links1\">
<td class=\"links1\"> <td class=\"links1\">
<a {$attr}href=\"{$link}\">{$text}</a> <div class=\"link-item\"><a {$attr}href=\"{$link}\">{$text}</a></div>
</td> </td>
<td class=\"links2\"> <td class=\"links2\">
<a {$attr}href=\"{$link}\"><img src=\"{$image}\" width=\"16\" height=\"16\" alt=\"\"/></a> <a class=\"button-item\" {$attr}href=\"{$link}\"><div >{$image_tag}</a>
</td> </td>
</tr> </tr>
"; ";
@ -2779,7 +2797,7 @@ function lmb_play_page( $play_type, $play_id, $play_priority)
$play_title = lmb_play_title_get( $play_type, $play_id, $play_priority); $play_title = lmb_play_title_get( $play_type, $play_id, $play_priority);
$play_image = "{$play_type}"; $play_image = "{$play_type}";
$play_name = lmb_play_type_name_get( $play_type); $play_name = lmb_play_type_name_get( $play_type);
$skin_path = "/{$play_path}/skin"; $skin_path = "{$play_path}/skin";
lmb_header( 3, "Langueur Monotone - {$play_title} Page", "{$play_title}", "Langueur Monotone play page, giving all the information about {$play_info["name"]} {$play_name}", "{$play_type},{$play_info["name"]}", 0, "{$skin_path}"); lmb_header( 3, "Langueur Monotone - {$play_title} Page", "{$play_title}", "Langueur Monotone play page, giving all the information about {$play_info["name"]} {$play_name}", "{$play_type},{$play_info["name"]}", 0, "{$skin_path}");
@ -2833,14 +2851,15 @@ function lmb_tracklist_body( $skin_path)
echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">"; echo " <tr class=\"tracks{$css_row}\" style=\"height: {$height}px;\">";
echo "<td class=\"tracks1\">&nbsp;{$row}&nbsp;</td><td class=\"tracks2\">&nbsp;<a href=\"{$track_url}\">{$track_title}</a>&nbsp;</td><td class=\"tracks3\">&nbsp;<a href=\"{$track_url}\">{$track_mix}</a>&nbsp;</td><td class=\"tracks3\">&nbsp;{$track_length}&nbsp;</td><td class=\"tracks3\">&nbsp;{$play_type_name}&nbsp;</td><td class=\"tracks3\">&nbsp;<a href=\"{$play_url}\">{$track_album}</a>&nbsp;</td></tr> echo "<td class=\"tracks1\">&nbsp;{$row}&nbsp;</td><td class=\"tracks2\">&nbsp;<div class=\"link-item\"><a href=\"{$track_url}\">{$track_title}</a></div>&nbsp;</td><td class=\"tracks3\">&nbsp;<div class=\"link-item\"><a href=\"{$track_url}\">{$track_mix}</a></div>&nbsp;</td><td class=\"tracks3\">&nbsp;{$track_length}&nbsp;</td><td class=\"tracks3\">&nbsp;{$play_type_name}&nbsp;</td><td class=\"tracks3\">&nbsp;<div class=\"link-item\"><a href=\"{$play_url}\">{$track_album}</a></div>&nbsp;</td></tr>
"; ";
} }
$data = ob_get_contents(); $data = ob_get_contents();
ob_end_clean(); 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", "{$skin_path}/images/lm_logo2-96.png", $data, $skin_path);
lmb_make_tab( "tracks", "tracks", "r", "sprite-lm-logo2-96", $data, $skin_path);
} }
@ -2903,35 +2922,35 @@ function lmb_track_info( $play_type, $play_id, $play_priority, $track_id)
<tbody> <tbody>
<tr class=\"info1\" style=\"height: {$height}px;\"> <tr class=\"info1\" style=\"height: {$height}px;\">
<td class=\"info1\">Group Name</td> <td class=\"info1\">Group Name</td>
<td class=\"info2\"><a href=\"{$lmb_url_post}?page=discography\">{$track_info["artist"]}</a></td> <td class=\"info2\"><div class=\"link-item\"><a href=\"{$lmb_url_post}?page=discography\">{$track_info["artist"]}</a></div></td>
</tr> </tr>
<tr class=\"info2\" style=\"height: {$height}px;\"> <tr class=\"info2\" style=\"height: {$height}px;\">
<td class=\"info1\">Album</td> <td class=\"info1\">Album</td>
<td class=\"info2\"><a href=\"{$lmb_url_post}?page=play&amp;type={$play_type}&amp;id={$play_id}&amp;priority={$play_priority}\">{$track_info["album"]}</a></td> <td class=\"info2\"><div class=\"link-item\"><a href=\"{$lmb_url_post}?page=play&amp;type={$play_type}&amp;id={$play_id}&amp;priority={$play_priority}\">{$track_info["album"]}</a></div></td>
</tr> </tr>
<tr class=\"info1\" style=\"height: {$height}px;\"> <tr class=\"info1\" style=\"height: {$height}px;\">
<td class=\"info1\">Track Number</td> <td class=\"info1\">Track Number</td>
<td class=\"info2\">{$track_info["id"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["id"]}</div></td>
</tr> </tr>
<tr class=\"info2\" style=\"height: {$height}px;\"> <tr class=\"info2\" style=\"height: {$height}px;\">
<td class=\"info1\">Track Name</td> <td class=\"info1\">Track Name</td>
<td class=\"info2\">{$track_info["title"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["title"]}</div></td>
</tr> </tr>
<tr class=\"info1\" style=\"height: {$height}px;\"> <tr class=\"info1\" style=\"height: {$height}px;\">
<td class=\"info1\">Mix Name</td> <td class=\"info1\">Mix Name</td>
<td class=\"info2\">{$track_info["mix"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["mix"]}</div></td>
</tr> </tr>
<tr class=\"info2\" style=\"height: {$height}px;\"> <tr class=\"info2\" style=\"height: {$height}px;\">
<td class=\"info1\">Composer</td> <td class=\"info1\">Composer</td>
<td class=\"info2\">{$track_info["composer"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["composer"]}</div></td>
</tr> </tr>
<tr class=\"info1\" style=\"height: {$height}px;\"> <tr class=\"info1\" style=\"height: {$height}px;\">
<td class=\"info1\">Comment</td> <td class=\"info1\">Comment</td>
<td class=\"info2\">{$track_info["comment"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["comment"]}</div></td>
</tr> </tr>
<tr class=\"info2\" style=\"height: {$height}px;\"> <tr class=\"info2\" style=\"height: {$height}px;\">
<td class=\"info1\">Length</td> <td class=\"info1\">Length</td>
<td class=\"info2\">{$track_info["length"]}</td> <td class=\"info2\"><div class=\"normal-item\">{$track_info["length"]}</div></td>
</tr> </tr>
"; ";
@ -2939,7 +2958,7 @@ function lmb_track_info( $play_type, $play_id, $play_priority, $track_id)
{ {
echo " <tr class=\"info1\" style=\"height: {$height}px;\"> echo " <tr class=\"info1\" style=\"height: {$height}px;\">
<td class=\"info1\">Safe Creative</td> <td class=\"info1\">Safe Creative</td>
<td class=\"info2\"><a rel=\"nofollow\" href=\"{$track_info["safe_creative"]}\">Link</a></td> <td class=\"info2\"><div class=\"link-item\"><a rel=\"nofollow\" href=\"{$track_info["safe_creative"]}\">Link</a></div></td>
</tr> </tr>
"; ";
} }
@ -2968,7 +2987,7 @@ function lmb_track_lyrics( $play_type, $play_id, $play_priority, $track_id, $tra
$lyrics_file = "tracks/{$track_name}/{$track_mix}/lyrics.txt"; $lyrics_file = "tracks/{$track_name}/{$track_mix}/lyrics.txt";
echo " <table class=\"tab\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> echo " <table class=\"tab\" style=\"height: 100%;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr class=\"lyrics1\"> <tr class=\"lyrics1\">
<td class=\"lyrics1\"> <td class=\"lyrics1\">
@ -3036,7 +3055,7 @@ function lmb_fulltitle_get( $play_type, $play_id, $play_priority, $track_id)
/* JPlayer Insert */ /* JPlayer Insert */
/*--------------------------------------------------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------------------------------------------------*/
function lmb_jplayer_insert2( $play_type, $play_id, $play_priority, $track_id, $track_name, $track_mix) function lmb_jplayer_insert( $play_type, $play_id, $play_priority, $track_id, $track_name, $track_mix)
{ {
global $lmb_cookie_tab; global $lmb_cookie_tab;
global $lmb_url_pre; global $lmb_url_pre;
@ -3071,23 +3090,23 @@ function lmb_jplayer_insert2( $play_type, $play_id, $play_priority, $track_id, $
if( "{$solution_value}" == "html, flash") if( "{$solution_value}" == "html, flash")
{ {
$html_class = "jp-on"; $html_class = "link-item-disabled";
$flash_class = "jp-off"; $flash_class = "link-item";
$native_class = "jp-off"; $native_class = "link-item";
} }
else else
{ {
if( "{$solution_value}" == "flash, html") if( "{$solution_value}" == "flash, html")
{ {
$html_class = "jp-off"; $html_class = "link-item";
$flash_class = "jp-on"; $flash_class = "link-item-disabled";
$native_class = "jp-off"; $native_class = "link-item";
} }
else else
{ {
$html_class = "jp-off"; $html_class = "link-item";
$flash_class = "jp-off"; $flash_class = "link-item";
$native_class = "jp-on"; $native_class = "link-item-disabled";
} }
} }
@ -3098,7 +3117,7 @@ function lmb_jplayer_insert2( $play_type, $play_id, $play_priority, $track_id, $
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
<tr style=\"background-color:#222222; height: 75px;\"> <tr style=\"background-color:#222222; height: 75px;\">
<td style=\"horizontal-align: left; vertical-align: middle;\"> <td style=\"vertical-align: middle; padding: 10px 0px 0px 0px;\">
<audio controls autoplay style=\"width: 90%; \"> <audio controls autoplay style=\"width: 90%; \">
<source src=\"http://{$lmb_url_pre}/{$track_file_ogg}\" type=\"audio/ogg\"> <source src=\"http://{$lmb_url_pre}/{$track_file_ogg}\" type=\"audio/ogg\">
<source src=\"http://{$lmb_url_pre}/{$track_file_mp3}\" type=\"audio/mpeg\"> <source src=\"http://{$lmb_url_pre}/{$track_file_mp3}\" type=\"audio/mpeg\">
@ -3198,7 +3217,7 @@ Your browser does not support the audio element.
</div> </div>
<div class=\"jp-no-solution\"> <div class=\"jp-no-solution\">
<span>Update Required</span> <span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a href=\"http://get.adobe.com/flashplayer/\" target=\"_blank\">Flash plugin</a>. To play the media you will need to either update your browser to a recent version or update your <div class=\"link-item\"><a href=\"http://get.adobe.com/flashplayer/\" target=\"_blank\">Flash plugin</a></div>.
</div> </div>
<div>&nbsp; <div>&nbsp;
</div> </div>
@ -3226,224 +3245,6 @@ To play the media you will need to either update your browser to a recent versio
function lmb_jplayer_insert( $play_type, $play_id, $play_priority, $track_id, $track_name, $track_mix)
{
global $lmb_cookie_tab;
global $lmb_url_pre;
global $lmb_url_post;
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
$track_path = "{$play_path}/tracks";
if( "{$track_mix}" == "")
{
$track_file_base = "{$track_id}-{$track_name}";
}
else
{
$track_file_base = "{$track_id}-{$track_name}-{$track_mix}";
}
$track_file_ogg = "{$track_path}/ogg-256/{$track_file_base}.ogg";
$track_file_mp3 = "{$track_path}/mp3-192/{$track_file_base}.mp3";
$solution_cookie = "jpsolution";
$prefix_url = "{$lmb_url_post}?cookie_id={$solution_cookie}&cookie_value=";
$query_string = preg_replace( "/cookie_id={$solution_cookie}&cookie_value=[^&]*&/", "", "{$_SERVER['QUERY_STRING']}");
$solution_html_url = htmlentities( "{$prefix_url}html, flash&{$query_string}");
$solution_flash_url = htmlentities( "{$prefix_url}flash, html&{$query_string}");
$solution_value = $lmb_cookie_tab[$solution_cookie];
if( "{$solution_value}" == "html, flash")
{
$html_class = "jp-on";
$flash_class = "jp-off";
}
else
{
$html_class = "jp-off";
$flash_class = "jp-on";
}
echo "
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody>
<tr>
<td style=\"background-color:#3a2a45; border-top:1px solid #554461; border-bottom:1px solid #180a1f; border-left:1px solid #554461;\">&nbsp;</td>
<td style=\"width: 1%;\">
<script type=\"text/javascript\" src=\"/jplayer/lib/jquery.min.js\"></script>
<script type=\"text/javascript\" src=\"/jplayer/jquery.jplayer.min.js\"></script>
<script type=\"text/javascript\" src=\"/jplayer/jquery.jplayer.inspector.js\"></script>
<script type=\"text/javascript\">
//<![CDATA[
$(document).ready(function(){
$(\"#jquery_jplayer_1\").jPlayer({
ready: function () {
$(this).jPlayer(\"setMedia\", {
oga:\"http://{$lmb_url_pre}/{$track_file_ogg}\",
mp3:\"http://{$lmb_url_pre}/{$track_file_mp3}\"
}).jPlayer(\"play\");
},
swfPath: \"/jplayer\",
solution: \"{$solution_value}\",
supplied: \"oga, mp3\",
wmode: \"window\",
backgroundColor: \"#012345\"
});
$(\"#jplayer_inspector\").jPlayerInspector({jPlayer:$(\"#jquery_jplayer_1\")});
});
//]]>
</script>
<div id=\"jquery_jplayer_1\" class=\"jp-jplayer\"></div>
<div id=\"jp_container_1\" class=\"jp-audio\">
<div class=\"jp-type-single\">
<div class=\"jp-gui jp-interface\">
<ul class=\"jp-controls\">
<li><a href=\"javascript:;\" class=\"jp-play\" tabindex=\"1\">play</a></li>
<li><a href=\"javascript:;\" class=\"jp-pause\" tabindex=\"1\">pause</a></li>
<li><a href=\"javascript:;\" class=\"jp-stop\" tabindex=\"1\">stop</a></li>
<li><a href=\"javascript:;\" class=\"jp-mute\" tabindex=\"1\" title=\"mute\">mute</a></li>
<li><a href=\"javascript:;\" class=\"jp-unmute\" tabindex=\"1\" title=\"unmute\">unmute</a></li>
<li><a href=\"javascript:;\" class=\"jp-volume-max\" tabindex=\"1\" title=\"max volume\">max volume</a></li>
</ul>
<div class=\"jp-progress\">
<div class=\"jp-seek-bar\">
<div class=\"jp-play-bar\"></div>
</div>
</div>
<div class=\"jp-volume-bar\">
<div class=\"jp-volume-bar-value\"></div>
</div>
<div class=\"jp-current-time\"></div>
<div class=\"jp-duration\"></div>
<ul class=\"jp-toggles\">
<li><a href=\"javascript:;\" class=\"jp-repeat\" tabindex=\"1\" title=\"repeat\">repeat</a></li>
<li><a href=\"javascript:;\" class=\"jp-repeat-off\" tabindex=\"1\" title=\"repeat off\">repeat off</a></li>
</ul>
</div>
<div class=\"jp-no-solution\">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a rel=\"nofollow\" href=\"http://get.adobe.com/flashplayer/\">Flash plugin</a>.
</div>
<div style=\"font-size: 12px;\"><a rel=\"nofollow\" class=\"{$html_class}\" href=\"{$solution_html_url}\">Force HTML</a>&nbsp;<a rel=\"nofollow\" class=\"{$flash_class}\" href=\"{$solution_flash_url}\">Force Flash</a></div>
</div>
</div>
<div id=\"jquery_jplayer_1\" class=\"jp-jplayer\"></div>
<div id=\"jp_container_1\" class=\"jp-audio\" role=\"application\" aria-label=\"media player\">
<div class=\"jp-type-single\">
<div class=\"jp-gui jp-interface\">
<div class=\"jp-volume-controls\">
<button class=\"jp-mute\" role=\"button\" tabindex=\"0\">mute</button>
<button class=\"jp-volume-max\" role=\"button\" tabindex=\"0\">max volume</button>
<div class=\"jp-volume-bar\">
<div class=\"jp-volume-bar-value\"></div>
</div>
</div>
<div class=\"jp-controls-holder\">
<div class=\"jp-controls\">
<button class=\"jp-play\" role=\"button\" tabindex=\"0\">play</button>
<button class=\"jp-stop\" role=\"button\" tabindex=\"0\">stop</button>
</div>
<div class=\"jp-progress\">
<div class=\"jp-seek-bar\">
<div class=\"jp-play-bar\"></div>
</div>
</div>
<div class=\"jp-current-time\" role=\"timer\" aria-label=\"time\">&nbsp;</div>
<div class=\"jp-duration\" role=\"timer\" aria-label=\"duration\">&nbsp;</div>
<div class=\"jp-toggles\">
<button class=\"jp-repeat\" role=\"button\" tabindex=\"0\">repeat</button>
</div>
</div>
</div>
<div class=\"jp-details\">
<div class=\"jp-title\" aria-label=\"title\">&nbsp;</div>
</div>
<div class=\"jp-no-solution\">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a href=\"http://get.adobe.com/flashplayer/\" target=\"_blank\">Flash plugin</a>.
</div>
</div>
</div>
<div id=\"jquery_jplayer_1\" class=\"jp-jplayer\"></div>
<div id=\"jp_container_1\" class=\"jp-audio\">
<div class=\"jp-type-single\">
<div class=\"jp-gui jp-interface\">
<div class=\"jp-volume-controls\">
<button class=\"jp-mute\" role=\"button\" tabindex=\"0\">mute</button>
<button class=\"jp-volume-max\" role=\"button\" tabindex=\"0\">max volume</button>
<div class=\"jp-volume-bar\">
<div class=\"jp-volume-bar-value\"></div>
</div>
</div>
<div class=\"jp-controls-holder\">
<div class=\"jp-controls\">
<button class=\"jp-play\" role=\"button\" tabindex=\"0\">play</button>
<button class=\"jp-stop\" role=\"button\" tabindex=\"0\">stop</button>
</div>
<div class=\"jp-progress\">
<div class=\"jp-seek-bar\">
<div class=\"jp-play-bar\"></div>
</div>
</div>
</div>
<div class=\"jp-current-time\" role=\"timer\" aria-label=\"time\">&nbsp;</div>
<div class=\"jp-duration\" role=\"timer\" aria-label=\"duration\">&nbsp;</div>
<div class=\"jp-toggles\">
<button class=\"jp-repeat\" role=\"button\" tabindex=\"0\">repeat</button>
</div>
<div class=\"jp-no-solution\">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a rel=\"nofollow\" href=\"http://get.adobe.com/flashplayer/\">Flash plugin</a>.
</div>
<div style=\"font-size: 12px;\"><a rel=\"nofollow\" class=\"{$html_class}\" href=\"{$solution_html_url}\">Force HTML</a>&nbsp;<a rel=\"nofollow\" class=\"{$flash_class}\" href=\"{$solution_flash_url}\">Force Flash</a></div>
</div>
</div>
";
/*
echo " <div id=\"jplayer_inspector\"></div>
";
*/
/*
echo " <div><a href=\"{$lmb_url_post}?cookie_id={$solution_cookie}&amp;cookie_value={$solution_html_url}&amp;{$query_string}\" style=\"color:#FFFFFF; background-color: black;\">ZZZForce HTML</a>&nbsp;<a href=\"{$lmb_url_post}?cookie_id={$solution_cookie}&amp;cookie_value={$solution_flash_url}&amp;{$query_string}\">Force Flash</a></div>
";
*/
echo " </td>
<td style=\"background-color:#3a2a45; border-top:1px solid #554461; border-bottom:1px solid #180a1f; border-right:1px solid #180a1f;\">&nbsp;</td>
</tr>
</tbody>
</table>
";
}
/*--------------------------------------------------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------------------------------------------------*/
/* Track Introduction */ /* Track Introduction */
/*--------------------------------------------------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------------------------------------------------*/
@ -3474,7 +3275,7 @@ function lmb_track_intro( $play_type, $play_id, $play_priority, $track_id, $trac
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><a href=\"{$cover_path}-1-1024.png\"><img src=\"{$cover_path}-1-{$cover_size}.png\" alt=\"\"/></a></td> <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>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -3507,7 +3308,7 @@ function lmb_track_intro( $play_type, $play_id, $play_priority, $track_id, $trac
<td> <td>
"; ";
lmb_jplayer_insert2( $play_type, $play_id, $play_priority, $track_id, $track_name, $track_mix); lmb_jplayer_insert( $play_type, $play_id, $play_priority, $track_id, $track_name, $track_mix);
echo " </td> echo " </td>
</tr> </tr>
@ -3524,7 +3325,7 @@ function lmb_track_intro( $play_type, $play_id, $play_priority, $track_id, $trac
<table class=\"tab\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"\"> <table class=\"tab\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td style=\"height: 100%; vertical-align:bottom\"> <td style=\"height: 100%; vertical-align: bottom;\">
<table class=\"tab\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"text-align: left; width: 100%; height: 100%;\"> <table class=\"tab\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"text-align: left; width: 100%; height: 100%;\">
<tbody> <tbody>
<tr> <tr>
@ -3545,7 +3346,7 @@ echo " </td>
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\" style=\"\">
<tbody> <tbody>
<tr> <tr>
<td class=\"cover\" style=\"width: {$border2_size}px; height: {$border2_size}px;\"><a href=\"{$cover_path}-2-1024.png\"><img src=\"{$cover_path}-2-{$cover_size}.png\" alt=\"\"/></a></td> <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>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -3588,7 +3389,7 @@ function lmb_track_download( $play_type, $play_id, $play_priority, $track_id, $t
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\">
<tbody> <tbody>
<tr> <tr>
<td class=\"logo\" style=\"width: 128px;\"><img src=\"{$skin_path}/images/lm_logo1-96.png\" alt=\"\"/></td> <td class=\"logo\" style=\"width: 128px;\"><div class=\"sprite-lm-logo1-96\"></div></td>
<td class=\"body\"> <td class=\"body\">
<table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <table class=\"list\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tbody> <tbody>
@ -3663,10 +3464,10 @@ function lmb_track_download( $play_type, $play_id, $play_priority, $track_id, $t
$css_row = ( $k + 1 + count( $mix_tab)) % 2 + 3; $css_row = ( $k + 1 + count( $mix_tab)) % 2 + 3;
echo " <tr class=\"row${css_row}\"> echo " <tr class=\"row${css_row}\">
<td class=\"tracks2\"><a href=\"{$mix_tab[$k]["mix_url"]}\">{$mix_tab[$k]["track_name"]}{$hide_flag}</a></td> <td class=\"tracks2\"><div class=\"link-item\"><a href=\"{$mix_tab[$k]["mix_url"]}\">{$mix_tab[$k]["track_name"]}{$hide_flag}</a></div></td>
<td class=\"tracks3\"><a href=\"{$mix_tab[$k]["mix_url"]}\">{$mix_tab[$k]["mix_name"]}</a></td> <td class=\"tracks3\"><div class=\"link-item\"><a href=\"{$mix_tab[$k]["mix_url"]}\">{$mix_tab[$k]["mix_name"]}</a></div></td>
<td class=\"tracks2\">{$mix_tab[$k]["play_type_name"]}</td> <td class=\"tracks2\">{$mix_tab[$k]["play_type_name"]}</td>
<td class=\"tracks3\"><a href=\"{$mix_tab[$k]["play_url"]}\">{$mix_tab[$k]["play_name"]}</a></td> <td class=\"tracks3\"><div class=\"link-item\"><a href=\"{$mix_tab[$k]["play_url"]}\">{$mix_tab[$k]["play_name"]}</a></div></td>
</tr> </tr>
"; ";
} }
@ -3719,7 +3520,7 @@ function lmb_track_page( $play_type, $play_id, $play_priority, $track_id)
$play_path = lmb_play_path_get( $play_type, $play_id, $play_priority); $play_path = lmb_play_path_get( $play_type, $play_id, $play_priority);
$skin_path = "/{$play_path}/skin"; $skin_path = "{$play_path}/skin";
$track_title = lmb_title_get( $play_type, $play_id, $play_priority, $track_id); $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); $track_fulltitle = lmb_fulltitle_get( $play_type, $play_id, $play_priority, $track_id);