jukebox/REC
This commit is contained in:
parent
6029a21e71
commit
9f5b9a7d35
|
@ -2,9 +2,9 @@
|
|||
/*
|
||||
DONE!!!? WRITE THAT CODE IN infobar2.js : arrount line 158 before "return lines;"
|
||||
// ZEEBOX HACK ZONE
|
||||
var reclink = '/jukebox/REC/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.stream)) +'&maxResults=1';
|
||||
var reclink = './REC/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.stream)) +'&maxResults=1';
|
||||
var zcopylink = ' <a id="REC" title="Enregistrer sur Youtube" href="#" onclick=\'javascript:window.open("'+ reclink +'","REC","menubar=no, scrollbars=no, top=10, left=10, width=384, height=546");return false;\'>[REC]</a>';
|
||||
zcopylink += ' <a title="RECHERCHE LIBRE" href="/jukebox/REC/youtube-dl.php" target="youtube">*</a>';
|
||||
zcopylink += ' <a title="RECHERCHE LIBRE" href="./REC/youtube-dl.php" target="youtube">*</a>';
|
||||
lines[0].text += zcopylink;
|
||||
// ZEEBOX HACK ZONE
|
||||
*/
|
||||
|
@ -19,8 +19,8 @@ $lnk = trim(urldecode($_REQUEST['lnk']));
|
|||
$cmd="$radio|$artist|$title";
|
||||
$len=strlen($artist.$title);
|
||||
|
||||
//$result='<a href="#null" onclick="javascript:window.close();"><img src="/jukebox/REC/jukebox/REC.png"></a><br>';
|
||||
$result='<a href="https://www.copylaradio.com" target="copylaradio"><img src="/jukebox/REC/jukebox/REC.png"></a><br>';
|
||||
//$result='<a href="#null" onclick="javascript:window.close();"><img src="./REC./REC.png"></a><br>';
|
||||
$result='<a href="https://www.copylaradio.com" target="copylaradio"><img src="./REC./REC.png"></a><br>';
|
||||
if( $radio == "" ) { $radio = "CopyLaRadio"; }
|
||||
if( $radio == "Nova zz" ) {
|
||||
$artist = "undefined";
|
||||
|
@ -69,7 +69,7 @@ if( $search == "REC" ) {
|
|||
|
||||
}
|
||||
|
||||
$ytform = '<form action="/jukebox/REC/youtube-dl.php" method="GET">
|
||||
$ytform = '<form action="./REC/youtube-dl.php" method="GET">
|
||||
<div>
|
||||
<h3>ARTISTE: <input type="search" id="artist" name="artist" size="17" placeholder="Indiquez un artiste" value="'.$artist.'"></h3>
|
||||
<h3>TITRE: <input type="search" id="title" name="title" size="20" placeholder="Titre de la chanson" value="'.$title.'"></h3>
|
||||
|
@ -81,8 +81,8 @@ $ytform = '<form action="/jukebox/REC/youtube-dl.php" method="GET">
|
|||
</form>
|
||||
';
|
||||
|
||||
$lnkform.='<form action="/jukebox/REC/youtube-dl.php" method="GET">
|
||||
<a href="https://youtube.com" target="search"><img src="/jukebox/REC/youtube.png"></a>
|
||||
$lnkform.='<form action="./REC/youtube-dl.php" method="GET">
|
||||
<a href="https://youtube.com" target="search"><img src="./REC/youtube.png"></a>
|
||||
<p><h1>youtube-dl</h1>
|
||||
<a style="color:#FFFFFF" href="https://ytdl-org.github.io/youtube-dl/supportedsites.html" target="_blank">- Sites compatibles -</a>
|
||||
<input type="search" id="lnk" name="lnk" placeholder="Inscrivez le lien à copier" value="" size="40">
|
||||
|
@ -102,9 +102,9 @@ $lnkform.='<form action="/jukebox/REC/youtube-dl.php" method="GET">
|
|||
<meta name="author" content="fred" >
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
||||
<title><?php echo $search;?> - Recherche YouTube & Copie privée</title>
|
||||
<link href="/jukebox/REC/bootstrap.css" rel="stylesheet">
|
||||
<link href="./REC/bootstrap.css" rel="stylesheet">
|
||||
</head>
|
||||
<body style='background: url("/jukebox/REC/fond.jpg") no-repeat scroll center center / cover rgb(0, 0, 0); color:#FFFFFF;'>
|
||||
<body style='background: url("./REC/fond.jpg") no-repeat scroll center center / cover rgb(0, 0, 0); color:#FFFFFF;'>
|
||||
<section class="content-section text-center">
|
||||
<div class="container-fluid">
|
||||
<div class="container" id="result" >
|
||||
|
|
|
@ -154,9 +154,9 @@ var infobar = function() {
|
|||
}
|
||||
// ZEEBOX HACK ZONE
|
||||
if ( ! npinfo.Album ) { npinfo.Album = npinfo.stream; }
|
||||
var reclink = '/jukebox/REC/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.Album)) +'&maxResults=1';
|
||||
var reclink = './REC/youtube-dl.php?q=REC&artist=' + escape(encodeURIComponent(npinfo.Artist)) + '&title=' + escape(encodeURIComponent(npinfo.Title)) + '&radio='+ escape(encodeURIComponent(npinfo.Album)) +'&maxResults=1';
|
||||
var zcopylink = ' <a id="REC" title="Enregistrer sur Youtube" href="#" onclick=\'javascript:window.open("'+ reclink +'","REC","menubar=no, scrollbars=no, top=10, left=10, width=320, height=400");return false;\'>[REC]</a>';
|
||||
zcopylink += ' <a title="RECHERCHE LIBRE" href="/jukebox/REC/youtube-dl.php" target="youtube">*</a>';
|
||||
zcopylink += ' <a title="RECHERCHE LIBRE" href="./REC/youtube-dl.php" target="youtube">*</a>';
|
||||
lines[0].text += zcopylink;
|
||||
// ZEEBOX HACK ZONE
|
||||
return lines;
|
||||
|
|
Loading…
Reference in New Issue