-
Notifications
You must be signed in to change notification settings - Fork 0
/
myWimpy.php
64 lines (52 loc) · 1.6 KB
/
myWimpy.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
<?php
// Example Query:
// http://localhost/wimpysql_ed/myWimpy.php?queryWhere=artist&queryValue=jack%20johnson
$myWhere = @$_REQUEST['queryWhere'];
$myValue = @$_REQUEST['queryValue'];
?>
<html>
<head>
<title>MP3 Player</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'>
<link rel="stylesheet" href="css/style.css">
<!-- START EASYSWF CODE -->
<script src="easyswf.js" type="text/javascript"></script>
<!-- END EASYSWF CODE -->
</head>
<body bgcolor="000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div class="container">
<div class="row" align="center">
<!-- START WIMPY PLAYER CODE -->
<script language="javascript">
easyswf({ swf: "wimpy.swf",
bgcolor: "#000000",
width: 435,
height: 271,
swfversion: "8,0,0,0",
scale: "noscale",
salign: "tl",
allowScriptAccess: true,
flashvars: {
wimpyApp: "wimpy.sql.ed.php",
wimpySkin: "skin_wimpysql_ed.xml",
startPlayingOnload: "yes",
useMysql: "yes",
defaultImage: "coverart_fallback.jpg",
queryValue: "<?php print ($myValue); ?>",
queryWhere: "<?php print ($myWhere); ?>"
}
});
</script>
<!-- END WIMPY PLAYER CODE -->
<br>
<br>
<div class="input-group input-group-icon">
<a href="index.php"><input type="button" value="Logout" autofocus></input></a>
</div>
</div>
</table>
</div>
</body>
</html>