-
Notifications
You must be signed in to change notification settings - Fork 0
/
song.php
90 lines (87 loc) · 5.21 KB
/
song.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
$keyword="";
if(isset($_GET['id']) && !empty($_GET['id']))
$id=filter_var($_GET['id'], FILTER_SANITIZE_ENCODED);
else header("Location: index.php");
?>
<?php
include_once('functions.php');
?>
<?php include_once('inc.php'); ?>
<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# music: http://ogp.me/ns/music#">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<?php echo $urlhead; ?>" />
<meta name="author" content="Songsbro">
<link rel="icon" href="favicon.ico">
<link href="css/bootstrap.min.css" rel="stylesheet">
<?php
$songinfo=getsong($id);
if(!$songinfo || 1){$songinfo=addsong($id);};
list ($songid, $albumid, $songtitle, $albumtitle, $img, $lang, $singers) = $songinfo;
$songtitle=sanitize($songtitle);
$albumtitle=sanitize($albumtitle);
?>
<meta name="description" content="Listen and download <?php echo $songtitle .' from '. $albumtitle; ?> - Songsbro" />
<meta property="og:title" content="Download <?php echo $songtitle; ?> song free mp3" />
<meta property="og:type" content="music.song" />
<meta property="og:url" content="<?php echo $urlhead.'song/'.$id; ?>" />
<meta property="og:image" content="<?php echo $urlhead.$img; ?>" />
<meta property="fb:app_id" content="1020064311384267" />
<meta property="og:description" content="Listen to <?php echo $songtitle.' song from '. $albumtitle.' Music by '.$singers .' Free download - Songsbro'; ?>" />
<title>Listen and Free download <?php echo $songtitle .' from '. $albumtitle ; ?> - Songsbro</title>
</head>
<body>
<div class="container-fluid" style="margin-bottom:80px">
<div class="row text-center">
<?php printmast(); ?>
<div class="col-md-9 col-xs-12">
<p class="lead">Search for your favorite tracks</p>
<div class="col-md-12">
<form action="search.php" method="get">
<div class="form-group">
<div class="col-md-10 col-xs-9"><input type="search" name="keyword" class="input-lg form-control" placeholder="song,artist,album,anything" id="searchbox" autocomplete="off">
<div id="search"></div></div><div class="col-md-2 col-xs-3">
<input class="btn btn-lg btn-info" type="submit" value="🔍" />
</div>
</div></form><br><br></div><div class="hidden-xs" style="height:100px"></div><div class="col-md-12">
<?php
echo printasonglabel($songinfo);
printuform($id,'s');
?>
</div></div>
<div class="col-md-3 col-xs-12" id="sidebar">
<?php include('preset/head.txt');
$fstring='
<div class="plylst content" id="content-8">
<ul>';
$songinfo = getsong($id);
if($songinfo[2]){
$counter=0;
$xmlsong[]=array("SONG_ID"=>$songinfo[0],"album_id"=>$songinfo[1],"url"=>$urlhead.'song/'.$songinfo[0],"SONG_NAME"=>sanitize($songinfo[2]),"album_name"=>sanitize($songinfo[3]),"FILE_PATH"=>$songinfo[4]);
$fstring.='<li id="active_'.$counter.'"><div class="fl pic"><div class="pic"><div id="toltpl_'.$counter.'" class="toltp1" title="Play Song"><a id=\'song_'.$counter.'\' class="play"><img src="'.$urlhead.$songinfo[4].'" width="46" height="46" alt="'.sanitize($songinfo[2]).'"><span></span></a></div></div></div><div class="fl picdesc"><strong id="sd_'.$counter.'" class="sd_'.$counter.'" >'.$songinfo[2].'</strong>'.$songinfo[3].'</div>
<div class="fr pt10"><a href="'.$urlhead.'song/'.$songinfo[0].'" target="_blank" class="toltp" title="Download Song"><img src="player/download.png" width="15" height="21" alt="Download this song"></a></div><div class="cl"></div></li>';
}
echo "<script type=\"text/javascript\">
//<![CDATA[
var arr = eval('".json_encode($xmlsong)."');
//]]>
</script>";
?>
<?php include('preset/mid.txt');
echo '<div id="main_song" class="song">'.$songinfo[2].'</div><div class="movie">Album : <a href="'.$urlhead.'album/'.$songinfo[1].'">'.$songinfo[3].'</a></div>';
include('preset/mid2.txt');
$fstring.='</ul><input type="hidden" id="main_song_id" name="main_song_id" value="" />
</div>';
echo $fstring;
include('preset/foot.txt'); ?>
</div>
</div><!-- /container -->
<p id="seoblock"><?php $seoblock= "download ".sanitize($songinfo[2]).", play and stream ".sanitize($songinfo[2]).", download album ".sanitize($songinfo[3])." and listen to ".sanitize($songinfo[2])." whose singers are ".sanitize($songinfo[6])." and language is ".sanitize($songinfo[5]).". primary language of the song ".sanitize($songinfo[2])." is ".sanitize($songinfo[5])." and the song is sung by ".sanitize($songinfo[6])." in album ".sanitize($songinfo[3]).". Download and stream for free all songs from album ".sanitize($songinfo[3])." and save in HD 320kbps all the songs.
128kbps download and 320kbps HD download and play available only at songsbro.com
All free music available in 128kbps and 320kbps superfast downloads from amazon cloud only at songsbro. download music in just 2 clicks. your all in one music content at songsbro. songsbro serving free downloads since 2015. Play and download for free ".sanitize($songinfo[2])." from ".sanitize($songinfo[3]).". Download and stream more songs from ".sanitize($songinfo[3])." only at songsbro."; echo "$seoblock <br> $seoblock <br> $seoblock <br> $seoblock <br> $seoblock <br> $seoblock"; ?></p>
<?php include("js.php"); ?></div>
</body>
</html>